@@ -33,7 +33,7 @@ <h5 class="tsd-index-heading uppercase" role="button" aria-expanded="false" tabI
3333< div class ="tsd-accordion-details ">
3434< section class ="tsd-index-section ">
3535< h3 class ="tsd-index-heading "> Constructors</ h3 >
36- < div class ="tsd-index-list "> < a href ="App.App.html#constructor " class ="tsd-index-link tsd-is-protected "> < svg class ="tsd-kind-icon " viewBox ="0 0 24 24 "> < g id ="icon-512 "> < rect fill ="var(--color-icon-background) " stroke ="#4D7FFF " stroke-width ="1.5 " x ="1 " y ="1 " width ="22 " height ="22 " rx ="12 "> </ rect > < path d ="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z " fill ="var(--color-text) "> </ path > </ g > </ svg > < span > constructor</ span > </ a >
36+ < div class ="tsd-index-list "> < a href ="App.App.html#constructor " class ="tsd-index-link "> < svg class ="tsd-kind-icon " viewBox ="0 0 24 24 "> < g id ="icon-512 "> < rect fill ="var(--color-icon-background) " stroke ="#4D7FFF " stroke-width ="1.5 " x ="1 " y ="1 " width ="22 " height ="22 " rx ="12 "> </ rect > < path d ="M11.898 16.1201C11.098 16.1201 10.466 15.8961 10.002 15.4481C9.53803 15.0001 9.30603 14.3841 9.30603 13.6001V9.64012C9.30603 8.85612 9.53803 8.24012 10.002 7.79212C10.466 7.34412 11.098 7.12012 11.898 7.12012C12.682 7.12012 13.306 7.34812 13.77 7.80412C14.234 8.25212 14.466 8.86412 14.466 9.64012H13.386C13.386 9.14412 13.254 8.76412 12.99 8.50012C12.734 8.22812 12.37 8.09212 11.898 8.09212C11.426 8.09212 11.054 8.22412 10.782 8.48812C10.518 8.75212 10.386 9.13212 10.386 9.62812V13.6001C10.386 14.0961 10.518 14.4801 10.782 14.7521C11.054 15.0161 11.426 15.1481 11.898 15.1481C12.37 15.1481 12.734 15.0161 12.99 14.7521C13.254 14.4801 13.386 14.0961 13.386 13.6001H14.466C14.466 14.3761 14.234 14.9921 13.77 15.4481C13.306 15.8961 12.682 16.1201 11.898 16.1201Z " fill ="var(--color-text) "> </ path > </ g > </ svg > < span > constructor</ span > </ a >
3737</ div > </ section >
3838< section class ="tsd-index-section ">
3939< h3 class ="tsd-index-heading "> Methods</ h3 >
@@ -58,12 +58,13 @@ <h3 class="tsd-index-heading">Methods</h3>
5858< a href ="App.App.html#onSettingUpdated " class ="tsd-index-link "> < svg class ="tsd-kind-icon " viewBox ="0 0 24 24 "> < use href ="#icon-2048 "> </ use > </ svg > < span > on< wbr /> Setting< wbr /> Updated</ span > </ a >
5959< a href ="App.App.html#onUninstall " class ="tsd-index-link "> < svg class ="tsd-kind-icon " viewBox ="0 0 24 24 "> < use href ="#icon-2048 "> </ use > </ svg > < span > on< wbr /> Uninstall</ span > </ a >
6060< a href ="App.App.html#setStatus " class ="tsd-index-link tsd-is-protected "> < svg class ="tsd-kind-icon " viewBox ="0 0 24 24 "> < use href ="#icon-2048 "> </ use > </ svg > < span > set< wbr /> Status</ span > </ a >
61+ < a href ="App.App.html#toJSON " class ="tsd-index-link "> < svg class ="tsd-kind-icon " viewBox ="0 0 24 24 "> < use href ="#icon-2048 "> </ use > </ svg > < span > toJSON</ span > </ a >
6162</ div > </ section > </ div > </ details > </ section > </ section >
6263< section class ="tsd-panel-group tsd-member-group ">
6364< h2 > Constructors</ h2 >
64- < section class ="tsd-panel tsd-member tsd-is-protected "> < a id ="constructor " class ="tsd-anchor "> </ a >
65- < h3 class ="tsd-anchor-link "> < code class =" tsd-tag ts-flagProtected " > Protected </ code > < span > constructor</ span > < a href ="#constructor " aria-label ="Permalink " class ="tsd-anchor-icon "> < svg viewBox ="0 0 24 24 "> < g stroke-width ="2 " stroke ="currentColor " fill ="none " stroke-linecap ="round " stroke-linejoin ="round " id ="icon-anchor "> < path stroke ="none " d ="M0 0h24v24H0z " fill ="none "> </ path > < path d ="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5 "> </ path > < path d ="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5 "> </ path > </ g > </ svg > </ a > </ h3 >
66- < ul class ="tsd-signatures tsd-is-protected ">
65+ < section class ="tsd-panel tsd-member "> < a id ="constructor " class ="tsd-anchor "> </ a >
66+ < h3 class ="tsd-anchor-link "> < span > constructor</ span > < a href ="#constructor " aria-label ="Permalink " class ="tsd-anchor-icon "> < svg viewBox ="0 0 24 24 "> < g stroke-width ="2 " stroke ="currentColor " fill ="none " stroke-linecap ="round " stroke-linejoin ="round " id ="icon-anchor "> < path stroke ="none " d ="M0 0h24v24H0z " fill ="none "> </ path > < path d ="M10 14a3.5 3.5 0 0 0 5 0l4 -4a3.5 3.5 0 0 0 -5 -5l-.5 .5 "> </ path > < path d ="M14 10a3.5 3.5 0 0 0 -5 0l-4 4a3.5 3.5 0 0 0 5 5l.5 -.5 "> </ path > </ g > </ svg > </ a > </ h3 >
67+ < ul class ="tsd-signatures ">
6768< li class ="tsd-signature tsd-anchor-link " id ="constructor.new_App "> < span class ="tsd-kind-constructor-signature "> new < wbr /> App</ span > < span class ="tsd-signature-symbol "> (</ span > < span class ="tsd-kind-parameter "> info</ span > , < span class ="tsd-kind-parameter "> logger</ span > , < span class ="tsd-kind-parameter "> accessors</ span > < span class ="tsd-signature-symbol "> ?</ span > < span class ="tsd-signature-symbol "> )</ span > < span class ="tsd-signature-symbol "> : </ span > < a href ="App.App.html " class ="tsd-signature-type tsd-kind-class "> App</ a > < a href ="#constructor.new_App " aria-label ="Permalink " class ="tsd-anchor-icon "> < svg viewBox ="0 0 24 24 "> < use href ="#icon-anchor "> </ use > </ svg > </ a > </ li >
6869< li class ="tsd-description ">
6970< div class ="tsd-comment tsd-typography "> < p > Create a new App, this is called whenever the server starts up and initiates the Apps.
@@ -238,11 +239,11 @@ <h4 class="tsd-returns-title">Returns <span class="tsd-signature-type">string</s
238239< section class ="tsd-panel tsd-member "> < a id ="getStatus " class ="tsd-anchor "> </ a >
239240< h3 class ="tsd-anchor-link "> < span > get< wbr /> Status</ span > < a href ="#getStatus " aria-label ="Permalink " class ="tsd-anchor-icon "> < svg viewBox ="0 0 24 24 "> < use href ="#icon-anchor "> </ use > </ svg > </ a > </ h3 >
240241< ul class ="tsd-signatures ">
241- < li class ="tsd-signature tsd-anchor-link " id ="getStatus.getStatus-1 "> < span class ="tsd-kind-call-signature "> get< wbr /> Status</ span > < span class ="tsd-signature-symbol "> (</ span > < span class ="tsd-signature-symbol "> )</ span > < span class ="tsd-signature-symbol "> : </ span > < a href ="../enums/AppStatus.AppStatus.html " class ="tsd-signature-type tsd-kind-enum "> AppStatus</ a > < a href ="#getStatus.getStatus-1 " aria-label ="Permalink " class ="tsd-anchor-icon "> < svg viewBox ="0 0 24 24 "> < use href ="#icon-anchor "> </ use > </ svg > </ a > </ li >
242+ < li class ="tsd-signature tsd-anchor-link " id ="getStatus.getStatus-1 "> < span class ="tsd-kind-call-signature "> get< wbr /> Status</ span > < span class ="tsd-signature-symbol "> (</ 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 " > < </ span > < a href ="../enums/AppStatus.AppStatus.html " class ="tsd-signature-type tsd-kind-enum "> AppStatus</ a > < span class =" tsd-signature-symbol " > > </ span > < a href ="#getStatus.getStatus-1 " aria-label ="Permalink " class ="tsd-anchor-icon "> < svg viewBox ="0 0 24 24 "> < use href ="#icon-anchor "> </ use > </ svg > </ a > </ li >
242243< li class ="tsd-description ">
243244< div class ="tsd-comment tsd-typography "> < p > Gets the status of this App.</ p >
244245</ div >
245- < h4 class ="tsd-returns-title "> Returns < a href ="../enums/AppStatus.AppStatus.html " class ="tsd-signature-type tsd-kind-enum "> AppStatus</ a > </ h4 > < p > the status/state of the App</ p >
246+ < h4 class ="tsd-returns-title "> Returns < span class =" tsd-signature-type " > Promise </ span > < span class =" tsd-signature-symbol " > < </ span > < a href ="../enums/AppStatus.AppStatus.html " class ="tsd-signature-type tsd-kind-enum "> AppStatus</ a > < span class =" tsd-signature-symbol " > > </ span > </ h4 > < p > the status/state of the App</ p >
246247
247248< div class ="tsd-comment tsd-typography "> </ div > < aside class ="tsd-sources ">
248249< p > Implementation of < a href ="../interfaces/IApp.IApp.html "> IApp</ a > .< a href ="../interfaces/IApp.IApp.html#getStatus "> getStatus</ a > </ p >
@@ -450,7 +451,15 @@ <h5><span class="tsd-kind-parameter">status</span>: <a href="../enums/AppStatus.
450451< h4 class ="tsd-returns-title "> Returns < span class ="tsd-signature-type "> Promise</ span > < span class ="tsd-signature-symbol "> <</ span > < span class ="tsd-signature-type "> void</ span > < span class ="tsd-signature-symbol "> ></ span > </ h4 >
451452< div class ="tsd-comment tsd-typography "> </ div > < aside class ="tsd-sources ">
452453< ul >
453- < li > Defined in < a href ="https://github.com/RocketChat/Rocket.Chat.Apps-engine/blob/master/src/definition/App.ts#L219 "> src/definition/App.ts:219</ a > </ li > </ ul > </ aside > </ li > </ ul > </ section > </ section > </ div >
454+ < li > Defined in < a href ="https://github.com/RocketChat/Rocket.Chat.Apps-engine/blob/master/src/definition/App.ts#L219 "> src/definition/App.ts:219</ a > </ li > </ ul > </ aside > </ li > </ ul > </ section >
455+ < section class ="tsd-panel tsd-member "> < a id ="toJSON " class ="tsd-anchor "> </ a >
456+ < h3 class ="tsd-anchor-link "> < span > toJSON</ span > < a href ="#toJSON " aria-label ="Permalink " class ="tsd-anchor-icon "> < svg viewBox ="0 0 24 24 "> < use href ="#icon-anchor "> </ use > </ svg > </ a > </ h3 >
457+ < ul class ="tsd-signatures ">
458+ < li class ="tsd-signature tsd-anchor-link " id ="toJSON.toJSON-1 "> < span class ="tsd-kind-call-signature "> toJSON</ span > < span class ="tsd-signature-symbol "> (</ span > < span class ="tsd-signature-symbol "> )</ span > < span class ="tsd-signature-symbol "> : </ span > < span class ="tsd-signature-type "> Record</ span > < span class ="tsd-signature-symbol "> <</ span > < span class ="tsd-signature-type "> string</ span > < span class ="tsd-signature-symbol "> , </ span > < span class ="tsd-signature-type "> any</ span > < span class ="tsd-signature-symbol "> ></ span > < a href ="#toJSON.toJSON-1 " aria-label ="Permalink " class ="tsd-anchor-icon "> < svg viewBox ="0 0 24 24 "> < use href ="#icon-anchor "> </ use > </ svg > </ a > </ li >
459+ < li class ="tsd-description ">
460+ < h4 class ="tsd-returns-title "> Returns < span class ="tsd-signature-type "> Record</ span > < span class ="tsd-signature-symbol "> <</ span > < span class ="tsd-signature-type "> string</ span > < span class ="tsd-signature-symbol "> , </ span > < span class ="tsd-signature-type "> any</ span > < span class ="tsd-signature-symbol "> ></ span > </ h4 > < aside class ="tsd-sources ">
461+ < ul >
462+ < li > Defined in < a href ="https://github.com/RocketChat/Rocket.Chat.Apps-engine/blob/master/src/definition/App.ts#L225 "> src/definition/App.ts:225</ a > </ li > </ ul > </ aside > </ li > </ ul > </ section > </ section > </ div >
454463< div class ="col-sidebar ">
455464< div class ="page-menu ">
456465< div class ="tsd-navigation settings ">
@@ -469,7 +478,7 @@ <h4 class="uppercase">Theme</h4><select id="tsd-theme"><option value="os">OS</op
469478< h3 > < svg width ="20 " height ="20 " viewBox ="0 0 24 24 " fill ="none "> < use href ="#icon-chevronDown "> </ use > </ svg > On This Page</ h3 > </ summary >
470479< div class ="tsd-accordion-details ">
471480< ul >
472- < li > < a href ="#constructor " class ="tsd-is-protected "> < svg class ="tsd-kind-icon " viewBox ="0 0 24 24 "> < use href ="#icon-512 "> </ use > </ svg > < span > constructor</ span > </ a > </ li >
481+ < li > < a href ="#constructor " class =""> < svg class ="tsd-kind-icon " viewBox ="0 0 24 24 "> < use href ="#icon-512 "> </ use > </ svg > < span > constructor</ span > </ a > </ li >
473482< li > < a href ="#extendConfiguration " class ="tsd-is-protected "> < svg class ="tsd-kind-icon " viewBox ="0 0 24 24 "> < use href ="#icon-2048 "> </ use > </ svg > < span > extend< wbr /> Configuration</ span > </ a > </ li >
474483< li > < a href ="#getAccessors " class =""> < svg class ="tsd-kind-icon " viewBox ="0 0 24 24 "> < use href ="#icon-2048 "> </ use > </ svg > < span > get< wbr /> Accessors</ span > </ a > </ li >
475484< li > < a href ="#getAppUserUsername " class =""> < svg class ="tsd-kind-icon " viewBox ="0 0 24 24 "> < use href ="#icon-2048 "> </ use > </ svg > < span > get< wbr /> App< wbr /> User< wbr /> Username</ span > </ a > </ li >
@@ -490,7 +499,8 @@ <h3><svg width="20" height="20" viewBox="0 0 24 24" fill="none"><use href="#icon
490499< li > < a href ="#onPreSettingUpdate " class =""> < svg class ="tsd-kind-icon " viewBox ="0 0 24 24 "> < use href ="#icon-2048 "> </ use > </ svg > < span > on< wbr /> Pre< wbr /> Setting< wbr /> Update</ span > </ a > </ li >
491500< li > < a href ="#onSettingUpdated " class =""> < svg class ="tsd-kind-icon " viewBox ="0 0 24 24 "> < use href ="#icon-2048 "> </ use > </ svg > < span > on< wbr /> Setting< wbr /> Updated</ span > </ a > </ li >
492501< li > < a href ="#onUninstall " class =""> < svg class ="tsd-kind-icon " viewBox ="0 0 24 24 "> < use href ="#icon-2048 "> </ use > </ svg > < span > on< wbr /> Uninstall</ span > </ a > </ li >
493- < li > < a href ="#setStatus " class ="tsd-is-protected "> < svg class ="tsd-kind-icon " viewBox ="0 0 24 24 "> < use href ="#icon-2048 "> </ use > </ svg > < span > set< wbr /> Status</ span > </ a > </ li > </ ul > </ div > </ details > </ div >
502+ < li > < a href ="#setStatus " class ="tsd-is-protected "> < svg class ="tsd-kind-icon " viewBox ="0 0 24 24 "> < use href ="#icon-2048 "> </ use > </ svg > < span > set< wbr /> Status</ span > </ a > </ li >
503+ < li > < a href ="#toJSON " class =""> < svg class ="tsd-kind-icon " viewBox ="0 0 24 24 "> < use href ="#icon-2048 "> </ use > </ svg > < span > toJSON</ span > </ a > </ li > </ ul > </ div > </ details > </ div >
494504< div class ="site-menu ">
495505< nav class ="tsd-navigation "> < a href ="../index.html "> < svg class ="tsd-kind-icon " viewBox ="0 0 24 24 "> < g id ="icon-4 "> < rect fill ="var(--color-icon-background) " stroke ="var(--color-ts-namespace) " stroke-width ="1.5 " x ="1 " y ="1 " width ="22 " height ="22 " rx ="6 "> </ rect > < path d ="M9.33 16V7.24H10.77L13.446 14.74C13.43 14.54 13.41 14.296 13.386 14.008C13.37 13.712 13.354 13.404 13.338 13.084C13.33 12.756 13.326 12.448 13.326 12.16V7.24H14.37V16H12.93L10.266 8.5C10.282 8.692 10.298 8.936 10.314 9.232C10.33 9.52 10.342 9.828 10.35 10.156C10.366 10.476 10.374 10.784 10.374 11.08V16H9.33Z " fill ="var(--color-text) "> </ path > </ g > </ svg > < span > Rocket.< wbr /> Chat < wbr /> Apps < wbr /> Type< wbr /> Script < wbr /> Definition</ span > </ a >
496506< ul class ="tsd-small-nested-navigation ">
0 commit comments