@alicloud/apig20240327 11.3.0 → 11.3.2

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.
@@ -11,6 +11,14 @@ export class GetGatewayQuotaRuleSubjectUsageResponseBodyDataDetailsItems extends
11
11
  * 10
12
12
  */
13
13
  cachedAmount?: number;
14
+ /**
15
+ * @remarks
16
+ * The exact value of cached consumption. Supports decimals in credit scenarios.
17
+ *
18
+ * @example
19
+ * 10.5
20
+ */
21
+ cachedAmountDecimal?: number;
14
22
  /**
15
23
  * @remarks
16
24
  * The consumer name.
@@ -27,6 +35,14 @@ export class GetGatewayQuotaRuleSubjectUsageResponseBodyDataDetailsItems extends
27
35
  * 120
28
36
  */
29
37
  inputAmount?: number;
38
+ /**
39
+ * @remarks
40
+ * The exact value of input consumption. Supports decimals in credit scenarios.
41
+ *
42
+ * @example
43
+ * 120.5
44
+ */
45
+ inputAmountDecimal?: number;
30
46
  /**
31
47
  * @remarks
32
48
  * The model name.
@@ -43,6 +59,14 @@ export class GetGatewayQuotaRuleSubjectUsageResponseBodyDataDetailsItems extends
43
59
  * 80
44
60
  */
45
61
  outputAmount?: number;
62
+ /**
63
+ * @remarks
64
+ * The exact value of output consumption. Supports decimals in credit scenarios.
65
+ *
66
+ * @example
67
+ * 80.5
68
+ */
69
+ outputAmountDecimal?: number;
46
70
  /**
47
71
  * @remarks
48
72
  * The request ID.
@@ -67,29 +91,45 @@ export class GetGatewayQuotaRuleSubjectUsageResponseBodyDataDetailsItems extends
67
91
  * 210
68
92
  */
69
93
  usedAmount?: number;
94
+ /**
95
+ * @remarks
96
+ * The exact value of total consumption. Supports decimals in credit scenarios.
97
+ *
98
+ * @example
99
+ * 210.5
100
+ */
101
+ usedAmountDecimal?: number;
70
102
  static names(): { [key: string]: string } {
71
103
  return {
72
104
  cachedAmount: 'cachedAmount',
105
+ cachedAmountDecimal: 'cachedAmountDecimal',
73
106
  consumer: 'consumer',
74
107
  inputAmount: 'inputAmount',
108
+ inputAmountDecimal: 'inputAmountDecimal',
75
109
  model: 'model',
76
110
  outputAmount: 'outputAmount',
111
+ outputAmountDecimal: 'outputAmountDecimal',
77
112
  requestId: 'requestId',
78
113
  startTime: 'startTime',
79
114
  usedAmount: 'usedAmount',
115
+ usedAmountDecimal: 'usedAmountDecimal',
80
116
  };
81
117
  }
82
118
 
83
119
  static types(): { [key: string]: any } {
84
120
  return {
85
121
  cachedAmount: 'number',
122
+ cachedAmountDecimal: 'number',
86
123
  consumer: 'string',
87
124
  inputAmount: 'number',
125
+ inputAmountDecimal: 'number',
88
126
  model: 'string',
89
127
  outputAmount: 'number',
128
+ outputAmountDecimal: 'number',
90
129
  requestId: 'string',
91
130
  startTime: 'string',
92
131
  usedAmount: 'number',
132
+ usedAmountDecimal: 'number',
93
133
  };
94
134
  }
95
135
 
@@ -129,7 +169,7 @@ export class GetGatewayQuotaRuleSubjectUsageResponseBodyDataDetails extends $dar
129
169
  pageSize?: number;
130
170
  /**
131
171
  * @remarks
132
- * The total number of records.
172
+ * The total number of entries.
133
173
  *
134
174
  * @example
135
175
  * 100
@@ -174,6 +214,14 @@ export class GetGatewayQuotaRuleSubjectUsageResponseBodyData extends $dara.Model
174
214
  * 20
175
215
  */
176
216
  cachedAmount?: number;
