@alicloud/apig20240327 11.2.0 → 11.3.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.
Files changed (61) hide show
  1. package/dist/client.d.ts +82 -58
  2. package/dist/client.js +121 -85
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddGatewayQuotaRuleRequest.d.ts +20 -14
  5. package/dist/models/AddGatewayQuotaRuleRequest.js.map +1 -1
  6. package/dist/models/AddGatewayQuotaRuleResponseBody.d.ts +14 -9
  7. package/dist/models/AddGatewayQuotaRuleResponseBody.js.map +1 -1
  8. package/dist/models/GetDashboardRequest.d.ts +5 -5
  9. package/dist/models/GetDashboardResponseBody.d.ts +2 -2
  10. package/dist/models/GetDashboardShrinkRequest.d.ts +5 -5
  11. package/dist/models/GetGatewayQuotaRuleRequest.d.ts +4 -4
  12. package/dist/models/GetGatewayQuotaRuleResponseBody.d.ts +4 -4
  13. package/dist/models/GetGatewayQuotaRuleSubjectUsageRequest.d.ts +19 -3
  14. package/dist/models/GetGatewayQuotaRuleSubjectUsageRequest.js +4 -0
  15. package/dist/models/GetGatewayQuotaRuleSubjectUsageRequest.js.map +1 -1
  16. package/dist/models/GetGatewayQuotaRuleSubjectUsageResponseBody.d.ts +75 -5
  17. package/dist/models/GetGatewayQuotaRuleSubjectUsageResponseBody.js +18 -0
  18. package/dist/models/GetGatewayQuotaRuleSubjectUsageResponseBody.js.map +1 -1
  19. package/dist/models/HttpApiApiInfo.d.ts +1 -1
  20. package/dist/models/HttpApiApiInfoDeployCntMapValue.d.ts +1 -1
  21. package/dist/models/HttpRoute.d.ts +4 -1
  22. package/dist/models/HttpRoute.js.map +1 -1
  23. package/dist/models/ListConsumerGroupQuotaRulesRequest.d.ts +33 -0
  24. package/dist/models/ListConsumerGroupQuotaRulesRequest.js +64 -0
  25. package/dist/models/ListConsumerGroupQuotaRulesRequest.js.map +1 -0
  26. package/dist/models/ListConsumerGroupQuotaRulesResponse.d.ts +19 -0
  27. package/dist/models/ListConsumerGroupQuotaRulesResponse.js +69 -0
  28. package/dist/models/ListConsumerGroupQuotaRulesResponse.js.map +1 -0
  29. package/dist/models/ListConsumerGroupQuotaRulesResponseBody.d.ts +132 -0
  30. package/dist/models/ListConsumerGroupQuotaRulesResponseBody.js +134 -0
  31. package/dist/models/ListConsumerGroupQuotaRulesResponseBody.js.map +1 -0
  32. package/dist/models/ResetGatewayQuotaRuleRequest.d.ts +9 -10
  33. package/dist/models/ResetGatewayQuotaRuleRequest.js.map +1 -1
  34. package/dist/models/ResetGatewayQuotaRuleResponseBody.d.ts +16 -16
  35. package/dist/models/UpdateGatewayQuotaRuleRequest.d.ts +8 -8
  36. package/dist/models/UpdateGatewayQuotaRuleResponseBody.d.ts +12 -12
  37. package/dist/models/model.d.ts +5 -0
  38. package/dist/models/model.js +26 -16
  39. package/dist/models/model.js.map +1 -1
  40. package/package.json +1 -1
  41. package/src/client.ts +129 -85
  42. package/src/models/AddGatewayQuotaRuleRequest.ts +20 -14
  43. package/src/models/AddGatewayQuotaRuleResponseBody.ts +14 -9
  44. package/src/models/GetDashboardRequest.ts +5 -5
  45. package/src/models/GetDashboardResponseBody.ts +2 -2
  46. package/src/models/GetDashboardShrinkRequest.ts +5 -5
  47. package/src/models/GetGatewayQuotaRuleRequest.ts +4 -4
  48. package/src/models/GetGatewayQuotaRuleResponseBody.ts +4 -4
  49. package/src/models/GetGatewayQuotaRuleSubjectUsageRequest.ts +23 -3
  50. package/src/models/GetGatewayQuotaRuleSubjectUsageResponseBody.ts +93 -5
  51. package/src/models/HttpApiApiInfo.ts +1 -1
  52. package/src/models/HttpApiApiInfoDeployCntMapValue.ts +1 -1
  53. package/src/models/HttpRoute.ts +4 -1
  54. package/src/models/ListConsumerGroupQuotaRulesRequest.ts +52 -0
  55. package/src/models/ListConsumerGroupQuotaRulesResponse.ts +40 -0
  56. package/src/models/ListConsumerGroupQuotaRulesResponseBody.ts +203 -0
  57. package/src/models/ResetGatewayQuotaRuleRequest.ts +9 -10
  58. package/src/models/ResetGatewayQuotaRuleResponseBody.ts +16 -16
  59. package/src/models/UpdateGatewayQuotaRuleRequest.ts +8 -8
  60. package/src/models/UpdateGatewayQuotaRuleResponseBody.ts +12 -12
  61. package/src/models/model.ts +5 -0
