@sme.up/kokos-sdk-node 2.1.0-SNAPSHOT.20250331094516.206 → 2.1.0-SNAPSHOT.20250520101226.793

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 (121) hide show
  1. package/docs/assets/hierarchy.js +1 -1
  2. package/docs/assets/main.js +4 -4
  3. package/docs/assets/navigation.js +1 -1
  4. package/docs/assets/search.js +1 -1
  5. package/docs/assets/style.css +4 -4
  6. package/docs/classes/App.html +3 -4
  7. package/docs/classes/EntityOav.html +2 -2
  8. package/docs/classes/EntitySlice.html +2 -2
  9. package/docs/classes/ErrorWithStatus.html +2 -2
  10. package/docs/classes/ExecuteFunPayload.html +2 -2
  11. package/docs/classes/ExecutionContext.html +2 -2
  12. package/docs/classes/Fun.html +2 -2
  13. package/docs/classes/FunObject.html +2 -2
  14. package/docs/classes/KokosEntityDAOService.html +14 -14
  15. package/docs/classes/Registry.html +2 -2
  16. package/docs/classes/SmeupDataStructureWriter.html +5 -6
  17. package/docs/classes/SourceLibrary.html +2 -2
  18. package/docs/classes/User.html +3 -2
  19. package/docs/enums/ApiVersion.html +2 -3
  20. package/docs/enums/Format.html +2 -2
  21. package/docs/enums/Level.html +2 -2
  22. package/docs/enums/SmeupDataStructureType.html +4 -10
  23. package/docs/enums/SmeupLayoutSectionType.html +2 -0
  24. package/docs/functions/clearLoggerContext.html +1 -1
  25. package/docs/functions/configureLogger.html +1 -1
  26. package/docs/functions/createLoggerContext.html +1 -1
  27. package/docs/functions/executeFun.html +2 -2
  28. package/docs/functions/funObjectToString.html +1 -1
  29. package/docs/functions/funToString.html +1 -1
  30. package/docs/functions/getSmeupDataStructureType.html +1 -1
  31. package/docs/functions/parseArrayString.html +1 -1
  32. package/docs/functions/parseKeyValueBetweenBrackets.html +1 -1
  33. package/docs/functions/startServer.html +1 -1
  34. package/docs/functions/startServerWithCustomConfig.html +1 -1
  35. package/docs/functions/stringToFun.html +1 -1
  36. package/docs/functions/toDateCell.html +1 -1
  37. package/docs/functions/toIconButtonCell.html +1 -1
  38. package/docs/functions/toNumberCell.html +1 -1
  39. package/docs/functions/toSingleChipCell.html +1 -1
  40. package/docs/functions/toStringCell.html +1 -1
  41. package/docs/functions/toTextButtonCell.html +1 -1
  42. package/docs/functions/toTimeCell.html +1 -1
  43. package/docs/hierarchy.html +1 -1
  44. package/docs/index.html +1 -1
  45. package/docs/interfaces/DebugInfo.html +3 -2
  46. package/docs/interfaces/IKokosEntityDAOService.html +2 -2
  47. package/docs/interfaces/KokosEntityDAOServiceMethods.html +13 -13
  48. package/docs/interfaces/KokosService.html +2 -2
  49. package/docs/interfaces/KokosServiceMethods.html +1 -1
  50. package/docs/interfaces/KokosServiceModule.html +2 -2
  51. package/docs/interfaces/LoggerContext.html +2 -2
  52. package/docs/interfaces/MicroExecutorConfiguration.html +2 -2
  53. package/docs/interfaces/SmeupDataCell.html +9 -2
  54. package/docs/interfaces/SmeupDataCellOption.html +2 -2
  55. package/docs/interfaces/SmeupDataColumn.html +13 -3
  56. package/docs/interfaces/SmeupDataNode.html +10 -3
  57. package/docs/interfaces/SmeupDataRow.html +3 -3
  58. package/docs/interfaces/SmeupDataStructure.html +2 -2
  59. package/docs/interfaces/SmeupDataTable.html +3 -2
  60. package/docs/interfaces/SmeupDataTree.html +2 -2
  61. package/docs/interfaces/SmeupFeedback.html +2 -2
  62. package/docs/interfaces/SmeupLayout.html +3 -2
  63. package/docs/interfaces/SmeupLayoutField.html +12 -6
  64. package/docs/interfaces/SmeupLayoutSection.html +9 -3
  65. package/docs/interfaces/SmeupMessage.html +2 -2
  66. package/docs/interfaces/SmeupVariable.html +2 -2
  67. package/docs/modules.html +1 -1
  68. package/docs/types/SmeupDataCellShapes.html +2 -0
  69. package/docs/variables/LOGGER.html +1 -1
  70. package/docs/variables/SMEUP_MESSAGE_GRAVITY.html +1 -1
  71. package/docs/variables/SMEUP_MESSAGE_MODE.html +1 -1
  72. package/docs/variables/SMEUP_VARIABLE_TYPE.html +1 -1
  73. package/docs/variables/SmeupDataCellShapes.html +2 -0
  74. package/lib/caller/executeFun.js +1 -1
  75. package/lib/caller/microExecutorServiceCaller.d.ts +1 -2
  76. package/lib/caller/microExecutorServiceCaller.js +3 -12
  77. package/lib/caller/microExecutorServiceCaller.js.map +1 -1
  78. package/lib/caller/serviceCaller.js +2 -2
  79. package/lib/caller/serviceCaller.js.map +1 -1
  80. package/lib/entrypoint/restapi/executeFunPayloadValidator.d.ts +1 -0
  81. package/lib/entrypoint/restapi/executeFunPayloadValidator.js +126 -0
  82. package/lib/entrypoint/restapi/executeFunPayloadValidator.js.map +1 -0
  83. package/lib/entrypoint/restapi/restapi.js +19 -26
  84. package/lib/entrypoint/restapi/restapi.js.map +1 -1
  85. package/lib/index.d.ts +0 -2
  86. package/lib/index.js +0 -2
  87. package/lib/index.js.map +1 -1
  88. package/lib/types/data-structures/smeupDataStructure.d.ts +4 -8
  89. package/lib/types/data-structures/smeupDataStructure.js +9 -20
  90. package/lib/types/data-structures/smeupDataStructure.js.map +1 -1
  91. package/lib/types/data-structures/smeupDataTable.d.ts +91 -39
  92. package/lib/types/data-structures/smeupDataTable.js +43 -24
  93. package/lib/types/data-structures/smeupDataTable.js.map +1 -1
  94. package/lib/types/general.d.ts +1 -19
  95. package/lib/types/general.js +1 -213
  96. package/lib/types/general.js.map +1 -1
  97. package/lib/utils/smeupDataStructureWriter.d.ts +0 -1
  98. package/lib/utils/smeupDataStructureWriter.js +9 -32
  99. package/lib/utils/smeupDataStructureWriter.js.map +1 -1
  100. package/package.json +9 -11
  101. package/swagger/openapi.yaml +40 -49
  102. package/docs/classes/AppAuthentication.html +0 -7
  103. package/docs/classes/AppCustomAuthentication.html +0 -7
  104. package/docs/enums/SmeupCellShapes.html +0 -23
  105. package/docs/interfaces/SmeupObject.html +0 -18
  106. package/docs/interfaces/SmeupRawData.html +0 -6
  107. package/lib/types/data-structures/smeupObject.d.ts +0 -21
  108. package/lib/types/data-structures/smeupObject.js +0 -2
  109. package/lib/types/data-structures/smeupObject.js.map +0 -1
  110. package/lib/types/data-structures/smeupRawData.d.ts +0 -8
  111. package/lib/types/data-structures/smeupRawData.js +0 -2
  112. package/lib/types/data-structures/smeupRawData.js.map +0 -1
  113. package/lib/types/data-structures/smeupTable.d.ts +0 -66
  114. package/lib/types/data-structures/smeupTable.js +0 -2
  115. package/lib/types/data-structures/smeupTable.js.map +0 -1
  116. package/lib/types/data-structures/smeupTree.d.ts +0 -21
  117. package/lib/types/data-structures/smeupTree.js +0 -2
  118. package/lib/types/data-structures/smeupTree.js.map +0 -1
  119. package/lib/utils/smeupDataStructureUtils.d.ts +0 -7
  120. package/lib/utils/smeupDataStructureUtils.js +0 -46
  121. package/lib/utils/smeupDataStructureUtils.js.map +0 -1
