@muhammedaksam/waha-node 2026.3.3 → 2026.4.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.
Files changed (2) hide show
  1. package/dist/index.d.ts +14 -0
  2. package/package.json +1 -1
package/dist/index.d.ts CHANGED
@@ -85,6 +85,16 @@ interface CallsAppChannelConfig {
85
85
  reject: boolean;
86
86
  /** Optional auto-reply message sent after the call is rejected. If empty, no message is sent. */
87
87
  message?: string;
88
+ /**
89
+ * Seconds to wait before declining the call. If not set or undefined, the call is declined immediately (0 seconds).
90
+ * @min 0
91
+ */
92
+ waitBeforeDecline?: number;
93
+ /**
94
+ * Seconds to wait before sending the auto-reply message. If not set or undefined, the message is sent immediately (0 seconds).
95
+ * @min 0
96
+ */
97
+ waitBeforeResponse?: number;
88
98
  }
89
99
  interface CallsAppConfig {
90
100
  /**
@@ -461,6 +471,10 @@ interface ReplyToMessage {
461
471
  participant?: string;
462
472
  /** @example "Hello!" */
463
473
  body?: string;
474
+ /** Indicates if the message has media available for download */
475
+ hasMedia: boolean;
476
+ /** Media object for the message if any and downloaded */
477
+ media?: WAMedia;
464
478
  /** Raw data from reply's message */
465
479
  _data?: object;
466
480
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@muhammedaksam/waha-node",
3
- "version": "2026.3.3",
3
+ "version": "2026.4.2",
4
4
  "type": "module",
5
5
  "description": "Node.js TypeScript SDK for WAHA (WhatsApp HTTP API) - auto-generated from OpenAPI spec",
6
6
  "main": "dist/index.cjs.js",