217
+ /**
218
+ * @remarks
219
+ * The exact value of total cached consumption. Supports decimals in credit scenarios.
220
+ *
221
+ * @example
222
+ * 20.5
223
+ */
224
+ cachedAmountDecimal?: number;
177
225
  /**
178
226
  * @remarks
179
227
  * The paginated consumption details.
@@ -190,6 +238,14 @@ export class GetGatewayQuotaRuleSubjectUsageResponseBodyData extends $dara.Model
190
238
  * 300
191
239
  */
192
240
  inputAmount?: number;
241
+ /**
242
+ * @remarks
243
+ * The exact value of total input consumption. Supports decimals in credit scenarios.
244
+ *
245
+ * @example
246
+ * 300.5
247
+ */
248
+ inputAmountDecimal?: number;
193
249
  /**
194
250
  * @remarks
195
251
  * The total output token consumption.
@@ -198,6 +254,14 @@ export class GetGatewayQuotaRuleSubjectUsageResponseBodyData extends $dara.Model
198
254
  * 180
199
255
  */
200
256
  outputAmount?: number;
257
+ /**
258
+ * @remarks
259
+ * The exact value of total output consumption. Supports decimals in credit scenarios.
260
+ *
261
+ * @example
262
+ * 180.5
263
+ */
264
+ outputAmountDecimal?: number;
201
265
  /**
202
266
  * @remarks
203
267
  * Indicates whether the quota limit is exceeded.
@@ -208,9 +272,15 @@ export class GetGatewayQuotaRuleSubjectUsageResponseBodyData extends $dara.Model
208
272
  overLimit?: boolean;
209
273
  /**
210
274
  * @remarks
211
- * The subject type. Valid values:
212
- * - consumer
213
- * - consumer_group
275
+ * The quota dimension. Valid values: token and credit.
276
+ *
277
+ * @example
278
+ * token
279
+ */
280
+ quotaDimension?: string;
281
+ /**
282
+ * @remarks
283
+ * The subject type. Valid values: consumer and consumer_group.
214
284
  *
215
285
  * @example
216
286
  * consumer_group
@@ -232,29 +302,47 @@ export class GetGatewayQuotaRuleSubjectUsageResponseBodyData extends $dara.Model
232
302
  * 500
233
303
  */
234
304
  usedAmount?: number;
305
+ /**
306
+ * @remarks
307
+ * The exact value of the total used amount of the subject. Supports decimals in credit scenarios.
308
+ *
309
+ * @example
310
+ * 500.5
311
+ */
312
+ usedAmountDecimal?: number;
235
313
  static names(): { [key: string]: string } {
236
314
  return {
237
315
  cachedAmount: 'cachedAmount',
316
+ cachedAmountDecimal: 'cachedAmountDecimal',
238
317
  details: 'details',
239
318
  inputAmount: 'inputAmount',
319
+ inputAmountDecimal: 'inputAmountDecimal',
240
320
  outputAmount: 'outputAmount',
321
+ outputAmountDecimal: 'outputAmountDecimal',
241
322
  overLimit: 'overLimit',
323
+ quotaDimension: 'quotaDimension',
242
324
  subjectType: 'subjectType',
243
325
  totalQuota: 'totalQuota',
244
326
  usedAmount: 'usedAmount',
327
+ usedAmountDecimal: 'usedAmountDecimal',
245
328
  };
246
329
  }
247
330
 
248
331
  static types(): { [key: string]: any } {
249
332
  return {
250
333
  cachedAmount: 'number',
334
+ cachedAmountDecimal: 'number',
251
335
  details: GetGatewayQuotaRuleSubjectUsageResponseBodyDataDetails,
252
336
  inputAmount: 'number',
337
+ inputAmountDecimal: 'number',
253
338
  outputAmount: 'number',
339
+ outputAmountDecimal: 'number',
254
340
  overLimit: 'boolean',
341
+ quotaDimension: 'string',
255
342
  subjectType: 'string',
256
343
  totalQuota: 'number',
257
344
  usedAmount: 'number',
345
+ usedAmountDecimal: 'number',
258
346
  };
259
347
  }
260
348