@naturali/sdk 0.209.1 → 0.209.2

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
@@ -6345,6 +6345,7 @@ var Webhooks = class {
6345
6345
  *
6346
6346
  * 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
6347
  * 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.
6348
+ * An inactive webhook is refused with `409 webhook_inactive`.
6348
6349
  *
6349
6350
  */
6350
6351
  static redeliverWebhookDelivery(options) {
package/dist/index.d.cts CHANGED
@@ -9431,7 +9431,7 @@ type WebhookWithSecret = Webhook & {
9431
9431
  };
9432
9432
  type WebhookCreate = {
9433
9433
  /**
9434
- * An `https://` endpoint (`http://` is accepted for localhost, so a tunnel works in development).
9434
+ * An `https://` endpoint on a public internet host. A host that is, or resolves to, a loopback, private or link-local address is refused, here and again at each delivery; redirects are not followed.
9435
9435
  *
9436
9436
  */
9437
9437
  url: string;
@@ -27875,6 +27875,11 @@ type RedeliverWebhookDeliveryErrors = {
27875
27875
  * The resource does not exist (existence is not leaked).
27876
27876
  */
27877
27877
  404: ErrorResponse;
27878
+ /**
27879
+ * The delivery's webhook is inactive (`webhook_inactive`).
27880
+ *
27881
+ */
27882
+ 409: ErrorResponse;
27878
27883
  };
27879
27884
  type RedeliverWebhookDeliveryError = RedeliverWebhookDeliveryErrors[keyof RedeliverWebhookDeliveryErrors];
27880
27885
  type RedeliverWebhookDeliveryResponses = {
@@ -31328,6 +31333,7 @@ export declare class Webhooks {
31328
31333
  *
31329
31334
  * 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`.
31330
31335
  * 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.
31336
+ * An inactive webhook is refused with `409 webhook_inactive`.
31331
31337
  *
31332
31338
  */
31333
31339
  static redeliverWebhookDelivery<ThrowOnError extends boolean = false>(options: Options<RedeliverWebhookDeliveryData, ThrowOnError>): RequestResult<RedeliverWebhookDeliveryResponses, RedeliverWebhookDeliveryErrors, ThrowOnError>;
package/dist/index.d.mts CHANGED
@@ -9431,7 +9431,7 @@ type WebhookWithSecret = Webhook & {
9431
9431
  };
9432
9432
  type WebhookCreate = {
9433
9433
  /**
9434
- * An `https://` endpoint (`http://` is accepted for localhost, so a tunnel works in development).
9434
+ * An `https://` endpoint on a public internet host. A host that is, or resolves to, a loopback, private or link-local address is refused, here and again at each delivery; redirects are not followed.
9435
9435
  *
9436
9436
  */
9437
9437
  url: string;
@@ -27875,6 +27875,11 @@ type RedeliverWebhookDeliveryErrors = {
27875
27875
  * The resource does not exist (existence is not leaked).
27876
27876
  */
27877
27877
  404: ErrorResponse;
27878
+ /**
27879
+ * The delivery's webhook is inactive (`webhook_inactive`).
27880
+ *
27881
+ */
27882
+ 409: ErrorResponse;
27878
27883
  };
27879
27884
  type RedeliverWebhookDeliveryError = RedeliverWebhookDeliveryErrors[keyof RedeliverWebhookDeliveryErrors];
27880
27885
  type RedeliverWebhookDeliveryResponses = {
@@ -31328,6 +31333,7 @@ export declare class Webhooks {
31328
31333
  *
31329
31334
  * 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`.
31330
31335
  * 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.
31336
+ * An inactive webhook is refused with `409 webhook_inactive`.
31331
31337
  *
31332
31338
  */
31333
31339
  static redeliverWebhookDelivery<ThrowOnError extends boolean = false>(options: Options<RedeliverWebhookDeliveryData, ThrowOnError>): RequestResult<RedeliverWebhookDeliveryResponses, RedeliverWebhookDeliveryErrors, ThrowOnError>;
package/dist/index.mjs CHANGED
@@ -6344,6 +6344,7 @@ var Webhooks = class {
6344
6344
  *
6345
6345
  * 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`.
6346
6346
  * 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.
6347
+ * An inactive webhook is refused with `409 webhook_inactive`.
6347
6348
  *
6348
6349
  */
6349
6350
  static redeliverWebhookDelivery(options) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturali/sdk",
3
- "version": "0.209.1",
3
+ "version": "0.209.2",
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.1",
41
+ "@naturali/api": "0.209.2",
42
42
  "@ttoss/openapi-codegen": "^0.10.0",
43
43
  "@types/node": "^26.5.1",
44
44
  "tsdown": "^0.23.0",