@alicloud/websitebuild20250429 2.28.0 → 2.30.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 +78 -0
- package/dist/client.js +234 -0
- package/dist/client.js.map +1 -1
- package/dist/models/CreateInspirationRequest.d.ts +73 -0
- package/dist/models/CreateInspirationRequest.js +70 -0
- package/dist/models/CreateInspirationRequest.js.map +1 -0
- package/dist/models/CreateInspirationResponse.d.ts +19 -0
- package/dist/models/CreateInspirationResponse.js +69 -0
- package/dist/models/CreateInspirationResponse.js.map +1 -0
- package/dist/models/CreateInspirationResponseBody.d.ts +117 -0
- package/dist/models/CreateInspirationResponseBody.js +103 -0
- package/dist/models/CreateInspirationResponseBody.js.map +1 -0
- 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/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/PromotionActivity.d.ts +31 -0
- package/dist/models/PromotionActivity.js +92 -0
- package/dist/models/PromotionActivity.js.map +1 -0
- package/dist/models/model.d.ts +19 -0
- package/dist/models/model.js +51 -13
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +266 -0
- package/src/models/CreateInspirationRequest.ts +98 -0
- package/src/models/CreateInspirationResponse.ts +40 -0
- package/src/models/CreateInspirationResponseBody.ts +166 -0
- package/src/models/GetAppRecommendedCommoditiesRequest.ts +1 -1
- package/src/models/GetAppRecommendedCommoditiesResponseBody.ts +12 -0
- 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/PromotionActivity.ts +78 -0
- package/src/models/model.ts +19 -0
|
@@ -0,0 +1,396 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListPromotionActivitiesForPartnerResponseBodyModuleActivities 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 activity type.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* SCALE_IN
|
|
28
|
+
*/
|
|
29
|
+
activityType?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The consumed quota.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* 100
|
|
36
|
+
*/
|
|
37
|
+
consumedQuota?: number;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The creation time.
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* 2022-02-14 11:57:51
|
|
44
|
+
*/
|
|
45
|
+
createTime?: string;
|
|
46
|
+
/**
|
|
47
|
+
* @remarks
|
|
48
|
+
* The creator.
|
|
49
|
+
*
|
|
50
|
+
* @example
|
|
51
|
+
* onlinehoztestrolebasicallow1755461756261068111(300216315676902267)
|
|
52
|
+
*/
|
|
53
|
+
createdBy?: string;
|
|
54
|
+
/**
|
|
55
|
+
* @remarks
|
|
56
|
+
* The eligibility configuration (JSON).
|
|
57
|
+
*
|
|
58
|
+
* @example
|
|
59
|
+
* {}
|
|
60
|
+
*/
|
|
61
|
+
eligibilityConfig?: string;
|
|
62
|
+
/**
|
|
63
|
+
* @remarks
|
|
64
|
+
* The end date.
|
|
65
|
+
*
|
|
66
|
+
* @example
|
|
67
|
+
* 2026-04-22 10:18:51 +0800
|
|
68
|
+
*/
|
|
69
|
+
endDate?: string;
|
|
70
|
+
/**
|
|
71
|
+
* @remarks
|
|
72
|
+
* The offer configuration (JSON).
|
|
73
|
+
*
|
|
74
|
+
* @example
|
|
75
|
+
* {}
|
|
76
|
+
*/
|
|
77
|
+
offerConfig?: string;
|
|
78
|
+
/**
|
|
79
|
+
* @remarks
|
|
80
|
+
* The offer configuration summary.
|
|
81
|
+
*
|
|
82
|
+
* @example
|
|
83
|
+
* {}
|
|
84
|
+
*/
|
|
85
|
+
offerConfigSummary?: string;
|
|
86
|
+
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* The remaining quota.
|
|
89
|
+
*
|
|
90
|
+
* @example
|
|
91
|
+
* 10
|
|
92
|
+
*/
|
|
93
|
+
remainingQuota?: number;
|
|
94
|
+
/**
|
|
95
|
+
* @remarks
|
|
96
|
+
* The start date.
|
|
97
|
+
*
|
|
98
|
+
* @example
|
|
99
|
+
* 2026-05-12T16:00:00.000Z
|
|
100
|
+
*/
|
|
101
|
+
startDate?: string;
|
|
102
|
+
/**
|
|
103
|
+
* @remarks
|
|
104
|
+
* The activity status.
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* FE_ABORTING
|
|
108
|
+
*/
|
|
109
|
+
status?: string;
|
|
110
|
+
/**
|
|
111
|
+
* @remarks
|
|
112
|
+
* The total quota.
|
|
113
|
+
*
|
|
114
|
+
* @example
|
|
115
|
+
* 10
|
|
116
|
+
*/
|
|
117
|
+
totalQuota?: number;
|
|
118
|
+
/**
|
|
119
|
+
* @remarks
|
|
120
|
+
* The touchpoint configuration (JSON).
|
|
121
|
+
*
|
|
122
|
+
* @example
|
|
123
|
+
* {}
|
|
124
|
+
*/
|
|
125
|
+
touchpointConfig?: string;
|
|
126
|
+
/**
|
|
127
|
+
* @remarks
|
|
128
|
+
* The update time.
|
|
129
|
+
*
|
|
130
|
+
* @example
|
|
131
|
+
* 2025-10-11T21:13:38.164526965+08:00
|
|
132
|
+
*/
|
|
133
|
+
updateTime?: string;
|
|
134
|
+
/**
|
|
135
|
+
* @remarks
|
|
136
|
+
* The user who last updated the activity.
|
|
137
|
+
*
|
|
138
|
+
* @example
|
|
139
|
+
* 123414
|
|
140
|
+
*/
|
|
141
|
+
updatedBy?: string;
|
|
142
|
+
/**
|
|
143
|
+
* @remarks
|
|
144
|
+
* The warning threshold.
|
|
145
|
+
*
|
|
146
|
+
* @example
|
|
147
|
+
* 0
|
|
148
|
+
*/
|
|
149
|
+
warningThreshold?: number;
|
|
150
|
+
static names(): { [key: string]: string } {
|
|
151
|
+
return {
|
|
152
|
+
activityCode: 'ActivityCode',
|
|
153
|
+
activityName: 'ActivityName',
|
|
154
|
+
activityType: 'ActivityType',
|
|
155
|
+
consumedQuota: 'ConsumedQuota',
|
|
156
|
+
createTime: 'CreateTime',
|
|
157
|
+
createdBy: 'CreatedBy',
|
|
158
|
+
eligibilityConfig: 'EligibilityConfig',
|
|
159
|
+
endDate: 'EndDate',
|
|
160
|
+
offerConfig: 'OfferConfig',
|
|
161
|
+
offerConfigSummary: 'OfferConfigSummary',
|
|
162
|
+
remainingQuota: 'RemainingQuota',
|
|
163
|
+
startDate: 'StartDate',
|
|
164
|
+
status: 'Status',
|
|
165
|
+
totalQuota: 'TotalQuota',
|
|
166
|
+
touchpointConfig: 'TouchpointConfig',
|
|
167
|
+
updateTime: 'UpdateTime',
|
|
168
|
+
updatedBy: 'UpdatedBy',
|
|
169
|
+
warningThreshold: 'WarningThreshold',
|
|
170
|
+
};
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
static types(): { [key: string]: any } {
|
|
174
|
+
return {
|
|
175
|
+
activityCode: 'string',
|
|
176
|
+
activityName: 'string',
|
|
177
|
+
activityType: 'string',
|
|
178
|
+
consumedQuota: 'number',
|
|
179
|
+
createTime: 'string',
|
|
180
|
+
createdBy: 'string',
|
|
181
|
+
eligibilityConfig: 'string',
|
|
182
|
+
endDate: 'string',
|
|
183
|
+
offerConfig: 'string',
|
|
184
|
+
offerConfigSummary: 'string',
|
|
185
|
+
remainingQuota: 'number',
|
|
186
|
+
startDate: 'string',
|
|
187
|
+
status: 'string',
|
|
188
|
+
totalQuota: 'number',
|
|
189
|
+
touchpointConfig: 'string',
|
|
190
|
+
updateTime: 'string',
|
|
191
|
+
updatedBy: 'string',
|
|
192
|
+
warningThreshold: 'number',
|
|
193
|
+
};
|
|
194
|
+
}
|
|
195
|
+
|
|
196
|
+
validate() {
|
|
197
|
+
super.validate();
|
|
198
|
+
}
|
|
199
|
+
|
|
200
|
+
constructor(map?: { [key: string]: any }) {
|
|
201
|
+
super(map);
|
|
202
|
+
}
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
export class ListPromotionActivitiesForPartnerResponseBodyModule extends $dara.Model {
|
|
206
|
+
/**
|
|
207
|
+
* @remarks
|
|
208
|
+
* The list of promotional activities.
|
|
209
|
+
*/
|
|
210
|
+
activities?: ListPromotionActivitiesForPartnerResponseBodyModuleActivities[];
|
|
211
|
+
/**
|
|
212
|
+
* @remarks
|
|
213
|
+
* The total count.
|
|
214
|
+
*
|
|
215
|
+
* @example
|
|
216
|
+
* 30
|
|
217
|
+
*/
|
|
218
|
+
totalCount?: number;
|
|
219
|
+
static names(): { [key: string]: string } {
|
|
220
|
+
return {
|
|
221
|
+
activities: 'Activities',
|
|
222
|
+
totalCount: 'TotalCount',
|
|
223
|
+
};
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
static types(): { [key: string]: any } {
|
|
227
|
+
return {
|
|
228
|
+
activities: { 'type': 'array', 'itemType': ListPromotionActivitiesForPartnerResponseBodyModuleActivities },
|
|
229
|
+
totalCount: 'number',
|
|
230
|
+
};
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
validate() {
|
|
234
|
+
if(Array.isArray(this.activities)) {
|
|
235
|
+
$dara.Model.validateArray(this.activities);
|
|
236
|
+
}
|
|
237
|
+
super.validate();
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
constructor(map?: { [key: string]: any }) {
|
|
241
|
+
super(map);
|
|
242
|
+
}
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
export class ListPromotionActivitiesForPartnerResponseBody extends $dara.Model {
|
|
246
|
+
/**
|
|
247
|
+
* @remarks
|
|
248
|
+
* The access denied detail.
|
|
249
|
+
*
|
|
250
|
+
* @example
|
|
251
|
+
* {}
|
|
252
|
+
*/
|
|
253
|
+
accessDeniedDetail?: string;
|
|
254
|
+
/**
|
|
255
|
+
* @remarks
|
|
256
|
+
* Indicates whether retry is allowed.
|
|
257
|
+
*
|
|
258
|
+
* @example
|
|
259
|
+
* False
|
|
260
|
+
*/
|
|
261
|
+
allowRetry?: boolean;
|
|
262
|
+
/**
|
|
263
|
+
* @remarks
|
|
264
|
+
* The application name.
|
|
265
|
+
*
|
|
266
|
+
* @example
|
|
267
|
+
* spring-cloud-b
|
|
268
|
+
*/
|
|
269
|
+
appName?: string;
|
|
270
|
+
/**
|
|
271
|
+
* @remarks
|
|
272
|
+
* The dynamic error code.
|
|
273
|
+
*
|
|
274
|
+
* @example
|
|
275
|
+
* ERROR-oo1
|
|
276
|
+
*/
|
|
277
|
+
dynamicCode?: string;
|
|
278
|
+
/**
|
|
279
|
+
* @remarks
|
|
280
|
+
* The dynamic message.
|
|
281
|
+
*
|
|
282
|
+
* @example
|
|
283
|
+
* SYSTEM_ERROR
|
|
284
|
+
*/
|
|
285
|
+
dynamicMessage?: string;
|
|
286
|
+
/**
|
|
287
|
+
* @remarks
|
|
288
|
+
* The error arguments.
|
|
289
|
+
*/
|
|
290
|
+
errorArgs?: any[];
|
|
291
|
+
/**
|
|
292
|
+
* @remarks
|
|
293
|
+
* The number of entries per query.
|
|
294
|
+
*
|
|
295
|
+
* Valid values: 10 to 100. Default value: 20.
|
|
296
|
+
*
|
|
297
|
+
* @example
|
|
298
|
+
* 10
|
|
299
|
+
*/
|
|
300
|
+
maxResults?: number;
|
|
301
|
+
/**
|
|
302
|
+
* @remarks
|
|
303
|
+
* The response data.
|
|
304
|
+
*/
|
|
305
|
+
module?: ListPromotionActivitiesForPartnerResponseBodyModule;
|
|
306
|
+
/**
|
|
307
|
+
* @remarks
|
|
308
|
+
* The token for the next query. This parameter is empty if no more results exist.
|
|
309
|
+
*
|
|
310
|
+
* @example
|
|
311
|
+
* 0l45bkwM022Dt+rOvPi/oQ==
|
|
312
|
+
*/
|
|
313
|
+
nextToken?: string;
|
|
314
|
+
/**
|
|
315
|
+
* @remarks
|
|
316
|
+
* Id of the request
|
|
317
|
+
*
|
|
318
|
+
* @example
|
|
319
|
+
* 6C6B99AC-39EC-5350-874C-204128C905E6
|
|
320
|
+
*/
|
|
321
|
+
requestId?: string;
|
|
322
|
+
/**
|
|
323
|
+
* @remarks
|
|
324
|
+
* The error code.
|
|
325
|
+
*
|
|
326
|
+
* @example
|
|
327
|
+
* SYSTEM.ERROR
|
|
328
|
+
*/
|
|
329
|
+
rootErrorCode?: string;
|
|
330
|
+
/**
|
|
331
|
+
* @remarks
|
|
332
|
+
* The root error message.
|
|
333
|
+
*
|
|
334
|
+
* @example
|
|
335
|
+
* 系统异常
|
|
336
|
+
*/
|
|
337
|
+
rootErrorMsg?: string;
|
|
338
|
+
/**
|
|
339
|
+
* @remarks
|
|
340
|
+
* Indicates whether the request is processed synchronously.
|
|
341
|
+
*
|
|
342
|
+
* @example
|
|
343
|
+
* True
|
|
344
|
+
*/
|
|
345
|
+
synchro?: boolean;
|
|
346
|
+
static names(): { [key: string]: string } {
|
|
347
|
+
return {
|
|
348
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
349
|
+
allowRetry: 'AllowRetry',
|
|
350
|
+
appName: 'AppName',
|
|
351
|
+
dynamicCode: 'DynamicCode',
|
|
352
|
+
dynamicMessage: 'DynamicMessage',
|
|
353
|
+
errorArgs: 'ErrorArgs',
|
|
354
|
+
maxResults: 'MaxResults',
|
|
355
|
+
module: 'Module',
|
|
356
|
+
nextToken: 'NextToken',
|
|
357
|
+
requestId: 'RequestId',
|
|
358
|
+
rootErrorCode: 'RootErrorCode',
|
|
359
|
+
rootErrorMsg: 'RootErrorMsg',
|
|
360
|
+
synchro: 'Synchro',
|
|
361
|
+
};
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
static types(): { [key: string]: any } {
|
|
365
|
+
return {
|
|
366
|
+
accessDeniedDetail: 'string',
|
|
367
|
+
allowRetry: 'boolean',
|
|
368
|
+
appName: 'string',
|
|
369
|
+
dynamicCode: 'string',
|
|
370
|
+
dynamicMessage: 'string',
|
|
371
|
+
errorArgs: { 'type': 'array', 'itemType': 'any' },
|
|
372
|
+
maxResults: 'number',
|
|
373
|
+
module: ListPromotionActivitiesForPartnerResponseBodyModule,
|
|
374
|
+
nextToken: 'string',
|
|
375
|
+
requestId: 'string',
|
|
376
|
+
rootErrorCode: 'string',
|
|
377
|
+
rootErrorMsg: 'string',
|
|
378
|
+
synchro: 'boolean',
|
|
379
|
+
};
|
|
380
|
+
}
|
|
381
|
+
|
|
382
|
+
validate() {
|
|
383
|
+
if(Array.isArray(this.errorArgs)) {
|
|
384
|
+
$dara.Model.validateArray(this.errorArgs);
|
|
385
|
+
}
|
|
386
|
+
if(this.module && typeof (this.module as any).validate === 'function') {
|
|
387
|
+
(this.module as any).validate();
|
|
388
|
+
}
|
|
389
|
+
super.validate();
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
constructor(map?: { [key: string]: any }) {
|
|
393
|
+
super(map);
|
|
394
|
+
}
|
|
395
|
+
}
|
|
396
|
+
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListPromotionOfferRecordsForPartnerRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The activity code.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* acwfradoj5u
|
|
12
|
+
*/
|
|
13
|
+
activityCode?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The belonging ID.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 123456
|
|
20
|
+
*/
|
|
21
|
+
belongId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The number of entries per query.
|
|
25
|
+
*
|
|
26
|
+
* Valid values: 10 to 100. Default value: 20.
|
|
27
|
+
*
|
|
28
|
+
* @example
|
|
29
|
+
* 10
|
|
30
|
+
*/
|
|
31
|
+
maxResults?: number;
|
|
32
|
+
/**
|
|
33
|
+
* @remarks
|
|
34
|
+
* The token for the next query. This parameter is empty if no more results exist.
|
|
35
|
+
*
|
|
36
|
+
* @example
|
|
37
|
+
* test
|
|
38
|
+
*/
|
|
39
|
+
nextToken?: string;
|
|
40
|
+
/**
|
|
41
|
+
* @remarks
|
|
42
|
+
* The field used for sorting.
|
|
43
|
+
*
|
|
44
|
+
* @example
|
|
45
|
+
* gmtCreated
|
|
46
|
+
*/
|
|
47
|
+
orderColumn?: string;
|
|
48
|
+
/**
|
|
49
|
+
* @remarks
|
|
50
|
+
* The sort type. Valid values: ASC and DESC.
|
|
51
|
+
*
|
|
52
|
+
* @example
|
|
53
|
+
* BUY
|
|
54
|
+
*/
|
|
55
|
+
orderType?: string;
|
|
56
|
+
/**
|
|
57
|
+
* @remarks
|
|
58
|
+
* The page number. Default value: 1.
|
|
59
|
+
*
|
|
60
|
+
* @example
|
|
61
|
+
* 1
|
|
62
|
+
*/
|
|
63
|
+
pageNum?: number;
|
|
64
|
+
/**
|
|
65
|
+
* @remarks
|
|
66
|
+
* The number of entries per page. Default value: 10.
|
|
67
|
+
*
|
|
68
|
+
* @example
|
|
69
|
+
* 10
|
|
70
|
+
*/
|
|
71
|
+
pageSize?: number;
|
|
72
|
+
static names(): { [key: string]: string } {
|
|
73
|
+
return {
|
|
74
|
+
activityCode: 'ActivityCode',
|
|
75
|
+
belongId: 'BelongId',
|
|
76
|
+
maxResults: 'MaxResults',
|
|
77
|
+
nextToken: 'NextToken',
|
|
78
|
+
orderColumn: 'OrderColumn',
|
|
79
|
+
orderType: 'OrderType',
|
|
80
|
+
pageNum: 'PageNum',
|
|
81
|
+
pageSize: 'PageSize',
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
static types(): { [key: string]: any } {
|
|
86
|
+
return {
|
|
87
|
+
activityCode: 'string',
|
|
88
|
+
belongId: 'string',
|
|
89
|
+
maxResults: 'number',
|
|
90
|
+
nextToken: 'string',
|
|
91
|
+
orderColumn: 'string',
|
|
92
|
+
orderType: 'string',
|
|
93
|
+
pageNum: 'number',
|
|
94
|
+
pageSize: 'number',
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
validate() {
|
|
99
|
+
super.validate();
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
constructor(map?: { [key: string]: any }) {
|
|
103
|
+
super(map);
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListPromotionOfferRecordsForPartnerResponseBody } from "./ListPromotionOfferRecordsForPartnerResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListPromotionOfferRecordsForPartnerResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListPromotionOfferRecordsForPartnerResponseBody;
|
|
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: ListPromotionOfferRecordsForPartnerResponseBody,
|
|
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
|
+
|