@muhammedaksam/waha-node 2026.3.4 → 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.
- package/dist/index.d.ts +14 -0
- 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