@alicloud/websitebuild20250429 2.35.1 → 2.36.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 (44) hide show
  1. package/dist/client.d.ts +17 -2
  2. package/dist/client.js +44 -2
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AppInstanceProfile.d.ts +65 -0
  5. package/dist/models/AppInstanceProfile.js +2 -0
  6. package/dist/models/AppInstanceProfile.js.map +1 -1
  7. package/dist/models/GetAppCodeWorkspaceDetailResponseBody.d.ts +2 -2
  8. package/dist/models/GetAppInstanceForAdminResponseBody.d.ts +2 -2
  9. package/dist/models/GetAppInstanceResponseBody.d.ts +3 -3
  10. package/dist/models/GetAppPluginResponseBody.d.ts +20 -4
  11. package/dist/models/GetAppPluginResponseBody.js +4 -0
  12. package/dist/models/GetAppPluginResponseBody.js.map +1 -1
  13. package/dist/models/GetOssUploadPolicyResponseBody.d.ts +6 -6
  14. package/dist/models/ListAppInstancesResponseBody.d.ts +5 -2
  15. package/dist/models/ListAppInstancesResponseBody.js.map +1 -1
  16. package/dist/models/ListAppPublishHistoryRequest.d.ts +1 -1
  17. package/dist/models/ListAppPublishHistoryResponseBody.d.ts +5 -5
  18. package/dist/models/QueryInspirationBalanceForPartnerRequest.d.ts +23 -0
  19. package/dist/models/QueryInspirationBalanceForPartnerRequest.js +60 -0
  20. package/dist/models/QueryInspirationBalanceForPartnerRequest.js.map +1 -0
  21. package/dist/models/QueryInspirationBalanceForPartnerResponse.d.ts +19 -0
  22. package/dist/models/QueryInspirationBalanceForPartnerResponse.js +69 -0
  23. package/dist/models/QueryInspirationBalanceForPartnerResponse.js.map +1 -0
  24. package/dist/models/QueryInspirationBalanceForPartnerResponseBody.d.ts +102 -0
  25. package/dist/models/QueryInspirationBalanceForPartnerResponseBody.js +113 -0
  26. package/dist/models/QueryInspirationBalanceForPartnerResponseBody.js.map +1 -0
  27. package/dist/models/model.d.ts +4 -0
  28. package/dist/models/model.js +22 -13
  29. package/dist/models/model.js.map +1 -1
  30. package/package.json +1 -1
  31. package/src/client.ts +48 -2
  32. package/src/models/AppInstanceProfile.ts +67 -0
  33. package/src/models/GetAppCodeWorkspaceDetailResponseBody.ts +2 -2
  34. package/src/models/GetAppInstanceForAdminResponseBody.ts +2 -2
  35. package/src/models/GetAppInstanceResponseBody.ts +3 -3
  36. package/src/models/GetAppPluginResponseBody.ts +24 -4
  37. package/src/models/GetOssUploadPolicyResponseBody.ts +6 -6
  38. package/src/models/ListAppInstancesResponseBody.ts +5 -2
  39. package/src/models/ListAppPublishHistoryRequest.ts +1 -1
  40. package/src/models/ListAppPublishHistoryResponseBody.ts +5 -5
  41. package/src/models/QueryInspirationBalanceForPartnerRequest.ts +38 -0
  42. package/src/models/QueryInspirationBalanceForPartnerResponse.ts +40 -0
  43. package/src/models/QueryInspirationBalanceForPartnerResponseBody.ts +161 -0
  44. package/src/models/model.ts +4 -0
