@naturali/sdk 0.209.1 → 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 +3 -5
- package/dist/index.d.cts +4531 -737
- package/dist/index.d.mts +4531 -737
- package/dist/index.mjs +3 -5
- package/package.json +2 -2
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
|
-
*
|
|
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
|
|
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) {
|
|
@@ -6345,6 +6342,7 @@ var Webhooks = class {
|
|
|
6345
6342
|
*
|
|
6346
6343
|
* Queue the same event at the same endpoint again — the recovery path for a delivery that failed, or one your receiver dropped. This is the `…:redeliver` action; the path segment is `{delivery_id}:redeliver`.
|
|
6347
6344
|
* A **new** delivery is created and returned; the original record is left untouched, because its attempt history is the evidence you redelivered on. The event's `id` is carried over unchanged, so a receiver deduping on the event sees the same event twice while one deduping on `X-Naturali-Delivery` sees a distinct delivery.
|
|
6345
|
+
* An inactive webhook is refused with `409 webhook_inactive`.
|
|
6348
6346
|
*
|
|
6349
6347
|
*/
|
|
6350
6348
|
static redeliverWebhookDelivery(options) {
|