@naturali/sdk 0.289.1 → 0.291.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.cjs +1 -1
- package/dist/index.d.cts +6 -1
- package/dist/index.d.mts +6 -1
- package/dist/index.mjs +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -1242,7 +1242,7 @@ var Admin = class {
|
|
|
1242
1242
|
/**
|
|
1243
1243
|
* Edit or retire a catalog model
|
|
1244
1244
|
*
|
|
1245
|
-
* Changes what the shared provider serves at once. `status: deprecated` retires the model (it stays listed, and agents pinned to it keep generating while its price stands); `available` offers it
|
|
1245
|
+
* Changes what the shared provider serves at once. `status: deprecated` retires the model (it stays listed, and agents pinned to it keep generating while its price stands); `available` offers it, and needs input and output prices on the model or in the same write (`400` otherwise).
|
|
1246
1246
|
*
|
|
1247
1247
|
*/
|
|
1248
1248
|
static updateAdminModel(options) {
|
package/dist/index.d.cts
CHANGED
|
@@ -12857,6 +12857,11 @@ type ListAdminModelsResponses = {
|
|
|
12857
12857
|
*/
|
|
12858
12858
|
200: {
|
|
12859
12859
|
data: Array<AdminCatalogModel>;
|
|
12860
|
+
/**
|
|
12861
|
+
* What a customer pays per unit of cost: a model's price is its `cost_usd_per_mtok` × this.
|
|
12862
|
+
*
|
|
12863
|
+
*/
|
|
12864
|
+
spend_multiplier: number;
|
|
12860
12865
|
};
|
|
12861
12866
|
};
|
|
12862
12867
|
type ListAdminModelsResponse = ListAdminModelsResponses[keyof ListAdminModelsResponses];
|
|
@@ -38648,7 +38653,7 @@ export declare class Admin {
|
|
|
38648
38653
|
/**
|
|
38649
38654
|
* Edit or retire a catalog model
|
|
38650
38655
|
*
|
|
38651
|
-
* Changes what the shared provider serves at once. `status: deprecated` retires the model (it stays listed, and agents pinned to it keep generating while its price stands); `available` offers it
|
|
38656
|
+
* Changes what the shared provider serves at once. `status: deprecated` retires the model (it stays listed, and agents pinned to it keep generating while its price stands); `available` offers it, and needs input and output prices on the model or in the same write (`400` otherwise).
|
|
38652
38657
|
*
|
|
38653
38658
|
*/
|
|
38654
38659
|
static updateAdminModel<ThrowOnError extends boolean = false>(options: Options<UpdateAdminModelData, ThrowOnError>): RequestResult<UpdateAdminModelResponses, UpdateAdminModelErrors, ThrowOnError>;
|
package/dist/index.d.mts
CHANGED
|
@@ -12857,6 +12857,11 @@ type ListAdminModelsResponses = {
|
|
|
12857
12857
|
*/
|
|
12858
12858
|
200: {
|
|
12859
12859
|
data: Array<AdminCatalogModel>;
|
|
12860
|
+
/**
|
|
12861
|
+
* What a customer pays per unit of cost: a model's price is its `cost_usd_per_mtok` × this.
|
|
12862
|
+
*
|
|
12863
|
+
*/
|
|
12864
|
+
spend_multiplier: number;
|
|
12860
12865
|
};
|
|
12861
12866
|
};
|
|
12862
12867
|
type ListAdminModelsResponse = ListAdminModelsResponses[keyof ListAdminModelsResponses];
|
|
@@ -38648,7 +38653,7 @@ export declare class Admin {
|
|
|
38648
38653
|
/**
|
|
38649
38654
|
* Edit or retire a catalog model
|
|
38650
38655
|
*
|
|
38651
|
-
* Changes what the shared provider serves at once. `status: deprecated` retires the model (it stays listed, and agents pinned to it keep generating while its price stands); `available` offers it
|
|
38656
|
+
* Changes what the shared provider serves at once. `status: deprecated` retires the model (it stays listed, and agents pinned to it keep generating while its price stands); `available` offers it, and needs input and output prices on the model or in the same write (`400` otherwise).
|
|
38652
38657
|
*
|
|
38653
38658
|
*/
|
|
38654
38659
|
static updateAdminModel<ThrowOnError extends boolean = false>(options: Options<UpdateAdminModelData, ThrowOnError>): RequestResult<UpdateAdminModelResponses, UpdateAdminModelErrors, ThrowOnError>;
|
package/dist/index.mjs
CHANGED
|
@@ -1241,7 +1241,7 @@ var Admin = class {
|
|
|
1241
1241
|
/**
|
|
1242
1242
|
* Edit or retire a catalog model
|
|
1243
1243
|
*
|
|
1244
|
-
* Changes what the shared provider serves at once. `status: deprecated` retires the model (it stays listed, and agents pinned to it keep generating while its price stands); `available` offers it
|
|
1244
|
+
* Changes what the shared provider serves at once. `status: deprecated` retires the model (it stays listed, and agents pinned to it keep generating while its price stands); `available` offers it, and needs input and output prices on the model or in the same write (`400` otherwise).
|
|
1245
1245
|
*
|
|
1246
1246
|
*/
|
|
1247
1247
|
static updateAdminModel(options) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@naturali/sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.291.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.291.0",
|
|
42
42
|
"@ttoss/openapi-codegen": "^0.10.1",
|
|
43
43
|
"@types/node": "^26.5.1",
|
|
44
44
|
"tsdown": "^0.23.0",
|