Skip to content

Commit d4ec9db

Browse files
Release 4.39.0
1 parent c997e0a commit d4ec9db

File tree

138 files changed

+477
-414
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

138 files changed

+477
-414
lines changed

CHANGELOG.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
99

10-
## [4.38.1](https://github.com/open-wa/wa-automate-nodejs/compare/4.38.0...4.38.1)
10+
## [4.39.0](https://github.com/open-wa/wa-automate-nodejs/compare/4.38.1...4.39.0)
11+
12+
### Commits
13+
14+
- ✨ feat: `client.sendAdvancedButtons` #2394 [`3bb536f`](https://github.com/open-wa/wa-automate-nodejs/commit/3bb536fa0512cfc0d014c9b0515ccb5da6864769)
15+
- 🔇 dont log message preproc unless it's actually processing something [`c997e0a`](https://github.com/open-wa/wa-automate-nodejs/commit/c997e0a6ec2c3d236a6ccc222da17e4f5ebfd55a)
16+
- updated types-only package [`50ba3e6`](https://github.com/open-wa/wa-automate-nodejs/commit/50ba3e69242bf2551ae9c8ef8eda6a9de8fad73b)
17+
18+
## [4.38.1](https://github.com/open-wa/wa-automate-nodejs/compare/4.38.0...4.38.1) - 2022-06-07
1119

1220
### Fixed
1321

1422
- 🚑 fix #2736 [`#2736`](https://github.com/open-wa/wa-automate-nodejs/issues/2736)
1523

1624
### Commits
1725

26+
- Release 4.38.1 [`445ab68`](https://github.com/open-wa/wa-automate-nodejs/commit/445ab6888007e828641dc6cf4b75e8499a7626d2)
1827
- updated types-only package [`8dd117c`](https://github.com/open-wa/wa-automate-nodejs/commit/8dd117ce5109f2bc0b3d001732dbfa92301270bd)
1928

2029
## [4.38.0](https://github.com/open-wa/wa-automate-nodejs/compare/4.37.5...4.38.0) - 2022-06-06

bin/oas-type-schemas.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/assets/js/search.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/assets/js/search.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

docs/classes/api_Client.Client.html

Lines changed: 65 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<head>
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6-
<title>Client | @open-wa/wa-automate - v4.38.1</title>
7-
<meta name="description" content="Documentation for @open-wa/wa-automate - v4.38.1">
6+
<title>Client | @open-wa/wa-automate - v4.39.0</title>
7+
<meta name="description" content="Documentation for @open-wa/wa-automate - v4.39.0">
88
<meta name="viewport" content="width=device-width, initial-scale=1">
99
<link rel="stylesheet" href="../assets/css/main.css">
1010
<link rel="stylesheet" href="../assets/css/pages.css">
@@ -31,7 +31,7 @@
3131
<li class="state loading">Preparing search index...</li>
3232
<li class="state failure">The search index is not available</li>
3333
</ul>
34-
<a href="../index.html" class="title">@open-wa/wa-automate - v4.38.1</a>
34+
<a href="../index.html" class="title">@open-wa/wa-automate - v4.39.0</a>
3535
</div>
3636
<div class="table-cell" id="tsd-widgets">
3737
<div id="tsd-filter">
@@ -258,6 +258,7 @@ <h3>Methods</h3>
258258
<li class="tsd-kind-method tsd-parent-kind-class"><a href="api_Client.Client.html#reply" class="tsd-kind-icon">reply</a></li>
259259
<li class="tsd-kind-method tsd-parent-kind-class"><a href="api_Client.Client.html#reportSpam" class="tsd-kind-icon">report<wbr>Spam</a></li>
260260
<li class="tsd-kind-method tsd-parent-kind-class"><a href="api_Client.Client.html#revokeGroupInviteLink" class="tsd-kind-icon">revoke<wbr>Group<wbr>Invite<wbr>Link</a></li>
261+
<li class="tsd-kind-method tsd-parent-kind-class"><a href="api_Client.Client.html#sendAdvancedButtons" class="tsd-kind-icon">send<wbr>Advanced<wbr>Buttons</a></li>
261262
<li class="tsd-kind-method tsd-parent-kind-class"><a href="api_Client.Client.html#sendAudio" class="tsd-kind-icon">send<wbr>Audio</a></li>
262263
<li class="tsd-kind-method tsd-parent-kind-class"><a href="api_Client.Client.html#sendBanner" class="tsd-kind-icon">send<wbr>Banner</a></li>
263264
<li class="tsd-kind-method tsd-parent-kind-class"><a href="api_Client.Client.html#sendButtons" class="tsd-kind-icon">send<wbr>Buttons</a></li>
@@ -5521,6 +5522,63 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</
55215522
</li>
55225523
</ul>
55235524
</section>
5525+
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
5526+
<a name="sendAdvancedButtons" class="tsd-anchor"></a>
5527+
<h3>send<wbr>Advanced<wbr>Buttons</h3>
5528+
<ul class="tsd-signatures tsd-kind-method tsd-parent-kind-class">
5529+
<li class="tsd-signature tsd-kind-icon">send<wbr>Advanced<wbr>Buttons<span class="tsd-signature-symbol">(</span>to<span class="tsd-signature-symbol">: </span><a href="../modules/api_model_aliases.html#ChatId" class="tsd-signature-type" data-tsd-kind="Type alias">ChatId</a>, body<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/api_model_button.LocationButtonBody.html" class="tsd-signature-type" data-tsd-kind="Interface">LocationButtonBody</a>, buttons<span class="tsd-signature-symbol">: </span><a href="../interfaces/api_model_button.AdvancedButton.html" class="tsd-signature-type" data-tsd-kind="Interface">AdvancedButton</a><span class="tsd-signature-symbol">[]</span>, text<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, footer<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span>, filename<span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol">)</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><a href="../modules/api_model_aliases.html#MessageId" class="tsd-signature-type" data-tsd-kind="Type alias">MessageId</a><span class="tsd-signature-symbol">&gt;</span></li>
5530+
</ul>
5531+
<ul class="tsd-descriptions">
5532+
<li class="tsd-description">
5533+
<aside class="tsd-sources">
5534+
</aside>
5535+
<div class="tsd-comment tsd-typography">
5536+
<div class="lead">
5537+
<p>{@license:insiders@}</p>
5538+
</div>
5539+
<p>Send advanced buttons with media body. This is an insiders feature for MD accounts.</p>
5540+
<p>Body can be location, image, video or document. Buttons can be quick reply, url or call buttons.</p>
5541+
</div>
5542+
<h4 class="tsd-parameters-title">Parameters</h4>
5543+
<ul class="tsd-parameters">
5544+
<li>
5545+
<h5>to: <a href="../modules/api_model_aliases.html#ChatId" class="tsd-signature-type" data-tsd-kind="Type alias">ChatId</a></h5>
5546+
<div class="tsd-comment tsd-typography">
5547+
<p>chat id</p>
5548+
</div>
5549+
</li>
5550+
<li>
5551+
<h5>body: <span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><a href="../interfaces/api_model_button.LocationButtonBody.html" class="tsd-signature-type" data-tsd-kind="Interface">LocationButtonBody</a></h5>
5552+
<div class="tsd-comment tsd-typography">
5553+
<p>The body of the buttons message</p>
5554+
</div>
5555+
</li>
5556+
<li>
5557+
<h5>buttons: <a href="../interfaces/api_model_button.AdvancedButton.html" class="tsd-signature-type" data-tsd-kind="Interface">AdvancedButton</a><span class="tsd-signature-symbol">[]</span></h5>
5558+
<div class="tsd-comment tsd-typography">
5559+
<p>Array of buttons - limit is 3!</p>
5560+
</div>
5561+
</li>
5562+
<li>
5563+
<h5>text: <span class="tsd-signature-type">string</span></h5>
5564+
</li>
5565+
<li>
5566+
<h5>footer: <span class="tsd-signature-type">string</span></h5>
5567+
<div class="tsd-comment tsd-typography">
5568+
<p>The footer of the buttons message</p>
5569+
</div>
5570+
</li>
5571+
<li>
5572+
<h5>filename: <span class="tsd-signature-type">string</span></h5>
5573+
<div class="tsd-comment tsd-typography">
5574+
<p>Required if body is a file!!</p>
5575+
</div>
5576+
</li>
5577+
</ul>
5578+
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">boolean</span><span class="tsd-signature-symbol"> | </span><a href="../modules/api_model_aliases.html#MessageId" class="tsd-signature-type" data-tsd-kind="Type alias">MessageId</a><span class="tsd-signature-symbol">&gt;</span></h4>
5579+
</li>
5580+
</ul>
5581+
</section>
55245582
<section class="tsd-panel tsd-member tsd-kind-method tsd-parent-kind-class">
55255583
<a name="sendAudio" class="tsd-anchor"></a>
55265584
<h3>send<wbr>Audio</h3>
@@ -6239,15 +6297,7 @@ <h3>send<wbr>List<wbr>Message</h3>
62396297
<div class="lead">
62406298
<p>{@license:insiders@}</p>
62416299
</div>
6242-
<p>:::documentation-page{title=&quot;Welcome&quot;}</p>
6243-
<p>Please install :inline-code[unified]!</p>
6244-
<p>::copyright-notice{year=&quot;2020&quot;}</p>
6245-
<p>:::
6246-
::license-required[insiders]</p>
6247-
<p>::span{year=&quot;2020&quot;}</p>
6248-
<p>:span{year=&quot;2020&quot;}</p>
6249-
<p><span theme="badge contrast license">Insiders</span>
6250-
<a href="https://gum.co/open-wa?tier=Insiders%20Program">REQUIRES AN INSIDERS LICENSE-KEY</a></p>
6300+
<p><a href="https://gum.co/open-wa?tier=Insiders%20Program">REQUIRES AN INSIDERS LICENSE-KEY</a></p>
62516301
<p>Send a list message. This will not work when being sent from business accounts!</p>
62526302
</div>
62536303
<h4 class="tsd-parameters-title">Parameters</h4>
@@ -8416,6 +8466,9 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Promise</
84168466
<li class=" tsd-kind-method tsd-parent-kind-class">
84178467
<a href="api_Client.Client.html#revokeGroupInviteLink" class="tsd-kind-icon">revoke<wbr>Group<wbr>Invite<wbr>Link</a>
84188468
</li>
8469+
<li class=" tsd-kind-method tsd-parent-kind-class">
8470+
<a href="api_Client.Client.html#sendAdvancedButtons" class="tsd-kind-icon">send<wbr>Advanced<wbr>Buttons</a>
8471+
</li>
84198472
<li class=" tsd-kind-method tsd-parent-kind-class">
84208473
<a href="api_Client.Client.html#sendAudio" class="tsd-kind-icon">send<wbr>Audio</a>
84218474
</li>

docs/classes/api_model_errors.AddParticipantError.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<head>
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6-
<title>AddParticipantError | @open-wa/wa-automate - v4.38.1</title>
7-
<meta name="description" content="Documentation for @open-wa/wa-automate - v4.38.1">
6+
<title>AddParticipantError | @open-wa/wa-automate - v4.39.0</title>
7+
<meta name="description" content="Documentation for @open-wa/wa-automate - v4.39.0">
88
<meta name="viewport" content="width=device-width, initial-scale=1">
99
<link rel="stylesheet" href="../assets/css/main.css">
1010
<link rel="stylesheet" href="../assets/css/pages.css">
@@ -31,7 +31,7 @@
3131
<li class="state loading">Preparing search index...</li>
3232
<li class="state failure">The search index is not available</li>
3333
</ul>
34-
<a href="../index.html" class="title">@open-wa/wa-automate - v4.38.1</a>
34+
<a href="../index.html" class="title">@open-wa/wa-automate - v4.39.0</a>
3535
</div>
3636
<div class="table-cell" id="tsd-widgets">
3737
<div id="tsd-filter">

docs/classes/api_model_errors.CustomError.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<head>
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6-
<title>CustomError | @open-wa/wa-automate - v4.38.1</title>
7-
<meta name="description" content="Documentation for @open-wa/wa-automate - v4.38.1">
6+
<title>CustomError | @open-wa/wa-automate - v4.39.0</title>
7+
<meta name="description" content="Documentation for @open-wa/wa-automate - v4.39.0">
88
<meta name="viewport" content="width=device-width, initial-scale=1">
99
<link rel="stylesheet" href="../assets/css/main.css">
1010
<link rel="stylesheet" href="../assets/css/pages.css">
@@ -31,7 +31,7 @@
3131
<li class="state loading">Preparing search index...</li>
3232
<li class="state failure">The search index is not available</li>
3333
</ul>
34-
<a href="../index.html" class="title">@open-wa/wa-automate - v4.38.1</a>
34+
<a href="../index.html" class="title">@open-wa/wa-automate - v4.39.0</a>
3535
</div>
3636
<div class="table-cell" id="tsd-widgets">
3737
<div id="tsd-filter">

docs/classes/api_model_errors.PageEvaluationTimeout.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<head>
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6-
<title>PageEvaluationTimeout | @open-wa/wa-automate - v4.38.1</title>
7-
<meta name="description" content="Documentation for @open-wa/wa-automate - v4.38.1">
6+
<title>PageEvaluationTimeout | @open-wa/wa-automate - v4.39.0</title>
7+
<meta name="description" content="Documentation for @open-wa/wa-automate - v4.39.0">
88
<meta name="viewport" content="width=device-width, initial-scale=1">
99
<link rel="stylesheet" href="../assets/css/main.css">
1010
<link rel="stylesheet" href="../assets/css/pages.css">
@@ -31,7 +31,7 @@
3131
<li class="state loading">Preparing search index...</li>
3232
<li class="state failure">The search index is not available</li>
3333
</ul>
34-
<a href="../index.html" class="title">@open-wa/wa-automate - v4.38.1</a>
34+
<a href="../index.html" class="title">@open-wa/wa-automate - v4.39.0</a>
3535
</div>
3636
<div class="table-cell" id="tsd-widgets">
3737
<div id="tsd-filter">

docs/classes/api_model_errors.SessionExpiredError.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
<head>
44
<meta charset="utf-8">
55
<meta http-equiv="X-UA-Compatible" content="IE=edge">
6-
<title>SessionExpiredError | @open-wa/wa-automate - v4.38.1</title>
7-
<meta name="description" content="Documentation for @open-wa/wa-automate - v4.38.1">
6+
<title>SessionExpiredError | @open-wa/wa-automate - v4.39.0</title>
7+
<meta name="description" content="Documentation for @open-wa/wa-automate - v4.39.0">
88
<meta name="viewport" content="width=device-width, initial-scale=1">
99
<link rel="stylesheet" href="../assets/css/main.css">
1010
<link rel="stylesheet" href="../assets/css/pages.css">
@@ -31,7 +31,7 @@
3131
<li class="state loading">Preparing search index...</li>
3232
<li class="state failure">The search index is not available</li>
3333
</ul>
34-
<a href="../index.html" class="title">@open-wa/wa-automate - v4.38.1</a>
34+
<a href="../index.html" class="title">@open-wa/wa-automate - v4.39.0</a>
3535
</div>
3636
<div class="table-cell" id="tsd-widgets">
3737
<div id="tsd-filter">

docs/classes/connect_socket.SocketClient.html

Lines changed: 4 additions & 4 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)