@alicloud/apig20240327 11.3.2 → 11.3.3

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 (66) hide show
  1. package/dist/client.d.ts +24 -24
  2. package/dist/client.js +32 -24
  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 +28 -14
  11. package/dist/models/CreateHttpApiRequest.js.map +1 -1
  12. package/dist/models/CreateHttpApiRouteRequest.d.ts +8 -8
  13. package/dist/models/CreatePluginAttachmentRequest.d.ts +2 -2
  14. package/dist/models/CreatePolicyAttachmentRequest.d.ts +2 -2
  15. package/dist/models/CreatePolicyAttachmentResponseBody.d.ts +1 -1
  16. package/dist/models/CreatePolicyRequest.d.ts +21 -21
  17. package/dist/models/DeleteGatewayQuotaRuleResponseBody.d.ts +1 -1
  18. package/dist/models/DeployHttpApiRequest.d.ts +11 -11
  19. package/dist/models/GetDashboardRequest.d.ts +6 -6
  20. package/dist/models/GetDashboardResponseBody.d.ts +1 -1
  21. package/dist/models/GetDashboardShrinkRequest.d.ts +6 -6
  22. package/dist/models/GetHttpApiOperationResponseBody.d.ts +1 -1
  23. package/dist/models/GetHttpApiRequest.d.ts +1 -1
  24. package/dist/models/HttpApiDeployConfig.d.ts +25 -9
  25. package/dist/models/HttpApiDeployConfig.js +7 -0
  26. package/dist/models/HttpApiDeployConfig.js.map +1 -1
  27. package/dist/models/ImportHttpApiRequest.d.ts +14 -9
  28. package/dist/models/ImportHttpApiRequest.js.map +1 -1
  29. package/dist/models/ImportHttpApiResponseBody.d.ts +12 -8
  30. package/dist/models/ImportHttpApiResponseBody.js.map +1 -1
  31. package/dist/models/ListConsumerAuthorizationRulesRequest.d.ts +1 -1
  32. package/dist/models/ListConsumerAuthorizationRulesResponseBody.d.ts +2 -4
  33. package/dist/models/ListConsumerAuthorizationRulesResponseBody.js.map +1 -1
  34. package/dist/models/ListHttpApiOperationsRequest.d.ts +10 -10
  35. package/dist/models/ListHttpApiOperationsResponseBody.d.ts +3 -3
  36. package/dist/models/ListPluginAttachmentsRequest.d.ts +4 -4
  37. package/dist/models/ListPluginAttachmentsResponseBody.d.ts +7 -7
  38. package/dist/models/UpdatePluginAttachmentRequest.d.ts +2 -2
  39. package/package.json +1 -1
  40. package/src/client.ts +34 -24
  41. package/src/models/AddGatewayQuotaRuleRequest.ts +16 -16
  42. package/src/models/AddGatewayQuotaRuleResponseBody.ts +6 -11
  43. package/src/models/CreateConsumerRequest.ts +20 -4
  44. package/src/models/CreateHttpApiRequest.ts +28 -14
  45. package/src/models/CreateHttpApiRouteRequest.ts +8 -8
  46. package/src/models/CreatePluginAttachmentRequest.ts +2 -2
  47. package/src/models/CreatePolicyAttachmentRequest.ts +2 -2
  48. package/src/models/CreatePolicyAttachmentResponseBody.ts +1 -1
  49. package/src/models/CreatePolicyRequest.ts +21 -21
  50. package/src/models/DeleteGatewayQuotaRuleResponseBody.ts +1 -1
  51. package/src/models/DeployHttpApiRequest.ts +11 -11
  52. package/src/models/GetDashboardRequest.ts +6 -6
  53. package/src/models/GetDashboardResponseBody.ts +1 -1
  54. package/src/models/GetDashboardShrinkRequest.ts +6 -6
  55. package/src/models/GetHttpApiOperationResponseBody.ts +1 -1
  56. package/src/models/GetHttpApiRequest.ts +1 -1
  57. package/src/models/HttpApiDeployConfig.ts +32 -9
  58. package/src/models/ImportHttpApiRequest.ts +14 -9
  59. package/src/models/ImportHttpApiResponseBody.ts +12 -8
  60. package/src/models/ListConsumerAuthorizationRulesRequest.ts +1 -1
  61. package/src/models/ListConsumerAuthorizationRulesResponseBody.ts +2 -4
  62. package/src/models/ListHttpApiOperationsRequest.ts +10 -10
  63. package/src/models/ListHttpApiOperationsResponseBody.ts +3 -3
  64. package/src/models/ListPluginAttachmentsRequest.ts +4 -4
  65. package/src/models/ListPluginAttachmentsResponseBody.ts +7 -7
  66. package/src/models/UpdatePluginAttachmentRequest.ts +2 -2
