@alicloud/websitebuild20250429 2.29.0 → 2.30.1
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 +15 -0
- package/dist/client.js +60 -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/GrantPromotionOfferForPartnerRequest.d.ts +1 -0
- package/dist/models/GrantPromotionOfferForPartnerRequest.js +2 -0
- package/dist/models/GrantPromotionOfferForPartnerRequest.js.map +1 -1
- package/dist/models/GrantPromotionOfferForPartnerResponseBody.d.ts +4 -4
- package/dist/models/ListPromotionOfferRecordsForPartnerRequest.d.ts +1 -1
- package/dist/models/ListPromotionOfferRecordsForPartnerResponseBody.d.ts +3 -3
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +21 -13
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +70 -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/GrantPromotionOfferForPartnerRequest.ts +3 -0
- package/src/models/GrantPromotionOfferForPartnerResponseBody.ts +4 -4
- package/src/models/ListPromotionOfferRecordsForPartnerRequest.ts +1 -1
- package/src/models/ListPromotionOfferRecordsForPartnerResponseBody.ts +3 -3
- package/src/models/model.ts +4 -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
|
+
|
|
@@ -3,6 +3,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
export class GrantPromotionOfferForPartnerRequest extends $dara.Model {
|
|
6
|
+
activityCode?: string;
|
|
6
7
|
/**
|
|
7
8
|
* @remarks
|
|
8
9
|
* The activity ID.
|
|
@@ -45,6 +46,7 @@ export class GrantPromotionOfferForPartnerRequest extends $dara.Model {
|
|
|
45
46
|
remark?: string;
|
|
46
47
|
static names(): { [key: string]: string } {
|
|
47
48
|
return {
|
|
49
|
+
activityCode: 'ActivityCode',
|
|
48
50
|
activityId: 'ActivityId',
|
|
49
51
|
belongId: 'BelongId',
|
|
50
52
|
channel: 'Channel',
|
|
@@ -55,6 +57,7 @@ export class GrantPromotionOfferForPartnerRequest extends $dara.Model {
|
|
|
55
57
|
|
|
56
58
|
static types(): { [key: string]: any } {
|
|
57
59
|
return {
|
|
60
|
+
activityCode: 'string',
|
|
58
61
|
activityId: 'string',
|
|
59
62
|
belongId: 'string',
|
|
60
63
|
channel: 'string',
|
|
@@ -89,7 +89,7 @@ export class GrantPromotionOfferForPartnerResponseBody extends $dara.Model {
|
|
|
89
89
|
appName?: string;
|
|
90
90
|
/**
|
|
91
91
|
* @remarks
|
|
92
|
-
* The dynamic code. This parameter is not in use. Ignore
|
|
92
|
+
* The dynamic code. This parameter is not in use. Ignore this parameter.
|
|
93
93
|
*
|
|
94
94
|
* @example
|
|
95
95
|
* ERROR-oo1
|
|
@@ -105,7 +105,7 @@ export class GrantPromotionOfferForPartnerResponseBody extends $dara.Model {
|
|
|
105
105
|
dynamicMessage?: string;
|
|
106
106
|
/**
|
|
107
107
|
* @remarks
|
|
108
|
-
* The
|
|
108
|
+
* The error parameters returned.
|
|
109
109
|
*/
|
|
110
110
|
errorArgs?: any[];
|
|
111
111
|
/**
|
|
@@ -131,7 +131,7 @@ export class GrantPromotionOfferForPartnerResponseBody extends $dara.Model {
|
|
|
131
131
|
rootErrorCode?: string;
|
|
132
132
|
/**
|
|
133
133
|
* @remarks
|
|
134
|
-
* The
|
|
134
|
+
* The root error message.
|
|
135
135
|
*
|
|
136
136
|
* @example
|
|
137
137
|
* 系统异常
|
|
@@ -139,7 +139,7 @@ export class GrantPromotionOfferForPartnerResponseBody extends $dara.Model {
|
|
|
139
139
|
rootErrorMsg?: string;
|
|
140
140
|
/**
|
|
141
141
|
* @remarks
|
|
142
|
-
* Indicates whether the request is processed
|
|
142
|
+
* Indicates whether the request is synchronously processed.
|
|
143
143
|
*
|
|
144
144
|
* @example
|
|
145
145
|
* True
|
|
@@ -146,7 +146,7 @@ export class ListPromotionOfferRecordsForPartnerResponseBodyModule extends $dara
|
|
|
146
146
|
records?: ListPromotionOfferRecordsForPartnerResponseBodyModuleRecords[];
|
|
147
147
|
/**
|
|
148
148
|
* @remarks
|
|
149
|
-
* The total number of
|
|
149
|
+
* The total number of entries.
|
|
150
150
|
*
|
|
151
151
|
* @example
|
|
152
152
|
* 30
|
|
@@ -193,7 +193,7 @@ export class ListPromotionOfferRecordsForPartnerResponseBody extends $dara.Model
|
|
|
193
193
|
accessDeniedDetail?: string;
|
|
194
194
|
/**
|
|
195
195
|
* @remarks
|
|
196
|
-
* Indicates whether retry is allowed.
|
|
196
|
+
* Indicates whether a retry is allowed.
|
|
197
197
|
*
|
|
198
198
|
* @example
|
|
199
199
|
* False
|
|
@@ -269,7 +269,7 @@ export class ListPromotionOfferRecordsForPartnerResponseBody extends $dara.Model
|
|
|
269
269
|
rootErrorCode?: string;
|
|
270
270
|
/**
|
|
271
271
|
* @remarks
|
|
272
|
-
* The
|
|
272
|
+
* The error message.
|
|
273
273
|
*
|
|
274
274
|
* @example
|
|
275
275
|
* 系统异常
|
package/src/models/model.ts
CHANGED
|
@@ -31,6 +31,7 @@ export { CreateAppInstanceTicketResponseBodyModule } from './CreateAppInstanceTi
|
|
|
31
31
|
export { CreateAppLlmApiKeyForPartnerResponseBodyModule } from './CreateAppLlmApiKeyForPartnerResponseBody';
|
|
32
32
|
export { CreateAppNotificationSceneResponseBodyModule } from './CreateAppNotificationSceneResponseBody';
|
|
33
33
|
export { CreateAppTokenServiceResponseBodyModule } from './CreateAppTokenServiceResponseBody';
|
|
34
|
+
export { CreateInspirationResponseBodyModule } from './CreateInspirationResponseBody';
|
|
34
35
|
export { CreateMaterialDirectoryResponseBodyModule } from './CreateMaterialDirectoryResponseBody';
|
|
35
36
|
export { DeleteAppDomainCertificateResponseBodyModule } from './DeleteAppDomainCertificateResponseBody';
|
|
36
37
|
export { DeleteAppDomainRedirectResponseBodyModule } from './DeleteAppDomainRedirectResponseBody';
|
|
@@ -255,6 +256,9 @@ export { CreateAppNotificationSceneResponse } from './CreateAppNotificationScene
|
|
|
255
256
|
export { CreateAppTokenServiceRequest } from './CreateAppTokenServiceRequest';
|
|
256
257
|
export { CreateAppTokenServiceResponseBody } from './CreateAppTokenServiceResponseBody';
|
|
257
258
|
export { CreateAppTokenServiceResponse } from './CreateAppTokenServiceResponse';
|
|
259
|
+
export { CreateInspirationRequest } from './CreateInspirationRequest';
|
|
260
|
+
export { CreateInspirationResponseBody } from './CreateInspirationResponseBody';
|
|
261
|
+
export { CreateInspirationResponse } from './CreateInspirationResponse';
|
|
258
262
|
export { CreateLogoTaskRequest } from './CreateLogoTaskRequest';
|
|
259
263
|
export { CreateLogoTaskResponseBody } from './CreateLogoTaskResponseBody';
|
|
260
264
|
export { CreateLogoTaskResponse } from './CreateLogoTaskResponse';
|