@naturali/sdk 0.191.0 → 0.192.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 +12 -0
- package/dist/index.d.mts +12 -0
- package/package.json +2 -2
package/dist/index.d.cts
CHANGED
|
@@ -699,6 +699,14 @@ type UserUsage = {
|
|
|
699
699
|
* Runs the account's plan includes per cycle. `null` on a contract plan, where the figure is commercial rather than published. Exceeding it is refused on `free` and billed as overage on `pro` and `business`.
|
|
700
700
|
*/
|
|
701
701
|
runs_included: number | null;
|
|
702
|
+
/**
|
|
703
|
+
* Model and embedding spend metered since the balance was last reconciled, across every project the account pays for. `null` when at least one project's meter could not be read.
|
|
704
|
+
*/
|
|
705
|
+
pending_spend_usd: number | null;
|
|
706
|
+
/**
|
|
707
|
+
* The credit balance less `pending_spend_usd`. A managed generation can be refused with `402 insufficient_credit` while the credit balance still reads positive; while this is zero or above, none is. Check it before starting work that runs several generations. `null` when `pending_spend_usd` is.
|
|
708
|
+
*/
|
|
709
|
+
spendable_balance_usd: number | null;
|
|
702
710
|
/**
|
|
703
711
|
* Every project the account pays for, oldest first, archived ones included. Empty for an account with no projects.
|
|
704
712
|
*/
|
|
@@ -732,6 +740,10 @@ type AccountProjectUsage = {
|
|
|
732
740
|
* When `storage_gb` was sampled.
|
|
733
741
|
*/
|
|
734
742
|
storage_sampled_at: Date | null;
|
|
743
|
+
/**
|
|
744
|
+
* This project's spend metered since the balance was last reconciled; `null` when its meter could not be read.
|
|
745
|
+
*/
|
|
746
|
+
pending_spend_usd: number | null;
|
|
735
747
|
};
|
|
736
748
|
/**
|
|
737
749
|
* Each plan-capped resource, counted across every project the account pays for, beside the rung's ceiling.
|
package/dist/index.d.mts
CHANGED
|
@@ -699,6 +699,14 @@ type UserUsage = {
|
|
|
699
699
|
* Runs the account's plan includes per cycle. `null` on a contract plan, where the figure is commercial rather than published. Exceeding it is refused on `free` and billed as overage on `pro` and `business`.
|
|
700
700
|
*/
|
|
701
701
|
runs_included: number | null;
|
|
702
|
+
/**
|
|
703
|
+
* Model and embedding spend metered since the balance was last reconciled, across every project the account pays for. `null` when at least one project's meter could not be read.
|
|
704
|
+
*/
|
|
705
|
+
pending_spend_usd: number | null;
|
|
706
|
+
/**
|
|
707
|
+
* The credit balance less `pending_spend_usd`. A managed generation can be refused with `402 insufficient_credit` while the credit balance still reads positive; while this is zero or above, none is. Check it before starting work that runs several generations. `null` when `pending_spend_usd` is.
|
|
708
|
+
*/
|
|
709
|
+
spendable_balance_usd: number | null;
|
|
702
710
|
/**
|
|
703
711
|
* Every project the account pays for, oldest first, archived ones included. Empty for an account with no projects.
|
|
704
712
|
*/
|
|
@@ -732,6 +740,10 @@ type AccountProjectUsage = {
|
|
|
732
740
|
* When `storage_gb` was sampled.
|
|
733
741
|
*/
|
|
734
742
|
storage_sampled_at: Date | null;
|
|
743
|
+
/**
|
|
744
|
+
* This project's spend metered since the balance was last reconciled; `null` when its meter could not be read.
|
|
745
|
+
*/
|
|
746
|
+
pending_spend_usd: number | null;
|
|
735
747
|
};
|
|
736
748
|
/**
|
|
737
749
|
* Each plan-capped resource, counted across every project the account pays for, beside the rung's ceiling.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturali/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.192.0",
|
|
4
4
|
"description": "TypeScript SDK for the naturali.ai API, generated from its OpenAPI specs",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"naturali",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@hey-api/openapi-ts": "^0.99.0",
|
|
41
|
-
"@naturali/api": "0.
|
|
41
|
+
"@naturali/api": "0.192.0",
|
|
42
42
|
"@ttoss/openapi-codegen": "^0.5.0",
|
|
43
43
|
"@types/node": "^26.5.1",
|
|
44
44
|
"tsdown": "^0.23.0",
|