@@ -24,7 +24,7 @@ export class CreateHttpApiRequestIngressConfig extends $dara.Model {
24
24
  environmentId?: string;
25
25
  /**
26
26
  * @remarks
27
- * The Ingress Class to listen on.
27
+ * The Ingress class to listen on.
28
28
  *
29
29
  * @example
30
30
  * mse
@@ -32,7 +32,7 @@ export class CreateHttpApiRequestIngressConfig extends $dara.Model {
32
32
  ingressClass?: string;
33
33
  /**
34
34
  * @remarks
35
- * Specifies whether to update the address in the Ingress Status.
35
+ * Specifies whether to update the address in the Ingress status.
36
36
  *
37
37
  * @example
38
38
  * false
@@ -90,22 +90,22 @@ export class CreateHttpApiRequestIngressConfig extends $dara.Model {
90
90
  export class CreateHttpApiRequest extends $dara.Model {
91
91
  /**
92
92
  * @remarks
93
- * The list of protocols supported by the agent. Required when type is Agent. Not required for other types.
93
+ * The list of protocols supported by the agent. Required when type is Agent. This field is not required for other types.
94
94
  */
95
95
  agentProtocols?: string[];
96
96
  /**
97
97
  * @remarks
98
- * The list of AI API protocols. Required when type is LLM, and only one protocol can be specified. Required when type is Ai, and multiple protocols can be specified. Not required for other types. Example protocol entry: OpenAI/v1.
98
+ * The list of AI API protocols. Required when type is LLM (only one protocol allowed) or Ai (multiple protocols allowed). Not required for other types. Example protocol: OpenAI/v1.
99
99
  */
100
100
  aiProtocols?: string[];
101
101
  /**
102
102
  * @remarks
103
- * The authentication configuration. Required when enableAuth=true.
103
+ * The authentication configuration. Required when enableAuth is set to true.
104
104
  */
105
105
  authConfig?: AuthConfig;
106
106
  /**
107
107
  * @remarks
108
- * The API base path. Must start with a forward slash (/), cannot exceed 256 bytes in length, and cannot contain spaces. Required when type=Rest. Optional when type=LLM, Ai, or Agent. Default value: /
108
+ * The base path of the API. Must start with a forward slash (/), cannot exceed 256 bytes in length, and cannot contain spaces. Required when type is Rest. Optional when type is LLM, Ai, or Agent. Defaults to /.
109
109
  *
110
110
  * @example
111
111
  * /v1
@@ -121,7 +121,7 @@ export class CreateHttpApiRequest extends $dara.Model {
121
121
  belongGatewayId?: string;
122
122
  /**
123
123
  * @remarks
124
- * The list of deployment configurations for the HTTP API. Required when type is LLM or Ai, and only one deployment configuration can be specified. Not validated at the request level for other types.
124
+ * The list of deployment configurations for the HTTP API. Required when type is LLM or Ai (only one deployment configuration allowed). Not validated at the request level for other types.
125
125
  */
126
126
  deployConfigs?: HttpApiDeployConfig[];
127
127
  /**
@@ -134,7 +134,7 @@ export class CreateHttpApiRequest extends $dara.Model {
134
134
  description?: string;
135
135
  /**
136
136
  * @remarks
137
- * Specifies whether to perform a dry run without executing the operation.
137
+ * Specifies whether to preview only without executing.
138
138
  *
139
139
  * @example
140
140
  * true
@@ -152,7 +152,7 @@ export class CreateHttpApiRequest extends $dara.Model {
152
152
  enableAuth?: boolean;
153
153
  /**
154
154
  * @remarks
155
- * The timeout period for waiting for the first byte from the backend.
155
+ * The timeout period for waiting for the backend to return the first byte.
156
156
  *
157
157
  * @example
158
158
  * 30
@@ -160,12 +160,20 @@ export class CreateHttpApiRequest extends $dara.Model {
160
160
  firstByteTimeout?: number;
161
161
  /**
162
162
  * @remarks
163
- * The HTTP Ingress API configuration. Required when type is HttpIngress and cannot be nil. Not required for other types.
163
+ * The HTTP Ingress API configuration. Required when type is HttpIngress and cannot be null. Not required for other types.
164
164
  */
165
165
  ingressConfig?: CreateHttpApiRequestIngressConfig;
166
166
  /**
167
167
  * @remarks
168
- * The AI model category. Optional when type is LLM or Ai. Not required for other types. Valid values: Text (text generation), Image (image generation), Audio (audio processing), Video (AI video generation), MultiModal (multi-modal), Embedding (text embedding), Rerank (reranking), Others (other).
168
+ * The AI model category. Optional when type is LLM or Ai. Not required for other types. Valid values:
169
+ * - Text: text generation.
170
+ * - Image: image generation.
171
+ * - Audio: audio processing.
172
+ * - Video: video generation.
173
+ * - MultiModal: multimodal.
174
+ * - Embedding: vector embedding.
175
+ * - Rerank: reranking.
176
+ * - Others: others.
169
177
  *
170
178
  * @example
171
179
  * Text
@@ -173,7 +181,7 @@ export class CreateHttpApiRequest extends $dara.Model {
173
181
  modelCategory?: string;
174
182
  /**
175
183
  * @remarks
176
- * The name of the HTTP API, used to identify the current API resource. Example: test-api.
184
+ * The name of the HTTP API, used to identify the current API resource. For example, test-api.
177
185
  *
178
186
  * This parameter is required.
179
187
  *
@@ -204,7 +212,7 @@ export class CreateHttpApiRequest extends $dara.Model {
204
212
  resourceGroupId?: string;
205
213
  /**
206
214
  * @remarks
207
- * The conflict merge strategy for import.
215
+ * The conflict resolution strategy for imports.
208
216
  *
209
217
  * @example
210
218
  * ExistFirst
@@ -212,7 +220,13 @@ export class CreateHttpApiRequest extends $dara.Model {
212
220
  strategy?: string;
213
221
  /**
214
222
  * @remarks
215
- * The HTTP API type. Valid values: Http (standard HTTP API), Rest (RESTful API), WebSocket (WebSocket API), HttpIngress (HTTP API accessed through Ingress), LLM (large language model API), Agent (Agent proxy API).
223
+ * The HTTP API type. Valid values:
224
+ * - Http: a standard HTTP API.
225
+ * - Rest: a RESTful API.
226
+ * - WebSocket: a WebSocket API.
227
+ * - HttpIngress: an HTTP API accessed through Ingress.
228
+ * - LLM: a large language model API.
229
+ * - Agent: an Agent proxy API.
216
230
  *
217
231
  * This parameter is required.
218
232
  *
@@ -9,7 +9,7 @@ import { HttpDubboTranscoder } from "./HttpDubboTranscoder";
9
9
  export class CreateHttpApiRouteRequestBackendConfigServices extends $dara.Model {
10
10
  /**
11
11
  * @remarks
12
- * The service group. Used in the HTTP-to-Dubbo conversion scenario.
12
+ * The service group. Used in HTTP-to-Dubbo transcoding scenarios.
13
13
  *
14
14
  * @example
15
15
  * DEFAULT_GROUP
@@ -17,7 +17,7 @@ export class CreateHttpApiRouteRequestBackendConfigServices extends $dara.Model
17
17
  groupName?: string;
18
18
  /**
19
19
  * @remarks
20
- * The HTTP-to-Dubbo protocol conversion configuration. Only supported for SingleService MSE_NACOS DUBBO backends of HTTP APIs.
20
+ * The HTTP-to-Dubbo protocol transcoding configuration. Only supported for SingleService MSE_NACOS DUBBO backends of HTTP APIs.
21
21
  *
22
22
  * @example
23
23
  * {"dubboServiceName":"com.alibaba.nacos.example.dubbo.service.DemoService","dubboServiceVersion":"1.0.0","dubboServiceGroup":"DEV","methodMapList":[{"dubboMethodName":"sayName","httpMethod":"ALL_GET","methodPath":"/dubbo/sayName","passThroughAllHeaders":"PASS_ALL"}]}
@@ -25,7 +25,7 @@ export class CreateHttpApiRouteRequestBackendConfigServices extends $dara.Model
25
25
  httpDubboTranscoder?: HttpDubboTranscoder;
26
26
  /**
27
27
  * @remarks
28
- * The target model name. This field is shared by multiple model backend scenarios. The specific routing or model rewrite semantics are determined by backendConfig.scene. This field is required for the SemanticRouter scenario. If not specified in the AiAutoRouter scenario, the default model of the AI service is used.
28
+ * The target model name. This field is shared by multiple existing model backend scenarios. The specific routing or model rewrite semantics are determined by backendConfig.scene. This field is required for the SemanticRouter scenario. If this field is not specified for the AiAutoRouter scenario, the default model of the AI service is used.
29
29
  *
30
30
  * @example
31
31
  * qwen-plus
@@ -33,7 +33,7 @@ export class CreateHttpApiRouteRequestBackendConfigServices extends $dara.Model
33
33
  modelName?: string;
34
34
  /**
35
35
  * @remarks
36
- * The service namespace. Used in the HTTP-to-Dubbo conversion scenario.
36
+ * The service namespace. Used in HTTP-to-Dubbo transcoding scenarios.
37
37
  *
38
38
  * @example
39
39
  * public
@@ -67,7 +67,7 @@ export class CreateHttpApiRouteRequestBackendConfigServices extends $dara.Model
67
67
  serviceId?: string;
68
68
  /**
69
69
  * @remarks
70
- * The service source type. Used in the HTTP-to-Dubbo conversion scenario.
70
+ * The service source type. Used in HTTP-to-Dubbo transcoding scenarios.
71
71
  *
72
72
  * @example
73
73
  * MSE_NACOS
@@ -75,7 +75,7 @@ export class CreateHttpApiRouteRequestBackendConfigServices extends $dara.Model
75
75
  sourceType?: string;
76
76
  /**
77
77
  * @remarks
78
- * The service version. This parameter is valid only in the tag-based scenario.
78
+ * The service version. This parameter takes effect only in the tag-based scenario.
79
79
  *
80
80
  * @example
81
81
  * v1
@@ -83,7 +83,7 @@ export class CreateHttpApiRouteRequestBackendConfigServices extends $dara.Model
83
83
  version?: string;
84
84
  /**
85
85
  * @remarks
86
- * The traffic ratio percentage value.
86
+ * The percentage value of the traffic ratio.
87
87
  *
88
88
  * @example
89
89
  * 49
@@ -264,7 +264,7 @@ export class CreateHttpApiRouteRequest extends $dara.Model {
264
264
  environmentId?: string;
265
265
  /**
266
266
  * @remarks
267
- * The route match rule.
267
+ * The route match rules.
268
268
  */
269
269
  match?: HttpRouteMatch;
270
270
  /**
@@ -10,7 +10,7 @@ export class CreatePluginAttachmentRequest extends $dara.Model {
10
10
  attachResourceIds?: string[];
11
11
  /**
12
12
  * @remarks
13
- * The resource type to which the plug-in is mounted. Valid values: GatewayRoute, Gateway, GatewayDomain, HttpApi, and Operation.
13
+ * The resource type to which the plug-in is mounted. Valid values: GatewayRoute, Gateway, GatewayDomain, HttpApi, Operation.
14
14
  *
15
15
  * @example
16
16
  * HttpApi
@@ -42,7 +42,7 @@ export class CreatePluginAttachmentRequest extends $dara.Model {
42
42
  gatewayId?: string;
43
43
  /**
44
44
  * @remarks
45
- * The Base64-encoded content of the original plug-in configuration.
45
+ * The Base64-encoded content of the plug-in configuration.
46
46
  *
47
47
  * @example
48
48
  * cHJlcGVuZDoKLSByb2xlOiBzeXN0ZW0KICBjb250ZW50OiDor7fkvb/nlKjoi7Hor63lm57nrZTpl67popgKYXBwZW5kOgotIHJvbGU6IHVzZXIKICBjb250ZW50OiDmr4/mrKHlm57nrZTlrozpl67popjvvIzlsJ3or5Xov5vooYzlj43pl64K
@@ -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***
@@ -35,9 +35,9 @@ export class GetDashboardRequestFilter extends $dara.Model {
35
35
  export class GetDashboardRequest extends $dara.Model {
36
36
  /**
37
37
  * @remarks
38
- * The language. Valid values:
39
- * - zh: Chinese
40
- * - en: English
38
+ * The response language. Valid values:
39
+ * zh: Chinese
40
+ * en: English
41
41
  *
42
42
  * @example
43
43
  * zh
@@ -60,7 +60,7 @@ export class GetDashboardRequest extends $dara.Model {
60
60
  * @remarks
61
61
  * The dashboard name. Valid values:
62
62
  * - LOG: access log
63
- * - PLUGIN: plugin log
63
+ * - PLUGIN: plug-in log
64
64
  *
65
65
  * @example
66
66
  * PLUGIN
@@ -68,7 +68,7 @@ export class GetDashboardRequest extends $dara.Model {
68
68
  name?: string;
69
69
  /**
70
70
  * @remarks
71
- * The plugin type ID.
71
+ * The plug-in type ID.
72
72
  *
73
73
  * @example
74
74
  * pls-dn82a9djd8z****
@@ -76,7 +76,7 @@ export class GetDashboardRequest extends $dara.Model {
76
76
  pluginClassId?: string;
77
77
  /**
78
78
  * @remarks
79
- * The plugin ID.
79
+ * The plug-in ID.
80
80
  *
81
81
  * @example
82
82
  * inner-ai-search-cvd3mcum1hks660icn10
@@ -29,7 +29,7 @@ export class GetDashboardResponseBodyData extends $dara.Model {
29
29
  title?: string;
30
30
  /**
31
31
  * @remarks
32
- * The URL of the dashboard.
32
+ * The dashboard URL.
33
33
  *
34
34
  * @example
35
35
  * https://sls.console.aliyun.com/lognext/project/xxxxx
@@ -5,9 +5,9 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class GetDashboardShrinkRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The language. Valid values:
9
- * - zh: Chinese
10
- * - en: English
8
+ * The response language. Valid values:
9
+ * zh: Chinese
10
+ * en: English
11
11
  *
12
12
  * @example
13
13
  * zh
@@ -30,7 +30,7 @@ export class GetDashboardShrinkRequest extends $dara.Model {
30
30
  * @remarks
31
31
  * The dashboard name. Valid values:
32
32
  * - LOG: access log
33
- * - PLUGIN: plugin log
33
+ * - PLUGIN: plug-in log
34
34
  *
35
35
  * @example
36
36
  * PLUGIN
@@ -38,7 +38,7 @@ export class GetDashboardShrinkRequest extends $dara.Model {
38
38
  name?: string;
39
39
  /**
40
40
  * @remarks
41
- * The plugin type ID.
41
+ * The plug-in type ID.
42
42
  *
43
43
  * @example
44
44
  * pls-dn82a9djd8z****
@@ -46,7 +46,7 @@ export class GetDashboardShrinkRequest extends $dara.Model {
46
46
  pluginClassId?: string;
47
47
  /**
48
48
  * @remarks
49
- * The plugin ID.
49
+ * The plug-in ID.
50
50
  *
51
51
  * @example
52
52
  * inner-ai-search-cvd3mcum1hks660icn10
@@ -14,7 +14,7 @@ export class GetHttpApiOperationResponseBody extends $dara.Model {
14
14
  code?: string;
15
15
  /**
16
16
  * @remarks
17
- * The operation information.
17
+ * The API operation information.
18
18
  */
19
19
  data?: HttpApiOperationInfo;
20
20
  /**
@@ -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 of the intelligent routing candidate. 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 subdomain 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, premium. An explicit empty array indicates that no system model is 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