@alicloud/apig20240327 11.3.2 → 11.3.4

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 (79) hide show
  1. package/dist/client.d.ts +20 -20
  2. package/dist/client.js +33 -20
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddGatewayQuotaRuleRequest.d.ts +16 -16
  5. package/dist/models/AddGatewayQuotaRuleResponseBody.d.ts +6 -11
  6. package/dist/models/AddGatewayQuotaRuleResponseBody.js.map +1 -1
  7. package/dist/models/CreateConsumerRequest.d.ts +16 -4
  8. package/dist/models/CreateConsumerRequest.js +4 -0
  9. package/dist/models/CreateConsumerRequest.js.map +1 -1
  10. package/dist/models/CreateHttpApiRequest.d.ts +35 -13
  11. package/dist/models/CreateHttpApiRequest.js +2 -0
  12. package/dist/models/CreateHttpApiRequest.js.map +1 -1
  13. package/dist/models/CreateHttpApiRouteRequest.d.ts +10 -10
  14. package/dist/models/CreatePluginAttachmentRequest.d.ts +2 -2
  15. package/dist/models/CreatePolicyAttachmentRequest.d.ts +2 -2
  16. package/dist/models/CreatePolicyAttachmentResponseBody.d.ts +1 -1
  17. package/dist/models/CreatePolicyRequest.d.ts +21 -21
  18. package/dist/models/DeleteGatewayQuotaRuleResponseBody.d.ts +1 -1
  19. package/dist/models/DeployHttpApiRequest.d.ts +11 -11
  20. package/dist/models/GetConsumerAuthorizationRuleResponseBody.d.ts +2 -3
  21. package/dist/models/GetConsumerAuthorizationRuleResponseBody.js.map +1 -1
  22. package/dist/models/GetDashboardRequest.d.ts +3 -0
  23. package/dist/models/GetDashboardRequest.js.map +1 -1
  24. package/dist/models/GetDashboardResponseBody.d.ts +1 -1
  25. package/dist/models/GetDashboardShrinkRequest.d.ts +3 -0
  26. package/dist/models/GetDashboardShrinkRequest.js.map +1 -1
  27. package/dist/models/GetHttpApiRequest.d.ts +1 -1
  28. package/dist/models/HttpApiDeployConfig.d.ts +25 -9
  29. package/dist/models/HttpApiDeployConfig.js +7 -0
  30. package/dist/models/HttpApiDeployConfig.js.map +1 -1
  31. package/dist/models/ImportHttpApiRequest.d.ts +14 -9
  32. package/dist/models/ImportHttpApiRequest.js.map +1 -1
  33. package/dist/models/ImportHttpApiResponseBody.d.ts +12 -8
  34. package/dist/models/ImportHttpApiResponseBody.js.map +1 -1
  35. package/dist/models/ListConsumerAuthorizationRulesRequest.d.ts +1 -1
  36. package/dist/models/ListConsumerAuthorizationRulesResponseBody.d.ts +2 -4
  37. package/dist/models/ListConsumerAuthorizationRulesResponseBody.js.map +1 -1
  38. package/dist/models/ListHttpApiOperationsRequest.d.ts +10 -10
  39. package/dist/models/ListHttpApiOperationsResponseBody.d.ts +3 -3
  40. package/dist/models/ListHttpApisRequest.d.ts +9 -9
  41. package/dist/models/ListPluginAttachmentsRequest.d.ts +4 -4
  42. package/dist/models/ListPluginAttachmentsResponseBody.d.ts +7 -7
  43. package/dist/models/QueryConsumerAuthorizationRulesRequest.d.ts +6 -6
  44. package/dist/models/QueryConsumerAuthorizationRulesResponseBody.d.ts +8 -10
  45. package/dist/models/QueryConsumerAuthorizationRulesResponseBody.js.map +1 -1
  46. package/dist/models/UpdateHttpApiRequest.d.ts +5 -5
  47. package/dist/models/UpdatePluginAttachmentRequest.d.ts +2 -2
  48. package/package.json +1 -1
  49. package/src/client.ts +36 -20
  50. package/src/models/AddGatewayQuotaRuleRequest.ts +16 -16
  51. package/src/models/AddGatewayQuotaRuleResponseBody.ts +6 -11
  52. package/src/models/CreateConsumerRequest.ts +20 -4
  53. package/src/models/CreateHttpApiRequest.ts +37 -13
  54. package/src/models/CreateHttpApiRouteRequest.ts +10 -10
  55. package/src/models/CreatePluginAttachmentRequest.ts +2 -2
  56. package/src/models/CreatePolicyAttachmentRequest.ts +2 -2
  57. package/src/models/CreatePolicyAttachmentResponseBody.ts +1 -1
  58. package/src/models/CreatePolicyRequest.ts +21 -21
  59. package/src/models/DeleteGatewayQuotaRuleResponseBody.ts +1 -1
  60. package/src/models/DeployHttpApiRequest.ts +11 -11
  61. package/src/models/GetConsumerAuthorizationRuleResponseBody.ts +2 -3
  62. package/src/models/GetDashboardRequest.ts +3 -0
  63. package/src/models/GetDashboardResponseBody.ts +1 -1
  64. package/src/models/GetDashboardShrinkRequest.ts +3 -0
  65. package/src/models/GetHttpApiRequest.ts +1 -1
  66. package/src/models/HttpApiDeployConfig.ts +32 -9
  67. package/src/models/ImportHttpApiRequest.ts +14 -9
  68. package/src/models/ImportHttpApiResponseBody.ts +12 -8
  69. package/src/models/ListConsumerAuthorizationRulesRequest.ts +1 -1
  70. package/src/models/ListConsumerAuthorizationRulesResponseBody.ts +2 -4
  71. package/src/models/ListHttpApiOperationsRequest.ts +10 -10
  72. package/src/models/ListHttpApiOperationsResponseBody.ts +3 -3
  73. package/src/models/ListHttpApisRequest.ts +9 -9
  74. package/src/models/ListPluginAttachmentsRequest.ts +4 -4
  75. package/src/models/ListPluginAttachmentsResponseBody.ts +7 -7
  76. package/src/models/QueryConsumerAuthorizationRulesRequest.ts +6 -6
  77. package/src/models/QueryConsumerAuthorizationRulesResponseBody.ts +8 -10
  78. package/src/models/UpdateHttpApiRequest.ts +5 -5
  79. package/src/models/UpdatePluginAttachmentRequest.ts +2 -2
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreatePolicyAttachmentRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The ID of the resource to which the policy is attached.
8
+ * The ID of the resource to mount.
9
9
  *
