@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.cjs CHANGED
@@ -2625,10 +2625,7 @@ var Embeddings = class {
2625
2625
  * Provide `input` for a single text or `inputs` for a batch. At least one is required.
2626
2626
  * Returns `embedding` when `input` is used, and `embeddings` when `inputs` is used.
2627
2627
  *
2628
- * `project_id` names the project the call's token usage is metered against, so
2629
- * embedding spend reaches the usage rollup and the project's `cost_usd` / `tokens`
2630
- * quotas. A project-scoped credential supplies its own project; a call that names
2631
- * none and is bound to none is `400 VALIDATION_FAILED`.
2628
+ * 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.
2632
2629
  *
2633
2630
  */
2634
2631
  static createEmbeddings(options) {
@@ -3679,7 +3676,7 @@ var Listings = class {
3679
3676
  * Update a listing
3680
3677
  *
3681
3678
  * Change the title or description, or pause and resume the listing.
3682
- * `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`.
3679
+ * `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`.
3683
3680
  *
3684
3681
  */
3685
3682
  static updateListing(options) {