@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
|
@@ -103,7 +103,7 @@ export class GetAppWorkspaceDirectoryResponseBody extends $dara.Model {
|
|
|
103
103
|
accessDeniedDetail?: string;
|
|
104
104
|
/**
|
|
105
105
|
* @remarks
|
|
106
|
-
* Indicates whether retry is allowed.
|
|
106
|
+
* Indicates whether a retry is allowed.
|
|
107
107
|
*
|
|
108
108
|
* @example
|
|
109
109
|
* False
|
|
@@ -135,7 +135,7 @@ export class GetAppWorkspaceDirectoryResponseBody extends $dara.Model {
|
|
|
135
135
|
dynamicMessage?: string;
|
|
136
136
|
/**
|
|
137
137
|
* @remarks
|
|
138
|
-
* The error parameters.
|
|
138
|
+
* The error parameters returned.
|
|
139
139
|
*/
|
|
140
140
|
errorArgs?: any[];
|
|
141
141
|
/**
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
export class GrantPromotionOfferForPartnerRequest extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* The activity ID.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* 232
|
|
12
|
+
*/
|
|
13
|
+
activityId?: string;
|
|
14
|
+
/**
|
|
15
|
+
* @remarks
|
|
16
|
+
* The user ID.
|
|
17
|
+
*
|
|
18
|
+
* @example
|
|
19
|
+
* 123456
|
|
20
|
+
*/
|
|
21
|
+
belongId?: string;
|
|
22
|
+
/**
|
|
23
|
+
* @remarks
|
|
24
|
+
* The channel.
|
|
25
|
+
*
|
|
26
|
+
* @example
|
|
27
|
+
* WECHAT
|
|
28
|
+
*/
|
|
29
|
+
channel?: string;
|
|
30
|
+
/**
|
|
31
|
+
* @remarks
|
|
32
|
+
* The employee code.
|
|
33
|
+
*
|
|
34
|
+
* @example
|
|
35
|
+
* WB02409424
|
|
36
|
+
*/
|
|
37
|
+
employeeCode?: string;
|
|
38
|
+
/**
|
|
39
|
+
* @remarks
|
|
40
|
+
* The operation remarks (audit information).
|
|
41
|
+
*
|
|
42
|
+
* @example
|
|
43
|
+
* hz-maven
|
|
44
|
+
*/
|
|
45
|
+
remark?: string;
|
|
46
|
+
static names(): { [key: string]: string } {
|
|
47
|
+
return {
|
|
48
|
+
activityId: 'ActivityId',
|
|
49
|
+
belongId: 'BelongId',
|
|
50
|
+
channel: 'Channel',
|
|
51
|
+
employeeCode: 'EmployeeCode',
|
|
52
|
+
remark: 'Remark',
|
|
53
|
+
};
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
static types(): { [key: string]: any } {
|
|
57
|
+
return {
|
|
58
|
+
activityId: 'string',
|
|
59
|
+
belongId: 'string',
|
|
60
|
+
channel: 'string',
|
|
61
|
+
employeeCode: 'string',
|
|
62
|
+
remark: 'string',
|
|
63
|
+
};
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
validate() {
|
|
67
|
+
super.validate();
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
constructor(map?: { [key: string]: any }) {
|
|
71
|
+
super(map);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
// This file is auto-generated, don't edit it
|
|
2
|
+
import * as $dara from '@darabonba/typescript';
|
|
3
|
+
import { GrantPromotionOfferForPartnerResponseBody } from "./GrantPromotionOfferForPartnerResponseBody";
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
export class GrantPromotionOfferForPartnerResponse extends $dara.Model {
|
|
7
|
+
headers?: { [key: string]: string };
|
|
8
|
+
statusCode?: number;
|
|
9
|
+
body?: GrantPromotionOfferForPartnerResponseBody;
|
|
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: GrantPromotionOfferForPartnerResponseBody,
|
|
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,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
|
+
|