Commit be236d2f authored by Tim Kinnane's avatar Tim Kinnane

build(lib): Rebuid for dev publish

parent 11cb6b1f
TN:
SF:/Volumes/x/code/rocketchat-bot-driver/src/index.ts
SF:/Volumes/x/code/projects/rocketchat-bots/rocketchat-bot-driver/src/index.ts
FNF:0
FNH:0
DA:1,1
......@@ -11,7 +11,7 @@ BRF:0
BRH:0
end_of_record
TN:
SF:/Volumes/x/code/rocketchat-bot-driver/src/lib/driver.ts
SF:/Volumes/x/code/projects/rocketchat-bots/rocketchat-bot-driver/src/lib/driver.ts
FN:85,connect
FN:86,(anonymous_3)
FN:98,(anonymous_4)
......@@ -44,20 +44,23 @@ FN:292,reactToMessages
FN:294,(anonymous_31)
FN:335,getRoomId
FN:340,getRoomName
FN:348,getDirectMessageRoomId
FN:353,joinRoom
FN:354,(anonymous_36)
FN:358,joinRooms
FN:359,(anonymous_38)
FN:366,prepareMessage
FN:377,sendMessageByRoomId
FN:380,(anonymous_41)
FN:384,(anonymous_42)
FN:392,sendMessageByRoom
FN:393,(anonymous_44)
FN:402,sendMessage
FN:411,customMessage
FNF:45
FN:349,getDirectMessageRoomId
FN:350,(anonymous_35)
FN:354,joinRoom
FN:355,(anonymous_37)
FN:359,joinRooms
FN:360,(anonymous_39)
FN:367,prepareMessage
FN:378,sendMessageByRoomId
FN:381,(anonymous_42)
FN:385,(anonymous_43)
FN:393,sendMessageByRoom
FN:394,(anonymous_45)
FN:400,sendDirectToUser
FN:401,(anonymous_47)
FN:410,sendMessage
FN:419,customMessage
FNF:48
FNH:6
FNDA:9,connect
FNDA:9,(anonymous_3)
......@@ -92,16 +95,19 @@ FNDA:0,(anonymous_31)
FNDA:0,getRoomId
FNDA:0,getRoomName
FNDA:0,getDirectMessageRoomId
FNDA:0,(anonymous_35)
FNDA:0,joinRoom
FNDA:0,(anonymous_36)
FNDA:0,(anonymous_37)
FNDA:0,joinRooms
FNDA:0,(anonymous_38)
FNDA:0,(anonymous_39)
FNDA:0,prepareMessage
FNDA:0,sendMessageByRoomId
FNDA:0,(anonymous_41)
FNDA:0,(anonymous_42)
FNDA:0,(anonymous_43)
FNDA:0,sendMessageByRoom
FNDA:0,(anonymous_44)
FNDA:0,(anonymous_45)
FNDA:0,sendDirectToUser
FNDA:0,(anonymous_47)
FNDA:0,sendMessage
FNDA:0,customMessage
DA:1,1
......@@ -203,31 +209,33 @@ DA:335,1
DA:336,0
DA:340,1
DA:341,0
DA:348,1
DA:349,0
DA:353,1
DA:354,0
DA:358,1
DA:359,0
DA:366,1
DA:367,0
DA:349,1
DA:350,0
DA:354,1
DA:355,0
DA:359,1
DA:360,0
DA:367,1
DA:368,0
DA:369,0
DA:377,1
DA:378,0
DA:370,0
DA:378,1
DA:379,0
DA:380,0
DA:382,0
DA:384,0
DA:392,1
DA:393,0
DA:402,1
DA:403,0
DA:404,0
DA:411,1
DA:381,0
DA:383,0
DA:385,0
DA:393,1
DA:394,0
DA:400,1
DA:401,0
DA:410,1
DA:411,0
DA:412,0
LF:122
LH:51
DA:419,1
DA:420,0
LF:124
LH:52
BRDA:37,0,0,1
BRDA:37,0,1,0
BRDA:38,1,0,1
......@@ -272,17 +280,17 @@ BRDA:296,20,0,0
BRDA:296,20,1,0
BRDA:298,21,0,0
BRDA:298,21,1,0
BRDA:368,22,0,0
BRDA:368,22,1,0
BRDA:379,23,0,0
BRDA:379,23,1,0
BRDA:403,24,0,0
BRDA:403,24,1,0
BRDA:369,22,0,0
BRDA:369,22,1,0
BRDA:380,23,0,0
BRDA:380,23,1,0
BRDA:411,24,0,0
BRDA:411,24,1,0
BRF:50
BRH:20
end_of_record
TN:
SF:/Volumes/x/code/rocketchat-bot-driver/src/lib/message.ts
SF:/Volumes/x/code/projects/rocketchat-bots/rocketchat-bot-driver/src/lib/message.ts
FN:13,(anonymous_0)
FN:17,(anonymous_1)
FNF:2
......@@ -303,7 +311,7 @@ BRF:2
BRH:0
end_of_record
TN:
SF:/Volumes/x/code/rocketchat-bot-driver/src/lib/methodCache.ts
SF:/Volumes/x/code/projects/rocketchat-bots/rocketchat-bot-driver/src/lib/methodCache.ts
FN:15,use
FN:25,create
FN:36,call
......@@ -368,7 +376,7 @@ BRF:11
BRH:9
end_of_record
TN:
SF:/Volumes/x/code/rocketchat-bot-driver/src/utils/api.ts
SF:/Volumes/x/code/projects/rocketchat-bots/rocketchat-bot-driver/src/utils/api.ts
FN:10,(anonymous_0)
FN:12,setAuth
FN:18,getHeaders
......@@ -451,7 +459,7 @@ BRF:17
BRH:0
end_of_record
TN:
SF:/Volumes/x/code/rocketchat-bot-driver/src/utils/config.ts
SF:/Volumes/x/code/projects/rocketchat-bots/rocketchat-bot-driver/src/utils/config.ts
FNF:0
FNH:0
DA:2,0
......@@ -475,7 +483,7 @@ BRF:10
BRH:0
end_of_record
TN:
SF:/Volumes/x/code/rocketchat-bot-driver/src/utils/setup.ts
SF:/Volumes/x/code/projects/rocketchat-bots/rocketchat-bot-driver/src/utils/setup.ts
FN:2,(anonymous_0)
FN:3,(anonymous_1)
FN:4,fulfilled
......@@ -525,7 +533,7 @@ BRF:9
BRH:0
end_of_record
TN:
SF:/Volumes/x/code/rocketchat-bot-driver/src/utils/start.ts
SF:/Volumes/x/code/projects/rocketchat-bots/rocketchat-bot-driver/src/utils/start.ts
FN:2,(anonymous_0)
FN:14,start
FN:17,(anonymous_2)
......@@ -583,7 +591,7 @@ BRF:13
BRH:0
end_of_record
TN:
SF:/Volumes/x/code/rocketchat-bot-driver/src/utils/teardown.ts
SF:/Volumes/x/code/projects/rocketchat-bots/rocketchat-bot-driver/src/utils/teardown.ts
FNF:0
FNH:0
LF:0
......
......@@ -97,6 +97,7 @@ export declare function getRoomName(id: string): Promise<string>;
/**
* Get ID for a DM room by its recipient's name.
* Will create a DM (with the bot) if it doesn't exist already.
* @todo test why create resolves with object instead of simply ID
*/
export declare function getDirectMessageRoomId(username: string): Promise<string>;
/** Join the bot into a room by its name or ID */
......@@ -120,6 +121,10 @@ export declare function sendMessageByRoomId(content: string | string[] | IMessag
* Will create one or more send calls collected into promise.
*/
export declare function sendMessageByRoom(content: string | string[] | IMessage, room: string): Promise<any>;
/**
* Send a message to a user in a DM.
*/
export declare function sendDirectToUser(message: string | string[] | IMessage, username: string): Promise<any>;
/**
* Send a prepared message object (with pre-defined room ID).
* Usually prepared and called by sendMessageByRoomId or sendMessageByRoom.
......
......@@ -336,9 +336,10 @@ exports.getRoomName = getRoomName;
/**
* Get ID for a DM room by its recipient's name.
* Will create a DM (with the bot) if it doesn't exist already.
* @todo test why create resolves with object instead of simply ID
*/
function getDirectMessageRoomId(username) {
return cacheCall('createDirectMessage', username);
return cacheCall('createDirectMessage', username).then((DM) => DM.rid);
}
exports.getDirectMessageRoomId = getDirectMessageRoomId;
/** Join the bot into a room by its name or ID */
......@@ -370,7 +371,7 @@ exports.prepareMessage = prepareMessage;
function sendMessageByRoomId(content, roomId) {
let messages = [];
if (Array.isArray(content)) {
content.forEach((msg) => messages.push(prepareMessage(msg, roomId)));
content.forEach((text) => messages.push(prepareMessage(text, roomId)));
}
else {
messages.push(prepareMessage(content));
......@@ -387,6 +388,13 @@ function sendMessageByRoom(content, room) {
return getRoomId(room).then((roomId) => sendMessageByRoomId(content, roomId));
}
exports.sendMessageByRoom = sendMessageByRoom;
/**
* Send a message to a user in a DM.
*/
function sendDirectToUser(message, username) {
return getDirectMessageRoomId(username).then((rid) => sendMessageByRoomId(message, rid));
}
exports.sendDirectToUser = sendDirectToUser;
/**
* Send a prepared message object (with pre-defined room ID).
* Usually prepared and called by sendMessageByRoomId or sendMessageByRoom.
......
This diff is collapsed.
This diff is collapsed.
......@@ -1047,7 +1047,7 @@ img { max-width: 100%; }
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/20ffba0/src/lib/message.ts#L12">lib/message.ts:12</a></li>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/11cb6b1/src/lib/message.ts#L12">lib/message.ts:12</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
......@@ -1070,7 +1070,7 @@ img { max-width: 100%; }
<aside class="tsd-sources">
<p>Inherited from <a href="../interfaces/_config_messageinterfaces_.imessage.html">IMessage</a>.<a href="../interfaces/_config_messageinterfaces_.imessage.html#_id">_id</a></p>
<ul>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/20ffba0/src/config/messageInterfaces.ts#L5">config/messageInterfaces.ts:5</a></li>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/11cb6b1/src/config/messageInterfaces.ts#L5">config/messageInterfaces.ts:5</a></li>
</ul>
</aside>
</section>
......@@ -1081,7 +1081,7 @@ img { max-width: 100%; }
<aside class="tsd-sources">
<p>Inherited from <a href="../interfaces/_config_messageinterfaces_.imessage.html">IMessage</a>.<a href="../interfaces/_config_messageinterfaces_.imessage.html#alias">alias</a></p>
<ul>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/20ffba0/src/config/messageInterfaces.ts#L8">config/messageInterfaces.ts:8</a></li>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/11cb6b1/src/config/messageInterfaces.ts#L8">config/messageInterfaces.ts:8</a></li>
</ul>
</aside>
</section>
......@@ -1092,7 +1092,7 @@ img { max-width: 100%; }
<aside class="tsd-sources">
<p>Inherited from <a href="../interfaces/_config_messageinterfaces_.imessage.html">IMessage</a>.<a href="../interfaces/_config_messageinterfaces_.imessage.html#attachments">attachments</a></p>
<ul>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/20ffba0/src/config/messageInterfaces.ts#L20">config/messageInterfaces.ts:20</a></li>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/11cb6b1/src/config/messageInterfaces.ts#L20">config/messageInterfaces.ts:20</a></li>
</ul>
</aside>
</section>
......@@ -1103,7 +1103,7 @@ img { max-width: 100%; }
<aside class="tsd-sources">
<p>Inherited from <a href="../interfaces/_config_messageinterfaces_.imessage.html">IMessage</a>.<a href="../interfaces/_config_messageinterfaces_.imessage.html#avatar">avatar</a></p>
<ul>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/20ffba0/src/config/messageInterfaces.ts#L10">config/messageInterfaces.ts:10</a></li>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/11cb6b1/src/config/messageInterfaces.ts#L10">config/messageInterfaces.ts:10</a></li>
</ul>
</aside>
</section>
......@@ -1114,8 +1114,8 @@ img { max-width: 100%; }
<aside class="tsd-sources">
<p>Inherited from <a href="../interfaces/_config_messageinterfaces_.imessage.html">IMessage</a>.<a href="../interfaces/_config_messageinterfaces_.imessage.html#bot">bot</a></p>
<ul>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/20ffba0/src/config/messageInterfaces.ts#L12">config/messageInterfaces.ts:12</a></li>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/20ffba0/src/lib/message.ts#L12">lib/message.ts:12</a></li>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/11cb6b1/src/config/messageInterfaces.ts#L12">config/messageInterfaces.ts:12</a></li>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/11cb6b1/src/lib/message.ts#L12">lib/message.ts:12</a></li>
</ul>
</aside>
</section>
......@@ -1126,7 +1126,7 @@ img { max-width: 100%; }
<aside class="tsd-sources">
<p>Inherited from <a href="../interfaces/_config_messageinterfaces_.imessage.html">IMessage</a>.<a href="../interfaces/_config_messageinterfaces_.imessage.html#editedat">editedAt</a></p>
<ul>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/20ffba0/src/config/messageInterfaces.ts#L21">config/messageInterfaces.ts:21</a></li>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/11cb6b1/src/config/messageInterfaces.ts#L21">config/messageInterfaces.ts:21</a></li>
</ul>
</aside>
</section>
......@@ -1137,7 +1137,7 @@ img { max-width: 100%; }
<aside class="tsd-sources">
<p>Inherited from <a href="../interfaces/_config_messageinterfaces_.imessage.html">IMessage</a>.<a href="../interfaces/_config_messageinterfaces_.imessage.html#editedby">editedBy</a></p>
<ul>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/20ffba0/src/config/messageInterfaces.ts#L22">config/messageInterfaces.ts:22</a></li>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/11cb6b1/src/config/messageInterfaces.ts#L22">config/messageInterfaces.ts:22</a></li>
</ul>
</aside>
</section>
......@@ -1148,7 +1148,7 @@ img { max-width: 100%; }
<aside class="tsd-sources">
<p>Inherited from <a href="../interfaces/_config_messageinterfaces_.imessage.html">IMessage</a>.<a href="../interfaces/_config_messageinterfaces_.imessage.html#emoji">emoji</a></p>
<ul>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/20ffba0/src/config/messageInterfaces.ts#L9">config/messageInterfaces.ts:9</a></li>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/11cb6b1/src/config/messageInterfaces.ts#L9">config/messageInterfaces.ts:9</a></li>
</ul>
</aside>
</section>
......@@ -1159,7 +1159,7 @@ img { max-width: 100%; }
<aside class="tsd-sources">
<p>Inherited from <a href="../interfaces/_config_messageinterfaces_.imessage.html">IMessage</a>.<a href="../interfaces/_config_messageinterfaces_.imessage.html#groupable">groupable</a></p>
<ul>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/20ffba0/src/config/messageInterfaces.ts#L11">config/messageInterfaces.ts:11</a></li>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/11cb6b1/src/config/messageInterfaces.ts#L11">config/messageInterfaces.ts:11</a></li>
</ul>
</aside>
</section>
......@@ -1170,7 +1170,7 @@ img { max-width: 100%; }
<aside class="tsd-sources">
<p>Inherited from <a href="../interfaces/_config_messageinterfaces_.imessage.html">IMessage</a>.<a href="../interfaces/_config_messageinterfaces_.imessage.html#location">location</a></p>
<ul>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/20ffba0/src/config/messageInterfaces.ts#L16">config/messageInterfaces.ts:16</a></li>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/11cb6b1/src/config/messageInterfaces.ts#L16">config/messageInterfaces.ts:16</a></li>
</ul>
</aside>
</section>
......@@ -1181,7 +1181,7 @@ img { max-width: 100%; }
<aside class="tsd-sources">
<p>Inherited from <a href="../interfaces/_config_messageinterfaces_.imessage.html">IMessage</a>.<a href="../interfaces/_config_messageinterfaces_.imessage.html#mentions">mentions</a></p>
<ul>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/20ffba0/src/config/messageInterfaces.ts#L14">config/messageInterfaces.ts:14</a></li>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/11cb6b1/src/config/messageInterfaces.ts#L14">config/messageInterfaces.ts:14</a></li>
</ul>
</aside>
</section>
......@@ -1192,7 +1192,7 @@ img { max-width: 100%; }
<aside class="tsd-sources">
<p>Inherited from <a href="../interfaces/_config_messageinterfaces_.imessage.html">IMessage</a>.<a href="../interfaces/_config_messageinterfaces_.imessage.html#msg">msg</a></p>
<ul>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/20ffba0/src/config/messageInterfaces.ts#L7">config/messageInterfaces.ts:7</a></li>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/11cb6b1/src/config/messageInterfaces.ts#L7">config/messageInterfaces.ts:7</a></li>
</ul>
</aside>
</section>
......@@ -1203,7 +1203,7 @@ img { max-width: 100%; }
<aside class="tsd-sources">
<p>Inherited from <a href="../interfaces/_config_messageinterfaces_.imessage.html">IMessage</a>.<a href="../interfaces/_config_messageinterfaces_.imessage.html#reactions">reactions</a></p>
<ul>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/20ffba0/src/config/messageInterfaces.ts#L15">config/messageInterfaces.ts:15</a></li>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/11cb6b1/src/config/messageInterfaces.ts#L15">config/messageInterfaces.ts:15</a></li>
</ul>
</aside>
</section>
......@@ -1214,7 +1214,7 @@ img { max-width: 100%; }
<aside class="tsd-sources">
<p>Inherited from <a href="../interfaces/_config_messageinterfaces_.imessage.html">IMessage</a>.<a href="../interfaces/_config_messageinterfaces_.imessage.html#rid">rid</a></p>
<ul>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/20ffba0/src/config/messageInterfaces.ts#L4">config/messageInterfaces.ts:4</a></li>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/11cb6b1/src/config/messageInterfaces.ts#L4">config/messageInterfaces.ts:4</a></li>
</ul>
</aside>
</section>
......@@ -1225,7 +1225,7 @@ img { max-width: 100%; }
<aside class="tsd-sources">
<p>Inherited from <a href="../interfaces/_config_messageinterfaces_.imessage.html">IMessage</a>.<a href="../interfaces/_config_messageinterfaces_.imessage.html#t">t</a></p>
<ul>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/20ffba0/src/config/messageInterfaces.ts#L6">config/messageInterfaces.ts:6</a></li>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/11cb6b1/src/config/messageInterfaces.ts#L6">config/messageInterfaces.ts:6</a></li>
</ul>
</aside>
</section>
......@@ -1236,7 +1236,7 @@ img { max-width: 100%; }
<aside class="tsd-sources">
<p>Inherited from <a href="../interfaces/_config_messageinterfaces_.imessage.html">IMessage</a>.<a href="../interfaces/_config_messageinterfaces_.imessage.html#urls">urls</a></p>
<ul>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/20ffba0/src/config/messageInterfaces.ts#L13">config/messageInterfaces.ts:13</a></li>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/11cb6b1/src/config/messageInterfaces.ts#L13">config/messageInterfaces.ts:13</a></li>
</ul>
</aside>
</section>
......@@ -1253,7 +1253,7 @@ img { max-width: 100%; }
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/20ffba0/src/lib/message.ts#L17">lib/message.ts:17</a></li>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/11cb6b1/src/lib/message.ts#L17">lib/message.ts:17</a></li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
......
......@@ -1115,7 +1115,7 @@ img { max-width: 100%; }
<div class="tsd-signature tsd-kind-icon">apply<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">function</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/20ffba0/src/config/asteroidInterfaces.ts#L22">config/asteroidInterfaces.ts:22</a></li>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/11cb6b1/src/config/asteroidInterfaces.ts#L22">config/asteroidInterfaces.ts:22</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
......@@ -1149,7 +1149,7 @@ img { max-width: 100%; }
<div class="tsd-signature tsd-kind-icon">call<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">function</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/20ffba0/src/config/asteroidInterfaces.ts#L21">config/asteroidInterfaces.ts:21</a></li>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/11cb6b1/src/config/asteroidInterfaces.ts#L21">config/asteroidInterfaces.ts:21</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
......@@ -1183,7 +1183,7 @@ img { max-width: 100%; }
<div class="tsd-signature tsd-kind-icon">connect<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">function</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/20ffba0/src/config/asteroidInterfaces.ts#L9">config/asteroidInterfaces.ts:9</a></li>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/11cb6b1/src/config/asteroidInterfaces.ts#L9">config/asteroidInterfaces.ts:9</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
......@@ -1208,7 +1208,7 @@ img { max-width: 100%; }
<div class="tsd-signature tsd-kind-icon">create<wbr>User<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">function</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/20ffba0/src/config/asteroidInterfaces.ts#L11">config/asteroidInterfaces.ts:11</a></li>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/11cb6b1/src/config/asteroidInterfaces.ts#L11">config/asteroidInterfaces.ts:11</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
......@@ -1245,7 +1245,7 @@ img { max-width: 100%; }
<div class="tsd-signature tsd-kind-icon">ddp<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">EventEmitter</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/20ffba0/src/config/asteroidInterfaces.ts#L24">config/asteroidInterfaces.ts:24</a></li>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/11cb6b1/src/config/asteroidInterfaces.ts#L24">config/asteroidInterfaces.ts:24</a></li>
</ul>
</aside>
</section>
......@@ -1255,7 +1255,7 @@ img { max-width: 100%; }
<div class="tsd-signature tsd-kind-icon">disconnect<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">function</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/20ffba0/src/config/asteroidInterfaces.ts#L10">config/asteroidInterfaces.ts:10</a></li>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/11cb6b1/src/config/asteroidInterfaces.ts#L10">config/asteroidInterfaces.ts:10</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
......@@ -1280,7 +1280,7 @@ img { max-width: 100%; }
<div class="tsd-signature tsd-kind-icon">get<wbr>Collection<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">function</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/20ffba0/src/config/asteroidInterfaces.ts#L23">config/asteroidInterfaces.ts:23</a></li>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/11cb6b1/src/config/asteroidInterfaces.ts#L23">config/asteroidInterfaces.ts:23</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
......@@ -1311,7 +1311,7 @@ img { max-width: 100%; }
<div class="tsd-signature tsd-kind-icon">login<wbr>With<wbr>Facebook<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">function</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/20ffba0/src/config/asteroidInterfaces.ts#L13">config/asteroidInterfaces.ts:13</a></li>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/11cb6b1/src/config/asteroidInterfaces.ts#L13">config/asteroidInterfaces.ts:13</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
......@@ -1342,7 +1342,7 @@ img { max-width: 100%; }
<div class="tsd-signature tsd-kind-icon">login<wbr>With<wbr>Github<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">function</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/20ffba0/src/config/asteroidInterfaces.ts#L16">config/asteroidInterfaces.ts:16</a></li>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/11cb6b1/src/config/asteroidInterfaces.ts#L16">config/asteroidInterfaces.ts:16</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
......@@ -1373,7 +1373,7 @@ img { max-width: 100%; }
<div class="tsd-signature tsd-kind-icon">login<wbr>With<wbr>Google<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">function</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/20ffba0/src/config/asteroidInterfaces.ts#L14">config/asteroidInterfaces.ts:14</a></li>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/11cb6b1/src/config/asteroidInterfaces.ts#L14">config/asteroidInterfaces.ts:14</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
......@@ -1404,7 +1404,7 @@ img { max-width: 100%; }
<div class="tsd-signature tsd-kind-icon">login<wbr>WithLDAP<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">function</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/20ffba0/src/config/asteroidInterfaces.ts#L12">config/asteroidInterfaces.ts:12</a></li>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/11cb6b1/src/config/asteroidInterfaces.ts#L12">config/asteroidInterfaces.ts:12</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
......@@ -1435,7 +1435,7 @@ img { max-width: 100%; }
<div class="tsd-signature tsd-kind-icon">login<wbr>With<wbr>Password<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">function</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/20ffba0/src/config/asteroidInterfaces.ts#L17">config/asteroidInterfaces.ts:17</a></li>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/11cb6b1/src/config/asteroidInterfaces.ts#L17">config/asteroidInterfaces.ts:17</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
......@@ -1469,7 +1469,7 @@ img { max-width: 100%; }
<div class="tsd-signature tsd-kind-icon">login<wbr>With<wbr>Twitter<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">function</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/20ffba0/src/config/asteroidInterfaces.ts#L15">config/asteroidInterfaces.ts:15</a></li>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/11cb6b1/src/config/asteroidInterfaces.ts#L15">config/asteroidInterfaces.ts:15</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
......@@ -1500,7 +1500,7 @@ img { max-width: 100%; }
<div class="tsd-signature tsd-kind-icon">logout<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">function</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/20ffba0/src/config/asteroidInterfaces.ts#L18">config/asteroidInterfaces.ts:18</a></li>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/11cb6b1/src/config/asteroidInterfaces.ts#L18">config/asteroidInterfaces.ts:18</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
......@@ -1525,7 +1525,7 @@ img { max-width: 100%; }
<div class="tsd-signature tsd-kind-icon">subscribe<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">function</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/20ffba0/src/config/asteroidInterfaces.ts#L19">config/asteroidInterfaces.ts:19</a></li>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/11cb6b1/src/config/asteroidInterfaces.ts#L19">config/asteroidInterfaces.ts:19</a></li>
</ul>
</aside>
<div class="tsd-type-declaration">
......@@ -1559,7 +1559,7 @@ img { max-width: 100%; }
<div class="tsd-signature tsd-kind-icon">subscriptions<span class="tsd-signature-symbol">:</span> <a href="_config_asteroidinterfaces_.isubscription.html" class="tsd-signature-type">ISubscription</a><span class="tsd-signature-symbol">[]</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/20ffba0/src/config/asteroidInterfaces.ts#L20">config/asteroidInterfaces.ts:20</a></li>
<li>Defined in <a href="https://github.com/RocketChat/rocketchat-bot-driver/blob/11cb6b1/src/config/asteroidInterfaces.ts#L20">config/asteroidInterfaces.ts:20</a></li>
</ul>
</aside>
</section>
......@@ -1570,7 +1570,7 @@ img { max-width: 100%; }
<aside class="tsd-sources">
<p>Inherited from EventEmitter.defaultMaxListeners</p>
<ul>
<li>Defined in /Volumes/x/code/rocketchat-bot-driver/node_modules/@types/node/index.d.ts:916</li>
<li>Defined in /Volumes/x/code/projects/rocketchat-bots/rocketchat-bot-driver/node_modules/@types/node/index.d.ts:916</li>
</ul>
</aside>
</section>
......@@ -1589,7 +1589,7 @@ img { max-width: 100%; }
<p>Inherited from EventEmitter.addListener</p>
<p>Overrides EventEmitter.addListener</p>
<ul>
<li>Defined in /Volumes/x/code/rocketchat-bot-driver/node_modules/@types/node/index.d.ts:918</li>
<li>Defined in /Volumes/x/code/projects/rocketchat-bots/rocketchat-bot-driver/node_modules/@types/node/index.d.ts:918</li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
......@@ -1635,7 +1635,7 @@ img { max-width: 100%; }
<p>Inherited from EventEmitter.emit</p>
<p>Overrides EventEmitter.emit</p>
<ul>
<li>Defined in /Volumes/x/code/rocketchat-bot-driver/node_modules/@types/node/index.d.ts:929</li>
<li>Defined in /Volumes/x/code/projects/rocketchat-bots/rocketchat-bot-driver/node_modules/@types/node/index.d.ts:929</li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
......@@ -1663,7 +1663,7 @@ img { max-width: 100%; }
<p>Inherited from EventEmitter.eventNames</p>
<p>Overrides EventEmitter.eventNames</p>
<ul>
<li>Defined in /Volumes/x/code/rocketchat-bot-driver/node_modules/@types/node/index.d.ts:930</li>
<li>Defined in /Volumes/x/code/projects/rocketchat-bots/rocketchat-bot-driver/node_modules/@types/node/index.d.ts:930</li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">Array</span><span class="tsd-signature-symbol">&lt;</span><span class="tsd-signature-type">string</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-type">symbol</span><span class="tsd-signature-symbol">&gt;</span></h4>
......@@ -1682,7 +1682,7 @@ img { max-width: 100%; }
<p>Inherited from EventEmitter.getMaxListeners</p>
<p>Overrides EventEmitter.getMaxListeners</p>
<ul>
<li>Defined in /Volumes/x/code/rocketchat-bot-driver/node_modules/@types/node/index.d.ts:926</li>
<li>Defined in /Volumes/x/code/projects/rocketchat-bots/rocketchat-bot-driver/node_modules/@types/node/index.d.ts:926</li>
</ul>
</aside>
<h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">number</span></h4>
......@@ -1701,7 +1701,7 @@ img { max-width: 100%; }
<p>Inherited from EventEmitter.listenerCount</p>
<p>Overrides EventEmitter.listenerCount</p>
<ul>
<li>Defined in /Volumes/x/code/rocketchat-bot-driver/node_modules/@types/node/index.d.ts:931</li>
<li>Defined in /Volumes/x/code/projects/rocketchat-bots/rocketchat-bot-driver/node_modules/@types/node/index.d.ts:931</li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
......@@ -1726,7 +1726,7 @@ img { max-width: 100%; }
<p>Inherited from EventEmitter.listeners</p>
<p>Overrides EventEmitter.listeners</p>
<ul>
<li>Defined in /Volumes/x/code/rocketchat-bot-driver/node_modules/@types/node/index.d.ts:927</li>
<li>Defined in /Volumes/x/code/projects/rocketchat-bots/rocketchat-bot-driver/node_modules/@types/node/index.d.ts:927</li>
</ul>
</aside>
<h4 class="tsd-parameters-title">Parameters</h4>
......@@ -1751,7 +1751,7 @@ img { max-width: 100%; }
<p>Inherited from EventEmitter.on</p>
<p>Overrides EventEmitter.on</p>
<ul>