@@ -2,11 +2,11 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class AddGatewayQuotaRuleRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The conflict snapshot hash, used to prevent concurrent dirty overwrites during confirmation. Obtain this value from the response of a previous dryRun=true request.
5
+ * The conflict snapshot hash used to prevent concurrent dirty overwrites during confirmation. Obtain this value from the response of a previous dry run (dryRun=true).
6
6
  *
7
- * This parameter is not required in the following cases: no conflicts exist, the request is a dry run (dryRun=true), or overwrite=false (no overwrite confirmation).
7
+ * 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.
8
8
  *
9
- * When dryRun=false and overwrite=true, if this parameter is not provided or the value has expired and no longer matches, the backend returns accepted=false with a new conflict preview. Perform a dry run again to confirm the new conflicts.
9
+ * When dryRun is set to false and overwrite is set to true, if this parameter is not provided or the value has expired and no longer matches, the backend returns accepted=false with a new conflict preview. In this case, perform a new dry run to confirm the latest conflicts.
10
10
  *
11
11
  * @example
12
12
  * f8f44dc6cf369a017d56b7197eb4fb5ac4bbb6b09a92b9b41999541fxxxxxxxx
@@ -14,7 +14,7 @@ export declare class AddGatewayQuotaRuleRequest extends $dara.Model {
14
14
  conflictHash?: string;
15
15
  /**
16
16
  * @remarks
17
- * The list of consumer group IDs (not supported currently).
17
+ * The list of API consumer group IDs to bind to the rule. This parameter is used when subjectType is set to consumer_group and cannot be specified together with consumerIds.
18
18
  *
19
19
  * @example
20
20
  * group1,group2
@@ -22,7 +22,7 @@ export declare class AddGatewayQuotaRuleRequest extends $dara.Model {
22
22
  consumerGroupIds?: string[];
23
23
  /**
24
24
  * @remarks
25
- * The list of consumer IDs to bind to the rule. A maximum of 1000 consumers can be specified in a single request.
25
+ * The list of API consumer IDs to bind to the rule. A maximum of 1,000 consumers can be specified in a single request.
26
26
  *
27
27
  * @example
28
28
  * 1001,1002,1003
@@ -30,7 +30,7 @@ export declare class AddGatewayQuotaRuleRequest extends $dara.Model {
30
30
  consumerIds?: string[];
31
31
  /**
32
32
  * @remarks
33
- * Specifies whether to perform only a dry run without applying the configuration. A dry run checks whether conflicting rules exist on the bound consumers. For example, a consumer that already has a calendar-day quota cannot have another calendar-day quota rule added.
33
+ * Specifies whether to perform only a dry run without persisting or applying the configuration. A dry run checks whether conflicting rules exist on the bound consumer subjects. For example, a consumer subject that already has a calendar-day quota rule cannot have another calendar-day quota rule added.
34
34
  *
35
35
  * @example
36
36
  * false
@@ -38,7 +38,7 @@ export declare class AddGatewayQuotaRuleRequest extends $dara.Model {
38
38
  dryRun?: boolean;
39
39
  /**
40
40
  * @remarks
41
- * Specifies whether to allow overwriting when conflicts exist. If overwriting is allowed, the conflicting subjects (consumers) are unbound from the old rule and bound to the new rule.
41
+ * Specifies whether to allow overwriting when conflicts exist. If overwriting is allowed, the conflicting subjects (consumers or consumer groups) are unbound from the old rule and bound to the new rule.
42
42
  *
43
43
  * @example
44
44
  * false
@@ -46,7 +46,7 @@ export declare class AddGatewayQuotaRuleRequest extends $dara.Model {
46
46
  overwrite?: boolean;
47
47
  /**
48
48
  * @remarks
49
- * The period multiplier. This parameter applies to epoch period rules.
49
+ * The period multiplier, which specifies the number of periods after which the quota resets. This parameter is required for custom (epoch) period rules. Minimum value: 1. Maximum value: 60.
50
50
  *
51
51
  * @example
52
52
  * 10
@@ -54,7 +54,7 @@ export declare class AddGatewayQuotaRuleRequest extends $dara.Model {
54
54
  periodMultiplier?: number;
55
55
  /**
56
56
  * @remarks
57
- * The period type. For calendar periods, statistics are collected by day, week, or month. Valid values: day, week, and month. For epoch periods, only day is supported.
57
+ * The period type. For calendar periods, the quota can be calculated by day, week, or month. Valid values: day, week, and month. For custom (epoch) periods, only day is supported.
58
58
  *
59
59
  * This parameter is required.
60
60
  *
@@ -64,7 +64,7 @@ export declare class AddGatewayQuotaRuleRequest extends $dara.Model {
64
64
  periodType?: string;
65
65
  /**
66
66
  * @remarks
67
- * The quota dimension or throttling type. Valid values: token and credit. The credit quota applies only to dedicated instances running version 2.1.19 or later.
67
+ * The quota dimension or throttling type. Valid values: token and credit.
68
68
  *
69
69
  * This parameter is required.
70
70
  *
@@ -74,7 +74,7 @@ export declare class AddGatewayQuotaRuleRequest extends $dara.Model {
74
74
  quotaDimension?: string;
75
75
  /**
76
76
  * @remarks
77
- * The total available quota per period (limit).
77
+ * The total available quota per period.
78
78
  *
79
79
  * This parameter is required.
80
80
  *
@@ -94,7 +94,11 @@ export declare class AddGatewayQuotaRuleRequest extends $dara.Model {
94
94
  ruleName?: string;
95
95
  /**
96
96
  * @remarks
97
- * The rule subject type. Valid values: consumer (a consumer) and consumer_group (a consumer group). Default value: consumer.
97
+ * The type of the rule subject. Valid values:
98
+ * - consumer: API consumer.
99
+ * - consumer_group: API consumer group.
100
+ *
101
+ * Default value: consumer.
98
102
  *
99
103
  * @example
100
104
  * consumer_group
@@ -102,7 +106,7 @@ export declare class AddGatewayQuotaRuleRequest extends $dara.Model {
102
106
  subjectType?: string;
103
107
  /**
104
108
  * @remarks
105
- * The time zone for the calendar period, in UTC+x format.
109
+ * The time zone for calendar periods, in UTC+x format.
106
110
  *
107
111
  * @example
108
112
  * UTC+8
@@ -110,7 +114,9 @@ export declare class AddGatewayQuotaRuleRequest extends $dara.Model {
110
114
  timezone?: string;
111
115
  /**
112
116
  * @remarks
113
- * The reset period type. Valid values: calendar (the period starts from the beginning of a calendar day, week, or month) and epoch (the period starts from when the rule is applied). The epoch type applies only to dedicated instances running version 2.1.19 or later.
117
+ * The reset period alignment type. Valid values:
118
+ * - calendar: The quota resets at the beginning of a calendar day, week, or month.
119
+ * - epoch: The quota resets based on a custom period that starts when the rule takes effect.
114
120
  *
115
121
  * @example
116
122
  * calendar
@@ -1 +1 @@
1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;YAC1B,UAAU,EAAE,QAAQ;YACpB,cAAc,EAAE,QAAQ;YACxB,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,WAAW,EAAE,QAAQ;YACrB,QAAQ,EAAE,QAAQ;YAClB,eAAe,EAAE,QAAQ;SAC1B,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,gBAAgB,CAAC,EAAE,CAAC;YACxC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,gBAAgB,CAAC,CAAC;QACnD,CAAC;QACD,IAAG,KAAK,CAAC,OAAO,CAAC,IAAI,CAAC,WAAW,CAAC,EAAE,CAAC;YACnC,KAAK,CAAC,KAAK,CAAC,aAAa,CAAC,IAAI,CAAC,WAAW,CAAC,CAAC;QAC9C,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA5KD,gEA4KC"}
@@ -2,7 +2,10 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class AddGatewayQuotaRuleResponseBodyDataConflictPreviewItems extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The period type of the existing conflicting rule on the consumer. A value of day, week, or month indicates the conflicting rule has a daily, weekly, or monthly period respectively.
5
+ * The period type of the existing conflicting rule on the consumer subject. Valid values:
6
+ * - day: The existing conflicting rule has a daily period.
7
+ * - week: The existing conflicting rule has a weekly period.
8
+ * - month: The existing conflicting rule has a monthly period.
6
9
  *
7
10
  * @example
8
11
  * week
@@ -10,7 +13,9 @@ export declare class AddGatewayQuotaRuleResponseBodyDataConflictPreviewItems ext
10
13
  conflictPeriodType?: string;
11
14
  /**
12
15
  * @remarks
13
- * The type of the existing conflicting rule on the consumer. A value of calendar indicates the conflicting rule uses a calendar period. A value of epoch indicates the conflicting rule uses an epoch period.
16
+ * The type of the existing conflicting rule on the consumer subject. Valid values:
17
+ * - calendar: The existing conflicting rule uses a calendar period.
18
+ * - epoch: The existing conflicting rule uses a custom period.
14
19
  *
15
20
  * @example
16
21
  * calendar
@@ -18,7 +23,7 @@ export declare class AddGatewayQuotaRuleResponseBodyDataConflictPreviewItems ext
18
23
  conflictType?: string;
19
24
  /**
20
25
  * @remarks
21
- * The consumer ID.
26
+ * The conflicting consumer ID. You can use subjectId instead.
22
27
  *
23
28
  * @example
24
29
  * cs-xxxxxx
@@ -26,7 +31,7 @@ export declare class AddGatewayQuotaRuleResponseBodyDataConflictPreviewItems ext
26
31
  consumerId?: string;
27
32
  /**
28
33
  * @remarks
29
- * The consumer name.
34
+ * The conflicting consumer name. You can use subjectName instead.
30
35
  *
31
36
  * @example
32
37
  * consumer-a
@@ -70,7 +75,7 @@ export declare class AddGatewayQuotaRuleResponseBodyDataConflictPreviewItems ext
70
75
  export declare class AddGatewayQuotaRuleResponseBodyDataConflictPreview extends $dara.Model {
71
76
  /**
72
77
  * @remarks
73
- * The conflict hash.
78
+ * The conflict snapshot hash.
74
79
  *
75
80
  * @example
76
81
  * f8f44dc6cf369a017d56b7197eb4fb5ac4bbb6b09a92b9b41999541fxxxxxxxx
@@ -78,7 +83,7 @@ export declare class AddGatewayQuotaRuleResponseBodyDataConflictPreview extends
78
83
  conflictHash?: string;
79
84
  /**
80
85
  * @remarks
81
- * The list of conflicting subjects (consumers).
86
+ * The list of conflicting subjects (consumers or consumer groups).
82
87
  */
83
88
  items?: AddGatewayQuotaRuleResponseBodyDataConflictPreviewItems[];
84
89
  /**
@@ -103,7 +108,7 @@ export declare class AddGatewayQuotaRuleResponseBodyDataConflictPreview extends
103
108
  export declare class AddGatewayQuotaRuleResponseBodyData extends $dara.Model {
104
109
  /**
105
110
  * @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.
111
+ * 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
112
  *
108
113
  * @example
109
114
  * true
@@ -160,7 +165,7 @@ export declare class AddGatewayQuotaRuleResponseBody extends $dara.Model {
160
165
  data?: AddGatewayQuotaRuleResponseBodyData;
161
166
  /**
162
167
  * @remarks
163
- * The message content.
168
+ * The response message.
164
169
  *
165
170
  * @example
166
171
  * success
@@ -168,7 +173,7 @@ export declare class AddGatewayQuotaRuleResponseBody extends $dara.Model {
168
173
  message?: string;
169
174
  /**
170
175
  * @remarks
171
- * The unique identifier of the request.
176
+ * The request ID.
172
177
  *
173
178
  * @example
174
179
  * 1234567890
@@ -1 +1 @@
1
- {"version":3,"file":"AddGatewayQuotaRuleResponseBody.js","sourceRoot":"","sources":["../../src/models/AddGatewayQuotaRuleResponseBody.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,uDAAwD,SAAQ,KAAK,CAAC,KAAK;IAyDtF,MAAM,CAAC,KAAK;QACV,OAAO;YACL,kBAAkB,EAAE,oBAAoB;YACxC,YAAY,EAAE,cAAc;YAC5B,UAAU,EAAE,YAAY;YACxB,YAAY,EAAE,cAAc;YAC5B,SAAS,EAAE,WAAW;YACtB,WAAW,EAAE,aAAa;YAC1B,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,kBAAkB,EAAE,QAAQ;YAC5B,YAAY,EAAE,QAAQ;YACtB,UAAU,EAAE,QAAQ;YACpB,YAAY,EAAE,QAAQ;YACtB,SAAS,EAAE,QAAQ;YACnB,WAAW,EAAE,QAAQ;YACrB,WAAW,EAAE,QAAQ;SACtB,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;AAxFD,0HAwFC;AAED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25
25
  * The language. Valid values:
26
- * - zh: Chinese.
27
- * - en: English.
26
+ * - zh: Chinese
27
+ * - en: English
28
28
  *
29
29
  * @example
30
30
  * zh
@@ -46,8 +46,8 @@ export declare class GetDashboardRequest extends $dara.Model {
46
46
  /**
47
47
  * @remarks
48
48
  * The dashboard name. Valid values:
49
- * - LOG: access log.
50
- * - PLUGIN: plugin log.
49
+ * - LOG: access log
50
+ * - PLUGIN: plugin log
51
51
  *
52
52
  * @example
53
53
  * PLUGIN
@@ -80,7 +80,7 @@ export declare class GetDashboardRequest extends $dara.Model {
80
80
  /**
81
81
  * @remarks
82
82
  * The dashboard source. Valid values:
83
- * - SLS: log dashboard.
83
+ * - SLS: log dashboard
84
84
  *
85
85
  * @example
86
86
  * SLS
@@ -62,7 +62,7 @@ export declare class GetDashboardResponseBody extends $dara.Model {
62
62
  * The backend error code.
63
63
  *
64
64
  * @example
65
- * Ok
65
+ * CloudProductInactive.LogDeliveryNotEnabled
66
66
  */
67
67
  errorCode?: string;
68
68
  /**
@@ -70,7 +70,7 @@ export declare class GetDashboardResponseBody extends $dara.Model {
70
70
  * The error message.
71
71
  *
72
72
  * @example
73
- * success
73
+ * SLS log delivery configuration is not enabled.
74
74
  */
75
75
  message?: string;
76
76
  /**
@@ -3,8 +3,8 @@ export declare class GetDashboardShrinkRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
5
  * The language. Valid values:
6
- * - zh: Chinese.
7
- * - en: English.
6
+ * - zh: Chinese
7
+ * - en: English
8
8
  *
9
9
  * @example
10
10
  * zh
@@ -26,8 +26,8 @@ export declare class GetDashboardShrinkRequest extends $dara.Model {
26
26
  /**
27
27
  * @remarks
28
28
  * The dashboard name. Valid values:
29
- * - LOG: access log.
30
- * - PLUGIN: plugin log.
29
+ * - LOG: access log
30
+ * - PLUGIN: plugin log
31
31
  *
32
32
  * @example
33
33
  * PLUGIN
@@ -60,7 +60,7 @@ export declare class GetDashboardShrinkRequest extends $dara.Model {
60
60
  /**
61
61
  * @remarks
62
62
  * The dashboard source. Valid values:
63
- * - SLS: log dashboard.
63
+ * - SLS: log dashboard
64
64
  *
65
65
  * @example
66
66
  * SLS
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class GetGatewayQuotaRuleRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The page number of the consumer list.
5
+ * The page number.
6
6
  *
7
7
  * @example
8
8
  * 1
@@ -12,7 +12,7 @@ export declare class GetGatewayQuotaRuleRequest extends $dara.Model {
12
12
  consumerPageNumber?: string;
13
13
  /**
14
14
  * @remarks
15
- * The page size of the consumer list.
15
+ * The page size.
16
16
  *
17
17
  * @example
18
18
  * 10
@@ -22,12 +22,12 @@ export declare class GetGatewayQuotaRuleRequest extends $dara.Model {
22
22
  consumerPageSize?: string;
23
23
  /**
24
24
  * @remarks
25
- * Specifies whether to return the consumer list.
25
+ * Specifies whether to return the API consumer list.
26
26
  */
27
27
  withConsumers?: boolean;
28
28
  /**
29
29
  * @remarks
30
- * Specifies whether to return the general subject list. This parameter applies to both consumer and consumer group rules.
30
+ * Specifies whether to return the general subject list. This parameter applies to both API consumer and API consumer group rules.
31
31
  */
32
32
  withSubjects?: boolean;
33
33
  static names(): {
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class GetGatewayQuotaRuleResponseBodyDataConsumers extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The subject (consumer) ID.
5
+ * The subject (API consumer) ID.
6
6
  *
7
7
  * @example
8
8
  * c-aaa
@@ -10,7 +10,7 @@ export declare class GetGatewayQuotaRuleResponseBodyDataConsumers extends $dara.
10
10
  id?: string;
11
11
  /**
12
12
  * @remarks
13
- * The subject (consumer) name.
13
+ * The subject (API consumer) name.
14
14
  *
15
15
  * @example
16
16
  * consumer-a
@@ -74,7 +74,7 @@ export declare class GetGatewayQuotaRuleResponseBodyData extends $dara.Model {
74
74
  baseTimestamp?: number;
75
75
  /**
76
76
  * @remarks
77
- * The number of consumers associated with the rule.
77
+ * The number of API consumers associated with the rule.
78
78
  *
79
79
  * @example
80
80
  * 20
@@ -82,7 +82,7 @@ export declare class GetGatewayQuotaRuleResponseBodyData extends $dara.Model {
82
82
  consumerCount?: number;
83
83
  /**
84
84
  * @remarks
85
- * The list of subjects (consumers) bound to this rule.
85
+ * The list of subjects (API consumers) bound to this rule.
86
86
  */
87
87
  consumers?: GetGatewayQuotaRuleResponseBodyDataConsumers[];
88
88
  /**
@@ -2,7 +2,15 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class GetGatewayQuotaRuleSubjectUsageRequest extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * Specifies whether to filter zero values.
5
+ * The end time for querying consumption record details, in UNIX timestamp format (seconds). If only this parameter is specified, the system automatically calculates startTime based on the rule cycle.
6
+ *
7
+ * @example
8
+ * 1788425220
9
+ */
10
+ endTime?: number;
11
+ /**
12
+ * @remarks
13
+ * Specifies whether to filter out zero values.
6
14
  *
7
15
  * @example
8
16
  * true
@@ -10,7 +18,7 @@ export declare class GetGatewayQuotaRuleSubjectUsageRequest extends $dara.Model
10
18
  filterFailedRequests?: boolean;
11
19
  /**
12
20
  * @remarks
13
- * The page number of the detailed consumption (request) records of the consumer within the cycle.
21
+ * The page number of the detailed consumption (request) records of the subject within the cycle.
14
22
  *
15
23
  * @example
16
24
  * 1
@@ -18,12 +26,20 @@ export declare class GetGatewayQuotaRuleSubjectUsageRequest extends $dara.Model
18
26
  pageNumber?: number;
19
27
  /**
20
28
  * @remarks
21
- * The number of detailed consumption (request) records per page for the consumer within the cycle. Maximum value: 10.
29
+ * The number of detailed consumption (request) records per page for the subject within the cycle. Maximum value: 10.
22
30
  *
23
31
  * @example
24
32
  * 10
25
33
  */
26
34
  pageSize?: number;
35
+ /**
36
+ * @remarks
37
+ * The start time for querying consumption record details, in UNIX timestamp format (seconds). If only this parameter is specified, the system automatically calculates endTime based on the rule cycle.
38
+ *
39
+ * @example
40
+ * 1788338820
41
+ */
42
+ startTime?: number;
27
43
  static names(): {
28
44
  [key: string]: string;
29
45
  };
@@ -39,16 +39,20 @@ const $dara = __importStar(require("@darabonba/typescript"));
39
39
  class GetGatewayQuotaRuleSubjectUsageRequest extends $dara.Model {
40
40
  static names() {
41
41
  return {
42
+ endTime: 'endTime',
42
43
  filterFailedRequests: 'filterFailedRequests',
43
44
  pageNumber: 'pageNumber',
44
45
  pageSize: 'pageSize',
46
+ startTime: 'startTime',
45
47
  };
46
48
  }
47
49
  static types() {
48
50
  return {
51
+ endTime: 'number',
49
52
  filterFailedRequests: 'boolean',
50
53
  pageNumber: 'number',
51
54
  pageSize: 'number',
55
+ startTime: 'number',
52
56
  };
53
57
  }
54
58
  validate() {
@@ -1 +1 @@
1
- {"version":3,"file":"GetGatewayQuotaRuleSubjectUsageRequest.js","sourceRoot":"","sources":["../../src/models/GetGatewayQuotaRuleSubjectUsageRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,sCAAuC,SAAQ,KAAK,CAAC,KAAK;IAyBrE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,oBAAoB,EAAE,sBAAsB;YAC5C,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;SACrB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,oBAAoB,EAAE,SAAS;YAC/B,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;SACnB,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;AAhDD,wFAgDC"}
1
+ {"version":3,"file":"GetGatewayQuotaRuleSubjectUsageRequest.js","sourceRoot":"","sources":["../../src/models/GetGatewayQuotaRuleSubjectUsageRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,sCAAuC,SAAQ,KAAK,CAAC,KAAK;IAyCrE,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,SAAS;YAClB,oBAAoB,EAAE,sBAAsB;YAC5C,UAAU,EAAE,YAAY;YACxB,QAAQ,EAAE,UAAU;YACpB,SAAS,EAAE,WAAW;SACvB,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,OAAO,EAAE,QAAQ;YACjB,oBAAoB,EAAE,SAAS;YAC/B,UAAU,EAAE,QAAQ;YACpB,QAAQ,EAAE,QAAQ;YAClB,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;AApED,wFAoEC"}
@@ -8,6 +8,14 @@ export declare class GetGatewayQuotaRuleSubjectUsageResponseBodyDataDetailsItems
8
8
  * 10
9
9
  */
10
10
  cachedAmount?: number;
11
+ /**
12
+ * @remarks
13
+ * The exact value of cached consumption. Supports decimals in credit scenarios.
14
+ *
15
+ * @example
16
+ * 10.5
17
+ */
18
+ cachedAmountDecimal?: number;
11
19
  /**
12
20
  * @remarks
13
21
  * The consumer name.
@@ -24,6 +32,14 @@ export declare class GetGatewayQuotaRuleSubjectUsageResponseBodyDataDetailsItems
24
32
  * 120
25
33
  */
26
34
  inputAmount?: number;
35
+ /**
36
+ * @remarks
37
+ * The exact value of input consumption. Supports decimals in credit scenarios.
38
+ *
39
+ * @example
40
+ * 120.5
41
+ */
42
+ inputAmountDecimal?: number;
27
43
  /**
28
44
  * @remarks
29
45
  * The model name.
@@ -40,6 +56,14 @@ export declare class GetGatewayQuotaRuleSubjectUsageResponseBodyDataDetailsItems
40
56
  * 80
41
57
  */
42
58
  outputAmount?: number;
59
+ /**
60
+ * @remarks
61
+ * The exact value of output consumption. Supports decimals in credit scenarios.
62
+ *
63
+ * @example
64
+ * 80.5
65
+ */
66
+ outputAmountDecimal?: number;
43
67
  /**
44
68
  * @remarks
45
69
  * The request ID.
@@ -64,6 +88,14 @@ export declare class GetGatewayQuotaRuleSubjectUsageResponseBodyDataDetailsItems
64
88
  * 210
65
89
  */
66
90
  usedAmount?: number;
91
+ /**
92
+ * @remarks
93
+ * The exact value of total consumption. Supports decimals in credit scenarios.
94
+ *
95
+ * @example
96
+ * 210.5
97
+ */
98
+ usedAmountDecimal?: number;
67
99
  static names(): {
68
100
  [key: string]: string;
69
101
  };
@@ -102,7 +134,7 @@ export declare class GetGatewayQuotaRuleSubjectUsageResponseBodyDataDetails exte
102
134
  pageSize?: number;
103
135
  /**
104
136
  * @remarks
105
- * The total number of records.
137
+ * The total number of entries.
106
138
  *
107
139
  * @example
108
140
  * 100
@@ -128,6 +160,14 @@ export declare class GetGatewayQuotaRuleSubjectUsageResponseBodyData extends $da
128
160
  * 20
129
161
  */
130
162
  cachedAmount?: number;
163
+ /**
164
+ * @remarks
165
+ * The exact value of total cached consumption. Supports decimals in credit scenarios.
166
+ *
167
+ * @example
168
+ * 20.5
169
+ */
170
+ cachedAmountDecimal?: number;
131
171
  /**
132
172
  * @remarks
133
173
  * The paginated consumption details.
@@ -144,6 +184,14 @@ export declare class GetGatewayQuotaRuleSubjectUsageResponseBodyData extends $da
144
184
  * 300
145
185
  */
146
186
  inputAmount?: number;
187
+ /**
188
+ * @remarks
189
+ * The exact value of total input consumption. Supports decimals in credit scenarios.
190
+ *
191
+ * @example
192
+ * 300.5
193
+ */
194
+ inputAmountDecimal?: number;
147
195
  /**
148
196
  * @remarks
149
197
  * The total output token consumption.
@@ -152,6 +200,14 @@ export declare class GetGatewayQuotaRuleSubjectUsageResponseBodyData extends $da
152
200
  * 180
153
201
  */
154
202
  outputAmount?: number;
203
+ /**
204
+ * @remarks
205
+ * The exact value of total output consumption. Supports decimals in credit scenarios.
206
+ *
207
+ * @example
208
+ * 180.5
209
+ */
210
+ outputAmountDecimal?: number;
155
211
  /**
156
212
  * @remarks
157
213
  * Indicates whether the quota limit is exceeded.
@@ -162,9 +218,15 @@ export declare class GetGatewayQuotaRuleSubjectUsageResponseBodyData extends $da
162
218
  overLimit?: boolean;
163
219
  /**
164
220
  * @remarks
165
- * The subject type. Valid values:
166
- * - consumer
167
- * - consumer_group
221
+ * The quota dimension. Valid values: token and credit.
222
+ *
223
+ * @example
224
+ * token
225
+ */
226
+ quotaDimension?: string;
227
+ /**
228
+ * @remarks
229
+ * The subject type. Valid values: consumer and consumer_group.
168
230
  *
169
231
  * @example
170
232
  * consumer_group
@@ -180,12 +242,20 @@ export declare class GetGatewayQuotaRuleSubjectUsageResponseBodyData extends $da
180
242
  totalQuota?: number;
181
243
  /**
182
244
  * @remarks
183
- * The total used quota of the subject.
245
+ * The total used amount of the subject.
184
246
  *
185
247
  * @example
186
248
  * 500
187
249
  */
188
250
  usedAmount?: number;
251
+ /**
252
+ * @remarks
253
+ * The exact value of the total used amount of the subject. Supports decimals in credit scenarios.
254
+ *
255
+ * @example
256
+ * 500.5
257
+ */
258
+ usedAmountDecimal?: number;
189
259
  static names(): {
190
260
  [key: string]: string;
191
261
  };
@@ -40,25 +40,33 @@ class GetGatewayQuotaRuleSubjectUsageResponseBodyDataDetailsItems extends $dara.
40
40
  static names() {
41
41
  return {
42
42
  cachedAmount: 'cachedAmount',
43
+ cachedAmountDecimal: 'cachedAmountDecimal',
43
44
  consumer: 'consumer',
44
45
  inputAmount: 'inputAmount',
46
+ inputAmountDecimal: 'inputAmountDecimal',
45
47
  model: 'model',
46
48
  outputAmount: 'outputAmount',
49
+ outputAmountDecimal: 'outputAmountDecimal',
47
50
  requestId: 'requestId',
48
51
  startTime: 'startTime',
49
52
  usedAmount: 'usedAmount',
53
+ usedAmountDecimal: 'usedAmountDecimal',
50
54
  };
51
55
  }
52
56
  static types() {
53
57
  return {
54
58
  cachedAmount: 'number',
59
+ cachedAmountDecimal: 'number',
55
60
  consumer: 'string',
56
61
  inputAmount: 'number',
62
+ inputAmountDecimal: 'number',
57
63
  model: 'string',
58
64
  outputAmount: 'number',
65
+ outputAmountDecimal: 'number',
59
66
  requestId: 'string',
60
67
  startTime: 'string',
61
68
  usedAmount: 'number',
69
+ usedAmountDecimal: 'number',
62
70
  };
63
71
  }
64
72
  validate() {
@@ -101,25 +109,35 @@ class GetGatewayQuotaRuleSubjectUsageResponseBodyData extends $dara.Model {
101
109
  static names() {
102
110
  return {
103
111
  cachedAmount: 'cachedAmount',
112
+ cachedAmountDecimal: 'cachedAmountDecimal',
104
113
  details: 'details',
105
114
  inputAmount: 'inputAmount',
115
+ inputAmountDecimal: 'inputAmountDecimal',
106
116
  outputAmount: 'outputAmount',
117
+ outputAmountDecimal: 'outputAmountDecimal',
107
118
  overLimit: 'overLimit',
119
+ quotaDimension: 'quotaDimension',
108
120
  subjectType: 'subjectType',
109
121
  totalQuota: 'totalQuota',
110
122
  usedAmount: 'usedAmount',
123
+ usedAmountDecimal: 'usedAmountDecimal',
111
124
  };
112
125
  }
113
126
  static types() {
114
127
  return {
115
128
  cachedAmount: 'number',
129
+ cachedAmountDecimal: 'number',
116
130
  details: GetGatewayQuotaRuleSubjectUsageResponseBodyDataDetails,
117
131
  inputAmount: 'number',
132
+ inputAmountDecimal: 'number',
118
133
  outputAmount: 'number',
134
+ outputAmountDecimal: 'number',
119
135
  overLimit: 'boolean',
136
+ quotaDimension: 'string',
120
137
  subjectType: 'string',
121
138
  totalQuota: 'number',
122
139
  usedAmount: 'number',
140
+ usedAmountDecimal: 'number',
123
141
  };
124
142
  }
125
143
  validate() {