@soat/sdk 0.40.2 → 0.41.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/index.d.cts +4 -4
- package/dist/index.d.mts +4 -4
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -5025,7 +5025,7 @@ type Quota = {
|
|
|
5025
5025
|
limit?: number;
|
|
5026
5026
|
mode?: 'enforce' | 'monitor';
|
|
5027
5027
|
/**
|
|
5028
|
-
* Pricing posture of a cost_usd quota over an unpriced blackout — block refuses generations, allow lets them through (the quota_unpriced exception is filed either way). Null for metrics with no pricing dependency.
|
|
5028
|
+
* Pricing posture of a cost_usd quota over an unpriced blackout — block refuses generations, allow lets them through (the quota_unpriced exception is filed either way, and for a partly priced window, which no posture refuses). Null for metrics with no pricing dependency.
|
|
5029
5029
|
*/
|
|
5030
5030
|
on_unpriced?: 'block' | 'allow' | null;
|
|
5031
5031
|
/**
|
|
@@ -6086,12 +6086,12 @@ type UsageDistinct = {
|
|
|
6086
6086
|
*/
|
|
6087
6087
|
type UsageAggregateComponent = {
|
|
6088
6088
|
/**
|
|
6089
|
-
* The measured dimension: `input_tokens`, `cached_tokens`, `output_tokens`, `reasoning_tokens`, `compute_second`, `request`, `gb_day`, …
|
|
6089
|
+
* The measured dimension: `input_tokens`, `cached_tokens`, `output_tokens`, `reasoning_tokens`, `compute_second`, `request`, `gb_day`, `chunk_count`, …
|
|
6090
6090
|
*
|
|
6091
6091
|
*/
|
|
6092
6092
|
component?: string;
|
|
6093
6093
|
/**
|
|
6094
|
-
* Unit `quantity` is measured in: `token`, `compute_second`, `request`, `gb_day`.
|
|
6094
|
+
* Unit `quantity` is measured in: `token`, `compute_second`, `request`, `gb_day`, `count`.
|
|
6095
6095
|
*
|
|
6096
6096
|
*/
|
|
6097
6097
|
unit?: string;
|
|
@@ -14385,7 +14385,7 @@ type CreateQuotaData = {
|
|
|
14385
14385
|
*/
|
|
14386
14386
|
mode?: 'enforce' | 'monitor';
|
|
14387
14387
|
/**
|
|
14388
|
-
* Only for metric cost_usd (400 on any other metric). What an enforce quota does when the current window is a pricing blackout — several metered llm_tokens events, none of them priced, so the aggregate is 0 however much was actually spent. Platform meters such as compute_execution are read for the aggregate but never for this verdict. block (the default) refuses new generations with 409 QUOTA_UNENFORCEABLE until pricing is configured; allow accepts the unmeasurable spend explicitly. Either way a quota_unpriced exception is filed. monitor-mode quotas never block regardless.
|
|
14388
|
+
* Only for metric cost_usd (400 on any other metric). What an enforce quota does when the current window is a pricing blackout — several metered llm_tokens events, none of them priced, so the aggregate is 0 however much was actually spent. Platform meters such as compute_execution are read for the aggregate but never for this verdict. block (the default) refuses new generations with 409 QUOTA_UNENFORCEABLE until pricing is configured; allow accepts the unmeasurable spend explicitly. Either way a quota_unpriced exception is filed. monitor-mode quotas never block regardless. A partly priced window is not a blackout: no posture refuses it, it is enforced on its priced total, and it files the same exception.
|
|
14389
14389
|
*/
|
|
14390
14390
|
on_unpriced?: 'block' | 'allow';
|
|
14391
14391
|
};
|
package/dist/index.d.mts
CHANGED
|
@@ -5025,7 +5025,7 @@ type Quota = {
|
|
|
5025
5025
|
limit?: number;
|
|
5026
5026
|
mode?: 'enforce' | 'monitor';
|
|
5027
5027
|
/**
|
|
5028
|
-
* Pricing posture of a cost_usd quota over an unpriced blackout — block refuses generations, allow lets them through (the quota_unpriced exception is filed either way). Null for metrics with no pricing dependency.
|
|
5028
|
+
* Pricing posture of a cost_usd quota over an unpriced blackout — block refuses generations, allow lets them through (the quota_unpriced exception is filed either way, and for a partly priced window, which no posture refuses). Null for metrics with no pricing dependency.
|
|
5029
5029
|
*/
|
|
5030
5030
|
on_unpriced?: 'block' | 'allow' | null;
|
|
5031
5031
|
/**
|
|
@@ -6086,12 +6086,12 @@ type UsageDistinct = {
|
|
|
6086
6086
|
*/
|
|
6087
6087
|
type UsageAggregateComponent = {
|
|
6088
6088
|
/**
|
|
6089
|
-
* The measured dimension: `input_tokens`, `cached_tokens`, `output_tokens`, `reasoning_tokens`, `compute_second`, `request`, `gb_day`, …
|
|
6089
|
+
* The measured dimension: `input_tokens`, `cached_tokens`, `output_tokens`, `reasoning_tokens`, `compute_second`, `request`, `gb_day`, `chunk_count`, …
|
|
6090
6090
|
*
|
|
6091
6091
|
*/
|
|
6092
6092
|
component?: string;
|
|
6093
6093
|
/**
|
|
6094
|
-
* Unit `quantity` is measured in: `token`, `compute_second`, `request`, `gb_day`.
|
|
6094
|
+
* Unit `quantity` is measured in: `token`, `compute_second`, `request`, `gb_day`, `count`.
|
|
6095
6095
|
*
|
|
6096
6096
|
*/
|
|
6097
6097
|
unit?: string;
|
|
@@ -14385,7 +14385,7 @@ type CreateQuotaData = {
|
|
|
14385
14385
|
*/
|
|
14386
14386
|
mode?: 'enforce' | 'monitor';
|
|
14387
14387
|
/**
|
|
14388
|
-
* Only for metric cost_usd (400 on any other metric). What an enforce quota does when the current window is a pricing blackout — several metered llm_tokens events, none of them priced, so the aggregate is 0 however much was actually spent. Platform meters such as compute_execution are read for the aggregate but never for this verdict. block (the default) refuses new generations with 409 QUOTA_UNENFORCEABLE until pricing is configured; allow accepts the unmeasurable spend explicitly. Either way a quota_unpriced exception is filed. monitor-mode quotas never block regardless.
|
|
14388
|
+
* Only for metric cost_usd (400 on any other metric). What an enforce quota does when the current window is a pricing blackout — several metered llm_tokens events, none of them priced, so the aggregate is 0 however much was actually spent. Platform meters such as compute_execution are read for the aggregate but never for this verdict. block (the default) refuses new generations with 409 QUOTA_UNENFORCEABLE until pricing is configured; allow accepts the unmeasurable spend explicitly. Either way a quota_unpriced exception is filed. monitor-mode quotas never block regardless. A partly priced window is not a blackout: no posture refuses it, it is enforced on its priced total, and it files the same exception.
|
|
14389
14389
|
*/
|
|
14390
14390
|
on_unpriced?: 'block' | 'allow';
|
|
14391
14391
|
};
|