@naturali/cli 0.147.0 → 0.149.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.
Files changed (2) hide show
  1. package/dist/index.mjs +5 -3
  2. package/package.json +2 -2
package/dist/index.mjs CHANGED
@@ -17,7 +17,7 @@ var __exportAll = (all, no_symbols) => {
17
17
  };
18
18
  //#endregion
19
19
  //#region package.json
20
- var version = "0.147.0";
20
+ var version = "0.149.0";
21
21
  //#endregion
22
22
  //#region ../sdk/src/generated/core/bodySerializer.gen.ts
23
23
  const serializeFormDataPair = (data, key, value) => {
@@ -4961,6 +4961,7 @@ var Webhooks = class {
4961
4961
  *
4962
4962
  * Register an endpoint and subscribe it to one or more event types.
4963
4963
  * The response carries `secret` — the signing key, in plaintext. **This is the only time it is returned.** Store it where your receiver can read it; if you lose it, rotate rather than re-create, so the endpoint keeps its delivery history.
4964
+ * A project holds at most 20 webhooks, inactive ones included; the 21st is refused with `409 webhook_limit_reached`.
4964
4965
  * Returns `501` on a deployment with no credential-sealing key configured, since the secret could not then be stored safely.
4965
4966
  *
4966
4967
  */
@@ -5033,6 +5034,7 @@ var Webhooks = class {
5033
5034
  *
5034
5035
  * Every delivery attempted in the project, newest first — what was sent, where, how many times, and what came back. Filter by endpoint, by lifecycle status, or by event type.
5035
5036
  * Deliveries are per (event, endpoint): an event matching two subscribed endpoints produces two rows, retried and observed independently.
5037
+ * A `success` or `failed` delivery is deleted 30 days after it was created, and can no longer be read or redelivered. A `pending` one is kept until it settles.
5036
5038
  *
5037
5039
  */
5038
5040
  static listWebhookDeliveries(options) {
@@ -19128,7 +19130,7 @@ const routes = {
19128
19130
  "create-webhook": {
19129
19131
  serviceClass: "Webhooks",
19130
19132
  operationId: "createWebhook",
19131
- description: "Register an endpoint and subscribe it to one or more event types. The response carries `secret` — the signing key, in plaintext. **This is the only time it is returned.** Store it where your receiver can read it; if you lose it, rotate rather than re-create, so the endpoint keeps its delivery history. Returns `501` on a deployment with no credential-sealing key configured, since the secret could not then be stored safely.",
19133
+ description: "Register an endpoint and subscribe it to one or more event types. The response carries `secret` — the signing key, in plaintext. **This is the only time it is returned.** Store it where your receiver can read it; if you lose it, rotate rather than re-create, so the endpoint keeps its delivery history. A project holds at most 20 webhooks, inactive ones included; the 21st is refused with `409 webhook_limit_reached`. Returns `501` on a deployment with no credential-sealing key configured, since the secret could not then be stored safely.",
19132
19134
  moduleDocsUrl: "https://docs.naturali.ai/docs/modules/webhooks",
19133
19135
  httpMethod: "post",
19134
19136
  pathParams: ["project_id"],
@@ -19303,7 +19305,7 @@ const routes = {
19303
19305
  "list-webhook-deliveries": {
19304
19306
  serviceClass: "Webhooks",
19305
19307
  operationId: "listWebhookDeliveries",
19306
- description: "Every delivery attempted in the project, newest first — what was sent, where, how many times, and what came back. Filter by endpoint, by lifecycle status, or by event type. Deliveries are per (event, endpoint): an event matching two subscribed endpoints produces two rows, retried and observed independently.",
19308
+ description: "Every delivery attempted in the project, newest first — what was sent, where, how many times, and what came back. Filter by endpoint, by lifecycle status, or by event type. Deliveries are per (event, endpoint): an event matching two subscribed endpoints produces two rows, retried and observed independently. A `success` or `failed` delivery is deleted 30 days after it was created, and can no longer be read or redelivered. A `pending` one is kept until it settles.",
19307
19309
  moduleDocsUrl: "https://docs.naturali.ai/docs/modules/webhooks",
19308
19310
  httpMethod: "get",
19309
19311
  pathParams: ["project_id"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@naturali/cli",
3
- "version": "0.147.0",
3
+ "version": "0.149.0",
4
4
  "description": "Command-line interface for the naturali.ai API, generated from its OpenAPI specs",
5
5
  "type": "module",
6
6
  "bin": {
@@ -25,7 +25,7 @@
25
25
  "yaml": "^2.9.1"
26
26
  },
27
27
  "devDependencies": {
28
- "@naturali/sdk": "0.147.0",
28
+ "@naturali/sdk": "0.149.0",
29
29
  "@ttoss/openapi-codegen": "^0.3.1",
30
30
  "@types/node": "^26.5.1",
31
31
  "tsdown": "^0.23.0",