@alicloud/apig20240327 10.2.0 → 11.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +28 -22
- package/dist/client.js +58 -24
- package/dist/client.js.map +1 -1
- package/dist/models/AddGatewaySecurityGroupRuleRequest.d.ts +2 -2
- package/dist/models/AgentAccessConfig.d.ts +41 -0
- package/dist/models/AgentAccessConfig.js.map +1 -1
- package/dist/models/AgentAuthorizationPrincipal.d.ts +13 -0
- package/dist/models/AgentAuthorizationPrincipal.js.map +1 -1
- package/dist/models/AgentInfo.d.ts +91 -0
- package/dist/models/AgentInfo.js.map +1 -1
- package/dist/models/AgentModelAccessConfig.d.ts +7 -0
- package/dist/models/AgentModelAccessConfig.js.map +1 -1
- package/dist/models/AiServiceConfig.d.ts +10 -30
- package/dist/models/AiServiceConfig.js.map +1 -1
- package/dist/models/ApiKeyIdentityConfig.d.ts +7 -1
- package/dist/models/ApiKeyIdentityConfig.js.map +1 -1
- package/dist/models/Backend.d.ts +18 -2
- package/dist/models/Backend.js +4 -0
- package/dist/models/Backend.js.map +1 -1
- package/dist/models/BatchImportHttpApisRequest.d.ts +9 -0
- package/dist/models/BatchImportHttpApisRequest.js +2 -0
- package/dist/models/BatchImportHttpApisRequest.js.map +1 -1
- package/dist/models/CreateDomainRequest.d.ts +20 -18
- package/dist/models/CreateDomainRequest.js +4 -0
- package/dist/models/CreateDomainRequest.js.map +1 -1
- package/dist/models/CreateGatewayRequest.d.ts +15 -8
- package/dist/models/CreateGatewayRequest.js.map +1 -1
- package/dist/models/CreateHttpApiRouteRequest.d.ts +22 -12
- package/dist/models/CreateHttpApiRouteRequest.js +2 -0
- package/dist/models/CreateHttpApiRouteRequest.js.map +1 -1
- package/dist/models/CreateMcpServerRequest.d.ts +11 -11
- package/dist/models/CreatePluginClassRequest.d.ts +4 -4
- package/dist/models/CreateServiceRequest.d.ts +10 -10
- package/dist/models/DeleteHttpApiRequest.d.ts +18 -0
- package/dist/models/DeleteHttpApiRequest.js +58 -0
- package/dist/models/DeleteHttpApiRequest.js.map +1 -0
- package/dist/models/DeployHttpApiRequest.d.ts +16 -8
- package/dist/models/DeployHttpApiRequest.js +2 -0
- package/dist/models/DeployHttpApiRequest.js.map +1 -1
- package/dist/models/DomainInfo.d.ts +16 -2
- package/dist/models/DomainInfo.js.map +1 -1
- package/dist/models/EnvironmentInfo.d.ts +2 -2
- package/dist/models/GatewayInfo.d.ts +1 -1
- package/dist/models/GetConsumerAuthorizationRuleResponseBody.d.ts +2 -1
- package/dist/models/GetConsumerAuthorizationRuleResponseBody.js.map +1 -1
- package/dist/models/GetGatewayQuotaRuleSubjectUsageRequest.d.ts +7 -0
- package/dist/models/GetGatewayQuotaRuleSubjectUsageRequest.js.map +1 -1
- package/dist/models/GetGatewayQuotaRuleSubjectUsageResponseBody.d.ts +1 -1
- package/dist/models/GetGatewayResponseBody.d.ts +18 -1
- package/dist/models/GetGatewayResponseBody.js.map +1 -1
- package/dist/models/GetHttpApiRequest.d.ts +18 -0
- package/dist/models/GetHttpApiRequest.js +58 -0
- package/dist/models/GetHttpApiRequest.js.map +1 -0
- package/dist/models/GetMcpServerResponseBody.d.ts +3 -3
- package/dist/models/HttpApiApiInfo.d.ts +1 -1
- package/dist/models/HttpApiApiInfoDeployCntMapValue.d.ts +4 -0
- package/dist/models/HttpApiApiInfoDeployCntMapValue.js.map +1 -1
- package/dist/models/HttpApiDeployConfig.d.ts +23 -7
- package/dist/models/HttpApiDeployConfig.js +4 -0
- package/dist/models/HttpApiDeployConfig.js.map +1 -1
- package/dist/models/HttpApiInfoByName.d.ts +0 -3
- package/dist/models/HttpApiInfoByName.js.map +1 -1
- package/dist/models/HttpApiMockContract.d.ts +1 -1
- package/dist/models/HttpApiOperation.d.ts +1 -1
- package/dist/models/HttpApiOperationInfo.d.ts +1 -1
- package/dist/models/HttpApiParameter.d.ts +1 -1
- package/dist/models/HttpApiPolicyConfigs.d.ts +22 -11
- package/dist/models/HttpApiPolicyConfigs.js +6 -0
- package/dist/models/HttpApiPolicyConfigs.js.map +1 -1
- package/dist/models/HttpApiPolicyReference.d.ts +29 -0
- package/dist/models/HttpApiPolicyReference.js +60 -0
- package/dist/models/HttpApiPolicyReference.js.map +1 -0
- package/dist/models/HttpApiPublishRevisionInfo.d.ts +2 -2
- package/dist/models/HttpApiRequestContract.d.ts +12 -12
- package/dist/models/HttpApiResponseContract.d.ts +2 -2
- package/dist/models/HttpRoute.d.ts +2 -2
- package/dist/models/HttpRouteMatch.d.ts +17 -20
- package/dist/models/HttpRouteMatch.js.map +1 -1
- package/dist/models/ImportHttpApiRequest.d.ts +7 -13
- package/dist/models/ImportHttpApiRequest.js.map +1 -1
- package/dist/models/ImportHttpApiResponseBody.d.ts +9 -15
- package/dist/models/ImportHttpApiResponseBody.js.map +1 -1
- package/dist/models/ListGatewayFeaturesResponseBody.d.ts +34 -9
- package/dist/models/ListGatewayFeaturesResponseBody.js +25 -1
- package/dist/models/ListGatewayFeaturesResponseBody.js.map +1 -1
- package/dist/models/ListGatewaysRequest.d.ts +1 -1
- package/dist/models/ListGatewaysResponseBody.d.ts +9 -2
- package/dist/models/ListGatewaysResponseBody.js.map +1 -1
- package/dist/models/ListGatewaysShrinkRequest.d.ts +1 -1
- package/dist/models/ListHttpApiOperationsRequest.d.ts +12 -12
- package/dist/models/ListHttpApiOperationsResponseBody.d.ts +2 -2
- package/dist/models/ListHttpApiRoutesRequest.d.ts +6 -6
- package/dist/models/ListMcpServersRequest.d.ts +1 -1
- package/dist/models/ListMcpServersResponseBody.d.ts +9 -9
- package/dist/models/ListPluginAttachmentsRequest.d.ts +3 -3
- package/dist/models/ListPluginAttachmentsResponseBody.d.ts +8 -8
- package/dist/models/PolicyClassInfo.d.ts +2 -2
- package/dist/models/QueryConsumerAuthorizationRulesRequest.d.ts +6 -3
- package/dist/models/QueryConsumerAuthorizationRulesRequest.js.map +1 -1
- package/dist/models/QueryConsumerAuthorizationRulesResponseBody.d.ts +3 -3
- package/dist/models/RiskCheckResults.d.ts +4 -4
- package/dist/models/Service.d.ts +61 -2
- package/dist/models/Service.js.map +1 -1
- package/dist/models/TransportCertificateInfo.d.ts +71 -0
- package/dist/models/TransportCertificateInfo.js.map +1 -1
- package/dist/models/TransportEncryptionInfo.d.ts +32 -0
- package/dist/models/TransportEncryptionInfo.js.map +1 -1
- package/dist/models/UpdateHttpApiRequest.d.ts +10 -5
- package/dist/models/UpdateHttpApiRequest.js +2 -0
- package/dist/models/UpdateHttpApiRequest.js.map +1 -1
- package/dist/models/UpdateHttpApiRouteRequest.d.ts +9 -1
- package/dist/models/UpdateHttpApiRouteRequest.js +2 -0
- package/dist/models/UpdateHttpApiRouteRequest.js.map +1 -1
- package/dist/models/UpdateMcpServerRequest.d.ts +5 -5
- package/dist/models/model.d.ts +4 -0
- package/dist/models/model.js +27 -19
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +64 -24
- package/src/models/AddGatewaySecurityGroupRuleRequest.ts +2 -2
- package/src/models/AgentAccessConfig.ts +41 -0
- package/src/models/AgentAuthorizationPrincipal.ts +13 -0
- package/src/models/AgentInfo.ts +91 -0
- package/src/models/AgentModelAccessConfig.ts +7 -0
- package/src/models/AiServiceConfig.ts +10 -30
- package/src/models/ApiKeyIdentityConfig.ts +7 -1
- package/src/models/Backend.ts +22 -2
- package/src/models/BatchImportHttpApisRequest.ts +11 -0
- package/src/models/CreateDomainRequest.ts +24 -18
- package/src/models/CreateGatewayRequest.ts +15 -8
- package/src/models/CreateHttpApiRouteRequest.ts +24 -12
- package/src/models/CreateMcpServerRequest.ts +11 -11
- package/src/models/CreatePluginClassRequest.ts +4 -4
- package/src/models/CreateServiceRequest.ts +10 -10
- package/src/models/DeleteHttpApiRequest.ts +31 -0
- package/src/models/DeployHttpApiRequest.ts +18 -8
- package/src/models/DomainInfo.ts +16 -2
- package/src/models/EnvironmentInfo.ts +2 -2
- package/src/models/GatewayInfo.ts +1 -1
- package/src/models/GetConsumerAuthorizationRuleResponseBody.ts +2 -1
- package/src/models/GetGatewayQuotaRuleSubjectUsageRequest.ts +7 -0
- package/src/models/GetGatewayQuotaRuleSubjectUsageResponseBody.ts +1 -1
- package/src/models/GetGatewayResponseBody.ts +18 -1
- package/src/models/GetHttpApiRequest.ts +31 -0
- package/src/models/GetMcpServerResponseBody.ts +3 -3
- package/src/models/HttpApiApiInfo.ts +1 -1
- package/src/models/HttpApiApiInfoDeployCntMapValue.ts +4 -0
- package/src/models/HttpApiDeployConfig.ts +27 -7
- package/src/models/HttpApiInfoByName.ts +0 -3
- package/src/models/HttpApiMockContract.ts +1 -1
- package/src/models/HttpApiOperation.ts +1 -1
- package/src/models/HttpApiOperationInfo.ts +1 -1
- package/src/models/HttpApiParameter.ts +1 -1
- package/src/models/HttpApiPolicyConfigs.ts +27 -11
- package/src/models/HttpApiPolicyReference.ts +44 -0
- package/src/models/HttpApiPublishRevisionInfo.ts +2 -2
- package/src/models/HttpApiRequestContract.ts +12 -12
- package/src/models/HttpApiResponseContract.ts +2 -2
- package/src/models/HttpRoute.ts +2 -2
- package/src/models/HttpRouteMatch.ts +17 -20
- package/src/models/ImportHttpApiRequest.ts +7 -13
- package/src/models/ImportHttpApiResponseBody.ts +9 -15
- package/src/models/ListGatewayFeaturesResponseBody.ts +49 -9
- package/src/models/ListGatewaysRequest.ts +1 -1
- package/src/models/ListGatewaysResponseBody.ts +9 -2
- package/src/models/ListGatewaysShrinkRequest.ts +1 -1
- package/src/models/ListHttpApiOperationsRequest.ts +12 -12
- package/src/models/ListHttpApiOperationsResponseBody.ts +2 -2
- package/src/models/ListHttpApiRoutesRequest.ts +6 -6
- package/src/models/ListMcpServersRequest.ts +1 -1
- package/src/models/ListMcpServersResponseBody.ts +9 -9
- package/src/models/ListPluginAttachmentsRequest.ts +3 -3
- package/src/models/ListPluginAttachmentsResponseBody.ts +8 -8
- package/src/models/PolicyClassInfo.ts +2 -2
- package/src/models/QueryConsumerAuthorizationRulesRequest.ts +6 -3
- package/src/models/QueryConsumerAuthorizationRulesResponseBody.ts +3 -3
- package/src/models/RiskCheckResults.ts +4 -4
- package/src/models/Service.ts +61 -2
- package/src/models/TransportCertificateInfo.ts +71 -0
- package/src/models/TransportEncryptionInfo.ts +32 -0
- package/src/models/UpdateHttpApiRequest.ts +12 -5
- package/src/models/UpdateHttpApiRouteRequest.ts +11 -1
- package/src/models/UpdateMcpServerRequest.ts +5 -5
- package/src/models/model.ts +4 -0
|
@@ -19,7 +19,7 @@ export declare class CreateDomainRequest extends $dara.Model {
|
|
|
19
19
|
certIdentifier?: string;
|
|
20
20
|
/**
|
|
21
21
|
* @remarks
|
|
22
|
-
* The client CA certificate. This parameter is conditionally required for Dedicated with HTTPS (when MTLSEnabled is set to true). This parameter is not allowed for Serverless and is not validated for Dedicated with HTTP.
|
|
22
|
+
* The client CA certificate. This parameter is conditionally required for Dedicated with HTTPS (required when MTLSEnabled is set to true). This parameter is not allowed for Serverless and is not validated for Dedicated with HTTP.
|
|
23
23
|
*
|
|
24
24
|
* @example
|
|
25
25
|
* -----BEGIN CERTIFICATE-----
|
|
@@ -31,12 +31,7 @@ export declare class CreateDomainRequest extends $dara.Model {
|
|
|
31
31
|
clientCACert?: string;
|
|
32
32
|
/**
|
|
33
33
|
* @remarks
|
|
34
|
-
* The domain
|
|
35
|
-
*
|
|
36
|
-
* - Dedicated: dedicated gateway domain name.
|
|
37
|
-
* - Serverless: Serverless gateway domain name.
|
|
38
|
-
*
|
|
39
|
-
* Default value: Dedicated.
|
|
34
|
+
* The domain scope. Valid values: Dedicated (dedicated gateway domain name), Serverless (Serverless gateway domain name). Default value: Dedicated.
|
|
40
35
|
*
|
|
41
36
|
* @example
|
|
42
37
|
* Dedicated
|
|
@@ -44,7 +39,7 @@ export declare class CreateDomainRequest extends $dara.Model {
|
|
|
44
39
|
domainScope?: string;
|
|
45
40
|
/**
|
|
46
41
|
* @remarks
|
|
47
|
-
* Specifies whether to enable forced HTTPS redirect
|
|
42
|
+
* Specifies whether to enable forced HTTPS redirect when the protocol type is HTTPS. This parameter is required for Serverless and for Dedicated with HTTPS. This parameter is not validated for Dedicated with HTTP.
|
|
48
43
|
*
|
|
49
44
|
* @example
|
|
50
45
|
* false
|
|
@@ -60,13 +55,7 @@ export declare class CreateDomainRequest extends $dara.Model {
|
|
|
60
55
|
gatewayType?: string;
|
|
61
56
|
/**
|
|
62
57
|
* @remarks
|
|
63
|
-
* The HTTP/2 setting. Valid values:
|
|
64
|
-
*
|
|
65
|
-
* - GlobalConfig: follows the global configuration.
|
|
66
|
-
* - Open: enabled.
|
|
67
|
-
* - Close: disabled.
|
|
68
|
-
*
|
|
69
|
-
* Default value: GlobalConfig. This setting is supported only for HTTPS domain names in the Dedicated scope.
|
|
58
|
+
* The HTTP/2 setting. Valid values: GlobalConfig (follows the global configuration), Open (enabled), Close (disabled). Default value: GlobalConfig. This setting is supported only for HTTPS domain names in the Dedicated scope.
|
|
70
59
|
*
|
|
71
60
|
* @example
|
|
72
61
|
* Open
|
|
@@ -74,7 +63,7 @@ export declare class CreateDomainRequest extends $dara.Model {
|
|
|
74
63
|
http2Option?: string;
|
|
75
64
|
/**
|
|
76
65
|
* @remarks
|
|
77
|
-
* Specifies whether to enable mTLS mutual authentication. This parameter is optional for Dedicated with HTTPS.
|
|
66
|
+
* Specifies whether to enable mTLS mutual authentication. This parameter is optional for Dedicated with HTTPS. If set to true, ClientCACert is required. This parameter is not allowed for Serverless.
|
|
78
67
|
*/
|
|
79
68
|
mTLSEnabled?: boolean;
|
|
80
69
|
/**
|
|
@@ -89,7 +78,7 @@ export declare class CreateDomainRequest extends $dara.Model {
|
|
|
89
78
|
name?: string;
|
|
90
79
|
/**
|
|
91
80
|
* @remarks
|
|
92
|
-
* The protocol type used by the domain name. Valid values: HTTP
|
|
81
|
+
* The protocol type used by the domain name. Valid values: HTTP, HTTPS. This parameter is required for the Dedicated scope and is not allowed for the Serverless scope.
|
|
93
82
|
*
|
|
94
83
|
* @example
|
|
95
84
|
* HTTP
|
|
@@ -118,12 +107,25 @@ export declare class CreateDomainRequest extends $dara.Model {
|
|
|
118
107
|
tlsMax?: string;
|
|
119
108
|
/**
|
|
120
109
|
* @remarks
|
|
121
|
-
* The minimum TLS protocol version. This parameter is optional for Dedicated with HTTPS. If not specified, the default value is TLS 1.0. Valid values
|
|
110
|
+
* The minimum TLS protocol version. This parameter is optional for Dedicated with HTTPS. If not specified, the default value is TLS 1.0. Valid values range from TLS 1.0 to TLS 1.3, compatible with TLSv1.x. This parameter is not allowed for Serverless.
|
|
122
111
|
*
|
|
123
112
|
* @example
|
|
124
113
|
* TLS1.0
|
|
125
114
|
*/
|
|
126
115
|
tlsMin?: string;
|
|
116
|
+
/**
|
|
117
|
+
* @remarks
|
|
118
|
+
* The idempotency token generated by the caller as a globally unique value (UUID recommended). The value must be up to 64 characters in length. Within approximately 24 hours after the first successful request, a duplicate request with the same ClientToken and identical request parameters directly returns the domainId created by the first request without creating a duplicate domain name. If the same ClientToken is used with different request parameters, an IdempotentParameterMismatch error is returned. If the first request is still being processed, an IdempotentProcessing error is returned. If this parameter is not specified, idempotency control is not enabled, and the behavior is consistent with the existing version.
|
|
119
|
+
*
|
|
120
|
+
* @example
|
|
121
|
+
* 5f7a2c1e-9b3d-4e8f-a1c6-0d2b8e4f7a13
|
|
122
|
+
*/
|
|
123
|
+
clientToken?: string;
|
|
124
|
+
/**
|
|
125
|
+
* @remarks
|
|
126
|
+
* Specifies whether to perform only a dry run. If set to true, all synchronous validations consistent with actual creation are performed (including idempotency checks for existing test domain names), but no domain name is created and no side effects are produced. If not specified or set to false, the behavior is consistent with the existing version.
|
|
127
|
+
*/
|
|
128
|
+
dryRun?: boolean;
|
|
127
129
|
static names(): {
|
|
128
130
|
[key: string]: string;
|
|
129
131
|
};
|
|
@@ -54,6 +54,8 @@ class CreateDomainRequest extends $dara.Model {
|
|
|
54
54
|
tlsCipherSuitesConfig: 'tlsCipherSuitesConfig',
|
|
55
55
|
tlsMax: 'tlsMax',
|
|
56
56
|
tlsMin: 'tlsMin',
|
|
57
|
+
clientToken: 'clientToken',
|
|
58
|
+
dryRun: 'dryRun',
|
|
57
59
|
};
|
|
58
60
|
}
|
|
59
61
|
static types() {
|
|
@@ -72,6 +74,8 @@ class CreateDomainRequest extends $dara.Model {
|
|
|
72
74
|
tlsCipherSuitesConfig: TlsCipherSuitesConfig_1.TlsCipherSuitesConfig,
|
|
73
75
|
tlsMax: 'string',
|
|
74
76
|
tlsMin: 'string',
|
|
77
|
+
clientToken: 'string',
|
|
78
|
+
dryRun: 'boolean',
|
|
75
79
|
};
|
|
76
80
|
}
|
|
77
81
|
validate() {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateDomainRequest.js","sourceRoot":"","sources":["../../src/models/CreateDomainRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,mEAAgE;AAGhE,MAAa,mBAAoB,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"CreateDomainRequest.js","sourceRoot":"","sources":["../../src/models/CreateDomainRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,mEAAgE;AAGhE,MAAa,mBAAoB,SAAQ,KAAK,CAAC,KAAK;IA8HlD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,gBAAgB,EAAE,kBAAkB;YACpC,cAAc,EAAE,gBAAgB;YAChC,YAAY,EAAE,cAAc;YAC5B,WAAW,EAAE,aAAa;YAC1B,UAAU,EAAE,YAAY;YACxB,WAAW,EAAE,aAAa;YAC1B,WAAW,EAAE,aAAa;YAC1B,WAAW,EAAE,aAAa;YAC1B,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,UAAU;YACpB,eAAe,EAAE,iBAAiB;YAClC,qBAAqB,EAAE,uBAAuB;YAC9C,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,aAAa;YAC1B,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,gBAAgB,EAAE,QAAQ;YAC1B,cAAc,EAAE,QAAQ;YACxB,YAAY,EAAE,QAAQ;YACtB,WAAW,EAAE,QAAQ;YACrB,UAAU,EAAE,SAAS;YACrB,WAAW,EAAE,QAAQ;YACrB,WAAW,EAAE,QAAQ;YACrB,WAAW,EAAE,SAAS;YACtB,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,QAAQ;YAClB,eAAe,EAAE,QAAQ;YACzB,qBAAqB,EAAE,6CAAqB;YAC5C,MAAM,EAAE,QAAQ;YAChB,MAAM,EAAE,QAAQ;YAChB,WAAW,EAAE,QAAQ;YACrB,MAAM,EAAE,SAAS;SAClB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,qBAAqB,IAAI,OAAQ,IAAI,CAAC,qBAA6B,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACnG,IAAI,CAAC,qBAA6B,CAAC,QAAQ,EAAE,CAAC;QACjD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAlLD,kDAkLC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreateGatewayRequestLogConfigSls extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* Specifies whether to enable
|
|
5
|
+
* Specifies whether to enable log collection.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* false
|
|
@@ -22,7 +22,7 @@ export declare class CreateGatewayRequestLogConfigSls extends $dara.Model {
|
|
|
22
22
|
export declare class CreateGatewayRequestLogConfig extends $dara.Model {
|
|
23
23
|
/**
|
|
24
24
|
* @remarks
|
|
25
|
-
* The Simple Log Service (SLS) configuration
|
|
25
|
+
* The Simple Log Service (SLS) configuration that controls gateway log collection.
|
|
26
26
|
*/
|
|
27
27
|
sls?: CreateGatewayRequestLogConfigSls;
|
|
28
28
|
static names(): {
|
|
@@ -148,7 +148,7 @@ export declare class CreateGatewayRequestZoneConfig extends $dara.Model {
|
|
|
148
148
|
export declare class CreateGatewayRequest extends $dara.Model {
|
|
149
149
|
/**
|
|
150
150
|
* @remarks
|
|
151
|
-
* The billing method.
|
|
151
|
+
* The billing method. Required for the Serverless edition and must be set to POSTPAY.
|
|
152
152
|
*
|
|
153
153
|
* @example
|
|
154
154
|
* POSTPAY
|
|
@@ -170,10 +170,17 @@ export declare class CreateGatewayRequest extends $dara.Model {
|
|
|
170
170
|
* Professional
|
|
171
171
|
*/
|
|
172
172
|
gatewayEdition?: string;
|
|
173
|
+
/**
|
|
174
|
+
* @remarks
|
|
175
|
+
* The running mode for AI multi-tenant V2. Default value: ENTERPRISE. Only allowed when the gateway type is AI and the edition is MultiTenantServerless.
|
|
176
|
+
*
|
|
177
|
+
* @example
|
|
178
|
+
* ENTERPRISE
|
|
179
|
+
*/
|
|
173
180
|
gatewayMode?: string;
|
|
174
181
|
/**
|
|
175
182
|
* @remarks
|
|
176
|
-
* The gateway type.
|
|
183
|
+
* The gateway type. Must be explicitly set to AI for AI Serverless or multi-tenant editions.
|
|
177
184
|
*
|
|
178
185
|
* @example
|
|
179
186
|
* API
|
|
@@ -186,7 +193,7 @@ export declare class CreateGatewayRequest extends $dara.Model {
|
|
|
186
193
|
logConfig?: CreateGatewayRequestLogConfig;
|
|
187
194
|
/**
|
|
188
195
|
* @remarks
|
|
189
|
-
* The gateway name.
|
|
196
|
+
* The gateway name. Required for all editions.
|
|
190
197
|
*
|
|
191
198
|
* @example
|
|
192
199
|
* test-ceshi
|
|
@@ -207,7 +214,7 @@ export declare class CreateGatewayRequest extends $dara.Model {
|
|
|
207
214
|
resourceGroupId?: string;
|
|
208
215
|
/**
|
|
209
216
|
* @remarks
|
|
210
|
-
* The node specifications.
|
|
217
|
+
* The node specifications. Required for the Serverless edition.
|
|
211
218
|
*
|
|
212
219
|
* @example
|
|
213
220
|
* apigw.dev.x2
|
|
@@ -220,7 +227,7 @@ export declare class CreateGatewayRequest extends $dara.Model {
|
|
|
220
227
|
tag?: CreateGatewayRequestTag[];
|
|
221
228
|
/**
|
|
222
229
|
* @remarks
|
|
223
|
-
* The VPC ID.
|
|
230
|
+
* The VPC ID. Required for all editions.
|
|
224
231
|
*
|
|
225
232
|
* @example
|
|
226
233
|
* vpc-zm0x16tomfiat1mk9f6rs
|
|
@@ -228,7 +235,7 @@ export declare class CreateGatewayRequest extends $dara.Model {
|
|
|
228
235
|
vpcId?: string;
|
|
229
236
|
/**
|
|
230
237
|
* @remarks
|
|
231
|
-
* The zone configuration.
|
|
238
|
+
* The zone configuration. Required for all editions.
|
|
232
239
|
*/
|
|
233
240
|
zoneConfig?: CreateGatewayRequestZoneConfig;
|
|
234
241
|
static names(): {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateGatewayRequest.js","sourceRoot":"","sources":["../../src/models/CreateGatewayRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,gCAAiC,SAAQ,KAAK,CAAC,KAAK;IAS/D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,SAAS;SAClB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5BD,4EA4BC;AAED,MAA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CAAC;YAC3E,IAAI,CAAC,SAAiB,CAAC,QAAQ,EAAE,CAAC;QACrC,CAAC;QACD,IAAG,IAAI,CAAC,mBAAmB,IAAI,OAAQ,IAAI,CAAC,mBAA2B,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YAC/F,IAAI,CAAC,mBAA2B,CAAC,QAAQ,EAAE,CAAC;QAC/C,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC;YAC3B,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC;QACtC,CAAC;QACD,IAAG,IAAI,CAAC,UAAU,IAAI,OAAQ,IAAI,CAAC,UAAkB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YAC7E,IAAI,CAAC,UAAkB,CAAC,QAAQ,EAAE,CAAC;QACtC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAlJD,oDAkJC"}
|
|
@@ -3,6 +3,14 @@ import { HttpApiDeployConfig } from "./HttpApiDeployConfig";
|
|
|
3
3
|
import { HttpRouteMatch } from "./HttpRouteMatch";
|
|
4
4
|
import { HttpApiPolicyConfigs } from "./HttpApiPolicyConfigs";
|
|
5
5
|
export declare class CreateHttpApiRouteRequestBackendConfigServices extends $dara.Model {
|
|
6
|
+
/**
|
|
7
|
+
* @remarks
|
|
8
|
+
* 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 not specified in the AiAutoRouter scenario, the default model of the AI service is used.
|
|
9
|
+
*
|
|
10
|
+
* @example
|
|
11
|
+
* qwen-plus
|
|
12
|
+
*/
|
|
13
|
+
modelName?: string;
|
|
6
14
|
/**
|
|
7
15
|
* @remarks
|
|
8
16
|
* The service port. Do not specify this parameter for dynamic ports.
|
|
@@ -14,8 +22,8 @@ export declare class CreateHttpApiRouteRequestBackendConfigServices extends $dar
|
|
|
14
22
|
/**
|
|
15
23
|
* @remarks
|
|
16
24
|
* The service protocol. Valid values:
|
|
17
|
-
* - HTTP
|
|
18
|
-
* - HTTPS
|
|
25
|
+
* - HTTP
|
|
26
|
+
* - HTTPS
|
|
19
27
|
*
|
|
20
28
|
* @example
|
|
21
29
|
* HTTP
|
|
@@ -31,7 +39,7 @@ export declare class CreateHttpApiRouteRequestBackendConfigServices extends $dar
|
|
|
31
39
|
serviceId?: string;
|
|
32
40
|
/**
|
|
33
41
|
* @remarks
|
|
34
|
-
* The service version. This parameter is valid only in the tag
|
|
42
|
+
* The service version. This parameter is valid only in the by-tag scenario.
|
|
35
43
|
*
|
|
36
44
|
* @example
|
|
37
45
|
* v1
|
|
@@ -60,10 +68,10 @@ export declare class CreateHttpApiRouteRequestBackendConfig extends $dara.Model
|
|
|
60
68
|
/**
|
|
61
69
|
* @remarks
|
|
62
70
|
* The backend service scenario. Valid values:
|
|
63
|
-
* - SingleService:
|
|
64
|
-
* - MultiServiceByRatio:
|
|
65
|
-
* - Mock:
|
|
66
|
-
* - Redirect:
|
|
71
|
+
* - SingleService: Single service.
|
|
72
|
+
* - MultiServiceByRatio: Multiple services with ratio-based canary release.
|
|
73
|
+
* - Mock: Mock service.
|
|
74
|
+
* - Redirect: Redirect service.
|
|
67
75
|
*
|
|
68
76
|
* @example
|
|
69
77
|
* SingleService
|
|
@@ -105,9 +113,9 @@ export declare class CreateHttpApiRouteRequestMcpRouteConfig extends $dara.Model
|
|
|
105
113
|
/**
|
|
106
114
|
* @remarks
|
|
107
115
|
* The service protocol. Valid values:
|
|
108
|
-
* - TCP
|
|
109
|
-
* - HTTP
|
|
110
|
-
* - DUBBO
|
|
116
|
+
* - TCP
|
|
117
|
+
* - HTTP
|
|
118
|
+
* - DUBBO
|
|
111
119
|
*
|
|
112
120
|
* @example
|
|
113
121
|
* HTTP,HTTPS
|
|
@@ -133,6 +141,8 @@ export declare class CreateHttpApiRouteRequest extends $dara.Model {
|
|
|
133
141
|
/**
|
|
134
142
|
* @remarks
|
|
135
143
|
* The API deployment configurations.
|
|
144
|
+
*
|
|
145
|
+
* @deprecated
|
|
136
146
|
*/
|
|
137
147
|
deployConfigs?: HttpApiDeployConfig[];
|
|
138
148
|
/**
|
|
@@ -140,7 +150,7 @@ export declare class CreateHttpApiRouteRequest extends $dara.Model {
|
|
|
140
150
|
* The route description.
|
|
141
151
|
*
|
|
142
152
|
* @example
|
|
143
|
-
*
|
|
153
|
+
* User login route
|
|
144
154
|
*/
|
|
145
155
|
description?: string;
|
|
146
156
|
/**
|
|
@@ -158,7 +168,7 @@ export declare class CreateHttpApiRouteRequest extends $dara.Model {
|
|
|
158
168
|
environmentId?: string;
|
|
159
169
|
/**
|
|
160
170
|
* @remarks
|
|
161
|
-
* The route match
|
|
171
|
+
* The route match rules.
|
|
162
172
|
*/
|
|
163
173
|
match?: HttpRouteMatch;
|
|
164
174
|
/**
|
|
@@ -42,6 +42,7 @@ const HttpApiPolicyConfigs_1 = require("./HttpApiPolicyConfigs");
|
|
|
42
42
|
class CreateHttpApiRouteRequestBackendConfigServices extends $dara.Model {
|
|
43
43
|
static names() {
|
|
44
44
|
return {
|
|
45
|
+
modelName: 'modelName',
|
|
45
46
|
port: 'port',
|
|
46
47
|
protocol: 'protocol',
|
|
47
48
|
serviceId: 'serviceId',
|
|
@@ -51,6 +52,7 @@ class CreateHttpApiRouteRequestBackendConfigServices extends $dara.Model {
|
|
|
51
52
|
}
|
|
52
53
|
static types() {
|
|
53
54
|
return {
|
|
55
|
+
modelName: 'string',
|
|
54
56
|
port: 'number',
|
|
55
57
|
protocol: 'string',
|
|
56
58
|
serviceId: 'string',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"CreateHttpApiRouteRequest.js","sourceRoot":"","sources":["../../src/models/CreateHttpApiRouteRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;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AAC;YACrC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAChD,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA9GD,8DA8GC"}
|
|
@@ -54,7 +54,7 @@ export declare class CreateMcpServerRequestBackendConfigServices extends $dara.M
|
|
|
54
54
|
protocol?: string;
|
|
55
55
|
/**
|
|
56
56
|
* @remarks
|
|
57
|
-
* The service ID.
|
|
57
|
+
* The service ID. The serviceId is the ID of a backend service registered under the gateway. You can call the ListServices operation (with gatewayId specified) to query available service IDs.
|
|
58
58
|
*
|
|
59
59
|
* @example
|
|
60
60
|
* svc-crbgq0dlhtgr***
|
|
@@ -197,7 +197,7 @@ export declare class CreateMcpServerRequestGrayMcpServerConfigs extends $dara.Mo
|
|
|
197
197
|
backendConfig?: CreateMcpServerRequestGrayMcpServerConfigsBackendConfig;
|
|
198
198
|
/**
|
|
199
199
|
* @remarks
|
|
200
|
-
* The route
|
|
200
|
+
* The route matching rule.
|
|
201
201
|
*/
|
|
202
202
|
match?: HttpRouteMatch;
|
|
203
203
|
/**
|
|
@@ -255,18 +255,18 @@ export declare class CreateMcpServerRequest extends $dara.Model {
|
|
|
255
255
|
assembledSources?: CreateMcpServerRequestAssembledSources[];
|
|
256
256
|
/**
|
|
257
257
|
* @remarks
|
|
258
|
-
* The backend service configuration
|
|
258
|
+
* The backend service configuration for the route. This parameter is required. You must provide the backend service configuration (including scene and services). If this parameter is omitted, the API returns InvalidParameter.WithValue(400).
|
|
259
259
|
*/
|
|
260
260
|
backendConfig?: CreateMcpServerRequestBackendConfig;
|
|
261
261
|
/**
|
|
262
262
|
* @remarks
|
|
263
263
|
* The creation source type. Valid values:
|
|
264
264
|
*
|
|
265
|
-
* - ApiGatewayHttpToMCP: gateway-managed HTTP-to-MCP conversion
|
|
266
|
-
* - ApiGatewayProxyMcpHosting: gateway-managed direct
|
|
267
|
-
* - ApiGatewayAssembly: gateway MCP assembly
|
|
268
|
-
* - NacosHttpToMCP: gateway-managed Nacos-synced HTTP-to-MCP conversion
|
|
269
|
-
* - NacosMcpHosting: gateway-managed Nacos-synced direct
|
|
265
|
+
* - ApiGatewayHttpToMCP: gateway-managed HTTP-to-MCP conversion.
|
|
266
|
+
* - ApiGatewayProxyMcpHosting: gateway-managed MCP direct proxy.
|
|
267
|
+
* - ApiGatewayAssembly: gateway MCP assembly.
|
|
268
|
+
* - NacosHttpToMCP: gateway-managed Nacos-synced HTTP-to-MCP conversion.
|
|
269
|
+
* - NacosMcpHosting: gateway-managed Nacos-synced MCP direct proxy.
|
|
270
270
|
*
|
|
271
271
|
* @example
|
|
272
272
|
* ApiGatewayMcpHosting
|
|
@@ -310,7 +310,7 @@ export declare class CreateMcpServerRequest extends $dara.Model {
|
|
|
310
310
|
grayMcpServerConfigs?: CreateMcpServerRequestGrayMcpServerConfigs[];
|
|
311
311
|
/**
|
|
312
312
|
* @remarks
|
|
313
|
-
* The route match rule.
|
|
313
|
+
* The route match rule. When type is set to RealMCP, the match parameter is required and you must provide a route matching rule.
|
|
314
314
|
*/
|
|
315
315
|
match?: HttpRouteMatch;
|
|
316
316
|
/**
|
|
@@ -338,7 +338,7 @@ export declare class CreateMcpServerRequest extends $dara.Model {
|
|
|
338
338
|
name?: string;
|
|
339
339
|
/**
|
|
340
340
|
* @remarks
|
|
341
|
-
* The protocol type.
|
|
341
|
+
* The protocol type. This parameter is required. You must explicitly specify the protocol type (HTTP/HTTPS/SSE/StreamableHTTP). If this parameter is omitted, the API returns InvalidParameter.WithValue(400).
|
|
342
342
|
*
|
|
343
343
|
* @example
|
|
344
344
|
* HTTP
|
|
@@ -348,7 +348,7 @@ export declare class CreateMcpServerRequest extends $dara.Model {
|
|
|
348
348
|
* @remarks
|
|
349
349
|
* The type. Valid values:
|
|
350
350
|
*
|
|
351
|
-
* - RealMCP: standard MCP service
|
|
351
|
+
* - RealMCP: standard MCP service.
|
|
352
352
|
*
|
|
353
353
|
* This parameter is required.
|
|
354
354
|
*
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class CreatePluginClassRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The alias of the plugin.
|
|
5
|
+
* The alias of the plugin class. This parameter is required. If this parameter is not specified, the service returns InvalidParameter.WithValue.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* My Wasm Plugin
|
|
@@ -20,7 +20,7 @@ export declare class CreatePluginClassRequest extends $dara.Model {
|
|
|
20
20
|
description?: string;
|
|
21
21
|
/**
|
|
22
22
|
* @remarks
|
|
23
|
-
* The execution priority of the plugin.
|
|
23
|
+
* The execution priority of the plugin. This parameter is required when executeStage is specified. The default value 0 is invalid. Set this parameter to 200.
|
|
24
24
|
*
|
|
25
25
|
* @example
|
|
26
26
|
* 100
|
|
@@ -48,7 +48,7 @@ export declare class CreatePluginClassRequest extends $dara.Model {
|
|
|
48
48
|
name?: string;
|
|
49
49
|
/**
|
|
50
50
|
* @remarks
|
|
51
|
-
* The minimum gateway version
|
|
51
|
+
* The minimum gateway version supported by the plugin.
|
|
52
52
|
*
|
|
53
53
|
* @example
|
|
54
54
|
* 2.0.0
|
|
@@ -76,7 +76,7 @@ export declare class CreatePluginClassRequest extends $dara.Model {
|
|
|
76
76
|
versionDescription?: string;
|
|
77
77
|
/**
|
|
78
78
|
* @remarks
|
|
79
|
-
* The
|
|
79
|
+
* The development language of the WASM plugin. Valid values: TinyGo.
|
|
80
80
|
*
|
|
81
81
|
* This parameter is required.
|
|
82
82
|
*
|
|
@@ -26,12 +26,12 @@ export declare class CreateServiceRequestServiceConfigs extends $dara.Model {
|
|
|
26
26
|
addresses?: string[];
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* The Agent service configuration.
|
|
29
|
+
* The Agent service configuration. Required when sourceType is AGENT.
|
|
30
30
|
*/
|
|
31
31
|
agentServiceConfig?: AgentServiceConfig;
|
|
32
32
|
/**
|
|
33
33
|
* @remarks
|
|
34
|
-
* The AI service configuration.
|
|
34
|
+
* The AI service configuration. Required when sourceType is AI.
|
|
35
35
|
*/
|
|
36
36
|
aiServiceConfig?: AiServiceConfig;
|
|
37
37
|
/**
|
|
@@ -49,7 +49,7 @@ export declare class CreateServiceRequestServiceConfigs extends $dara.Model {
|
|
|
49
49
|
expressType?: string;
|
|
50
50
|
/**
|
|
51
51
|
* @remarks
|
|
52
|
-
* The service group name.
|
|
52
|
+
* The service group name. Required when sourceType is MSE_NACOS.
|
|
53
53
|
*
|
|
54
54
|
* @example
|
|
55
55
|
* DEFAULT_GROUP
|
|
@@ -65,7 +65,7 @@ export declare class CreateServiceRequestServiceConfigs extends $dara.Model {
|
|
|
65
65
|
modelProviderId?: string;
|
|
66
66
|
/**
|
|
67
67
|
* @remarks
|
|
68
|
-
* The service name.
|
|
68
|
+
* The service name. Required when sourceType is FC3.
|
|
69
69
|
*
|
|
70
70
|
* @example
|
|
71
71
|
* user-service
|
|
@@ -73,12 +73,12 @@ export declare class CreateServiceRequestServiceConfigs extends $dara.Model {
|
|
|
73
73
|
name?: string;
|
|
74
74
|
/**
|
|
75
75
|
* @remarks
|
|
76
|
-
* The namespace of the service
|
|
76
|
+
* The namespace of the service:
|
|
77
77
|
*
|
|
78
|
-
* - If sourceType is
|
|
79
|
-
* - If sourceType is
|
|
78
|
+
* - If sourceType is K8S, this indicates the namespace of the Kubernetes service.
|
|
79
|
+
* - If sourceType is MSE_NACOS, this indicates the namespace in Nacos.
|
|
80
80
|
*
|
|
81
|
-
*
|
|
81
|
+
* Required when sourceType is K8S or MSE_NACOS.
|
|
82
82
|
*
|
|
83
83
|
* @example
|
|
84
84
|
* PUBLIC
|
|
@@ -94,7 +94,7 @@ export declare class CreateServiceRequestServiceConfigs extends $dara.Model {
|
|
|
94
94
|
qualifier?: string;
|
|
95
95
|
/**
|
|
96
96
|
* @remarks
|
|
97
|
-
* The service source ID.
|
|
97
|
+
* The service source ID. Required in multi-Nacos instance scenarios.
|
|
98
98
|
*
|
|
99
99
|
* @example
|
|
100
100
|
* nacos-instance-001
|
|
@@ -140,7 +140,7 @@ export declare class CreateServiceRequest extends $dara.Model {
|
|
|
140
140
|
serviceConfigs?: CreateServiceRequestServiceConfigs[];
|
|
141
141
|
/**
|
|
142
142
|
* @remarks
|
|
143
|
-
* The service source
|
|
143
|
+
* The service source. Valid values:
|
|
144
144
|
* - MSE_NACOS: a service in MSE Nacos.
|
|
145
145
|
* - K8S: a service in a Kubernetes cluster of Container Service.
|
|
146
146
|
* - VIP: a fixed address service.
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class DeleteHttpApiRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* Specifies whether to perform only a dry run. If set to true, all synchronous validations identical to an actual deletion are executed (including admission checks such as whether a published API cannot be deleted), but the API is not deleted, no associated configurations are cleaned up, and no side effects are produced. If this parameter is not specified or is set to false, the behavior is the same as the existing version.
|
|
6
|
+
*/
|
|
7
|
+
dryRun?: boolean;
|
|
8
|
+
static names(): {
|
|
9
|
+
[key: string]: string;
|
|
10
|
+
};
|
|
11
|
+
static types(): {
|
|
12
|
+
[key: string]: any;
|
|
13
|
+
};
|
|
14
|
+
validate(): void;
|
|
15
|
+
constructor(map?: {
|
|
16
|
+
[key: string]: any;
|
|
17
|
+
});
|
|
18
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.DeleteHttpApiRequest = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class DeleteHttpApiRequest extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
dryRun: 'dryRun',
|
|
43
|
+
};
|
|
44
|
+
}
|
|
45
|
+
static types() {
|
|
46
|
+
return {
|
|
47
|
+
dryRun: 'boolean',
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
validate() {
|
|
51
|
+
super.validate();
|
|
52
|
+
}
|
|
53
|
+
constructor(map) {
|
|
54
|
+
super(map);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
exports.DeleteHttpApiRequest = DeleteHttpApiRequest;
|
|
58
|
+
//# sourceMappingURL=DeleteHttpApiRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DeleteHttpApiRequest.js","sourceRoot":"","sources":["../../src/models/DeleteHttpApiRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,oBAAqB,SAAQ,KAAK,CAAC,KAAK;IAMnD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,QAAQ;SACjB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,MAAM,EAAE,SAAS;SAClB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAzBD,oDAyBC"}
|