10
10
  * This parameter is required.
11
11
  *
@@ -15,7 +15,7 @@ export class CreatePolicyAttachmentRequest extends $dara.Model {
15
15
  attachResourceId?: string;
16
16
  /**
17
17
  * @remarks
18
- * The type of the resource to which the policy is attached. Valid values: HttpApi, GatewayRoute, Operation, GatewayService, GatewayServicePort, Gateway, and Domain.
18
+ * The type of the resource to mount. Valid values: HttpApi, GatewayRoute, Operation, GatewayService, GatewayServicePort, Gateway, Domain.
19
19
  *
20
20
  * This parameter is required.
21
21
  *
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreatePolicyAttachmentResponseBodyData extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The policy attachment ID.
8
+ * The policy mount ID.
9
9
  *
10
10
  * @example
11
11
  * pr-cqooju5lhtgquuj6***
@@ -7,36 +7,36 @@ export class CreatePolicyRequest extends $dara.Model {
7
7
  * @remarks
8
8
  * The policy type. Valid values:
9
9
  *
10
- * - RateLimit: rate limiting. Limits the request rate.
11
- * - ConcurrencyLimit: concurrency limiting. Limits the number of concurrent requests.
12
- * - CircuitBreaker: circuit breaker. Automatically triggers circuit breaking when backend exceptions occur.
10
+ * - RateLimit: Rate limiting. Limits the request rate.
11
+ * - ConcurrencyLimit: Concurrency limiting. Limits the number of concurrent requests.
12
+ * - CircuitBreaker: Circuit breaker. Automatically triggers circuit breaking when backend exceptions occur.
13
13
  * - HttpRewrite: HTTP rewrite. Rewrites the request URL or path.
14
- * - HeaderModify: header modification. Adds, removes, or modifies HTTP request headers.
14
+ * - HeaderModify: Header modification. Adds, removes, or modifies HTTP request headers.
15
15
  * - Cors: Cross-Origin Resource Sharing (CORS). Controls cross-origin requests.
16
- * - Authentication: general authentication. A general request authentication policy.
17
- * - FlowCopy: traffic mirroring. Copies requests to an additional backend.
18
- * - Timeout: timeout. Sets the request timeout period.
19
- * - Retry: retry. Automatically retries failed requests.
20
- * - IpAccessControl: IP access control. Filters requests based on IP whitelists and blacklists.
21
- * - DirectResponse: direct response. Returns a fixed response directly.
22
- * - Redirect: redirect. Redirects requests to another address.
23
- * - Fallback: fallback. Returns a fallback response when the backend is unavailable.
24
- * - ServiceTls: server-side TLS. Configures TLS for backend services.
25
- * - ServiceLb: service load balancing. Configures load balancing for backend services.
26
- * - ServicePortTls: service port TLS. Configures TLS for backend service ports.
16
+ * - Authentication: General authentication. A general request authentication policy.
17
+ * - FlowCopy: Traffic mirroring. Copies requests to an additional backend.
18
+ * - Timeout: Timeout. Sets the request timeout period.
19
+ * - Retry: Retry. Automatically retries failed requests.
20
+ * - IpAccessControl: IP access control. Filters requests based on IP address whitelists and blacklists.
21
+ * - DirectResponse: Direct response. Returns a fixed response directly.
22
+ * - Redirect: Redirect. Redirects requests to another address.
23
+ * - Fallback: Fallback. Returns a fallback response when the backend is unavailable.
24
+ * - ServiceTls: Service TLS. Configures TLS for backend services.
25
+ * - ServiceLb: Service load balancing. Configures load balancing for backend services.
26
+ * - ServicePortTls: Service port TLS. Configures TLS for backend service ports.
27
27
  * - Waf: Web Application Firewall (WAF). Provides request security protection.
28
28
  * - JWTAuth: JWT authentication. Authenticates requests based on JSON Web Tokens (JWT).
29
29
  * - OIDCAuth: OIDC authentication. Authenticates requests based on the OpenID Connect (OIDC) protocol.
30
- * - ExternalZAuth: external authentication. Integrates with an external authentication service.
30
+ * - ExternalZAuth: External authentication. Integrates with an external authentication service.
31
31
  * - AiProxy: AI proxy.
32
- * - ModelRouter: model router.
32
+ * - ModelRouter: Model router.
33
33
  * - AiStatistics: AI statistics.
34
34
  * - AiSecurityGuard: AI security guard. Detects the security of AI request and response content.
35
35
  * - AiFallback: AI fallback. Falls back to an alternative model when the AI service is unavailable.
36
- * - ModelMapper: model mapper.
36
+ * - ModelMapper: Model mapper.
37
37
  * - AiTokenRateLimit: AI token rate limiting. Limits the rate based on token consumption.
38
38
  * - AiCache: AI cache. Caches AI response results.
39
- * - DynamicRoute: dynamic route.
39
+ * - DynamicRoute: Dynamic route.
40
40
  *
41
41
  * This parameter is required.
42
42
  *
@@ -56,10 +56,10 @@ export class CreatePolicyRequest extends $dara.Model {
56
56
  config?: string;
57
57
  /**
58
58
  * @remarks
59
- * The description.
59
+ * The description of the policy.
60
60
  *
61
61
  * @example
62
- * 超时策略
62
+ * Timeout policy
63
63
  */
64
64
  description?: string;
65
65
  /**
@@ -21,7 +21,7 @@ export class DeleteGatewayQuotaRuleResponseBody extends $dara.Model {
21
21
  message?: string;
22
22
  /**
23
23
  * @remarks
24
- * The unique request ID.
24
+ * The unique identifier of the request.
25
25
  *
26
26
  * @example
27
27
  * 1234567890
@@ -46,7 +46,7 @@ export class DeployHttpApiRequestHttpApiConfig extends $dara.Model {
46
46
  export class DeployHttpApiRequestRestApiConfigEnvironmentServiceConfigs extends $dara.Model {
47
47
  /**
48
48
  * @remarks
49
- * The match condition configuration related to API publishing.
49
+ * The match condition configuration for API publishing.
50
50
  *
51
51
  * @example
52
52
  * {\\"change_order_revision\\":\\"3.657.33_fc-hz-yunqi.1662568293908382_faas-eerouter\\"}
@@ -63,8 +63,8 @@ export class DeployHttpApiRequestRestApiConfigEnvironmentServiceConfigs extends
63
63
  /**
64
64
  * @remarks
65
65
  * The service protocol. Valid values:
66
- * - HTTP
67
- * - HTTPS
66
+ * - HTTP.
67
+ * - HTTPS.
68
68
  *
69
69
  * @example
70
70
  * HTTP
@@ -131,7 +131,7 @@ export class DeployHttpApiRequestRestApiConfigEnvironmentServiceConfigs extends
131
131
  export class DeployHttpApiRequestRestApiConfigEnvironment extends $dara.Model {
132
132
  /**
133
133
  * @remarks
134
- * The API publish scenario. Backend configurations cannot be specified during publishing. Configure them in advance by using UpdateHttpApi or UpdateHttpApiOperation before publishing.
134
+ * The API publish scenario. Backend configurations cannot be specified during publishing. Configure them in advance by calling UpdateHttpApi or UpdateHttpApiOperation before publishing.
135
135
  *
136
136
  * @example
137
137
  * SingleService
@@ -156,7 +156,7 @@ export class DeployHttpApiRequestRestApiConfigEnvironment extends $dara.Model {
156
156
  environmentId?: string;
157
157
  /**
158
158
  * @remarks
159
- * The existing service configurations. In the single-service scenario, only one entry is allowed. In ratio-based or content-based scenarios, multiple entries are allowed. Backend configurations cannot be specified during publishing. Configure them in advance by using UpdateHttpApi or UpdateHttpApiOperation before publishing.
159
+ * The existing service configurations. In the single-service scenario, only one entry is allowed. In ratio-based or content-based scenarios, multiple entries are allowed. Backend configurations cannot be specified during publishing. Configure them in advance by calling UpdateHttpApi or UpdateHttpApiOperation before publishing.
160
160
  *
161
161
  * **if can be null:**
162
162
  * true
@@ -240,7 +240,7 @@ export class DeployHttpApiRequestRestApiConfigOperationDeployments extends $dara
240
240
  export class DeployHttpApiRequestRestApiConfig extends $dara.Model {
241
241
  /**
242
242
  * @remarks
243
- * The publish description.
243
+ * The description of the publish.
244
244
  *
245
245
  * @example
246
246
  * User service API publish
@@ -248,7 +248,7 @@ export class DeployHttpApiRequestRestApiConfig extends $dara.Model {
248
248
  description?: string;
249
249
  /**
250
250
  * @remarks
251
- * Specifies whether to enable REST API route compression. If this parameter is omitted or set to false, operations are published individually. If set to true, the API is published as a single prefix route. This field is ignored for historical revision publishing, which uses the route mode saved in the historical revision. When set to true, operationDeployments must not be specified because prefix route publishing supports only full publishing.
251
+ * Specifies whether to enable REST API route compression. If this parameter is omitted or set to false, operations are published individually. If this parameter is set to true, the API is published as a single prefix route. This parameter is ignored for historical revision publishing, which uses the routing mode saved in the historical revision. When set to true, operationDeployments must not be specified because prefix route publishing supports only full publishing.
252
252
  *
253
253
  * @example
254
254
  * true
@@ -269,7 +269,7 @@ export class DeployHttpApiRequestRestApiConfig extends $dara.Model {
269
269
  gatewayId?: string;
270
270
  /**
271
271
  * @remarks
272
- * The operation-level deployment control list. This parameter takes effect only when enableRouteCompression is omitted or set to false. This field must not be specified when enableRouteCompression is set to true.
272
+ * The operation-level deployment control list. This parameter takes effect only when enableRouteCompression is omitted or set to false. Do not specify this parameter when enableRouteCompression is set to true.
273
273
  */
274
274
  operationDeployments?: DeployHttpApiRequestRestApiConfigOperationDeployments[];
275
275
  /**
@@ -281,7 +281,7 @@ export class DeployHttpApiRequestRestApiConfig extends $dara.Model {
281
281
  operationIds?: string[];
282
282
  /**
283
283
  * @remarks
284
- * The historical revision ID. If this field is specified, the publish information is based on the historical revision.
284
+ * The historical revision ID. If this parameter is specified, the publish uses the information from the historical revision.
285
285
  *
286
286
  * @example
287
287
  * apr-xxx
@@ -339,12 +339,12 @@ export class DeployHttpApiRequest extends $dara.Model {
339
339
  httpApiConfig?: DeployHttpApiRequestHttpApiConfig;
340
340
  /**
341
341
  * @remarks
342
- * The REST API deployment configuration. This parameter is required when the HTTP API being published is a REST API. At least one of revisionId, environment, or gatewayId must be provided to specify the publish target.
342
+ * The REST API deployment configuration. This parameter is required when the HTTP API to be published is a REST API. At least one of revisionId, environment, or gatewayId must be specified to identify the publish target.
343
343
  */
344
344
  restApiConfig?: DeployHttpApiRequestRestApiConfig;
345
345
  /**
346
346
  * @remarks
347
- * The route ID. This parameter is required when publishing a route of an HTTP API.
347
+ * The route ID. This parameter is required when publishing a route of an HTTP API. Before deploying with routeId, make sure the target route is associated with a publishable domain name. If the domain name was not configured when the route was created, call UpdateHttpApiRoute to add domainIds.
348
348
  *
349
349
  * @example
350
350
  * hr-cr82undlhtgrl***
@@ -51,9 +51,8 @@ export class GetConsumerAuthorizationRuleResponseBody extends $dara.Model {
51
51
  /**
52
52
  * @remarks
53
53
  * The expiration mode. Valid values:
54
- *
55
- * - LongTerm
56
- * - ShortTerm
54
+ * - LongTerm: long-term
55
+ * - ShortTerm: short-term
57
56
  *
58
57
  * @example
59
58
  * LongTerm
@@ -36,6 +36,7 @@ export class GetDashboardRequest extends $dara.Model {
36
36
  /**
37
37
  * @remarks
38
38
  * The language. Valid values:
39
+ *
39
40
  * - zh: Chinese
40
41
  * - en: English
41
42
  *
@@ -59,6 +60,7 @@ export class GetDashboardRequest extends $dara.Model {
59
60
  /**
60
61
  * @remarks
61
62
  * The dashboard name. Valid values:
63
+ *
62
64
  * - LOG: access log
63
65
  * - PLUGIN: plugin log
64
66
  *
@@ -93,6 +95,7 @@ export class GetDashboardRequest extends $dara.Model {
93
95
  /**
94
96
  * @remarks
95
97
  * The dashboard source. Valid values:
98
+ *
96
99
  * - SLS: log dashboard
97
100
  *
98
101
  * @example
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GetDashboardResponseBodyData extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The unique identifier of the gateway.
8
+ * The unique ID of the gateway.
9
9
  *
10
10
  * @example
11
11
  * gw-co370icmjeu****
@@ -6,6 +6,7 @@ export class GetDashboardShrinkRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
8
  * The language. Valid values:
9
+ *
9
10
  * - zh: Chinese
10
11
  * - en: English
11
12
  *
@@ -29,6 +30,7 @@ export class GetDashboardShrinkRequest extends $dara.Model {
29
30
  /**
30
31
  * @remarks
31
32
  * The dashboard name. Valid values:
33
+ *
32
34
  * - LOG: access log
33
35
  * - PLUGIN: plugin log
34
36
  *
@@ -63,6 +65,7 @@ export class GetDashboardShrinkRequest extends $dara.Model {
63
65
  /**
64
66
  * @remarks
65
67
  * The dashboard source. Valid values:
68
+ *
66
69
  * - SLS: log dashboard
67
70
  *
68
71
  * @example
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GetHttpApiRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * Specifies whether to expand independent policy configurations. When omitted or set to true, a full compatible view is returned. When set to false, the ModelAPI Token throttling managed by Policy returns policy references and optional read-only plug-in status, and the rule body can be retrieved by calling GetPolicy.
8
+ * Specifies whether to expand independent policy configurations. If omitted or set to true, a complete compatibility view is returned. If set to false, the ModelAPI token throttling managed by the policy returns a policy reference and an optional read-only plugin status. You can use GetPolicy to retrieve the rule body.
9
9
  */
10
10
  expandPolicyConfigs?: boolean;
11
11
  static names(): { [key: string]: string } {
@@ -158,6 +158,14 @@ export class HttpApiDeployConfigServiceConfigsObservabilityRouteConfig extends $
158
158
  }
159
159
 
160
160
  export class HttpApiDeployConfigServiceConfigs extends $dara.Model {
161
+ /**
162
+ * @remarks
163
+ * The capability tier for intelligent routing candidates. Specify this parameter only when the publishing scenario is AiAutoRouter. Valid values: economy, standard, and premium.
164
+ *
165
+ * @example
166
+ * standard
167
+ */
168
+ capabilityTier?: string;
161
169
  /**
162
170
  * @remarks
163
171
  * The gateway service ID.
@@ -205,7 +213,7 @@ export class HttpApiDeployConfigServiceConfigs extends $dara.Model {
205
213
  multiServiceRouteStrategy?: string;
206
214
  /**
207
215
  * @remarks
208
- * The service display name.
216
+ * The display name of the service.
209
217
  *
210
218
  * @example
211
219
  * Qwen-Max-Service
@@ -213,7 +221,7 @@ export class HttpApiDeployConfigServiceConfigs extends $dara.Model {
213
221
  name?: string;
214
222
  /**
215
223
  * @remarks
216
- * The observability metric routing configuration.
224
+ * The observability metric-based routing configuration.
217
225
  *
218
226
  * **if can be null:**
219
227
  * true
@@ -261,6 +269,7 @@ export class HttpApiDeployConfigServiceConfigs extends $dara.Model {
261
269
  weight?: number;
262
270
  static names(): { [key: string]: string } {
263
271
  return {
272
+ capabilityTier: 'capabilityTier',
264
273
  gatewayServiceId: 'gatewayServiceId',
265
274
  intentCode: 'intentCode',
266
275
  match: 'match',
@@ -279,6 +288,7 @@ export class HttpApiDeployConfigServiceConfigs extends $dara.Model {
279
288
 
280
289
  static types(): { [key: string]: any } {
281
290
  return {
291
+ capabilityTier: 'string',
282
292
  gatewayServiceId: 'string',
283
293
  intentCode: 'string',
284
294
  match: HttpApiBackendMatchConditions,
@@ -373,7 +383,7 @@ export class HttpApiDeployConfigSubDomains extends $dara.Model {
373
383
  export class HttpApiDeployConfig extends $dara.Model {
374
384
  /**
375
385
  * @remarks
376
- * Specifies whether to automatically deploy.
386
+ * Specifies whether to automatically deploy the API.
377
387
  *
378
388
  * @example
379
389
  * true
@@ -381,7 +391,7 @@ export class HttpApiDeployConfig extends $dara.Model {
381
391
  autoDeploy?: boolean;
382
392
  /**
383
393
  * @remarks
384
- * The deployment scenario.
394
+ * The publishing scenario.
385
395
  *
386
396
  * @example
387
397
  * SingleService
@@ -399,12 +409,12 @@ export class HttpApiDeployConfig extends $dara.Model {
399
409
  customDomainIds?: string[];
400
410
  /**
401
411
  * @remarks
402
- * The list of custom domain name details.
412
+ * The list of custom domain name information.
403
413
  */
404
414
  customDomainInfos?: HttpApiDeployConfigCustomDomainInfos[];
405
415
  /**
406
416
  * @remarks
407
- * Specifies whether to enable gateway system models. This parameter takes effect only when the deployment scenario is AiAutoRouter. Default value: false. If enabled, built-in Qwen candidates from the platform are merged with the user\\"s own candidates.
417
+ * Specifies whether to enable gateway system models. This parameter takes effect only when the publishing scenario is AiAutoRouter. Default value: false. This field is used for backward compatibility with older clients. If systemModelTiers is not submitted, true indicates that all three tiers of system models are enabled, and false indicates that all are disabled.
408
418
  *
409
419
  * @example
410
420
  * true
@@ -417,7 +427,7 @@ export class HttpApiDeployConfig extends $dara.Model {
417
427
  envDomainIds?: string[];
418
428
  /**
419
429
  * @remarks
420
- * The list of environment domain name details.
430
+ * The list of environment domain name information.
421
431
  */
422
432
  envDomainInfos?: HttpApiDeployConfigEnvDomainInfos[];
423
433
  /**
@@ -467,7 +477,7 @@ export class HttpApiDeployConfig extends $dara.Model {
467
477
  policyConfigs?: HttpApiPolicyConfigs[];
468
478
  /**
469
479
  * @remarks
470
- * The current online routing mode of the REST API. ordinary indicates per-Operation routing. compressed indicates single-prefix routing for the API. This field is not returned for non-REST APIs.
480
+ * The current online routing mode of the REST API. ordinary indicates per-operation routing, and compressed indicates single-prefix routing for the API. This field is not returned for non-REST APIs.
471
481
  *
472
482
  * @example
473
483
  * ordinary
@@ -488,9 +498,17 @@ export class HttpApiDeployConfig extends $dara.Model {
488
498
  serviceConfigs?: HttpApiDeployConfigServiceConfigs[];
489
499
  /**
490
500
  * @remarks
491
- * The list of subdomain contents.
501
+ * The list of second-level domain name content.
492
502
  */
493
503
  subDomains?: HttpApiDeployConfigSubDomains[];
504
+ /**
505
+ * @remarks
506
+ * The set of explicitly enabled gateway system model capability tiers. Takes effect only when the publishing scenario is AiAutoRouter. Valid values: economy, standard, and premium. An explicitly empty array indicates that no system models are enabled.
507
+ *
508
+ * @example
509
+ * ["economy","standard","premium"]
510
+ */
511
+ systemModelTiers?: string[];
494
512
  static names(): { [key: string]: string } {
495
513
  return {
496
514
  autoDeploy: 'autoDeploy',
@@ -511,6 +529,7 @@ export class HttpApiDeployConfig extends $dara.Model {
511
529
  routeBackend: 'routeBackend',
512
530
  serviceConfigs: 'serviceConfigs',
513
531
  subDomains: 'subDomains',
532
+ systemModelTiers: 'systemModelTiers',
514
533
  };
515
534
  }
516
535
 
@@ -534,6 +553,7 @@ export class HttpApiDeployConfig extends $dara.Model {
534
553
  routeBackend: Backend,
535
554
  serviceConfigs: { 'type': 'array', 'itemType': HttpApiDeployConfigServiceConfigs },
536
555
  subDomains: { 'type': 'array', 'itemType': HttpApiDeployConfigSubDomains },
556
+ systemModelTiers: { 'type': 'array', 'itemType': 'string' },
537
557
  };
538
558
  }
539
559
 
@@ -571,6 +591,9 @@ export class HttpApiDeployConfig extends $dara.Model {
571
591
  if(Array.isArray(this.subDomains)) {
572
592
  $dara.Model.validateArray(this.subDomains);
573
593
  }
594
+ if(Array.isArray(this.systemModelTiers)) {
595
+ $dara.Model.validateArray(this.systemModelTiers);
596
+ }
574
597
  super.validate();
575
598
  }
576
599
 
@@ -57,7 +57,7 @@ export class ImportHttpApiRequestSpecOssConfig extends $dara.Model {
57
57
  export class ImportHttpApiRequest extends $dara.Model {
58
58
  /**
59
59
  * @remarks
60
- * The API deployment configurations.
60
+ * The API deployment configuration.
61
61
  */
62
62
  deployConfigs?: HttpApiDeployConfig[];
63
63
  /**
@@ -65,12 +65,12 @@ export class ImportHttpApiRequest extends $dara.Model {
65
65
  * The description of the imported API. If not specified, the description is extracted from the API definition. Maximum length: 255 bytes.
66
66
  *
67
67
  * @example
68
- * Test API
68
+ * Test-only API
69
69
  */
70
70
  description?: string;
71
71
  /**
72
72
  * @remarks
73
- * Specifies whether to perform a dry run. If enabled, only validation is performed without the actual import.
73
+ * Specifies whether to perform a dry run. If enabled, only validation is performed and no import action is taken.
74
74
  *
75
75
  * @example
76
76
  * false
@@ -94,7 +94,7 @@ export class ImportHttpApiRequest extends $dara.Model {
94
94
  mcpRouteId?: string;
95
95
  /**
96
96
  * @remarks
97
- * The name of the imported API. If not specified, the name is extracted from the API definition file. If an API with the same name and version configuration already exists, this import updates the existing API definition based on the strategy field.
97
+ * The name of the imported API. If not specified, the name is extracted from the API definition file. If an API with the same name and versioning configuration already exists, the import updates the existing API definition based on the strategy field.
98
98
  *
99
99
  * @example
100
100
  * import-test
@@ -110,7 +110,7 @@ export class ImportHttpApiRequest extends $dara.Model {
110
110
  resourceGroupId?: string;
111
111
  /**
112
112
  * @remarks
113
- * The Base64-encoded API definition. OAS 2.0 and OAS 3.0 specifications are supported in YAML or JSON format. This parameter takes priority over the specFileUrl parameter. If the file size exceeds 10 MB, use the specFileUrl parameter instead.
113
+ * The Base64-encoded API definition. Supports OAS 2.0 and OAS 3.0 specifications in YAML and JSON formats. This parameter takes precedence over specFileUrl. If the file size exceeds 10 MB, use the specFileUrl parameter instead.
114
114
  *
115
115
  * @example
116
116
  * b3BlbmFwaTogMy4wLjAKaW5mbzoKICAgIHRpdGxlOiBkZW1vCiAgICBkZXNjcmlwdGlvbjogdGhpc2lzZGVtbwogICAgdmVyc2lvbjogIiIKcGF0aHM6CiAgICAvdXNlci97dXNlcklkfToKICAgICAgICBnZXQ6CiAgICAgICAgICAgIHN1bW1hcnk6IOiOt+WPlueUqOaIt+S/oeaBrwogICAgICAgICAgICBkZXNjcmlwdGlvbjog6I635Y+W55So5oi35L+h5oGvCiAgICAgICAgICAgIG9wZXJhdGlvbklkOiBHZXRVc2VySW5mbwogICAgICAgICAgICByZXNwb25zZXM6CiAgICAgICAgICAgICAgICAiMjAwIjoKICAgICAgICAgICAgICAgICAgICBkZXNjcmlwdGlvbjog5oiQ5YqfCiAgICAgICAgICAgICAgICAgICAgY29udGVudDoKICAgICAgICAgICAgICAgICAgICAgICAgYXBwbGljYXRpb24vanNvbjtjaGFyc2V0PXV0Zi04OgogICAgICAgICAgICAgICAgICAgICAgICAgICAgc2NoZW1hOiBudWxsCnNlcnZlcnM6CiAgICAtIHVybDogaHR0cDovL2FwaS5leGFtcGxlLmNvbS92MQo=
@@ -118,7 +118,7 @@ export class ImportHttpApiRequest extends $dara.Model {
118
118
  specContentBase64?: string;
119
119
  /**
120
120
  * @remarks
121
- * The download URL of the API definition file. The URL must be accessible over the Internet or be an internal network OSS download URL in the same region. The URL must have download permissions. For OSS files that are not publicly readable, see References [Download objects using presigned URLs](https://help.aliyun.com/document_detail/39607.html) and provide a URL with download permissions. Only API definition files stored in OSS are supported.
121
+ * The download URL of the API definition file. The file must be publicly accessible over the Internet or downloadable via an OSS internal network endpoint in the same region. The URL must have download permissions. For OSS files that are not publicly readable, refer to [Download objects using presigned URLs](https://help.aliyun.com/document_detail/39607.html) to generate a URL with download permissions. Only API definition files stored in OSS are supported.
122
122
  */
123
123
  specFileUrl?: string;
124
124
  /**
@@ -128,7 +128,12 @@ export class ImportHttpApiRequest extends $dara.Model {
128
128
  specOssConfig?: ImportHttpApiRequestSpecOssConfig;
129
129
  /**
130
130
  * @remarks
131
- * The update strategy to use when the imported API name and version management match an existing API. Valid values:
131
+ * The update policy to use when the imported API name and version management configuration match an existing API. Valid values:
132
+ * - SpecOnly: The imported file takes full precedence.
133
+ * - SpecFirst: The imported file takes precedence. New operations are added and existing operations are updated. Operations not mentioned in the file remain unchanged.
134
+ * - ExistFirst: The existing API takes precedence. Only new operations are added. Existing operations are not updated.
135
+ *
136
+ * Defaults to ExistFirst if not specified.
132
137
  *
133
138
  * @example
134
139
  * ExistFirst
@@ -136,7 +141,7 @@ export class ImportHttpApiRequest extends $dara.Model {
136
141
  strategy?: string;
137
142
  /**
138
143
  * @remarks
139
- * If this field is specified, the import updates the specified API instead of importing a new one or searching for an existing API by name and version management configuration. The target API must be of the REST type.
144
+ * If specified, the import updates the target API instead of importing a new one or searching for an existing API by name and version management configuration. The target API must be of the REST type.
140
145
  *
141
146
  * @example
142
147
  * api-xxxx
@@ -144,7 +149,7 @@ export class ImportHttpApiRequest extends $dara.Model {
144
149
  targetHttpApiId?: string;
145
150
  /**
146
151
  * @remarks
147
- * The API version configuration. If version configuration is enabled and the version number and API name match an existing API, this import is treated as an update. If version configuration is not enabled and the API name matches an existing API, this import is treated as an update.
152
+ * The API versioning configuration. If versioning is enabled, an import is treated as an update when the version number and API name match an existing API. If versioning is not enabled, an import is treated as an update when the API name matches an existing API.
148
153
  */
149
154
  versionConfig?: HttpApiVersionConfig;
150
155
  /**
@@ -9,7 +9,7 @@ export class ImportHttpApiResponseBodyDataDryRunInfoFailureComponents extends $d
9
9
  * The error message.
10
10
  *
11
11
  * @example
12
- * Invalid data structure definition
12
+ * The data structure definition is invalid
13
13
  */
14
14
  errorMessage?: string;
15
15
  /**
@@ -136,7 +136,9 @@ export class ImportHttpApiResponseBodyDataDryRunInfoFailureRoutes extends $dara.
136
136
  export class ImportHttpApiResponseBodyDataDryRunInfoSuccessComponents extends $dara.Model {
137
137
  /**
138
138
  * @remarks
139
- * The action to be performed after the dry run.
139
+ * The action to be performed after the dry run. Valid values:
140
+ * - Create: create.
141
+ * - Update: update.
140
142
  *
141
143
  * @example
142
144
  * Create
@@ -176,7 +178,9 @@ export class ImportHttpApiResponseBodyDataDryRunInfoSuccessComponents extends $d
176
178
  export class ImportHttpApiResponseBodyDataDryRunInfoSuccessOperations extends $dara.Model {
177
179
  /**
178
180
  * @remarks
179
- * The action to be performed after the dry run.
181
+ * The action to be performed after the dry run. Valid values:
182
+ * - Create: create.
183
+ * - Update: update.
180
184
  *
181
185
  * @example
182
186
  * Create
@@ -236,7 +240,7 @@ export class ImportHttpApiResponseBodyDataDryRunInfoSuccessOperations extends $d
236
240
  export class ImportHttpApiResponseBodyDataDryRunInfoSuccessRoutes extends $dara.Model {
237
241
  /**
238
242
  * @remarks
239
- * The operation type.
243
+ * The action type.
240
244
  *
241
245
  * @example
242
246
  * Create
@@ -276,12 +280,12 @@ export class ImportHttpApiResponseBodyDataDryRunInfoSuccessRoutes extends $dara.
276
280
  export class ImportHttpApiResponseBodyDataDryRunInfo extends $dara.Model {
277
281
  /**
278
282
  * @remarks
279
- * The error messages. If the error messages are not empty, the API cannot be imported successfully.
283
+ * The error messages. If the error messages are not empty, the API cannot be imported.
280
284
  */
281
285
  errorMessages?: string[];
282
286
  /**
283
287
  * @remarks
284
- * The information about the existing API. If this field is not empty, the import action updates the existing API.
288
+ * The information about the existing API. If this field is not empty, the import action will update this API.
285
289
  */
286
290
  existHttpApiInfo?: HttpApiApiInfo;
287
291
  /**
@@ -296,7 +300,7 @@ export class ImportHttpApiResponseBodyDataDryRunInfo extends $dara.Model {
296
300
  failureOperations?: ImportHttpApiResponseBodyDataDryRunInfoFailureOperations[];
297
301
  /**
298
302
  * @remarks
299
- * The list of routes that failed to be imported.
303
+ * The list of routes that failed.
300
304
  */
301
305
  failureRoutes?: ImportHttpApiResponseBodyDataDryRunInfoFailureRoutes[];
302
306
  /**
@@ -319,7 +323,7 @@ export class ImportHttpApiResponseBodyDataDryRunInfo extends $dara.Model {
319
323
  successOperations?: ImportHttpApiResponseBodyDataDryRunInfoSuccessOperations[];
320
324
  /**
321
325
  * @remarks
322
- * The list of routes that were successfully imported.
326
+ * The list of routes that were imported.
323
327
  */
324
328
  successRoutes?: ImportHttpApiResponseBodyDataDryRunInfoSuccessRoutes[];
325
329
  /**
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ListConsumerAuthorizationRulesRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The fuzzy match parameter for the API name.
8
+ * The API name used for fuzzy match.
9
9
  *
10
10
  * @example
11
11
  * qwen3
@@ -50,9 +50,7 @@ export class ListConsumerAuthorizationRulesResponseBodyDataItems extends $dara.M
50
50
  environmentInfo?: EnvironmentInfo;
51
51
  /**
52
52
  * @remarks
53
- * The expiration mode. Valid values:
54
- * - LongTerm
55
- * - ShortTerm
53
+ * The expiration mode. Valid values: LongTerm, ShortTerm.
56
54
  *
57
55
  * @example
58
56
  * ShortTerm
@@ -68,7 +66,7 @@ export class ListConsumerAuthorizationRulesResponseBodyDataItems extends $dara.M
68
66
  expireStatus?: string;
69
67
  /**
70
68
  * @remarks
71
- * The expiration time.
69
+ * The expiration timestamp.
72
70
  *
73
71
  * @example
74
72
  * 172086834548