package/src/client.ts CHANGED
@@ -4324,7 +4324,7 @@ export default class Client extends OpenApi {
4324
4324
  * Generates a file upload policy.
4325
4325
  *
4326
4326
  * @remarks
4327
- * Retrieves the configuration information of the code generation plug-in.
4327
+ * Retrieves the configuration information of the code generation plugin.
4328
4328
  *
4329
4329
  * @param request - GetOssUploadPolicyRequest
4330
4330
  * @param runtime - runtime options for this request RuntimeOptions
@@ -4358,7 +4358,7 @@ export default class Client extends OpenApi {
4358
4358
  * Generates a file upload policy.
4359
4359
  *
4360
4360
  * @remarks
4361
- * Retrieves the configuration information of the code generation plug-in.
4361
+ * Retrieves the configuration information of the code generation plugin.
4362
4362
  *
4363
4363
  * @param request - GetOssUploadPolicyRequest
4364
4364
  * @returns GetOssUploadPolicyResponse
@@ -7490,6 +7490,52 @@ export default class Client extends OpenApi {
7490
7490
  return await this.queryInspirationBalanceWithOptions(runtime);
7491
7491
  }
7492
7492
 
7493
+ /**
7494
+ * 提供给服务商的灵感值查询接口
7495
+ *
7496
+ * @param request - QueryInspirationBalanceForPartnerRequest
7497
+ * @param runtime - runtime options for this request RuntimeOptions
7498
+ * @returns QueryInspirationBalanceForPartnerResponse
7499
+ */
7500
+ async queryInspirationBalanceForPartnerWithOptions(request: $_model.QueryInspirationBalanceForPartnerRequest, runtime: $dara.RuntimeOptions): Promise<$_model.QueryInspirationBalanceForPartnerResponse> {
7501
+ request.validate();
7502
+ let query = { };
7503
+ if (!$dara.isNull(request.belongId)) {
7504
+ query["BelongId"] = request.belongId;
7505
+ }
7506
+
7507
+ if (!$dara.isNull(request.belongIdType)) {
7508
+ query["BelongIdType"] = request.belongIdType;
7509
+ }
7510
+
7511
+ let req = new $OpenApiUtil.OpenApiRequest({
7512
+ query: OpenApiUtil.query(query),
7513
+ });
7514
+ let params = new $OpenApiUtil.Params({
7515
+ action: "QueryInspirationBalanceForPartner",
7516
+ version: "2025-04-29",
7517
+ protocol: "HTTPS",
7518
+ pathname: "/",
7519
+ method: "POST",
7520
+ authType: "AK",
7521
+ style: "RPC",
7522
+ reqBodyType: "formData",
7523
+ bodyType: "json",
7524
+ });
7525
+ return $dara.cast<$_model.QueryInspirationBalanceForPartnerResponse>(await this.callApi(params, req, runtime), new $_model.QueryInspirationBalanceForPartnerResponse({}));
7526
+ }
7527
+
7528
+ /**
7529
+ * 提供给服务商的灵感值查询接口
7530
+ *
7531
+ * @param request - QueryInspirationBalanceForPartnerRequest
7532
+ * @returns QueryInspirationBalanceForPartnerResponse
7533
+ */
7534
+ async queryInspirationBalanceForPartner(request: $_model.QueryInspirationBalanceForPartnerRequest): Promise<$_model.QueryInspirationBalanceForPartnerResponse> {
7535
+ let runtime = new $dara.RuntimeOptions({ });
7536
+ return await this.queryInspirationBalanceForPartnerWithOptions(request, runtime);
7537
+ }
7538
+
7493
7539
  /**
7494
7540
  * Queries the details of inspiration point consumption.
7495
7541
  *
@@ -3,25 +3,90 @@ import * as $dara from '@darabonba/typescript';
3
3
 
4
4
 
5
5
  export class AppInstanceProfile extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The application type code.
9
+ */
6
10
  applicationType?: string;
11
+ /**
12
+ * @remarks
13
+ * The text description of the application type.
14
+ */
7
15
  applicationTypeText?: string;
16
+ /**
17
+ * @remarks
18
+ * The business ID.
19
+ */
8
20
  bizId?: string;
9
21
  chatbiTaskId?: string;
10
22
  chatbiTaskStatus?: string;
23
+ /**
24
+ * @remarks
25
+ * The commodity code.
26
+ */
11
27
  commodityCode?: string;
28
+ /**
29
+ * @remarks
30
+ * The customer service information.
31
+ */
12
32
  customerService?: string;
33
+ /**
34
+ * @remarks
35
+ * The deployment area.
36
+ */
13
37
  deployArea?: string;
38
+ icpbaNo?: string;
39
+ /**
40
+ * @remarks
41
+ * The associated instance ID.
42
+ */
14
43
  instanceId?: string;
15
44
  openChatBi?: boolean;
45
+ /**
46
+ * @remarks
47
+ * The time when the order was placed.
48
+ */
16
49
  ordTime?: string;
50
+ /**
51
+ * @remarks
52
+ * The order ID.
53
+ */
17
54
  orderId?: string;
55
+ /**
56
+ * @remarks
57
+ * The payment time.
58
+ */
18
59
  payTime?: string;
19
60
  previewUrl?: string;
61
+ /**
62
+ * @remarks
63
+ * The SEO site information.
64
+ */
20
65
  seoSite?: string;
66
+ /**
67
+ * @remarks
68
+ * The site version code.
69
+ */
21
70
  siteVersion?: string;
71
+ /**
72
+ * @remarks
73
+ * The text description of the site version.
74
+ */
22
75
  siteVersionText?: string;
76
+ /**
77
+ * @remarks
78
+ * The source information.
79
+ */
23
80
  source?: string;
81
+ /**
82
+ * @remarks
83
+ * The ETag of the template.
84
+ */
24
85
  templateEtag?: string;
86
+ /**
87
+ * @remarks
88
+ * The template ID.
89
+ */
25
90
  templateId?: string;
26
91
  static names(): { [key: string]: string } {
27
92
  return {
@@ -33,6 +98,7 @@ export class AppInstanceProfile extends $dara.Model {
33
98
  commodityCode: 'CommodityCode',
34
99
  customerService: 'CustomerService',
35
100
  deployArea: 'DeployArea',
101
+ icpbaNo: 'IcpbaNo',
36
102
  instanceId: 'InstanceId',
37
103
  openChatBi: 'OpenChatBi',
38
104
  ordTime: 'OrdTime',
@@ -58,6 +124,7 @@ export class AppInstanceProfile extends $dara.Model {
58
124
  commodityCode: 'string',
59
125
  customerService: 'string',
60
126
  deployArea: 'string',
127
+ icpbaNo: 'string',
61
128
  instanceId: 'string',
62
129
  openChatBi: 'boolean',
63
130
  ordTime: 'string',
@@ -164,7 +164,7 @@ export class GetAppCodeWorkspaceDetailResponseBody extends $dara.Model {
164
164
  dynamicCode?: string;
165
165
  /**
166
166
  * @remarks
167
- * The dynamic error message, which is used to replace the `%s` variable in the **ErrMessage** parameter.
167
+ * The dynamic error message, which is used to replace the `%s` placeholder in the **ErrMessage** parameter.
168
168
  * > If **ErrMessage** returns **The Value of Input Parameter %s is not valid** and **DynamicMessage** returns **DtsJobId**, the value of the request parameter **DtsJobId** is invalid.
169
169
  *
170
170
  * @example
@@ -202,7 +202,7 @@ export class GetAppCodeWorkspaceDetailResponseBody extends $dara.Model {
202
202
  * The exception message.
203
203
  *
204
204
  * @example
205
- * System exception.
205
+ * System exception
206
206
  */
207
207
  rootErrorMsg?: string;
208
208
  /**
@@ -46,7 +46,7 @@ export class GetAppInstanceForAdminResponseBody extends $dara.Model {
46
46
  dynamicMessage?: string;
47
47
  /**
48
48
  * @remarks
49
- * The error parameters returned.
49
+ * The returned error parameters.
50
50
  */
51
51
  errorArgs?: any[];
52
52
  /**
@@ -78,7 +78,7 @@ export class GetAppInstanceForAdminResponseBody extends $dara.Model {
78
78
  * The exception message.
79
79
  *
80
80
  * @example
81
- * 系统异常
81
+ * System exception
82
82
  */
83
83
  rootErrorMsg?: string;
84
84
  /**
@@ -38,8 +38,8 @@ export class GetAppInstanceResponseBody extends $dara.Model {
38
38
  dynamicCode?: string;
39
39
  /**
40
40
  * @remarks
41
- * The dynamic error message, which is used to replace the `%s` placeholder in the **ErrMessage** response parameter.
42
- * > If **ErrMessage** returns **The Value of Input Parameter %s is not valid** and **DynamicMessage** returns **DtsJobId**, the request parameter **DtsJobId** that you specify is invalid.
41
+ * The dynamic error message, which is used to replace the `%s` variable in the **ErrMessage** parameter.
42
+ * > If **ErrMessage** returns **The Value of Input Parameter %s is not valid** and **DynamicMessage** returns **DtsJobId**, the request parameter **DtsJobId** is invalid.
43
43
  *
44
44
  * @example
45
45
  * SYSTEM_ERROR
@@ -79,7 +79,7 @@ export class GetAppInstanceResponseBody extends $dara.Model {
79
79
  * The exception message.
80
80
  *
81
81
  * @example
82
- * 系统异常
82
+ * System exception
83
83
  */
84
84
  rootErrorMsg?: string;
85
85
  /**
@@ -66,6 +66,14 @@ export class GetAppPluginResponseBodyModule extends $dara.Model {
66
66
  * {\\"deliveryNodeName\\":\\"bindDomainAndPublish\\",\\"deliveryNodeStatus\\":\\"Finish\\",\\"deliveryOperatorRole\\":\\"Provider\\"}
67
67
  */
68
68
  extend?: string;
69
+ /**
70
+ * @remarks
71
+ * The version number.
72
+ *
73
+ * @example
74
+ * v0.1.0
75
+ */
76
+ gitRef?: string;
69
77
  /**
70
78
  * @remarks
71
79
  * The creation time.
@@ -108,7 +116,7 @@ export class GetAppPluginResponseBodyModule extends $dara.Model {
108
116
  icon?: string;
109
117
  /**
110
118
  * @remarks
111
- * The bound API gateway plug-in ID.
119
+ * The bound API Gateway plug-in ID.
112
120
  *
113
121
  * @example
114
122
  * 1bae9ceaceea432d91c7069fab0dfc02
@@ -122,6 +130,14 @@ export class GetAppPluginResponseBodyModule extends $dara.Model {
122
130
  * tf_testaccapigatewayplugin29311
123
131
  */
124
132
  pluginName?: string;
133
+ /**
134
+ * @remarks
135
+ * The image repository URL.
136
+ *
137
+ * @example
138
+ * xxx
139
+ */
140
+ repositoryUrl?: string;
125
141
  /**
126
142
  * @remarks
127
143
  * The skill header information for model selection.
@@ -156,7 +172,7 @@ export class GetAppPluginResponseBodyModule extends $dara.Model {
156
172
  version?: string;
157
173
  /**
158
174
  * @remarks
159
- * The visibility level.
175
+ * **The visibility level.**
160
176
  *
161
177
  * @example
162
178
  * PRIVATE
@@ -171,6 +187,7 @@ export class GetAppPluginResponseBodyModule extends $dara.Model {
171
187
  display: 'Display',
172
188
  enabled: 'Enabled',
173
189
  extend: 'Extend',
190
+ gitRef: 'GitRef',
174
191
  gmtCreate: 'GmtCreate',
175
192
  gmtModified: 'GmtModified',
176
193
  hooks: 'Hooks',
@@ -178,6 +195,7 @@ export class GetAppPluginResponseBodyModule extends $dara.Model {
178
195
  icon: 'Icon',
179
196
  pluginId: 'PluginId',
180
197
  pluginName: 'PluginName',
198
+ repositoryUrl: 'RepositoryUrl',
181
199
  skillHeader: 'SkillHeader',
182
200
  status: 'Status',
183
201
  tags: 'Tags',
@@ -195,6 +213,7 @@ export class GetAppPluginResponseBodyModule extends $dara.Model {
195
213
  display: 'number',
196
214
  enabled: 'number',
197
215
  extend: 'string',
216
+ gitRef: 'string',
198
217
  gmtCreate: 'string',
199
218
  gmtModified: 'string',
200
219
  hooks: 'string',
@@ -202,6 +221,7 @@ export class GetAppPluginResponseBodyModule extends $dara.Model {
202
221
  icon: 'string',
203
222
  pluginId: 'string',
204
223
  pluginName: 'string',
224
+ repositoryUrl: 'string',
205
225
  skillHeader: 'string',
206
226
  status: 'string',
207
227
  tags: 'string',
@@ -230,7 +250,7 @@ export class GetAppPluginResponseBody extends $dara.Model {
230
250
  accessDeniedDetail?: string;
231
251
  /**
232
252
  * @remarks
233
- * Indicates whether retry is allowed.
253
+ * Indicates whether retries are allowed.
234
254
  *
235
255
  * @example
236
256
  * False
@@ -292,7 +312,7 @@ export class GetAppPluginResponseBody extends $dara.Model {
292
312
  * The exception message.
293
313
  *
294
314
  * @example
295
- * System exception.
315
+ * System exception
296
316
  */
297
317
  rootErrorMsg?: string;
298
318
  /**
@@ -29,7 +29,7 @@ export class GetOssUploadPolicyResponseBodyModule extends $dara.Model {
29
29
  policy?: string;
30
30
  /**
31
31
  * @remarks
32
- * The Security Token Service (STS) token. This parameter is null in non-STS scenarios.
32
+ * The Security Token Service (STS) token. This value is null in non-STS scenarios.
33
33
  *
34
34
  * @example
35
35
  * ***
@@ -105,7 +105,7 @@ export class GetOssUploadPolicyResponseBodyModule extends $dara.Model {
105
105
  export class GetOssUploadPolicyResponseBody extends $dara.Model {
106
106
  /**
107
107
  * @remarks
108
- * The detailed reason why access is denied.
108
+ * The detailed reason why access was denied.
109
109
  *
110
110
  * @example
111
111
  * {}
@@ -113,9 +113,9 @@ export class GetOssUploadPolicyResponseBody extends $dara.Model {
113
113
  accessDeniedDetail?: string;
114
114
  /**
115
115
  * @remarks
116
- * Indicates whether a retry is allowed. Valid values:
117
- * - false: No retry is allowed.
118
- * - true: A retry is allowed.
116
+ * Indicates whether retry is allowed. Valid values:
117
+ * - false: Retry is not allowed.
118
+ * - true: Retry is allowed.
119
119
  *
120
120
  * @example
121
121
  * False
@@ -176,7 +176,7 @@ export class GetOssUploadPolicyResponseBody extends $dara.Model {
176
176
  * The exception message.
177
177
  *
178
178
  * @example
179
- * 系统异常
179
+ * System exception
180
180
  */
181
181
  rootErrorMsg?: string;
182
182
  /**
@@ -114,7 +114,7 @@ export class ListAppInstancesResponseBody extends $dara.Model {
114
114
  requestId?: string;
115
115
  /**
116
116
  * @remarks
117
- * In addition to pagination limits, the server processes a maximum of 1,000 recent records per query. If the results exceed 1,000 records, **ResultLimit** is **true**, and you must narrow the time range and search again. Otherwise, **ResultLimit** is **false**.
117
+ * In addition to the pagination limit, the server processes a maximum of 1000 recent records per query. If the results exceed 1000 records, **ResultLimit** is **true** and you need to narrow the time range and search again. Otherwise, **ResultLimit** is **false**.
118
118
  *
119
119
  * @example
120
120
  * False
@@ -133,10 +133,13 @@ export class ListAppInstancesResponseBody extends $dara.Model {
133
133
  * The exception message.
134
134
  *
135
135
  * @example
136
- * 系统异常
136
+ * System exception
137
137
  */
138
138
  rootErrorMsg?: string;
139
139
  /**
140
+ * @remarks
141
+ * The start position.
142
+ *
140
143
  * @example
141
144
  * 1
142
145
  */
@@ -17,7 +17,7 @@ export class ListAppPublishHistoryRequest extends $dara.Model {
17
17
  * The search keyword.
18
18
  *
19
19
  * @example
20
- * 1_OperationsSupport_SalesOperations.
20
+ * 1_OperationsSupport_SalesOperations
21
21
  */
22
22
  keyword?: string;
23
23
  /**
@@ -51,7 +51,7 @@ export class ListAppPublishHistoryResponseBodyModuleHistory extends $dara.Model
51
51
  isFinish?: boolean;
52
52
  /**
53
53
  * @remarks
54
- * Indicates whether the resource allocation of the business unit is successful. Valid values:
54
+ * Indicates whether the resource allocation of the business unit is successful.
55
55
  * - true: The allocation is successful.
56
56
  * - false: The allocation failed.
57
57
  *
@@ -111,7 +111,7 @@ export class ListAppPublishHistoryResponseBodyModuleHistory extends $dara.Model
111
111
  publishTime?: string;
112
112
  /**
113
113
  * @remarks
114
- * The specific component configurations.
114
+ * The component-specific configurations.
115
115
  */
116
116
  steps?: string[];
117
117
  subchannel?: string;
@@ -246,7 +246,7 @@ export class ListAppPublishHistoryResponseBodyModule extends $dara.Model {
246
246
  export class ListAppPublishHistoryResponseBody extends $dara.Model {
247
247
  /**
248
248
  * @remarks
249
- * The detailed reason why access was denied.
249
+ * The details about the access denial.
250
250
  *
251
251
  * @example
252
252
  * {}
@@ -336,10 +336,10 @@ export class ListAppPublishHistoryResponseBody extends $dara.Model {
336
336
  rootErrorCode?: string;
337
337
  /**
338
338
  * @remarks
339
- * The exception message.
339
+ * The error message.
340
340
  *
341
341
  * @example
342
- * System exception.
342
+ * System exception
343
343
  */
344
344
  rootErrorMsg?: string;
345
345
  /**
@@ -0,0 +1,38 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class QueryInspirationBalanceForPartnerRequest extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 123456
9
+ */
10
+ belongId?: string;
11
+ /**
12
+ * @example
13
+ * USER
14
+ */
15
+ belongIdType?: string;
16
+ static names(): { [key: string]: string } {
17
+ return {
18
+ belongId: 'BelongId',
19
+ belongIdType: 'BelongIdType',
20
+ };
21
+ }
22
+
23
+ static types(): { [key: string]: any } {
24
+ return {
25
+ belongId: 'string',
26
+ belongIdType: 'string',
27
+ };
28
+ }
29
+
30
+ validate() {
31
+ super.validate();
32
+ }
33
+
34
+ constructor(map?: { [key: string]: any }) {
35
+ super(map);
36
+ }
37
+ }
38
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { QueryInspirationBalanceForPartnerResponseBody } from "./QueryInspirationBalanceForPartnerResponseBody";
4
+
5
+
6
+ export class QueryInspirationBalanceForPartnerResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: QueryInspirationBalanceForPartnerResponseBody;
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: QueryInspirationBalanceForPartnerResponseBody,
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,161 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class QueryInspirationBalanceForPartnerResponseBodyModule extends $dara.Model {
6
+ /**
7
+ * @example
8
+ * 8
9
+ */
10
+ remaining?: number;
11
+ /**
12
+ * @example
13
+ * 10
14
+ */
15
+ remainingStr?: string;
16
+ /**
17
+ * @example
18
+ * 10
19
+ */
20
+ totalQuota?: number;
21
+ /**
22
+ * @example
23
+ * 10
24
+ */
25
+ totalQuotaStr?: string;
26
+ /**
27
+ * @example
28
+ * 1
29
+ */
30
+ totalUsed?: number;
31
+ /**
32
+ * @example
33
+ * 10
34
+ */
35
+ totalUsedStr?: string;
36
+ static names(): { [key: string]: string } {
37
+ return {
38
+ remaining: 'Remaining',
39
+ remainingStr: 'RemainingStr',
40
+ totalQuota: 'TotalQuota',
41
+ totalQuotaStr: 'TotalQuotaStr',
42
+ totalUsed: 'TotalUsed',
43
+ totalUsedStr: 'TotalUsedStr',
44
+ };
45
+ }
46
+
47
+ static types(): { [key: string]: any } {
48
+ return {
49
+ remaining: 'number',
50
+ remainingStr: 'string',
51
+ totalQuota: 'number',
52
+ totalQuotaStr: 'string',
53
+ totalUsed: 'number',
54
+ totalUsedStr: 'string',
55
+ };
56
+ }
57
+
58
+ validate() {
59
+ super.validate();
60
+ }
61
+
62
+ constructor(map?: { [key: string]: any }) {
63
+ super(map);
64
+ }
65
+ }
66
+
67
+ export class QueryInspirationBalanceForPartnerResponseBody extends $dara.Model {
68
+ /**
69
+ * @example
70
+ * {}
71
+ */
72
+ accessDeniedDetail?: string;
73
+ /**
74
+ * @example
75
+ * False
76
+ */
77
+ allowRetry?: boolean;
78
+ /**
79
+ * @example
80
+ * ish-intelligence-store-platform-admin-web
81
+ */
82
+ appName?: string;
83
+ /**
84
+ * @example
85
+ * ERROR-oo1
86
+ */
87
+ dynamicCode?: string;
88
+ /**
89
+ * @example
90
+ * SYSTEM_ERROR
91
+ */
92
+ dynamicMessage?: string;
93
+ errorArgs?: any[];
94
+ module?: QueryInspirationBalanceForPartnerResponseBodyModule;
95
+ /**
96
+ * @example
97
+ * 6C6B99AC-39EC-5350-874C-204128C905E6
98
+ */
99
+ requestId?: string;
100
+ /**
101
+ * @example
102
+ * SYSTEM.ERROR
103
+ */
104
+ rootErrorCode?: string;
105
+ /**
106
+ * @example
107
+ * 系统异常
108
+ */
109
+ rootErrorMsg?: string;
110
+ /**
111
+ * @example
112
+ * True
113
+ */
114
+ synchro?: boolean;
115
+ static names(): { [key: string]: string } {
116
+ return {
117
+ accessDeniedDetail: 'AccessDeniedDetail',
118
+ allowRetry: 'AllowRetry',
119
+ appName: 'AppName',
120
+ dynamicCode: 'DynamicCode',
121
+ dynamicMessage: 'DynamicMessage',
122
+ errorArgs: 'ErrorArgs',
123
+ module: 'Module',
124
+ requestId: 'RequestId',
125
+ rootErrorCode: 'RootErrorCode',
126
+ rootErrorMsg: 'RootErrorMsg',
127
+ synchro: 'Synchro',
128
+ };
129
+ }
130
+
131
+ static types(): { [key: string]: any } {
132
+ return {
133
+ accessDeniedDetail: 'string',
134
+ allowRetry: 'boolean',
135
+ appName: 'string',
136
+ dynamicCode: 'string',
137
+ dynamicMessage: 'string',
138
+ errorArgs: { 'type': 'array', 'itemType': 'any' },
139
+ module: QueryInspirationBalanceForPartnerResponseBodyModule,
140
+ requestId: 'string',
141
+ rootErrorCode: 'string',
142
+ rootErrorMsg: 'string',
143
+ synchro: 'boolean',
144
+ };
145
+ }
146
+
147
+ validate() {
148
+ if(Array.isArray(this.errorArgs)) {
149
+ $dara.Model.validateArray(this.errorArgs);
150
+ }
151
+ if(this.module && typeof (this.module as any).validate === 'function') {
152
+ (this.module as any).validate();
153
+ }
154
+ super.validate();
155
+ }
156
+
157
+ constructor(map?: { [key: string]: any }) {
158
+ super(map);
159
+ }
160
+ }
161
+