@alicloud/websitebuild20250429 2.28.0 → 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 +63 -0
- package/dist/client.js +177 -0
- 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/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 +15 -0
- package/dist/models/model.js +42 -12
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +200 -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 +15 -0
|
@@ -0,0 +1,194 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GrantPromotionOfferForPartnerResponseBodyModule extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The message.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 系统异常
|
|
12
|
+
*/
|
|
13
|
+
message?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The benefit summary.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* {}
|
|
20
|
+
*/
|
|
21
|
+
offerSummary?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The distribution record ID.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* 5094
|
|
28
|
+
*/
|
|
29
|
+
recordId?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* Indicates whether the operation is successful.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* True
|
|
36
|
+
*/
|
|
37
|
+
success?: boolean;
|
|
38
|
+
static names(): { [key: string]: string } {
|
|
39
|
+
return {
|
|
40
|
+
message: 'Message',
|
|
41
|
+
offerSummary: 'OfferSummary',
|
|
42
|
+
recordId: 'RecordId',
|
|
43
|
+
success: 'Success',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
static types(): { [key: string]: any } {
|
|
48
|
+
return {
|
|
49
|
+
message: 'string',
|
|
50
|
+
offerSummary: 'string',
|
|
51
|
+
recordId: 'string',
|
|
52
|
+
success: 'boolean',
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
validate() {
|
|
57
|
+
super.validate();
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
constructor(map?: { [key: string]: any }) {
|
|
61
|
+
super(map);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
export class GrantPromotionOfferForPartnerResponseBody extends $dara.Model {
|
|
66
|
+
/**
|
|
67
|
+
* @remarks
|
|
68
|
+
* The details of the permission verification failure.
|
|
69
|
+
*
|
|
70
|
+
* @example
|
|
71
|
+
* {}
|
|
72
|
+
*/
|
|
73
|
+
accessDeniedDetail?: string;
|
|
74
|
+
/**
|
|
75
|
+
* @remarks
|
|
76
|
+
* Indicates whether retry is allowed.
|
|
77
|
+
*
|
|
78
|
+
* @example
|
|
79
|
+
* False
|
|
80
|
+
*/
|
|
81
|
+
allowRetry?: boolean;
|
|
82
|
+
/**
|
|
83
|
+
* @remarks
|
|
84
|
+
* The application name. The name can contain digits, letters, and hyphens (-). It must start with a letter and cannot end with a hyphen (-). The name cannot exceed 36 characters in length.
|
|
85
|
+
*
|
|
86
|
+
* @example
|
|
87
|
+
* or
|
|
88
|
+
*/
|
|
89
|
+
appName?: string;
|
|
90
|
+
/**
|
|
91
|
+
* @remarks
|
|
92
|
+
* The dynamic code. This parameter is not in use. Ignore it.
|
|
93
|
+
*
|
|
94
|
+
* @example
|
|
95
|
+
* ERROR-oo1
|
|
96
|
+
*/
|
|
97
|
+
dynamicCode?: string;
|
|
98
|
+
/**
|
|
99
|
+
* @remarks
|
|
100
|
+
* The dynamic error message.
|
|
101
|
+
*
|
|
102
|
+
* @example
|
|
103
|
+
* SYSTEM_ERROR
|
|
104
|
+
*/
|
|
105
|
+
dynamicMessage?: string;
|
|
106
|
+
/**
|
|
107
|
+
* @remarks
|
|
108
|
+
* The returned error parameters.
|
|
109
|
+
*/
|
|
110
|
+
errorArgs?: any[];
|
|
111
|
+
/**
|
|
112
|
+
* @remarks
|
|
113
|
+
* The response data.
|
|
114
|
+
*/
|
|
115
|
+
module?: GrantPromotionOfferForPartnerResponseBodyModule;
|
|
116
|
+
/**
|
|
117
|
+
* @remarks
|
|
118
|
+
* Id of the request
|
|
119
|
+
*
|
|
120
|
+
* @example
|
|
121
|
+
* 6C6B99AC-39EC-5350-874C-204128C905E6
|
|
122
|
+
*/
|
|
123
|
+
requestId?: string;
|
|
124
|
+
/**
|
|
125
|
+
* @remarks
|
|
126
|
+
* The error code.
|
|
127
|
+
*
|
|
128
|
+
* @example
|
|
129
|
+
* SYSTEM.ERROR
|
|
130
|
+
*/
|
|
131
|
+
rootErrorCode?: string;
|
|
132
|
+
/**
|
|
133
|
+
* @remarks
|
|
134
|
+
* The exception message.
|
|
135
|
+
*
|
|
136
|
+
* @example
|
|
137
|
+
* 系统异常
|
|
138
|
+
*/
|
|
139
|
+
rootErrorMsg?: string;
|
|
140
|
+
/**
|
|
141
|
+
* @remarks
|
|
142
|
+
* Indicates whether the request is processed synchronously.
|
|
143
|
+
*
|
|
144
|
+
* @example
|
|
145
|
+
* True
|
|
146
|
+
*/
|
|
147
|
+
synchro?: boolean;
|
|
148
|
+
static names(): { [key: string]: string } {
|
|
149
|
+
return {
|
|
150
|
+
accessDeniedDetail: 'AccessDeniedDetail',
|
|
151
|
+
allowRetry: 'AllowRetry',
|
|
152
|
+
appName: 'AppName',
|
|
153
|
+
dynamicCode: 'DynamicCode',
|
|
154
|
+
dynamicMessage: 'DynamicMessage',
|
|
155
|
+
errorArgs: 'ErrorArgs',
|
|
156
|
+
module: 'Module',
|
|
157
|
+
requestId: 'RequestId',
|
|
158
|
+
rootErrorCode: 'RootErrorCode',
|
|
159
|
+
rootErrorMsg: 'RootErrorMsg',
|
|
160
|
+
synchro: 'Synchro',
|
|
161
|
+
};
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
static types(): { [key: string]: any } {
|
|
165
|
+
return {
|
|
166
|
+
accessDeniedDetail: 'string',
|
|
167
|
+
allowRetry: 'boolean',
|
|
168
|
+
appName: 'string',
|
|
169
|
+
dynamicCode: 'string',
|
|
170
|
+
dynamicMessage: 'string',
|
|
171
|
+
errorArgs: { 'type': 'array', 'itemType': 'any' },
|
|
172
|
+
module: GrantPromotionOfferForPartnerResponseBodyModule,
|
|
173
|
+
requestId: 'string',
|
|
174
|
+
rootErrorCode: 'string',
|
|
175
|
+
rootErrorMsg: 'string',
|
|
176
|
+
synchro: 'boolean',
|
|
177
|
+
};
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
validate() {
|
|
181
|
+
if(Array.isArray(this.errorArgs)) {
|
|
182
|
+
$dara.Model.validateArray(this.errorArgs);
|
|
183
|
+
}
|
|
184
|
+
if(this.module && typeof (this.module as any).validate === 'function') {
|
|
185
|
+
(this.module as any).validate();
|
|
186
|
+
}
|
|
187
|
+
super.validate();
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
constructor(map?: { [key: string]: any }) {
|
|
191
|
+
super(map);
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class ListPromotionActivitiesForPartnerRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The channel.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* WECHAT
|
|
12
|
+
*/
|
|
13
|
+
channel?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The employee code.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 1234
|
|
20
|
+
*/
|
|
21
|
+
employeeCode?: 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
|
+
* 0l45bkwM022Dt+rOvPi/oQ==
|
|
38
|
+
*/
|
|
39
|
+
nextToken?: string;
|
|
40
|
+
static names(): { [key: string]: string } {
|
|
41
|
+
return {
|
|
42
|
+
channel: 'Channel',
|
|
43
|
+
employeeCode: 'EmployeeCode',
|
|
44
|
+
maxResults: 'MaxResults',
|
|
45
|
+
nextToken: 'NextToken',
|
|
46
|
+
};
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
static types(): { [key: string]: any } {
|
|
50
|
+
return {
|
|
51
|
+
channel: 'string',
|
|
52
|
+
employeeCode: 'string',
|
|
53
|
+
maxResults: 'number',
|
|
54
|
+
nextToken: 'string',
|
|
55
|
+
};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
validate() {
|
|
59
|
+
super.validate();
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
constructor(map?: { [key: string]: any }) {
|
|
63
|
+
super(map);
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { ListPromotionActivitiesForPartnerResponseBody } from "./ListPromotionActivitiesForPartnerResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class ListPromotionActivitiesForPartnerResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: ListPromotionActivitiesForPartnerResponseBody;
|
|
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: ListPromotionActivitiesForPartnerResponseBody,
|
|
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,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
|
+
|