@naturali/sdk 0.111.2 → 0.112.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/index.d.cts +2 -2
- package/dist/index.d.mts +2 -2
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -5481,7 +5481,7 @@ type Quota = {
|
|
|
5481
5481
|
limit?: number;
|
|
5482
5482
|
mode?: 'enforce' | 'monitor';
|
|
5483
5483
|
/**
|
|
5484
|
-
* 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.
|
|
5484
|
+
* 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.
|
|
5485
5485
|
*/
|
|
5486
5486
|
on_unpriced?: 'block' | 'allow' | null;
|
|
5487
5487
|
/**
|
|
@@ -16108,7 +16108,7 @@ type CreateQuotaData = {
|
|
|
16108
16108
|
*/
|
|
16109
16109
|
mode?: 'enforce' | 'monitor';
|
|
16110
16110
|
/**
|
|
16111
|
-
* 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.
|
|
16111
|
+
* 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.
|
|
16112
16112
|
*/
|
|
16113
16113
|
on_unpriced?: 'block' | 'allow';
|
|
16114
16114
|
};
|
package/dist/index.d.mts
CHANGED
|
@@ -5481,7 +5481,7 @@ type Quota = {
|
|
|
5481
5481
|
limit?: number;
|
|
5482
5482
|
mode?: 'enforce' | 'monitor';
|
|
5483
5483
|
/**
|
|
5484
|
-
* 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.
|
|
5484
|
+
* 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.
|
|
5485
5485
|
*/
|
|
5486
5486
|
on_unpriced?: 'block' | 'allow' | null;
|
|
5487
5487
|
/**
|
|
@@ -16108,7 +16108,7 @@ type CreateQuotaData = {
|
|
|
16108
16108
|
*/
|
|
16109
16109
|
mode?: 'enforce' | 'monitor';
|
|
16110
16110
|
/**
|
|
16111
|
-
* 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.
|
|
16111
|
+
* 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.
|
|
16112
16112
|
*/
|
|
16113
16113
|
on_unpriced?: 'block' | 'allow';
|
|
16114
16114
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturali/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.112.1",
|
|
4
4
|
"description": "TypeScript SDK for the naturali.ai API, generated from its OpenAPI specs",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -37,7 +37,7 @@
|
|
|
37
37
|
"tsx": "^4.23.1",
|
|
38
38
|
"typescript": "~6.0.3",
|
|
39
39
|
"vitest": "^4.1.10",
|
|
40
|
-
"@naturali/api": "0.
|
|
40
|
+
"@naturali/api": "0.112.1"
|
|
41
41
|
},
|
|
42
42
|
"scripts": {
|
|
43
43
|
"generate": "tsx scripts/generate.ts",
|