@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.
Files changed (67) hide show
  1. package/dist/client.d.ts +78 -0
  2. package/dist/client.js +234 -0
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateInspirationRequest.d.ts +73 -0
  5. package/dist/models/CreateInspirationRequest.js +70 -0
  6. package/dist/models/CreateInspirationRequest.js.map +1 -0
  7. package/dist/models/CreateInspirationResponse.d.ts +19 -0
  8. package/dist/models/CreateInspirationResponse.js +69 -0
  9. package/dist/models/CreateInspirationResponse.js.map +1 -0
  10. package/dist/models/CreateInspirationResponseBody.d.ts +117 -0
  11. package/dist/models/CreateInspirationResponseBody.js +103 -0
  12. package/dist/models/CreateInspirationResponseBody.js.map +1 -0
  13. package/dist/models/GetAppRecommendedCommoditiesRequest.d.ts +1 -1
  14. package/dist/models/GetAppRecommendedCommoditiesResponseBody.d.ts +4 -0
  15. package/dist/models/GetAppRecommendedCommoditiesResponseBody.js +8 -0
  16. package/dist/models/GetAppRecommendedCommoditiesResponseBody.js.map +1 -1
  17. package/dist/models/GrantPromotionOfferForPartnerRequest.d.ts +53 -0
  18. package/dist/models/GrantPromotionOfferForPartnerRequest.js +66 -0
  19. package/dist/models/GrantPromotionOfferForPartnerRequest.js.map +1 -0
  20. package/dist/models/GrantPromotionOfferForPartnerResponse.d.ts +19 -0
  21. package/dist/models/GrantPromotionOfferForPartnerResponse.js +69 -0
  22. package/dist/models/GrantPromotionOfferForPartnerResponse.js.map +1 -0
  23. package/dist/models/GrantPromotionOfferForPartnerResponseBody.d.ts +139 -0
  24. package/dist/models/GrantPromotionOfferForPartnerResponseBody.js +109 -0
  25. package/dist/models/GrantPromotionOfferForPartnerResponseBody.js.map +1 -0
  26. package/dist/models/ListPromotionActivitiesForPartnerRequest.d.ts +47 -0
  27. package/dist/models/ListPromotionActivitiesForPartnerRequest.js +64 -0
  28. package/dist/models/ListPromotionActivitiesForPartnerRequest.js.map +1 -0
  29. package/dist/models/ListPromotionActivitiesForPartnerResponse.d.ts +19 -0
  30. package/dist/models/ListPromotionActivitiesForPartnerResponse.js +69 -0
  31. package/dist/models/ListPromotionActivitiesForPartnerResponse.js.map +1 -0
  32. package/dist/models/ListPromotionActivitiesForPartnerResponseBody.d.ts +294 -0
  33. package/dist/models/ListPromotionActivitiesForPartnerResponseBody.js +165 -0
  34. package/dist/models/ListPromotionActivitiesForPartnerResponseBody.js.map +1 -0
  35. package/dist/models/ListPromotionOfferRecordsForPartnerRequest.d.ts +79 -0
  36. package/dist/models/ListPromotionOfferRecordsForPartnerRequest.js +72 -0
  37. package/dist/models/ListPromotionOfferRecordsForPartnerRequest.js.map +1 -0
  38. package/dist/models/ListPromotionOfferRecordsForPartnerResponse.d.ts +19 -0
  39. package/dist/models/ListPromotionOfferRecordsForPartnerResponse.js +69 -0
  40. package/dist/models/ListPromotionOfferRecordsForPartnerResponse.js.map +1 -0
  41. package/dist/models/ListPromotionOfferRecordsForPartnerResponseBody.d.ts +246 -0
  42. package/dist/models/ListPromotionOfferRecordsForPartnerResponseBody.js +153 -0
  43. package/dist/models/ListPromotionOfferRecordsForPartnerResponseBody.js.map +1 -0
  44. package/dist/models/PromotionActivity.d.ts +31 -0
  45. package/dist/models/PromotionActivity.js +92 -0
  46. package/dist/models/PromotionActivity.js.map +1 -0
  47. package/dist/models/model.d.ts +19 -0
  48. package/dist/models/model.js +51 -13
  49. package/dist/models/model.js.map +1 -1
  50. package/package.json +1 -1
  51. package/src/client.ts +266 -0
  52. package/src/models/CreateInspirationRequest.ts +98 -0
  53. package/src/models/CreateInspirationResponse.ts +40 -0
  54. package/src/models/CreateInspirationResponseBody.ts +166 -0
  55. package/src/models/GetAppRecommendedCommoditiesRequest.ts +1 -1
  56. package/src/models/GetAppRecommendedCommoditiesResponseBody.ts +12 -0
  57. package/src/models/GrantPromotionOfferForPartnerRequest.ts +74 -0
  58. package/src/models/GrantPromotionOfferForPartnerResponse.ts +40 -0
  59. package/src/models/GrantPromotionOfferForPartnerResponseBody.ts +194 -0
  60. package/src/models/ListPromotionActivitiesForPartnerRequest.ts +66 -0
  61. package/src/models/ListPromotionActivitiesForPartnerResponse.ts +40 -0
  62. package/src/models/ListPromotionActivitiesForPartnerResponseBody.ts +396 -0
  63. package/src/models/ListPromotionOfferRecordsForPartnerRequest.ts +106 -0
  64. package/src/models/ListPromotionOfferRecordsForPartnerResponse.ts +40 -0
  65. package/src/models/ListPromotionOfferRecordsForPartnerResponseBody.ts +336 -0
  66. package/src/models/PromotionActivity.ts +78 -0
  67. package/src/models/model.ts +19 -0
