@alicloud/apig20240327 11.3.1 → 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.
- package/dist/client.d.ts +24 -24
- package/dist/client.js +35 -24
- package/dist/client.js.map +1 -1
- package/dist/models/AddGatewayQuotaRuleRequest.d.ts +16 -16
- package/dist/models/AddGatewayQuotaRuleResponseBody.d.ts +6 -11
- package/dist/models/AddGatewayQuotaRuleResponseBody.js.map +1 -1
- package/dist/models/CreateConsumerRequest.d.ts +16 -4
- package/dist/models/CreateConsumerRequest.js +4 -0
- package/dist/models/CreateConsumerRequest.js.map +1 -1
- package/dist/models/CreateHttpApiRequest.d.ts +28 -14
- package/dist/models/CreateHttpApiRequest.js.map +1 -1
- package/dist/models/CreateHttpApiRouteRequest.d.ts +8 -8
- package/dist/models/CreatePluginAttachmentRequest.d.ts +2 -2
- package/dist/models/CreatePolicyAttachmentRequest.d.ts +2 -2
- package/dist/models/CreatePolicyAttachmentResponseBody.d.ts +1 -1
- package/dist/models/CreatePolicyRequest.d.ts +21 -21
- package/dist/models/DeleteGatewayQuotaRuleResponseBody.d.ts +1 -1
- package/dist/models/DeleteHttpApiRequest.d.ts +9 -1
- package/dist/models/DeleteHttpApiRequest.js +2 -0
- package/dist/models/DeleteHttpApiRequest.js.map +1 -1
- package/dist/models/DeployHttpApiRequest.d.ts +11 -11
- package/dist/models/GetDashboardRequest.d.ts +6 -6
- package/dist/models/GetDashboardResponseBody.d.ts +1 -1
- package/dist/models/GetDashboardShrinkRequest.d.ts +6 -6
- package/dist/models/GetHttpApiOperationResponseBody.d.ts +1 -1
- package/dist/models/GetHttpApiRequest.d.ts +1 -1
- package/dist/models/HttpApiDeployConfig.d.ts +25 -9
- package/dist/models/HttpApiDeployConfig.js +7 -0
- package/dist/models/HttpApiDeployConfig.js.map +1 -1
- package/dist/models/ImportHttpApiRequest.d.ts +14 -9
- package/dist/models/ImportHttpApiRequest.js.map +1 -1
- package/dist/models/ImportHttpApiResponseBody.d.ts +12 -8
- package/dist/models/ImportHttpApiResponseBody.js.map +1 -1
- package/dist/models/ListConsumerAuthorizationRulesRequest.d.ts +1 -1
- package/dist/models/ListConsumerAuthorizationRulesResponseBody.d.ts +2 -4
- package/dist/models/ListConsumerAuthorizationRulesResponseBody.js.map +1 -1
- package/dist/models/ListHttpApiOperationsRequest.d.ts +10 -10
- package/dist/models/ListHttpApiOperationsResponseBody.d.ts +3 -3
- package/dist/models/ListPluginAttachmentsRequest.d.ts +4 -4
- package/dist/models/ListPluginAttachmentsResponseBody.d.ts +7 -7
- package/dist/models/UpdatePluginAttachmentRequest.d.ts +2 -2
- package/package.json +1 -1
- package/src/client.ts +38 -24
- package/src/models/AddGatewayQuotaRuleRequest.ts +16 -16
- package/src/models/AddGatewayQuotaRuleResponseBody.ts +6 -11
- package/src/models/CreateConsumerRequest.ts +20 -4
- package/src/models/CreateHttpApiRequest.ts +28 -14
- package/src/models/CreateHttpApiRouteRequest.ts +8 -8
- package/src/models/CreatePluginAttachmentRequest.ts +2 -2
- package/src/models/CreatePolicyAttachmentRequest.ts +2 -2
- package/src/models/CreatePolicyAttachmentResponseBody.ts +1 -1
- package/src/models/CreatePolicyRequest.ts +21 -21
- package/src/models/DeleteGatewayQuotaRuleResponseBody.ts +1 -1
- package/src/models/DeleteHttpApiRequest.ts +11 -1
- package/src/models/DeployHttpApiRequest.ts +11 -11
- package/src/models/GetDashboardRequest.ts +6 -6
- package/src/models/GetDashboardResponseBody.ts +1 -1
- package/src/models/GetDashboardShrinkRequest.ts +6 -6
- package/src/models/GetHttpApiOperationResponseBody.ts +1 -1
- package/src/models/GetHttpApiRequest.ts +1 -1
- package/src/models/HttpApiDeployConfig.ts +32 -9
- package/src/models/ImportHttpApiRequest.ts +14 -9
- package/src/models/ImportHttpApiResponseBody.ts +12 -8
- package/src/models/ListConsumerAuthorizationRulesRequest.ts +1 -1
- package/src/models/ListConsumerAuthorizationRulesResponseBody.ts +2 -4
- package/src/models/ListHttpApiOperationsRequest.ts +10 -10
- package/src/models/ListHttpApiOperationsResponseBody.ts +3 -3
- package/src/models/ListPluginAttachmentsRequest.ts +4 -4
- package/src/models/ListPluginAttachmentsResponseBody.ts +7 -7
- package/src/models/UpdatePluginAttachmentRequest.ts +2 -2
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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-
|
|
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
|
|
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
|
|
|
@@ -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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
-
*
|
|
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
|
|
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
|
|
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
|
|
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
|
|
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
|
|
326
|
+
* The list of routes that were imported.
|
|
323
327
|
*/
|
|
324
328
|
successRoutes?: ImportHttpApiResponseBodyDataDryRunInfoSuccessRoutes[];
|
|
325
329
|
/**
|
|
@@ -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
|
|
69
|
+
* The expiration timestamp.
|
|
72
70
|
*
|
|
73
71
|
* @example
|
|
74
72
|
* 172086834548
|
|
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
5
5
|
export class ListHttpApiOperationsRequest extends $dara.Model {
|
|
6
6
|
/**
|
|
7
7
|
* @remarks
|
|
8
|
-
*
|
|
8
|
+
* Filters the API operation list by a specific consumer authorization rule ID. Only authorized API operations are included in the response.
|
|
9
9
|
*
|
|
10
10
|
* @example
|
|
11
11
|
* cas-xxx
|
|
@@ -13,7 +13,7 @@ export class ListHttpApiOperationsRequest extends $dara.Model {
|
|
|
13
13
|
consumerAuthorizationRuleId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The authentication
|
|
16
|
+
* The authentication enable filter.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* true
|
|
@@ -37,7 +37,7 @@ export class ListHttpApiOperationsRequest extends $dara.Model {
|
|
|
37
37
|
gatewayId?: string;
|
|
38
38
|
/**
|
|
39
39
|
* @remarks
|
|
40
|
-
*
|
|
40
|
+
* Filters API operations by HTTP method.
|
|
41
41
|
*
|
|
42
42
|
* @example
|
|
43
43
|
* GET
|
|
@@ -45,7 +45,7 @@ export class ListHttpApiOperationsRequest extends $dara.Model {
|
|
|
45
45
|
method?: string;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
*
|
|
48
|
+
* Filters API operations by exact name match.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* getUserInfo
|
|
@@ -53,7 +53,7 @@ export class ListHttpApiOperationsRequest extends $dara.Model {
|
|
|
53
53
|
name?: string;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
*
|
|
56
|
+
* Filters API operations by name prefix.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* GetUser
|
|
@@ -61,7 +61,7 @@ export class ListHttpApiOperationsRequest extends $dara.Model {
|
|
|
61
61
|
nameLike?: string;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* The page number
|
|
64
|
+
* The page number. Starts from 1. Default value: 1.
|
|
65
65
|
*
|
|
66
66
|
* @example
|
|
67
67
|
* 1
|
|
@@ -77,7 +77,7 @@ export class ListHttpApiOperationsRequest extends $dara.Model {
|
|
|
77
77
|
pageSize?: number;
|
|
78
78
|
/**
|
|
79
79
|
* @remarks
|
|
80
|
-
*
|
|
80
|
+
* Filters API operations by path prefix match.
|
|
81
81
|
*
|
|
82
82
|
* @example
|
|
83
83
|
* /v1
|
|
@@ -85,7 +85,7 @@ export class ListHttpApiOperationsRequest extends $dara.Model {
|
|
|
85
85
|
pathLike?: string;
|
|
86
86
|
/**
|
|
87
87
|
* @remarks
|
|
88
|
-
*
|
|
88
|
+
* Includes the authorization rule list for the specified consumer in the specified environment ID in each API operation\\"s information in the response. You must also specify the withConsumerInfoById field.
|
|
89
89
|
*
|
|
90
90
|
* @example
|
|
91
91
|
* env-xxx
|
|
@@ -93,7 +93,7 @@ export class ListHttpApiOperationsRequest extends $dara.Model {
|
|
|
93
93
|
withConsumerInEnvironmentId?: string;
|
|
94
94
|
/**
|
|
95
95
|
* @remarks
|
|
96
|
-
*
|
|
96
|
+
* Includes the authorization rule list for the specified consumer in the specified environment ID in each API operation\\"s information in the response. You must also specify the withConsumerInEnvironmentId field.
|
|
97
97
|
*
|
|
98
98
|
* @example
|
|
99
99
|
* cs-xxx
|
|
@@ -101,7 +101,7 @@ export class ListHttpApiOperationsRequest extends $dara.Model {
|
|
|
101
101
|
withConsumerInfoById?: string;
|
|
102
102
|
/**
|
|
103
103
|
* @remarks
|
|
104
|
-
* The
|
|
104
|
+
* The plug-in ID. Retrieves plug-in publish information based on this plug-in ID.
|
|
105
105
|
*
|
|
106
106
|
* @example
|
|
107
107
|
* pl-xxx
|
|
@@ -6,7 +6,7 @@ import { HttpApiOperationInfo } from "./HttpApiOperationInfo";
|
|
|
6
6
|
export class ListHttpApiOperationsResponseBodyData extends $dara.Model {
|
|
7
7
|
/**
|
|
8
8
|
* @remarks
|
|
9
|
-
* The
|
|
9
|
+
* The API operation list.
|
|
10
10
|
*/
|
|
11
11
|
items?: HttpApiOperationInfo[];
|
|
12
12
|
/**
|
|
@@ -27,7 +27,7 @@ export class ListHttpApiOperationsResponseBodyData extends $dara.Model {
|
|
|
27
27
|
pageSize?: number;
|
|
28
28
|
/**
|
|
29
29
|
* @remarks
|
|
30
|
-
* The total
|
|
30
|
+
* The total count.
|
|
31
31
|
*
|
|
32
32
|
* @example
|
|
33
33
|
* 10
|
|
@@ -74,7 +74,7 @@ export class ListHttpApiOperationsResponseBody extends $dara.Model {
|
|
|
74
74
|
code?: string;
|
|
75
75
|
/**
|
|
76
76
|
* @remarks
|
|
77
|
-
* The
|
|
77
|
+
* The API operation list.
|
|
78
78
|
*/
|
|
79
79
|
data?: ListHttpApiOperationsResponseBodyData;
|
|
80
80
|
/**
|
|
@@ -13,7 +13,7 @@ export class ListPluginAttachmentsRequest extends $dara.Model {
|
|
|
13
13
|
attachResourceId?: string;
|
|
14
14
|
/**
|
|
15
15
|
* @remarks
|
|
16
|
-
* The
|
|
16
|
+
* The plug-in mount point type. Not enabled yet.
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* GatewayRoute
|
|
@@ -21,7 +21,7 @@ export class ListPluginAttachmentsRequest extends $dara.Model {
|
|
|
21
21
|
attachResourceType?: string;
|
|
22
22
|
/**
|
|
23
23
|
* @remarks
|
|
24
|
-
* The mount point types. Separate multiple
|
|
24
|
+
* The mount point types. Separate multiple values with commas.
|
|
25
25
|
*
|
|
26
26
|
* @example
|
|
27
27
|
* GatewayRoute
|
|
@@ -61,7 +61,7 @@ export class ListPluginAttachmentsRequest extends $dara.Model {
|
|
|
61
61
|
pageSize?: number;
|
|
62
62
|
/**
|
|
63
63
|
* @remarks
|
|
64
|
-
* The
|
|
64
|
+
* The plug-in ID.
|
|
65
65
|
*
|
|
66
66
|
* @example
|
|
67
67
|
* pl-ct8181um1hkiqns9f6e0
|
|
@@ -69,7 +69,7 @@ export class ListPluginAttachmentsRequest extends $dara.Model {
|
|
|
69
69
|
pluginId?: string;
|
|
70
70
|
/**
|
|
71
71
|
* @remarks
|
|
72
|
-
* Specifies whether to return parent resource
|
|
72
|
+
* Specifies whether to return the parent resource mount.
|
|
73
73
|
*
|
|
74
74
|
* @example
|
|
75
75
|
* false
|
|
@@ -9,7 +9,7 @@ import { ResourceInfo } from "./ResourceInfo";
|
|
|
9
9
|
export class ListPluginAttachmentsResponseBodyDataItems extends $dara.Model {
|
|
10
10
|
/**
|
|
11
11
|
* @remarks
|
|
12
|
-
* The
|
|
12
|
+
* The plug-in mount resource type. Valid values: GatewayRoute, Gateway, GatewayDomain, HttpApi, Operation.
|
|
13
13
|
*
|
|
14
14
|
* @example
|
|
15
15
|
* GatewayRoute
|
|
@@ -17,7 +17,7 @@ export class ListPluginAttachmentsResponseBodyDataItems extends $dara.Model {
|
|
|
17
17
|
attachResourceType?: string;
|
|
18
18
|
/**
|
|
19
19
|
* @remarks
|
|
20
|
-
*
|
|
20
|
+
* Specifies whether the plug-in is enabled.
|
|
21
21
|
*
|
|
22
22
|
* @example
|
|
23
23
|
* true
|
|
@@ -35,7 +35,7 @@ export class ListPluginAttachmentsResponseBodyDataItems extends $dara.Model {
|
|
|
35
35
|
parentResourceInfo?: ParentResourceInfo;
|
|
36
36
|
/**
|
|
37
37
|
* @remarks
|
|
38
|
-
* The
|
|
38
|
+
* The plug-in mount ID.
|
|
39
39
|
*
|
|
40
40
|
* @example
|
|
41
41
|
* pa-d0j9t5em1hkncrlo51mg
|
|
@@ -43,12 +43,12 @@ export class ListPluginAttachmentsResponseBodyDataItems extends $dara.Model {
|
|
|
43
43
|
pluginAttachmentId?: string;
|
|
44
44
|
/**
|
|
45
45
|
* @remarks
|
|
46
|
-
* The
|
|
46
|
+
* The plug-in type information.
|
|
47
47
|
*/
|
|
48
48
|
pluginClassInfo?: PluginClassInfo;
|
|
49
49
|
/**
|
|
50
50
|
* @remarks
|
|
51
|
-
* The Base64-encoded content of the original
|
|
51
|
+
* The Base64-encoded content of the original plug-in configuration.
|
|
52
52
|
*
|
|
53
53
|
* @example
|
|
54
54
|
* bGltaXRfYnlfaGVhZGVyOiB4LWFwaS1rZXkKbGltaXRfa2V5czoKLSBrZXk6IGV4YW1wbGUta2V5LWEKICBxdWVyeV9wZXJfc2Vjb25kOiAxMAotIGtleTogZXhhbXBsZS1rZXktYgogIHF1ZXJ5X3Blcl9zZWNvbmQ6IDEK
|
|
@@ -56,7 +56,7 @@ export class ListPluginAttachmentsResponseBodyDataItems extends $dara.Model {
|
|
|
56
56
|
pluginConfig?: string;
|
|
57
57
|
/**
|
|
58
58
|
* @remarks
|
|
59
|
-
* The
|
|
59
|
+
* The plug-in ID.
|
|
60
60
|
*
|
|
61
61
|
* @example
|
|
62
62
|
* pl-cvu6r4um1hko3b3ti0a0
|
|
@@ -140,7 +140,7 @@ export class ListPluginAttachmentsResponseBodyData extends $dara.Model {
|
|
|
140
140
|
pageSize?: number;
|
|
141
141
|
/**
|
|
142
142
|
* @remarks
|
|
143
|
-
* The total
|
|
143
|
+
* The total number of entries.
|
|
144
144
|
*
|
|
145
145
|
* @example
|
|
146
146
|
* 10
|
|
@@ -10,7 +10,7 @@ export class UpdatePluginAttachmentRequest extends $dara.Model {
|
|
|
10
10
|
attachResourceIds?: string[];
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* Specifies whether to enable the plugin.
|
|
13
|
+
* Specifies whether to enable the plugin mount.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* false
|
|
@@ -18,7 +18,7 @@ export class UpdatePluginAttachmentRequest extends $dara.Model {
|
|
|
18
18
|
enable?: boolean;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The Base64-encoded content of the
|
|
21
|
+
* The Base64-encoded content of the raw plugin configuration.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* cHJlcGVuZDoKLSByb2xlOiBzeXN0ZW0KICBjb250ZW50OiDor7fkvb/nlKjoi7Hor63lm57nrZTpl67popgKYXBwZW5kOgotIHJvbGU6IHVzZXIKICBjb250ZW50OiDmr4/mrKHlm57nrZTlrozpl67popjvvIzlsJ3or5Xov5vooYzlj43pl64K
|