@naturali/sdk 0.209.2 → 0.209.3

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.mjs CHANGED
@@ -2624,10 +2624,7 @@ var Embeddings = class {
2624
2624
  * Provide `input` for a single text or `inputs` for a batch. At least one is required.
2625
2625
  * Returns `embedding` when `input` is used, and `embeddings` when `inputs` is used.
2626
2626
  *
2627
- * `project_id` names the project the call's token usage is metered against, so
2628
- * embedding spend reaches the usage rollup and the project's `cost_usd` / `tokens`
2629
- * quotas. A project-scoped credential supplies its own project; a call that names
2630
- * none and is bound to none is `400 VALIDATION_FAILED`.
2627
+ * The call's token usage is metered against the project in the path, so embedding spend reaches the usage rollup and the project's `cost_usd` / `tokens` quotas. A body `project_id` is ignored.
2631
2628
  *
2632
2629
  */
2633
2630
  static createEmbeddings(options) {
@@ -3678,7 +3675,7 @@ var Listings = class {
3678
3675
  * Update a listing
3679
3676
  *
3680
3677
  * Change the title or description, or pause and resume the listing.
3681
- * `state: suspended` stops the listing for every installing project at once; their installs are kept. `state: listed` resumes a listing you suspended, provided naturali had listed it; nobody reinstalls. A listing naturali suspended cannot be resumed here, and an invalid move answers `409 invalid_listing_state`.
3678
+ * `state: suspended` stops a `listed` listing for every installing project at once; their installs are kept. `state: listed` resumes a listing you suspended, provided naturali had listed it; nobody reinstalls. A listing naturali suspended cannot be resumed here, and an invalid move answers `409 invalid_listing_state`.
3682
3679
  *
3683
3680
  */
3684
3681
  static updateListing(options) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturali/sdk",
3
- "version": "0.209.2",
3
+ "version": "0.209.3",
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.209.2",
41
+ "@naturali/api": "0.209.3",
42
42
  "@ttoss/openapi-codegen": "^0.10.0",
43
43
  "@types/node": "^26.5.1",
44
44
  "tsdown": "^0.23.0",