@@ -0,0 +1,166 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class CreateInspirationResponseBodyModule extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The order ID.
9
+ *
10
+ * @example
11
+ * 250822465990301
12
+ */
13
+ orderId?: string;
14
+ static names(): { [key: string]: string } {
15
+ return {
16
+ orderId: 'OrderId',
17
+ };
18
+ }
19
+
20
+ static types(): { [key: string]: any } {
21
+ return {
22
+ orderId: 'string',
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ super.validate();
28
+ }
29
+
30
+ constructor(map?: { [key: string]: any }) {
31
+ super(map);
32
+ }
33
+ }
34
+
35
+ export class CreateInspirationResponseBody extends $dara.Model {
36
+ /**
37
+ * @remarks
38
+ * The access denied details.
39
+ *
40
+ * @example
41
+ * {}
42
+ */
43
+ accessDeniedDetail?: string;
44
+ /**
45
+ * @remarks
46
+ * Indicates whether retry is allowed. Valid values:
47
+ * - false: Retry is not allowed.
48
+ * - true: Retry is allowed.
49
+ *
50
+ * @example
51
+ * False
52
+ */
53
+ allowRetry?: boolean;
54
+ /**
55
+ * @remarks
56
+ * The application name.
57
+ *
58
+ * @example
59
+ * or
60
+ */
61
+ appName?: string;
62
+ /**
63
+ * @remarks
64
+ * The dynamic error code.
65
+ *
66
+ * @example
67
+ * ERROR-oo1
68
+ */
69
+ dynamicCode?: string;
70
+ /**
71
+ * @remarks
72
+ * The dynamic message.
73
+ *
74
+ * @example
75
+ * SYSTEM_ERROR
76
+ */
77
+ dynamicMessage?: string;
78
+ /**
79
+ * @remarks
80
+ * The error parameters.
81
+ */
82
+ errorArgs?: any[];
83
+ /**
84
+ * @remarks
85
+ * The response data.
86
+ */
87
+ module?: CreateInspirationResponseBodyModule;
88
+ /**
89
+ * @remarks
90
+ * Id of the request
91
+ *
92
+ * @example
93
+ * 6C6B99AC-39EC-5350-874C-204128C905E6
94
+ */
95
+ requestId?: string;
96
+ /**
97
+ * @remarks
98
+ * The error code.
99
+ *
100
+ * @example
101
+ * SYSTEM.EROR
102
+ */
103
+ rootErrorCode?: string;
104
+ /**
105
+ * @remarks
106
+ * The error message.
107
+ *
108
+ * @example
109
+ * 系统异常
110
+ */
111
+ rootErrorMsg?: string;
112
+ /**
113
+ * @remarks
114
+ * The reserved parameter.
115
+ *
116
+ * @example
117
+ * True
118
+ */
119
+ synchro?: boolean;
120
+ static names(): { [key: string]: string } {
121
+ return {
122
+ accessDeniedDetail: 'AccessDeniedDetail',
123
+ allowRetry: 'AllowRetry',
124
+ appName: 'AppName',
125
+ dynamicCode: 'DynamicCode',
126
+ dynamicMessage: 'DynamicMessage',
127
+ errorArgs: 'ErrorArgs',
128
+ module: 'Module',
129
+ requestId: 'RequestId',
130
+ rootErrorCode: 'RootErrorCode',
131
+ rootErrorMsg: 'RootErrorMsg',
132
+ synchro: 'Synchro',
133
+ };
134
+ }
135
+
136
+ static types(): { [key: string]: any } {
137
+ return {
138
+ accessDeniedDetail: 'string',
139
+ allowRetry: 'boolean',
140
+ appName: 'string',
141
+ dynamicCode: 'string',
142
+ dynamicMessage: 'string',
143
+ errorArgs: { 'type': 'array', 'itemType': 'any' },
144
+ module: CreateInspirationResponseBodyModule,
145
+ requestId: 'string',
146
+ rootErrorCode: 'string',
147
+ rootErrorMsg: 'string',
148
+ synchro: 'boolean',
149
+ };
150
+ }
151
+
152
+ validate() {
153
+ if(Array.isArray(this.errorArgs)) {
154
+ $dara.Model.validateArray(this.errorArgs);
155
+ }
156
+ if(this.module && typeof (this.module as any).validate === 'function') {
157
+ (this.module as any).validate();
158
+ }
159
+ super.validate();
160
+ }
161
+
162
+ constructor(map?: { [key: string]: any }) {
163
+ super(map);
164
+ }
165
+ }
166
+
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GetAppRecommendedCommoditiesRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The business ID of the application instance. This parameter is required in scenario 1 and is used to filter by instance version.
8
+ * The business ID of the application instance. This parameter is required for scenario 1 and is used to filter by instance version.
9
9
  *
