@alicloud/apig20240327 11.3.4 → 11.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/client.d.ts +34 -8
- package/dist/client.js +56 -8
- package/dist/client.js.map +1 -1
- package/dist/models/CreateMigrationTaskRequest.d.ts +2 -0
- package/dist/models/CreateMigrationTaskRequest.js.map +1 -1
- package/dist/models/GetDashboardRequest.d.ts +10 -6
- package/dist/models/GetDashboardRequest.js.map +1 -1
- package/dist/models/GetDashboardResponseBody.d.ts +2 -2
- package/dist/models/GetDashboardShrinkRequest.d.ts +10 -6
- package/dist/models/GetDashboardShrinkRequest.js.map +1 -1
- package/dist/models/GetGatewayQuotaRuleSubjectUsageRequest.d.ts +3 -3
- package/dist/models/GetGatewayQuotaRuleSubjectUsageResponseBody.d.ts +9 -9
- package/dist/models/GetGatewayResourceQuotaUsageRequest.d.ts +13 -0
- package/dist/models/GetGatewayResourceQuotaUsageRequest.js +54 -0
- package/dist/models/GetGatewayResourceQuotaUsageRequest.js.map +1 -0
- package/dist/models/GetGatewayResourceQuotaUsageResponse.d.ts +19 -0
- package/dist/models/GetGatewayResourceQuotaUsageResponse.js +69 -0
- package/dist/models/GetGatewayResourceQuotaUsageResponse.js.map +1 -0
- package/dist/models/GetGatewayResourceQuotaUsageResponseBody.d.ts +141 -0
- package/dist/models/GetGatewayResourceQuotaUsageResponseBody.js +122 -0
- package/dist/models/GetGatewayResourceQuotaUsageResponseBody.js.map +1 -0
- package/dist/models/UpdateConsumerAuthorizationRuleResponseBody.d.ts +1 -1
- package/dist/models/UpdateGatewayQuotaRuleRequest.d.ts +7 -7
- package/dist/models/UpdateGatewayQuotaRuleResponseBody.d.ts +13 -13
- package/dist/models/UpdateHttpApiRequest.d.ts +10 -2
- package/dist/models/UpdateHttpApiRequest.js +2 -0
- package/dist/models/UpdateHttpApiRequest.js.map +1 -1
- package/dist/models/model.d.ts +5 -0
- package/dist/models/model.js +28 -18
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +59 -8
- package/src/models/CreateMigrationTaskRequest.ts +2 -0
- package/src/models/GetDashboardRequest.ts +10 -6
- package/src/models/GetDashboardResponseBody.ts +2 -2
- package/src/models/GetDashboardShrinkRequest.ts +10 -6
- package/src/models/GetGatewayQuotaRuleSubjectUsageRequest.ts +3 -3
- package/src/models/GetGatewayQuotaRuleSubjectUsageResponseBody.ts +9 -9
- package/src/models/GetGatewayResourceQuotaUsageRequest.ts +24 -0
- package/src/models/GetGatewayResourceQuotaUsageResponse.ts +40 -0
- package/src/models/GetGatewayResourceQuotaUsageResponseBody.ts +200 -0
- package/src/models/UpdateConsumerAuthorizationRuleResponseBody.ts +1 -1
- package/src/models/UpdateGatewayQuotaRuleRequest.ts +7 -7
- package/src/models/UpdateGatewayQuotaRuleResponseBody.ts +13 -13
- package/src/models/UpdateHttpApiRequest.ts +12 -2
- package/src/models/model.ts +5 -0
|
@@ -0,0 +1,122 @@
|
|
|
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.GetGatewayResourceQuotaUsageResponseBody = exports.GetGatewayResourceQuotaUsageResponseBodyData = exports.GetGatewayResourceQuotaUsageResponseBodyDataItems = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class GetGatewayResourceQuotaUsageResponseBodyDataItems extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
applicable: 'applicable',
|
|
43
|
+
limit: 'limit',
|
|
44
|
+
limitScope: 'limitScope',
|
|
45
|
+
quotaKey: 'quotaKey',
|
|
46
|
+
used: 'used',
|
|
47
|
+
usedScope: 'usedScope',
|
|
48
|
+
};
|
|
49
|
+
}
|
|
50
|
+
static types() {
|
|
51
|
+
return {
|
|
52
|
+
applicable: 'boolean',
|
|
53
|
+
limit: 'number',
|
|
54
|
+
limitScope: 'string',
|
|
55
|
+
quotaKey: 'string',
|
|
56
|
+
used: 'number',
|
|
57
|
+
usedScope: 'string',
|
|
58
|
+
};
|
|
59
|
+
}
|
|
60
|
+
validate() {
|
|
61
|
+
super.validate();
|
|
62
|
+
}
|
|
63
|
+
constructor(map) {
|
|
64
|
+
super(map);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
exports.GetGatewayResourceQuotaUsageResponseBodyDataItems = GetGatewayResourceQuotaUsageResponseBodyDataItems;
|
|
68
|
+
class GetGatewayResourceQuotaUsageResponseBodyData extends $dara.Model {
|
|
69
|
+
static names() {
|
|
70
|
+
return {
|
|
71
|
+
gatewayId: 'gatewayId',
|
|
72
|
+
items: 'items',
|
|
73
|
+
observedAt: 'observedAt',
|
|
74
|
+
};
|
|
75
|
+
}
|
|
76
|
+
static types() {
|
|
77
|
+
return {
|
|
78
|
+
gatewayId: 'string',
|
|
79
|
+
items: { 'type': 'array', 'itemType': GetGatewayResourceQuotaUsageResponseBodyDataItems },
|
|
80
|
+
observedAt: 'string',
|
|
81
|
+
};
|
|
82
|
+
}
|
|
83
|
+
validate() {
|
|
84
|
+
if (Array.isArray(this.items)) {
|
|
85
|
+
$dara.Model.validateArray(this.items);
|
|
86
|
+
}
|
|
87
|
+
super.validate();
|
|
88
|
+
}
|
|
89
|
+
constructor(map) {
|
|
90
|
+
super(map);
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
exports.GetGatewayResourceQuotaUsageResponseBodyData = GetGatewayResourceQuotaUsageResponseBodyData;
|
|
94
|
+
class GetGatewayResourceQuotaUsageResponseBody extends $dara.Model {
|
|
95
|
+
static names() {
|
|
96
|
+
return {
|
|
97
|
+
code: 'code',
|
|
98
|
+
data: 'data',
|
|
99
|
+
message: 'message',
|
|
100
|
+
requestId: 'requestId',
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
static types() {
|
|
104
|
+
return {
|
|
105
|
+
code: 'string',
|
|
106
|
+
data: GetGatewayResourceQuotaUsageResponseBodyData,
|
|
107
|
+
message: 'string',
|
|
108
|
+
requestId: 'string',
|
|
109
|
+
};
|
|
110
|
+
}
|
|
111
|
+
validate() {
|
|
112
|
+
if (this.data && typeof this.data.validate === 'function') {
|
|
113
|
+
this.data.validate();
|
|
114
|
+
}
|
|
115
|
+
super.validate();
|
|
116
|
+
}
|
|
117
|
+
constructor(map) {
|
|
118
|
+
super(map);
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
exports.GetGatewayResourceQuotaUsageResponseBody = GetGatewayResourceQuotaUsageResponseBody;
|
|
122
|
+
//# sourceMappingURL=GetGatewayResourceQuotaUsageResponseBody.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"GetGatewayResourceQuotaUsageResponseBody.js","sourceRoot":"","sources":["../../src/models/GetGatewayResourceQuotaUsageResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,iDAAkD,SAAQ,KAAK,CAAC,KAAK;IAiDhF,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,YAAY;YACxB,KAAK,EAAE,OAAO;YACd,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,IAAI,EAAE,MAAM;YACZ,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,SAAS;YACrB,KAAK,EAAE,QAAQ;YACf,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,IAAI,EAAE,QAAQ;YACd,SAAS,EAAE,QAAQ;SACpB,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;AA9ED,8GA8EC;AAED,MAAa,4CAA6C,SAAQ,KAAK,CAAC,KAAK;IAyB3E,MAAM,CAAC,KAAK;QACV,OAAO;YACL,SAAS,EAAE,WAAW;YACtB,KAAK,EAAE,OAAO;YACd,UAAU,EAAE,YAAY;SACzB,CAAC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ateGatewayQuotaRuleRequest extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The list of consumer
|
|
5
|
+
* The list of consumer subject IDs to bind.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* cs-001,cs-002
|
|
@@ -10,11 +10,11 @@ export declare class UpdateGatewayQuotaRuleRequest extends $dara.Model {
|
|
|
10
10
|
addIds?: string[];
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The conflict snapshot hash, used to prevent concurrent dirty overwrites when confirming an overwrite. Obtain this value from the response of a
|
|
13
|
+
* The conflict snapshot hash, used to prevent concurrent dirty overwrites when confirming an overwrite. Obtain this value from the response of a dry run request with dryRun set to true.
|
|
14
14
|
*
|
|
15
15
|
* This parameter is not required in the following cases: no conflicts exist, the request is a dry run (dryRun=true), or overwrite is set to false.
|
|
16
16
|
*
|
|
17
|
-
*
|
|
17
|
+
* If dryRun is set to false and overwrite is set to true but this parameter is missing or the value has expired, the backend returns accepted=false with a new conflict preview. Perform a new dry run to confirm the updated conflicts.
|
|
18
18
|
*
|
|
19
19
|
* @example
|
|
20
20
|
* f8f44dc6cf369a017d56b7197eb4fb5ac4bbb6b09a92b9b41999541f50xxxxxx
|
|
@@ -32,7 +32,7 @@ export declare class UpdateGatewayQuotaRuleRequest extends $dara.Model {
|
|
|
32
32
|
consumerGroupIds?: string[];
|
|
33
33
|
/**
|
|
34
34
|
* @remarks
|
|
35
|
-
* Specifies whether to perform a dry run
|
|
35
|
+
* Specifies whether to perform only a dry run without applying the actual configuration. A dry run checks whether conflicting rules exist on the bound API consumer. The same API consumer cannot have two natural period quotas with the same period. For example, you cannot add a calendar day quota rule to an API consumer that already has a calendar day quota rule.
|
|
36
36
|
*
|
|
37
37
|
* @example
|
|
38
38
|
* true
|
|
@@ -40,12 +40,12 @@ export declare class UpdateGatewayQuotaRuleRequest extends $dara.Model {
|
|
|
40
40
|
dryRun?: boolean;
|
|
41
41
|
/**
|
|
42
42
|
* @remarks
|
|
43
|
-
* Specifies whether to allow overwriting when conflicts exist. If overwriting is allowed, conflicting
|
|
43
|
+
* Specifies whether to allow overwriting when conflicts exist. If overwriting is allowed, conflicting subjects (consumers or consumer groups) are unbound from the old rule and bound to the new rule.
|
|
44
44
|
*/
|
|
45
45
|
overwrite?: boolean;
|
|
46
46
|
/**
|
|
47
47
|
* @remarks
|
|
48
|
-
* The updated total available quota.
|
|
48
|
+
* The updated total available quota per period.
|
|
49
49
|
*
|
|
50
50
|
* @example
|
|
51
51
|
* 1000
|
|
@@ -53,7 +53,7 @@ export declare class UpdateGatewayQuotaRuleRequest extends $dara.Model {
|
|
|
53
53
|
quotaLimit?: number;
|
|
54
54
|
/**
|
|
55
55
|
* @remarks
|
|
56
|
-
* The list of consumer
|
|
56
|
+
* The list of consumer subject IDs to unbind.
|
|
57
57
|
*
|
|
58
58
|
* @example
|
|
59
59
|
* cs003,cs-004
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class UpdateGatewayQuotaRuleResponseBodyDataConflictPreviewItems extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* The period type of the existing conflicting rule on the consumer
|
|
5
|
+
* The period type of the existing conflicting rule on the consumer subject. Valid values: day (daily), week (weekly), month (monthly).
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* week
|
|
@@ -10,7 +10,7 @@ export declare class UpdateGatewayQuotaRuleResponseBodyDataConflictPreviewItems
|
|
|
10
10
|
conflictPeriodType?: string;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The type of the existing conflicting rule on the consumer
|
|
13
|
+
* The type of the existing conflicting rule on the consumer subject. Valid values: calendar (calendar period) and epoch (custom period).
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* calendar
|
|
@@ -18,7 +18,7 @@ export declare class UpdateGatewayQuotaRuleResponseBodyDataConflictPreviewItems
|
|
|
18
18
|
conflictType?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The consumer ID.
|
|
21
|
+
* The consumer ID. Use subjectId instead.
|
|
22
22
|
*
|
|
23
23
|
* @example
|
|
24
24
|
* cs-d82n1g6m1hkm375xxxxx
|
|
@@ -26,7 +26,7 @@ export declare class UpdateGatewayQuotaRuleResponseBodyDataConflictPreviewItems
|
|
|
26
26
|
consumerId?: string;
|
|
27
27
|
/**
|
|
28
28
|
* @remarks
|
|
29
|
-
* The consumer name.
|
|
29
|
+
* The consumer name. Use subjectName instead.
|
|
30
30
|
*
|
|
31
31
|
* @example
|
|
32
32
|
* consumer-a
|
|
@@ -34,7 +34,7 @@ export declare class UpdateGatewayQuotaRuleResponseBodyDataConflictPreviewItems
|
|
|
34
34
|
consumerName?: string;
|
|
35
35
|
/**
|
|
36
36
|
* @remarks
|
|
37
|
-
* The ID of the conflicting
|
|
37
|
+
* The ID of the conflicting subject.
|
|
38
38
|
*
|
|
39
39
|
* @example
|
|
40
40
|
* cs-xxx
|
|
@@ -42,7 +42,7 @@ export declare class UpdateGatewayQuotaRuleResponseBodyDataConflictPreviewItems
|
|
|
42
42
|
subjectId?: string;
|
|
43
43
|
/**
|
|
44
44
|
* @remarks
|
|
45
|
-
* The name of the conflicting
|
|
45
|
+
* The name of the conflicting subject.
|
|
46
46
|
*
|
|
47
47
|
* @example
|
|
48
48
|
* consumer-a
|
|
@@ -50,7 +50,7 @@ export declare class UpdateGatewayQuotaRuleResponseBodyDataConflictPreviewItems
|
|
|
50
50
|
subjectName?: string;
|
|
51
51
|
/**
|
|
52
52
|
* @remarks
|
|
53
|
-
* The type of the conflicting
|
|
53
|
+
* The type of the conflicting subject. Valid values: consumer and consumer_group.
|
|
54
54
|
*
|
|
55
55
|
* @example
|
|
56
56
|
* consumer
|
|
@@ -70,7 +70,7 @@ export declare class UpdateGatewayQuotaRuleResponseBodyDataConflictPreviewItems
|
|
|
70
70
|
export declare class UpdateGatewayQuotaRuleResponseBodyDataConflictPreview extends $dara.Model {
|
|
71
71
|
/**
|
|
72
72
|
* @remarks
|
|
73
|
-
* The
|
|
73
|
+
* The conflict hash.
|
|
74
74
|
*
|
|
75
75
|
* @example
|
|
76
76
|
* f8f44dc6cf369a017d56b7197eb4fb5ac4bbb6b09a92b9b41999541f50xxxxxx
|
|
@@ -78,7 +78,7 @@ export declare class UpdateGatewayQuotaRuleResponseBodyDataConflictPreview exten
|
|
|
78
78
|
conflictHash?: string;
|
|
79
79
|
/**
|
|
80
80
|
* @remarks
|
|
81
|
-
* The list of conflicting
|
|
81
|
+
* The list of conflicting subjects (consumers or consumer groups).
|
|
82
82
|
*/
|
|
83
83
|
items?: UpdateGatewayQuotaRuleResponseBodyDataConflictPreviewItems[];
|
|
84
84
|
/**
|
|
@@ -103,7 +103,7 @@ export declare class UpdateGatewayQuotaRuleResponseBodyDataConflictPreview exten
|
|
|
103
103
|
export declare class UpdateGatewayQuotaRuleResponseBodyData extends $dara.Model {
|
|
104
104
|
/**
|
|
105
105
|
* @remarks
|
|
106
|
-
* Indicates whether the write request is accepted by the system. A value of false typically indicates a retryable scenario such as an unconfirmed conflict overwrite.
|
|
106
|
+
* Indicates whether the write request is accepted by the system. A value of false typically indicates a retryable scenario, such as an unconfirmed conflict overwrite.
|
|
107
107
|
*
|
|
108
108
|
* @example
|
|
109
109
|
* true
|
|
@@ -116,7 +116,7 @@ export declare class UpdateGatewayQuotaRuleResponseBodyData extends $dara.Model
|
|
|
116
116
|
conflictPreview?: UpdateGatewayQuotaRuleResponseBodyDataConflictPreview;
|
|
117
117
|
/**
|
|
118
118
|
* @remarks
|
|
119
|
-
* Indicates whether
|
|
119
|
+
* Indicates whether this is a dry run.
|
|
120
120
|
*
|
|
121
121
|
* @example
|
|
122
122
|
* true
|
|
@@ -152,7 +152,7 @@ export declare class UpdateGatewayQuotaRuleResponseBody extends $dara.Model {
|
|
|
152
152
|
code?: string;
|
|
153
153
|
/**
|
|
154
154
|
* @remarks
|
|
155
|
-
* The response data
|
|
155
|
+
* The response data.
|
|
156
156
|
*
|
|
157
157
|
* @example
|
|
158
158
|
* {\\"key\\": \\"value\\"}
|
|
@@ -160,7 +160,7 @@ export declare class UpdateGatewayQuotaRuleResponseBody extends $dara.Model {
|
|
|
160
160
|
data?: UpdateGatewayQuotaRuleResponseBodyData;
|
|
161
161
|
/**
|
|
162
162
|
* @remarks
|
|
163
|
-
* The message
|
|
163
|
+
* The response message.
|
|
164
164
|
*
|
|
165
165
|
* @example
|
|
166
166
|
* Hello, World!
|
|
@@ -116,7 +116,7 @@ export declare class UpdateHttpApiRequest extends $dara.Model {
|
|
|
116
116
|
ingressConfig?: UpdateHttpApiRequestIngressConfig;
|
|
117
117
|
/**
|
|
118
118
|
* @remarks
|
|
119
|
-
* Specifies whether to only modify the configuration. If set to true, only the configuration is modified without triggering
|
|
119
|
+
* Specifies whether to only modify the configuration. If this parameter is set to true, only the configuration is modified without triggering redeployment.
|
|
120
120
|
*
|
|
121
121
|
* @example
|
|
122
122
|
* true
|
|
@@ -142,7 +142,15 @@ export declare class UpdateHttpApiRequest extends $dara.Model {
|
|
|
142
142
|
versionConfig?: HttpApiVersionConfig;
|
|
143
143
|
/**
|
|
144
144
|
* @remarks
|
|
145
|
-
*
|
|
145
|
+
* The idempotent request identifier. If you call this operation for the same HTTP API with the same clientToken value and request parameters, the result of the first successful call is returned.
|
|
146
|
+
*
|
|
147
|
+
* @example
|
|
148
|
+
* update-http-api-client-token-001
|
|
149
|
+
*/
|
|
150
|
+
clientToken?: string;
|
|
151
|
+
/**
|
|
152
|
+
* @remarks
|
|
153
|
+
* Specifies whether to perform only a dry run. If this parameter is set to true, all synchronous validations identical to an actual update are performed, but no configurations are updated 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.
|
|
146
154
|
*/
|
|
147
155
|
dryRun?: boolean;
|
|
148
156
|
static names(): {
|
|
@@ -82,6 +82,7 @@ class UpdateHttpApiRequest extends $dara.Model {
|
|
|
82
82
|
protocols: 'protocols',
|
|
83
83
|
removeBasePathOnForward: 'removeBasePathOnForward',
|
|
84
84
|
versionConfig: 'versionConfig',
|
|
85
|
+
clientToken: 'clientToken',
|
|
85
86
|
dryRun: 'dryRun',
|
|
86
87
|
};
|
|
87
88
|
}
|
|
@@ -100,6 +101,7 @@ class UpdateHttpApiRequest extends $dara.Model {
|
|
|
100
101
|
protocols: { 'type': 'array', 'itemType': 'string' },
|
|
101
102
|
removeBasePathOnForward: 'boolean',
|
|
102
103
|
versionConfig: HttpApiVersionConfig_1.HttpApiVersionConfig,
|
|
104
|
+
clientToken: 'string',
|
|
103
105
|
dryRun: 'boolean',
|
|
104
106
|
};
|
|
105
107
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateHttpApiRequest.js","sourceRoot":"","sources":["../../src/models/UpdateHttpApiRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAC/C,6CAA0C;AAC1C,+DAA4D;AAC5D,iEAA8D;AAG9D,MAAa,iCAAkC,SAAQ,KAAK,CAAC,KAAK;IAyChE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,eAAe;YAC9B,YAAY,EAAE,cAAc;YAC5B,iBAAiB,EAAE,mBAAmB;YACtC,QAAQ,EAAE,UAAU;YACpB,cAAc,EAAE,gBAAgB;SACjC,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,aAAa,EAAE,QAAQ;YACvB,YAAY,EAAE,QAAQ;YACtB,iBAAiB,EAAE,SAAS;YAC5B,QAAQ,EAAE,QAAQ;YAClB,cAAc,EAAE,QAAQ;SACzB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;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QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,aAAa,CAAC,EAAE,CAAC;YACrC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,aAAa,CAAC,CAAC;QAChD,CAAC;QACD,IAAG,IAAI,CAAC,aAAa,IAAI,OAAQ,IAAI,CAAC,aAAqB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACnF,IAAI,CAAC,aAAqB,CAAC,QAAQ,EAAE,CAAC;QACzC,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,EAAE,CAAC;YACjC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;QAC5C,CAAC;QACD,IAAG,IAAI,CAAC,aAAa,IAAI,OAAQ,IAAI,CAAC,aAAqB,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACnF,IAAI,CAAC,aAAqB,CAAC,QAAQ,EAAE,CAAC;QACzC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAvKD,oDAuKC"}
|
package/dist/models/model.d.ts
CHANGED
|
@@ -243,6 +243,8 @@ export { GetGatewayQuotaRuleResponseBodyData } from './GetGatewayQuotaRuleRespon
|
|
|
243
243
|
export { GetGatewayQuotaRuleSubjectUsageResponseBodyDataDetailsItems } from './GetGatewayQuotaRuleSubjectUsageResponseBody';
|
|
244
244
|
export { GetGatewayQuotaRuleSubjectUsageResponseBodyDataDetails } from './GetGatewayQuotaRuleSubjectUsageResponseBody';
|
|
245
245
|
export { GetGatewayQuotaRuleSubjectUsageResponseBodyData } from './GetGatewayQuotaRuleSubjectUsageResponseBody';
|
|
246
|
+
export { GetGatewayResourceQuotaUsageResponseBodyDataItems } from './GetGatewayResourceQuotaUsageResponseBody';
|
|
247
|
+
export { GetGatewayResourceQuotaUsageResponseBodyData } from './GetGatewayResourceQuotaUsageResponseBody';
|
|
246
248
|
export { GetMcpServerResponseBodyDataAssembledSources } from './GetMcpServerResponseBody';
|
|
247
249
|
export { GetMcpServerResponseBodyDataDomainInfos } from './GetMcpServerResponseBody';
|
|
248
250
|
export { GetMcpServerResponseBodyDataGrayMcpServerConfigsBackendConfigServices } from './GetMcpServerResponseBody';
|
|
@@ -762,6 +764,9 @@ export { GetGatewayQuotaRuleResponse } from './GetGatewayQuotaRuleResponse';
|
|
|
762
764
|
export { GetGatewayQuotaRuleSubjectUsageRequest } from './GetGatewayQuotaRuleSubjectUsageRequest';
|
|
763
765
|
export { GetGatewayQuotaRuleSubjectUsageResponseBody } from './GetGatewayQuotaRuleSubjectUsageResponseBody';
|
|
764
766
|
export { GetGatewayQuotaRuleSubjectUsageResponse } from './GetGatewayQuotaRuleSubjectUsageResponse';
|
|
767
|
+
export { GetGatewayResourceQuotaUsageRequest } from './GetGatewayResourceQuotaUsageRequest';
|
|
768
|
+
export { GetGatewayResourceQuotaUsageResponseBody } from './GetGatewayResourceQuotaUsageResponseBody';
|
|
769
|
+
export { GetGatewayResourceQuotaUsageResponse } from './GetGatewayResourceQuotaUsageResponse';
|
|
765
770
|
export { GetHttpApiRequest } from './GetHttpApiRequest';
|
|
766
771
|
export { GetHttpApiResponseBody } from './GetHttpApiResponseBody';
|
|
767
772
|
export { GetHttpApiResponse } from './GetHttpApiResponse';
|