@naturali/sdk 0.206.3 → 0.206.4
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.cjs +1 -0
- package/dist/index.d.cts +6 -0
- package/dist/index.d.mts +6 -0
- package/dist/index.mjs +1 -0
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -4902,6 +4902,7 @@ var Projects = class {
|
|
|
4902
4902
|
*
|
|
4903
4903
|
* Permanently deletes the project and its backing runtime project. Fails with 409 if the runtime project still has dependent resources — remove them first, or pass `force=true` to delete the project and all its dependents (agents, providers, tools, sessions, generations, traces). Forcing is destructive and irreversible.
|
|
4904
4904
|
* Requires the `owner` role — an `admin` runs the project day to day, but destroying it is the billing owner's call.
|
|
4905
|
+
* The project's spend so far is settled on the owner's balance first, and its runs this cycle stay on the owner's run allowance and statement.
|
|
4905
4906
|
*
|
|
4906
4907
|
*/
|
|
4907
4908
|
static deleteProject(options) {
|
package/dist/index.d.cts
CHANGED
|
@@ -23828,6 +23828,11 @@ type DeleteProjectErrors = {
|
|
|
23828
23828
|
* The project still has dependent resources on the runtime (retry with `force=true`).
|
|
23829
23829
|
*/
|
|
23830
23830
|
409: ErrorResponse;
|
|
23831
|
+
/**
|
|
23832
|
+
* The project's usage could not be read to settle it before the delete (`upstream_unavailable`); nothing was deleted.
|
|
23833
|
+
*
|
|
23834
|
+
*/
|
|
23835
|
+
502: ErrorResponse;
|
|
23831
23836
|
};
|
|
23832
23837
|
type DeleteProjectError = DeleteProjectErrors[keyof DeleteProjectErrors];
|
|
23833
23838
|
type DeleteProjectResponses = {
|
|
@@ -30309,6 +30314,7 @@ export declare class Projects {
|
|
|
30309
30314
|
*
|
|
30310
30315
|
* Permanently deletes the project and its backing runtime project. Fails with 409 if the runtime project still has dependent resources — remove them first, or pass `force=true` to delete the project and all its dependents (agents, providers, tools, sessions, generations, traces). Forcing is destructive and irreversible.
|
|
30311
30316
|
* Requires the `owner` role — an `admin` runs the project day to day, but destroying it is the billing owner's call.
|
|
30317
|
+
* The project's spend so far is settled on the owner's balance first, and its runs this cycle stay on the owner's run allowance and statement.
|
|
30312
30318
|
*
|
|
30313
30319
|
*/
|
|
30314
30320
|
static deleteProject<ThrowOnError extends boolean = false>(options: Options<DeleteProjectData, ThrowOnError>): RequestResult<DeleteProjectResponses, DeleteProjectErrors, ThrowOnError>;
|
package/dist/index.d.mts
CHANGED
|
@@ -23828,6 +23828,11 @@ type DeleteProjectErrors = {
|
|
|
23828
23828
|
* The project still has dependent resources on the runtime (retry with `force=true`).
|
|
23829
23829
|
*/
|
|
23830
23830
|
409: ErrorResponse;
|
|
23831
|
+
/**
|
|
23832
|
+
* The project's usage could not be read to settle it before the delete (`upstream_unavailable`); nothing was deleted.
|
|
23833
|
+
*
|
|
23834
|
+
*/
|
|
23835
|
+
502: ErrorResponse;
|
|
23831
23836
|
};
|
|
23832
23837
|
type DeleteProjectError = DeleteProjectErrors[keyof DeleteProjectErrors];
|
|
23833
23838
|
type DeleteProjectResponses = {
|
|
@@ -30309,6 +30314,7 @@ export declare class Projects {
|
|
|
30309
30314
|
*
|
|
30310
30315
|
* Permanently deletes the project and its backing runtime project. Fails with 409 if the runtime project still has dependent resources — remove them first, or pass `force=true` to delete the project and all its dependents (agents, providers, tools, sessions, generations, traces). Forcing is destructive and irreversible.
|
|
30311
30316
|
* Requires the `owner` role — an `admin` runs the project day to day, but destroying it is the billing owner's call.
|
|
30317
|
+
* The project's spend so far is settled on the owner's balance first, and its runs this cycle stay on the owner's run allowance and statement.
|
|
30312
30318
|
*
|
|
30313
30319
|
*/
|
|
30314
30320
|
static deleteProject<ThrowOnError extends boolean = false>(options: Options<DeleteProjectData, ThrowOnError>): RequestResult<DeleteProjectResponses, DeleteProjectErrors, ThrowOnError>;
|
package/dist/index.mjs
CHANGED
|
@@ -4901,6 +4901,7 @@ var Projects = class {
|
|
|
4901
4901
|
*
|
|
4902
4902
|
* Permanently deletes the project and its backing runtime project. Fails with 409 if the runtime project still has dependent resources — remove them first, or pass `force=true` to delete the project and all its dependents (agents, providers, tools, sessions, generations, traces). Forcing is destructive and irreversible.
|
|
4903
4903
|
* Requires the `owner` role — an `admin` runs the project day to day, but destroying it is the billing owner's call.
|
|
4904
|
+
* The project's spend so far is settled on the owner's balance first, and its runs this cycle stay on the owner's run allowance and statement.
|
|
4904
4905
|
*
|
|
4905
4906
|
*/
|
|
4906
4907
|
static deleteProject(options) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturali/sdk",
|
|
3
|
-
"version": "0.206.
|
|
3
|
+
"version": "0.206.4",
|
|
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.206.
|
|
41
|
+
"@naturali/api": "0.206.4",
|
|
42
42
|
"@ttoss/openapi-codegen": "^0.5.0",
|
|
43
43
|
"@types/node": "^26.5.1",
|
|
44
44
|
"tsdown": "^0.23.0",
|