10
10
  * @example
11
11
  * WD20250703155602000001
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class GetAppRecommendedCommoditiesResponseBodyModuleCommodities extends $dara.Model {
6
+ actionType?: string;
6
7
  /**
7
8
  * @remarks
8
9
  * The commodity code. This code applies to both resource plans and promotional commodities.
@@ -11,6 +12,7 @@ export class GetAppRecommendedCommoditiesResponseBodyModuleCommodities extends $
11
12
  * rds
12
13
  */
13
14
  commodityCode?: string;
15
+ description?: string;
14
16
  /**
15
17
  * @remarks
16
18
  * The extension field, such as unsupportedReason.
@@ -42,6 +44,7 @@ export class GetAppRecommendedCommoditiesResponseBodyModuleCommodities extends $
42
44
  * 12345
43
45
  */
44
46
  promotionCommodityId?: string;
47
+ recommendType?: string;
45
48
  /**
46
49
  * @remarks
47
50
  * The redirect URL. This parameter is returned when a redirect is required, such as during an upgrade.
@@ -58,27 +61,36 @@ export class GetAppRecommendedCommoditiesResponseBodyModuleCommodities extends $
58
61
  * Normal
59
62
  */
60
63
  status?: string;
64
+ title?: string;
61
65
  static names(): { [key: string]: string } {
62
66
  return {
67
+ actionType: 'ActionType',
63
68
  commodityCode: 'CommodityCode',
69
+ description: 'Description',
64
70
  extend: 'Extend',
65
71
  orderType: 'OrderType',
66
72
  priority: 'Priority',
67
73
  promotionCommodityId: 'PromotionCommodityId',
74
+ recommendType: 'RecommendType',
68
75
  redirectUrl: 'RedirectUrl',
69
76
  status: 'Status',
77
+ title: 'Title',
70
78
  };
71
79
  }
72
80
 
73
81
  static types(): { [key: string]: any } {
74
82
  return {
83
+ actionType: 'string',
75
84
  commodityCode: 'string',
85
+ description: 'string',
76
86
  extend: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
77
87
  orderType: 'string',
78
88
  priority: 'number',
79
89
  promotionCommodityId: 'string',
90
+ recommendType: 'string',
80
91
  redirectUrl: 'string',
81
92
  status: 'string',
93
+ title: 'string',
82
94
  };
83
95
  }
84
96
 
@@ -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
+