@@ -0,0 +1,2 @@
1
+ <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>SmeupDataCellShapes | @sme.up/kokos-sdk-node</title><meta name="description" content="Documentation for @sme.up/kokos-sdk-node"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">@sme.up/kokos-sdk-node</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="" aria-current="page">SmeupDataCellShapes</a></li></ul><h1>Type Alias SmeupDataCellShapes</h1></div><div class="tsd-signature"><span class="tsd-kind-type-alias">SmeupDataCellShapes</span><span class="tsd-signature-symbol">:</span><br/>    <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-keyword">typeof</span> <a href="../variables/SmeupDataCellShapes.html" class="tsd-signature-type tsd-kind-variable">SmeupDataCellShapes</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-keyword">keyof</span> <span class="tsd-signature-keyword">typeof</span> <a href="../variables/SmeupDataCellShapes.html" class="tsd-signature-type tsd-kind-variable">SmeupDataCellShapes</a><span class="tsd-signature-symbol">]</span><br/>    <span class="tsd-signature-symbol">|</span> <span class="tsd-signature-type">string</span></div><div class="tsd-comment tsd-typography"><p>Represent the type of the shape (like enum)</p>
2
+ </div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/smeup/kokos-sdk-node/blob/c36c3bca99ffbd3011788eb13e8fe1fe740f8af9/src/types/data-structures/smeupDataTable.ts#L146">work/kokos-sdk-node/kokos-sdk-node/src/types/data-structures/smeupDataTable.ts:146</a></li><li>Defined in <a href="https://github.com/smeup/kokos-sdk-node/blob/c36c3bca99ffbd3011788eb13e8fe1fe740f8af9/src/types/data-structures/smeupDataTable.ts#L189">work/kokos-sdk-node/kokos-sdk-node/src/types/data-structures/smeupDataTable.ts:189</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@sme.up/kokos-sdk-node</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
@@ -1 +1 @@
1
- <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>LOGGER | @sme.up/kokos-sdk-node</title><meta name="description" content="Documentation for @sme.up/kokos-sdk-node"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">@sme.up/kokos-sdk-node</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="" aria-current="page">LOGGER</a></li></ul><h1>Variable LOGGER<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">LOGGER</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Logger</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/smeup/kokos-sdk-node/blob/795b7eef50c1f028a50e133341a152209f60c567/src/logger/logger.ts#L128">work/kokos-sdk-node/kokos-sdk-node/src/logger/logger.ts:128</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@sme.up/kokos-sdk-node</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
1
+ <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>LOGGER | @sme.up/kokos-sdk-node</title><meta name="description" content="Documentation for @sme.up/kokos-sdk-node"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">@sme.up/kokos-sdk-node</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="" aria-current="page">LOGGER</a></li></ul><h1>Variable LOGGER<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">LOGGER</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">Logger</span><span class="tsd-signature-symbol"> = ...</span></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/smeup/kokos-sdk-node/blob/c36c3bca99ffbd3011788eb13e8fe1fe740f8af9/src/logger/logger.ts#L128">work/kokos-sdk-node/kokos-sdk-node/src/logger/logger.ts:128</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@sme.up/kokos-sdk-node</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
@@ -1,2 +1,2 @@
1
1
  <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>SMEUP_MESSAGE_GRAVITY | @sme.up/kokos-sdk-node</title><meta name="description" content="Documentation for @sme.up/kokos-sdk-node"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">@sme.up/kokos-sdk-node</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="" aria-current="page">SMEUP_MESSAGE_GRAVITY</a></li></ul><h1>Variable SMEUP_MESSAGE_GRAVITY<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">SMEUP_MESSAGE_GRAVITY</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{</span><br/>    <span class="tsd-kind-property">ERROR</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;ERROR&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">INFO</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;INFO&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">UNAUTHORIZED</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;UNAUTHORIZED&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">WARNING</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;WARNING&quot;</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div><div class="tsd-comment tsd-typography"><p>SmeupMessage Gravity</p>
2
- </div><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5 id="error"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">ERROR</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;ERROR&quot;</span></h5></li><li class="tsd-parameter"><h5 id="info"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">INFO</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;INFO&quot;</span></h5></li><li class="tsd-parameter"><h5 id="unauthorized"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">UNAUTHORIZED</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;UNAUTHORIZED&quot;</span></h5></li><li class="tsd-parameter"><h5 id="warning"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">WARNING</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;WARNING&quot;</span></h5></li></ul></div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/smeup/kokos-sdk-node/blob/795b7eef50c1f028a50e133341a152209f60c567/src/types/data-structures/smeupDataStructure.ts#L84">work/kokos-sdk-node/kokos-sdk-node/src/types/data-structures/smeupDataStructure.ts:84</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@sme.up/kokos-sdk-node</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
2
+ </div><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5 id="error"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">ERROR</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;ERROR&quot;</span></h5></li><li class="tsd-parameter"><h5 id="info"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">INFO</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;INFO&quot;</span></h5></li><li class="tsd-parameter"><h5 id="unauthorized"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">UNAUTHORIZED</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;UNAUTHORIZED&quot;</span></h5></li><li class="tsd-parameter"><h5 id="warning"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">WARNING</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;WARNING&quot;</span></h5></li></ul></div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/smeup/kokos-sdk-node/blob/c36c3bca99ffbd3011788eb13e8fe1fe740f8af9/src/types/data-structures/smeupDataStructure.ts#L76">work/kokos-sdk-node/kokos-sdk-node/src/types/data-structures/smeupDataStructure.ts:76</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@sme.up/kokos-sdk-node</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
@@ -1,2 +1,2 @@
1
1
  <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>SMEUP_MESSAGE_MODE | @sme.up/kokos-sdk-node</title><meta name="description" content="Documentation for @sme.up/kokos-sdk-node"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">@sme.up/kokos-sdk-node</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="" aria-current="page">SMEUP_MESSAGE_MODE</a></li></ul><h1>Variable SMEUP_MESSAGE_MODE<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">SMEUP_MESSAGE_MODE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">PM</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;PM&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">PN</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;PN&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">TN</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;TN&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div><div class="tsd-comment tsd-typography"><p>SmeupMessage Mode</p>
2
- </div><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5 id="pm"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">PM</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;PM&quot;</span></h5></li><li class="tsd-parameter"><h5 id="pn"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">PN</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;PN&quot;</span></h5></li><li class="tsd-parameter"><h5 id="tn"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">TN</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;TN&quot;</span></h5></li></ul></div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/smeup/kokos-sdk-node/blob/795b7eef50c1f028a50e133341a152209f60c567/src/types/data-structures/smeupDataStructure.ts#L96">work/kokos-sdk-node/kokos-sdk-node/src/types/data-structures/smeupDataStructure.ts:96</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@sme.up/kokos-sdk-node</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
2
+ </div><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5 id="pm"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">PM</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;PM&quot;</span></h5></li><li class="tsd-parameter"><h5 id="pn"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">PN</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;PN&quot;</span></h5></li><li class="tsd-parameter"><h5 id="tn"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">TN</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;TN&quot;</span></h5></li></ul></div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/smeup/kokos-sdk-node/blob/c36c3bca99ffbd3011788eb13e8fe1fe740f8af9/src/types/data-structures/smeupDataStructure.ts#L88">work/kokos-sdk-node/kokos-sdk-node/src/types/data-structures/smeupDataStructure.ts:88</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@sme.up/kokos-sdk-node</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
@@ -1,2 +1,2 @@
1
1
  <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>SMEUP_VARIABLE_TYPE | @sme.up/kokos-sdk-node</title><meta name="description" content="Documentation for @sme.up/kokos-sdk-node"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">@sme.up/kokos-sdk-node</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="" aria-current="page">SMEUP_VARIABLE_TYPE</a></li></ul><h1>Variable SMEUP_VARIABLE_TYPE<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">SMEUP_VARIABLE_TYPE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{</span> <span class="tsd-kind-property">LOO</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;loo&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">SCH</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;sch&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">SEC</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;sec&quot;</span><span class="tsd-signature-symbol">;</span> <span class="tsd-kind-property">SSC</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;ssc&quot;</span> <span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div><div class="tsd-comment tsd-typography"><p>SmeupVariableType</p>
2
- </div><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5 id="loo"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">LOO</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;loo&quot;</span></h5></li><li class="tsd-parameter"><h5 id="sch"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">SCH</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;sch&quot;</span></h5></li><li class="tsd-parameter"><h5 id="sec"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">SEC</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;sec&quot;</span></h5></li><li class="tsd-parameter"><h5 id="ssc"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">SSC</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;ssc&quot;</span></h5></li></ul></div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/smeup/kokos-sdk-node/blob/795b7eef50c1f028a50e133341a152209f60c567/src/types/data-structures/smeupDataStructure.ts#L116">work/kokos-sdk-node/kokos-sdk-node/src/types/data-structures/smeupDataStructure.ts:116</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@sme.up/kokos-sdk-node</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
2
+ </div><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5 id="loo"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">LOO</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;loo&quot;</span></h5></li><li class="tsd-parameter"><h5 id="sch"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">SCH</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;sch&quot;</span></h5></li><li class="tsd-parameter"><h5 id="sec"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">SEC</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;sec&quot;</span></h5></li><li class="tsd-parameter"><h5 id="ssc"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">SSC</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;ssc&quot;</span></h5></li></ul></div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/smeup/kokos-sdk-node/blob/c36c3bca99ffbd3011788eb13e8fe1fe740f8af9/src/types/data-structures/smeupDataStructure.ts#L108">work/kokos-sdk-node/kokos-sdk-node/src/types/data-structures/smeupDataStructure.ts:108</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@sme.up/kokos-sdk-node</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
@@ -0,0 +1,2 @@
1
+ <!DOCTYPE html><html class="default" lang="en" data-base="../"><head><meta charset="utf-8"/><meta http-equiv="x-ua-compatible" content="IE=edge"/><title>SmeupDataCellShapes | @sme.up/kokos-sdk-node</title><meta name="description" content="Documentation for @sme.up/kokos-sdk-node"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="../assets/style.css"/><link rel="stylesheet" href="../assets/highlight.css"/><script defer src="../assets/main.js"></script><script async src="../assets/icons.js" id="tsd-icons-script"></script><script async src="../assets/search.js" id="tsd-search-script"></script><script async src="../assets/navigation.js" id="tsd-nav-script"></script><script async src="../assets/hierarchy.js" id="tsd-hierarchy-script"></script></head><body><script>document.documentElement.dataset.theme = localStorage.getItem("tsd-theme") || "os";document.body.style.display="none";setTimeout(() => window.app?app.showPage():document.body.style.removeProperty("display"),500)</script><header class="tsd-page-toolbar"><div class="tsd-toolbar-contents container"><a href="../index.html" class="title">@sme.up/kokos-sdk-node</a><div id="tsd-toolbar-links"></div><button id="tsd-search-trigger" class="tsd-widget" aria-label="Search"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-search"></use></svg></button><dialog id="tsd-search" aria-label="Search"><input role="combobox" id="tsd-search-input" aria-controls="tsd-search-results" aria-autocomplete="list" aria-expanded="true" autocapitalize="off" autocomplete="off" placeholder="Search the docs" maxLength="100"/><ul role="listbox" id="tsd-search-results"></ul><div id="tsd-search-status" aria-live="polite" aria-atomic="true"><div>Preparing search index...</div></div></dialog><a href="#" class="tsd-widget menu" id="tsd-toolbar-menu-trigger" data-toggle="menu" aria-label="Menu"><svg width="16" height="16" viewBox="0 0 16 16" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-menu"></use></svg></a></div></header><div class="container container-main"><div class="col-content"><div class="tsd-page-title"><ul class="tsd-breadcrumb" aria-label="Breadcrumb"><li><a href="" aria-current="page">SmeupDataCellShapes</a></li></ul><h1>Variable SmeupDataCellShapes<code class="tsd-tag">Const</code></h1></div><div class="tsd-signature"><span class="tsd-kind-variable">SmeupDataCellShapes</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{</span><br/>    <span class="tsd-kind-property">AUTOCOMPLETE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;ACP&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">BOOLEAN_BUTTON</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;BNB&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">BUTTON_LIST</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;BTN&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">CHART</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;GRA&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">CHECKBOX</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;CHK&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">CHIP</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;CHI&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">COLOR_PICKER</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;CLP&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">COMBOBOX</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;CMB&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">COMMAND_EXECUTE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;RUN&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">DATE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;CAL&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">DECODE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;DEC&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">EDITOR</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;EDT&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">FILE_READER</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;FRE&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">FILE_UPLOAD</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;FUP&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">GAUGE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;GAU&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">ICON</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;ICO&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">IMAGE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;IMG&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">INPUT_CHECKBOX</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;INC&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">INPUT_FIELD</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;INF&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">INPUT_NUMBER</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;INR&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">KNOB</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;KNB&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">LABEL</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;LBL&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">MEMO</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;MEM&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">MULTI_AUTOCOMPLETE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;AML&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">MULTI_COMBOBOX</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;CML&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">OBJECT</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;OBJ&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">ONE_BUTTON</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;BTO&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">PASSWORD</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;PWD&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">PROGRESS_BAR</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;PGB&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">RADIO</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;RAD&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">RANGE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;RNG&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">RATING</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;RTG&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">SPINNER</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;SPN&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">SWITCH</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;SWT&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">TABLE</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;TBL&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">TEXT_FIELD</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;ITX&quot;</span><span class="tsd-signature-symbol">;</span><br/>    <span class="tsd-kind-property">TIME</span><span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;TIM&quot;</span><span class="tsd-signature-symbol">;</span><br/><span class="tsd-signature-symbol">}</span><span class="tsd-signature-symbol"> = ...</span></div><div class="tsd-comment tsd-typography"><p>Represent the possible shapes of a field</p>
2
+ </div><div class="tsd-type-declaration"><h4>Type declaration</h4><ul class="tsd-parameters"><li class="tsd-parameter"><h5 id="autocomplete"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">AUTOCOMPLETE</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;ACP&quot;</span></h5></li><li class="tsd-parameter"><h5 id="boolean_button"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">BOOLEAN_BUTTON</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;BNB&quot;</span></h5></li><li class="tsd-parameter"><h5 id="button_list"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">BUTTON_LIST</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;BTN&quot;</span></h5></li><li class="tsd-parameter"><h5 id="chart"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">CHART</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;GRA&quot;</span></h5></li><li class="tsd-parameter"><h5 id="checkbox"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">CHECKBOX</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;CHK&quot;</span></h5></li><li class="tsd-parameter"><h5 id="chip"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">CHIP</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;CHI&quot;</span></h5></li><li class="tsd-parameter"><h5 id="color_picker"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">COLOR_PICKER</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;CLP&quot;</span></h5></li><li class="tsd-parameter"><h5 id="combobox"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">COMBOBOX</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;CMB&quot;</span></h5></li><li class="tsd-parameter"><h5 id="command_execute"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">COMMAND_EXECUTE</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;RUN&quot;</span></h5></li><li class="tsd-parameter"><h5 id="date"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">DATE</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;CAL&quot;</span></h5></li><li class="tsd-parameter"><h5 id="decode"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">DECODE</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;DEC&quot;</span></h5></li><li class="tsd-parameter"><h5 id="editor"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">EDITOR</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;EDT&quot;</span></h5></li><li class="tsd-parameter"><h5 id="file_reader"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">FILE_READER</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;FRE&quot;</span></h5></li><li class="tsd-parameter"><h5 id="file_upload"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">FILE_UPLOAD</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;FUP&quot;</span></h5></li><li class="tsd-parameter"><h5 id="gauge"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">GAUGE</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;GAU&quot;</span></h5></li><li class="tsd-parameter"><h5 id="icon"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">ICON</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;ICO&quot;</span></h5></li><li class="tsd-parameter"><h5 id="image"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">IMAGE</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;IMG&quot;</span></h5></li><li class="tsd-parameter"><h5 id="input_checkbox"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">INPUT_CHECKBOX</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;INC&quot;</span></h5></li><li class="tsd-parameter"><h5 id="input_field"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">INPUT_FIELD</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;INF&quot;</span></h5></li><li class="tsd-parameter"><h5 id="input_number"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">INPUT_NUMBER</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;INR&quot;</span></h5></li><li class="tsd-parameter"><h5 id="knob"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">KNOB</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;KNB&quot;</span></h5></li><li class="tsd-parameter"><h5 id="label"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">LABEL</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;LBL&quot;</span></h5></li><li class="tsd-parameter"><h5 id="memo"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">MEMO</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;MEM&quot;</span></h5></li><li class="tsd-parameter"><h5 id="multi_autocomplete"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">MULTI_AUTOCOMPLETE</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;AML&quot;</span></h5></li><li class="tsd-parameter"><h5 id="multi_combobox"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">MULTI_COMBOBOX</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;CML&quot;</span></h5></li><li class="tsd-parameter"><h5 id="object"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">OBJECT</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;OBJ&quot;</span></h5></li><li class="tsd-parameter"><h5 id="one_button"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">ONE_BUTTON</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;BTO&quot;</span></h5></li><li class="tsd-parameter"><h5 id="password"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">PASSWORD</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;PWD&quot;</span></h5></li><li class="tsd-parameter"><h5 id="progress_bar"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">PROGRESS_BAR</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;PGB&quot;</span></h5></li><li class="tsd-parameter"><h5 id="radio"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">RADIO</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;RAD&quot;</span></h5></li><li class="tsd-parameter"><h5 id="range"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">RANGE</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;RNG&quot;</span></h5></li><li class="tsd-parameter"><h5 id="rating"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">RATING</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;RTG&quot;</span></h5></li><li class="tsd-parameter"><h5 id="spinner"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">SPINNER</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;SPN&quot;</span></h5></li><li class="tsd-parameter"><h5 id="switch"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">SWITCH</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;SWT&quot;</span></h5></li><li class="tsd-parameter"><h5 id="table"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">TABLE</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;TBL&quot;</span></h5></li><li class="tsd-parameter"><h5 id="text_field"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">TEXT_FIELD</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;ITX&quot;</span></h5></li><li class="tsd-parameter"><h5 id="time"><code class="tsd-tag">Readonly</code><span class="tsd-kind-property">TIME</span><span class="tsd-signature-symbol">: </span><span class="tsd-signature-type">&quot;TIM&quot;</span></h5></li></ul></div><div class="tsd-comment tsd-typography"></div><aside class="tsd-sources"><ul><li>Defined in <a href="https://github.com/smeup/kokos-sdk-node/blob/c36c3bca99ffbd3011788eb13e8fe1fe740f8af9/src/types/data-structures/smeupDataTable.ts#L146">work/kokos-sdk-node/kokos-sdk-node/src/types/data-structures/smeupDataTable.ts:146</a></li><li>Defined in <a href="https://github.com/smeup/kokos-sdk-node/blob/c36c3bca99ffbd3011788eb13e8fe1fe740f8af9/src/types/data-structures/smeupDataTable.ts#L189">work/kokos-sdk-node/kokos-sdk-node/src/types/data-structures/smeupDataTable.ts:189</a></li></ul></aside></div><div class="col-sidebar"><div class="page-menu"><div class="tsd-navigation settings"><details class="tsd-accordion"><summary class="tsd-accordion-summary"><svg width="20" height="20" viewBox="0 0 24 24" fill="none" aria-hidden="true"><use href="../assets/icons.svg#icon-chevronDown"></use></svg><h3>Settings</h3></summary><div class="tsd-accordion-details"><div class="tsd-filter-visibility"><span class="settings-label">Member Visibility</span><ul id="tsd-filter-options"><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-protected" name="protected"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Protected</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-inherited" name="inherited" checked/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>Inherited</span></label></li><li class="tsd-filter-item"><label class="tsd-filter-input"><input type="checkbox" id="tsd-filter-external" name="external"/><svg width="32" height="32" viewBox="0 0 32 32" aria-hidden="true"><rect class="tsd-checkbox-background" width="30" height="30" x="1" y="1" rx="6" fill="none"></rect><path class="tsd-checkbox-checkmark" d="M8.35422 16.8214L13.2143 21.75L24.6458 10.25" stroke="none" stroke-width="3.5" stroke-linejoin="round" fill="none"></path></svg><span>External</span></label></li></ul></div><div class="tsd-theme-toggle"><label class="settings-label" for="tsd-theme">Theme</label><select id="tsd-theme"><option value="os">OS</option><option value="light">Light</option><option value="dark">Dark</option></select></div></div></details></div></div><div class="site-menu"><nav class="tsd-navigation"><a href="../modules.html">@sme.up/kokos-sdk-node</a><ul class="tsd-small-nested-navigation" id="tsd-nav-container"><li>Loading...</li></ul></nav></div></div></div><footer><p class="tsd-generator">Generated using <a href="https://typedoc.org/" target="_blank">TypeDoc</a></p></footer><div class="overlay"></div></body></html>
@@ -8,7 +8,7 @@ import { ApiVersion, } from "../types/data-structures/smeupDataStructure.js";
8
8
  * @param version
9
9
  * @returns
10
10
  */
11
- export async function executeFun(fun, context, version = ApiVersion.V1) {
11
+ export async function executeFun(fun, context, version = ApiVersion.V2) {
12
12
  return new Promise(async (resolve, reject) => {
13
13
  const out = new DataStructureStream();
14
14
  serviceCaller(fun, context, out, version)
@@ -1,6 +1,5 @@
1
1
  import stream from "stream";
2
2
  import { ExecutionContext, Fun } from "../types/general.js";
3
- import { ApiVersion } from "../types/data-structures/smeupDataStructure.js";
4
3
  /**
5
4
  * Dispatches the execution of a function to the micro-executor service.
6
5
  * @param handler The handler name.
@@ -9,4 +8,4 @@ import { ApiVersion } from "../types/data-structures/smeupDataStructure.js";
9
8
  * @param out The OutputStream object.
10
9
  * @throws Exception
11
10
  */
12
- export declare function dispatch(handler: string, fun: Fun, context: ExecutionContext, out: stream.Writable, version?: ApiVersion): Promise<void>;
11
+ export declare function dispatch(handler: string, fun: Fun, context: ExecutionContext, out: stream.Writable): Promise<void>;
@@ -1,16 +1,7 @@
1
- import { ApiVersion, SMEUP_MESSAGE_GRAVITY, } from "../types/data-structures/smeupDataStructure.js";
1
+ import { SMEUP_MESSAGE_GRAVITY, } from "../types/data-structures/smeupDataStructure.js";
2
2
  import axios from "axios";
3
3
  import { funToString } from "../utils/fun.js";
4
- const EXECUTE_FUN_V1 = "/api/v1/executeFun";
5
4
  const EXECUTE_FUN_V2 = "/api/v2/executeFun";
6
- /**
7
- * Determines the API path based on the provided version.
8
- * @param version The API version, either "V1" or "V2".
9
- * @returns The API path.
10
- */
11
- const getPath = (version) => {
12
- return version === ApiVersion.V1 ? EXECUTE_FUN_V1 : EXECUTE_FUN_V2;
13
- };
14
5
  /**
15
6
  * Dispatches the execution of a function to the micro-executor service.
16
7
  * @param handler The handler name.
@@ -19,10 +10,10 @@ const getPath = (version) => {
19
10
  * @param out The OutputStream object.
20
11
  * @throws Exception
21
12
  */
22
- export async function dispatch(handler, fun, context, out, version = ApiVersion.V1) {
13
+ export async function dispatch(handler, fun, context, out) {
23
14
  const handlerUrl = context?.app?.registry?.handlers?.[handler];
24
15
  if (handlerUrl) {
25
- const url = handlerUrl + getPath(version);
16
+ const url = handlerUrl + EXECUTE_FUN_V2;
26
17
  const dto = {
27
18
  fun: fun,
28
19
  context: context,
@@ -1 +1 @@
1
- {"version":3,"file":"microExecutorServiceCaller.js","sourceRoot":"","sources":["../../src/caller/microExecutorServiceCaller.ts"],"names":[],"mappings":"AAEA,OAAO,EACL,UAAU,EACV,qBAAqB,GAEtB,MAAM,gDAAgD,CAAC;AACxD,OAAO,KAAwB,MAAM,OAAO,CAAC;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAE9C,MAAM,cAAc,GAAG,oBAAoB,CAAC;AAC5C,MAAM,cAAc,GAAG,oBAAoB,CAAC;AAG5C;;;;GAIG;AACH,MAAM,OAAO,GAAG,CAAC,OAAmB,EAAU,EAAE;IAC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B,GAAG,4BAA4B,IAAI,eAAe,QAAQ,CAAC,IAAI,EAAE,CACtF,CAAC;QACJ,CAAC;QACD,4BAA4B;QAC5B,IAAI,QAAQ,CAAC,IAAI,CAAC,QAAQ,EAAE,MAAM,GAAG,CAAC,EAAE,CAAC;YACvC,KAAK,MAAM,OAAO,IAAI,QAAQ,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC;gBAC7C,IAAI,OAAO,CAAC,OAAO,KAAK,qBAAqB,CAAC,KAAK,EAAE,CAAC;oBACpD,MAAM,IAAI,KAAK,CACb,qBAAqB,WAAW,CAAC,GAAG,CAAC,KAAK,OAAO,CAAC,OAAO,EAAE,CAC5D,CAAC;gBACJ,CAAC;YACH,CAAC;QACH,CAAC;QACD,GAAG,CAAC,KAAK,CAAC,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,SAAS,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,CAAC,CAAC;IAChE,CAAC;SAAM,CAAC;QACN,MAAM,IAAI,KAAK,CAAC,WAAW,OAAO,cAAc,CAAC,CAAC;IACpD,CAAC;AACH,CAAC"}
@@ -37,7 +37,7 @@ import { globalConfiguration } from "../configuration/configuration.js";
37
37
  * @returns
38
38
  * @throws ExecutionException
39
39
  */
40
- export async function serviceCaller(fun, context, out, version = ApiVersion.V1) {
40
+ export async function serviceCaller(fun, context, out, version = ApiVersion.V2) {
41
41
  // setup logger context
42
42
  const loggerContext = {
43
43
  fun: funToString(fun),
@@ -55,7 +55,7 @@ export async function serviceCaller(fun, context, out, version = ApiVersion.V1)
55
55
  const handler = context?.app?.registry?.services?.[fun.service];
56
56
  if (handler && handler !== globalConfiguration.microExecutorId) {
57
57
  // dispatch to external service
58
- await dispatch(handler, fun, context, out, version);
58
+ await dispatch(handler, fun, context, out);
59
59
  }
60
60
  else {
61
61
  // handle internally
@@ -1 +1 @@
1
- {"version":3,"file":"serviceCaller.js","sourceRoot":"","sources":["../../src/caller/serviceCaller.ts"],"names":[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ACH,CAAC;iBAAM,CAAC;gBACN,MAAM,CAAC,YAAY,CAAC;oBAClB,OAAO,EAAE,qBAAqB,CAAC,KAAK;oBACpC,IAAI,EAAE,kBAAkB,CAAC,EAAE;oBAC3B,OAAO,EAAE,WACP,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,GAAG,CAAC,QAAQ,CAAC,CAAC,CAAC,EAChC,4BAA4B,GAAG,CAAC,OAAO,GAAG;iBAC3C,CAAC,CAAC;YACL,CAAC;QACH,CAAC;QAAC,OAAO,KAAU,EAAE,CAAC;YACpB,MAAM,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;YACpB,MAAM,CAAC,YAAY,CAAC;gBAClB,OAAO,EAAE,qBAAqB,CAAC,KAAK;gBACpC,IAAI,EAAE,kBAAkB,CAAC,EAAE;gBAC3B,OAAO,EAAE,YAAY,GAAG,CAAC,OAAO,gBAAgB,KAAK,CAAC,OAAO,EAAE;aAChE,CAAC,CAAC;QACL,CAAC;QACD,MAAM,CAAC,8BAA8B,CAAC,GAAG,CAAC,CAAC;IAC7C,CAAC;IACD,kBAAkB,EAAE,CAAC;AACvB,CAAC"}
@@ -0,0 +1 @@
1
+ export declare const executeFunPayloadValidator: import("express-validator/lib/middlewares/schema").RunnableValidationChains<import("express-validator").ValidationChain>;
@@ -0,0 +1,126 @@
1
+ // validators/executeFunPayloadValidator.ts
2
+ import { checkSchema } from "express-validator";
3
+ export const executeFunPayloadValidator = checkSchema({
4
+ fun: {
5
+ in: ["body"],
6
+ isObject: true,
7
+ errorMessage: "fun must be an object",
8
+ },
9
+ "fun.component": {
10
+ in: ["body"],
11
+ isString: true,
12
+ errorMessage: "component must be a string",
13
+ },
14
+ "fun.service": {
15
+ in: ["body"],
16
+ isString: true,
17
+ errorMessage: "service must be a string",
18
+ },
19
+ "fun.function": {
20
+ in: ["body"],
21
+ isString: true,
22
+ errorMessage: "function must be a string",
23
+ },
24
+ // Optional nested FunObject fields
25
+ ...["obj1", "obj2", "obj3", "obj4", "obj5", "obj6"].reduce((acc, objName) => {
26
+ acc[`fun.${objName}`] = {
27
+ in: ["body"],
28
+ optional: true,
29
+ isObject: true,
30
+ errorMessage: `${objName} must be an object if provided`,
31
+ };
32
+ acc[`fun.${objName}.t`] = {
33
+ in: ["body"],
34
+ optional: true,
35
+ isString: true,
36
+ errorMessage: `${objName}.t must be a string`,
37
+ };
38
+ acc[`fun.${objName}.p`] = {
39
+ in: ["body"],
40
+ optional: true,
41
+ isString: true,
42
+ errorMessage: `${objName}.p must be a string`,
43
+ };
44
+ acc[`fun.${objName}.k`] = {
45
+ in: ["body"],
46
+ optional: true,
47
+ isString: true,
48
+ errorMessage: `${objName}.k must be a string`,
49
+ };
50
+ return acc;
51
+ }, {}),
52
+ "fun.P": {
53
+ in: ["body"],
54
+ optional: true,
55
+ isString: true,
56
+ errorMessage: "P must be a string",
57
+ },
58
+ "fun.INPUT": {
59
+ in: ["body"],
60
+ optional: true,
61
+ isString: true,
62
+ errorMessage: "INPUT must be a string",
63
+ },
64
+ context: {
65
+ in: ["body"],
66
+ isObject: true,
67
+ errorMessage: "context must be an object",
68
+ },
69
+ // User fields (optional)
70
+ "context.user": {
71
+ in: ["body"],
72
+ optional: true,
73
+ isObject: true,
74
+ errorMessage: "user must be an object",
75
+ },
76
+ "context.user.sessionId": {
77
+ in: ["body"],
78
+ optional: true,
79
+ isString: true,
80
+ errorMessage: "user.sessionId must be a string",
81
+ },
82
+ "context.user.username": {
83
+ in: ["body"],
84
+ optional: true,
85
+ isString: true,
86
+ errorMessage: "user.username must be a string",
87
+ },
88
+ "context.user.app": {
89
+ in: ["body"],
90
+ optional: true,
91
+ isString: true,
92
+ errorMessage: "user.app must be a string",
93
+ },
94
+ "context.user.device": {
95
+ in: ["body"],
96
+ optional: true,
97
+ isString: true,
98
+ errorMessage: "user.device must be a string",
99
+ },
100
+ "context.user.expiresAt": {
101
+ in: ["body"],
102
+ optional: true,
103
+ isNumeric: true,
104
+ errorMessage: "user.expiresAt must be a number",
105
+ },
106
+ // App and Registry fields
107
+ "context.app": {
108
+ in: ["body"],
109
+ optional: true,
110
+ isObject: true,
111
+ errorMessage: "app must be an object",
112
+ },
113
+ "context.app.registry": {
114
+ in: ["body"],
115
+ optional: true,
116
+ isObject: true,
117
+ errorMessage: "registry must be an object",
118
+ },
119
+ "context.app.libraries": {
120
+ in: ["body"],
121
+ optional: true,
122
+ isObject: true,
123
+ errorMessage: "libraries must be an object",
124
+ },
125
+ });
126
+ //# sourceMappingURL=executeFunPayloadValidator.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"executeFunPayloadValidator.js","sourceRoot":"","sources":["../../../src/entrypoint/restapi/executeFunPayloadValidator.ts"],"names":[],"mappings":"AAAA,2CAA2C;AAC3C,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAEhD,MAAM,CAAC,MAAM,0BAA0B,GAAG,WAAW,CAAC;IACpD,GAAG,EAAE;QACH,EAAE,EAAE,CAAC,MAAM,CAAC;QACZ,QAAQ,EAAE,IAAI;QACd,YAAY,EAAE,uBAAuB;KACtC;IACD,eAAe,EAAE;QACf,EAAE,EAAE,CAAC,MAAM,CAAC;QACZ,QAAQ,EAAE,IAAI;QACd,YAAY,EAAE,4BAA4B;KAC3C;IACD,aAAa,EAAE;QACb,EAAE,EAAE,CAAC,MAAM,CAAC;QACZ,QAAQ,EAAE,IAAI;QACd,YAAY,EAAE,0BAA0B;KACzC;IACD,cAAc,EAAE;QACd,EAAE,EAAE,CAAC,MAAM,CAAC;QACZ,QAAQ,EAAE,IAAI;QACd,YAAY,EAAE,2BAA2B;KAC1C;IAED,mCAAmC;IACnC,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,OAAO,EAAE,EAAE;QAC1E,GAAG,CAAC,OAAO,OAAO,EAAE,CAAC,GAAG;YACtB,EAAE,EAAE,CAAC,MAAM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ACD,wBAAwB,EAAE;QACxB,EAAE,EAAE,CAAC,MAAM,CAAC;QACZ,QAAQ,EAAE,IAAI;QACd,QAAQ,EAAE,IAAI;QACd,YAAY,EAAE,iCAAiC;KAChD;IACD,uBAAuB,EAAE;QACvB,EAAE,EAAE,CAAC,MAAM,CAAC;QACZ,QAAQ,EAAE,IAAI;QACd,QAAQ,EAAE,IAAI;QACd,YAAY,EAAE,gCAAgC;KAC/C;IACD,kBAAkB,EAAE;QAClB,EAAE,EAAE,CAAC,MAAM,CAAC;QACZ,QAAQ,EAAE,IAAI;QACd,QAAQ,EAAE,IAAI;QACd,YAAY,EAAE,2BAA2B;KAC1C;IACD,qBAAqB,EAAE;QACrB,EAAE,EAAE,CAAC,MAAM,CAAC;QACZ,QAAQ,EAAE,IAAI;QACd,QAAQ,EAAE,IAAI;QACd,YAAY,EAAE,8BAA8B;KAC7C;IACD,wBAAwB,EAAE;QACxB,EAAE,EAAE,CAAC,MAAM,CAAC;QACZ,QAAQ,EAAE,IAAI;QACd,SAAS,EAAE,IAAI;QACf,YAAY,EAAE,iCAAiC;KAChD;IAED,0BAA0B;IAC1B,aAAa,EAAE;QACb,EAAE,EAAE,CAAC,MAAM,CAAC;QACZ,QAAQ,EAAE,IAAI;QACd,QAAQ,EAAE,IAAI;QACd,YAAY,EAAE,uBAAuB;KACtC;IACD,sBAAsB,EAAE;QACtB,EAAE,EAAE,CAAC,MAAM,CAAC;QACZ,QAAQ,EAAE,IAAI;QACd,QAAQ,EAAE,IAAI;QACd,YAAY,EAAE,4BAA4B;KAC3C;IACD,uBAAuB,EAAE;QACvB,EAAE,EAAE,CAAC,MAAM,CAAC;QACZ,QAAQ,EAAE,IAAI;QACd,QAAQ,EAAE,IAAI;QACd,YAAY,EAAE,6BAA6B;KAC5C;CACF,CAAC,CAAC"}
@@ -1,9 +1,5 @@
1
1
  import express from "express";
2
2
  import bodyParser from "body-parser";
3
- import { plainToInstance } from "class-transformer";
4
- import { validate } from "class-validator";
5
- import { ValidationException } from "../../types/exceptions/validation.js";
6
- import { ExecuteFunPayload, } from "../../types/general.js";
7
3
  import { serviceCaller } from "../../caller/serviceCaller.js";
8
4
  import { fileURLToPath } from "url";
9
5
  import { dirname, normalize } from "path";
@@ -11,6 +7,9 @@ import stream from "stream";
11
7
  import { ApiVersion, SMEUP_MESSAGE_GRAVITY, SMEUP_MESSAGE_MODE, } from "../../types/data-structures/smeupDataStructure.js";
12
8
  import { init } from "../../configuration/configuration.js";
13
9
  import { Format, LOGGER, Level, configureLogger } from "../../logger/logger.js";
10
+ import { validationResult, } from "express-validator";
11
+ import { executeFunPayloadValidator } from "./executeFunPayloadValidator.js";
12
+ import { ValidationException } from "../../types/exceptions/validation.js";
14
13
  // constant
15
14
  const __filename = fileURLToPath(import.meta.url);
16
15
  const __dirname = dirname(__filename);
@@ -52,9 +51,9 @@ export function startServerWithCustomConfig(microExecutorId, defaultConfiguratio
52
51
  /**
53
52
  * /executeFun API
54
53
  */
55
- app.use("/api/:version/executeFun", validationMiddleware(ExecuteFunPayload), (req, res, next) => {
54
+ app.use("/api/:version/executeFun", validationMiddleware(executeFunPayloadValidator), (req, res, next) => {
56
55
  // get version
57
- const version = req.params.version == "v2" ? ApiVersion.V2 : ApiVersion.V1;
56
+ const version = ApiVersion.V2;
58
57
  // get body
59
58
  const { fun, context } = req.body;
60
59
  // set status
@@ -105,26 +104,20 @@ export function startServerWithCustomConfig(microExecutorId, defaultConfiguratio
105
104
  /**
106
105
  * MIDDLEWARES
107
106
  */
108
- /**
109
- * Validation Middleware
110
- * Validate request body
111
- * @param type
112
- * @param skipMissingProperties
113
- * @returns
114
- */
115
- function validationMiddleware(type) {
116
- return (req, res, next) => {
117
- validate(plainToInstance(type, req.body)).then((errors) => {
118
- if (errors.length > 0) {
119
- const message = errors
120
- .map((error) => error.constraints && Object.values(error.constraints))
121
- .join(", ");
122
- next(new ValidationException(message));
123
- }
124
- else {
125
- next();
126
- }
127
- });
107
+ function validationMiddleware(validators) {
108
+ return async (req, res, next) => {
109
+ for (const validator of validators) {
110
+ await validator.run(req);
111
+ }
112
+ const errors = validationResult(req);
113
+ if (!errors.isEmpty()) {
114
+ const message = errors
115
+ .array()
116
+ .map((error) => error.msg)
117
+ .join(", ");
118
+ next(new ValidationException(message));
119
+ }
120
+ next();
128
121
  };
129
122
  }
130
123
  /**