namirasoft-expert 1.4.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (259) hide show
  1. package/dist/NamirasoftExpertServer.d.ts +23 -0
  2. package/dist/NamirasoftExpertServer.js +30 -0
  3. package/dist/NamirasoftExpertServer.js.map +1 -0
  4. package/dist/NamirasoftExpertServerAgent.d.ts +18 -0
  5. package/dist/NamirasoftExpertServerAgent.js +64 -0
  6. package/dist/NamirasoftExpertServerAgent.js.map +1 -0
  7. package/dist/NamirasoftExpertServerAgentCategory.d.ts +17 -0
  8. package/dist/NamirasoftExpertServerAgentCategory.js +56 -0
  9. package/dist/NamirasoftExpertServerAgentCategory.js.map +1 -0
  10. package/dist/NamirasoftExpertServerAgentField.d.ts +18 -0
  11. package/dist/NamirasoftExpertServerAgentField.js +64 -0
  12. package/dist/NamirasoftExpertServerAgentField.js.map +1 -0
  13. package/dist/NamirasoftExpertServerAgentTag.d.ts +18 -0
  14. package/dist/NamirasoftExpertServerAgentTag.js +64 -0
  15. package/dist/NamirasoftExpertServerAgentTag.js.map +1 -0
  16. package/dist/NamirasoftExpertServerBase.d.ts +5 -0
  17. package/dist/NamirasoftExpertServerBase.js +11 -0
  18. package/dist/NamirasoftExpertServerBase.js.map +1 -0
  19. package/dist/NamirasoftExpertServerChat.d.ts +14 -0
  20. package/dist/NamirasoftExpertServerChat.js +41 -0
  21. package/dist/NamirasoftExpertServerChat.js.map +1 -0
  22. package/dist/NamirasoftExpertServerHealth.d.ts +8 -0
  23. package/dist/NamirasoftExpertServerHealth.js +35 -0
  24. package/dist/NamirasoftExpertServerHealth.js.map +1 -0
  25. package/dist/NamirasoftExpertServerHealthz.d.ts +7 -0
  26. package/dist/NamirasoftExpertServerHealthz.js +28 -0
  27. package/dist/NamirasoftExpertServerHealthz.js.map +1 -0
  28. package/dist/NamirasoftExpertServerMetrics.d.ts +7 -0
  29. package/dist/NamirasoftExpertServerMetrics.js +28 -0
  30. package/dist/NamirasoftExpertServerMetrics.js.map +1 -0
  31. package/dist/NamirasoftExpertServerValue.d.ts +7 -0
  32. package/dist/NamirasoftExpertServerValue.js +29 -0
  33. package/dist/NamirasoftExpertServerValue.js.map +1 -0
  34. package/dist/command/AgentCategoryCommand.d.ts +4 -0
  35. package/dist/command/AgentCategoryCommand.js +21 -0
  36. package/dist/command/AgentCategoryCommand.js.map +1 -0
  37. package/dist/command/AgentCategoryCreateCommand.d.ts +5 -0
  38. package/dist/command/AgentCategoryCreateCommand.js +58 -0
  39. package/dist/command/AgentCategoryCreateCommand.js.map +1 -0
  40. package/dist/command/AgentCategoryDeleteCommand.d.ts +5 -0
  41. package/dist/command/AgentCategoryDeleteCommand.js +38 -0
  42. package/dist/command/AgentCategoryDeleteCommand.js.map +1 -0
  43. package/dist/command/AgentCategoryGetCommand.d.ts +5 -0
  44. package/dist/command/AgentCategoryGetCommand.js +38 -0
  45. package/dist/command/AgentCategoryGetCommand.js.map +1 -0
  46. package/dist/command/AgentCategoryListCommand.d.ts +5 -0
  47. package/dist/command/AgentCategoryListCommand.js +38 -0
  48. package/dist/command/AgentCategoryListCommand.js.map +1 -0
  49. package/dist/command/AgentCommand.d.ts +4 -0
  50. package/dist/command/AgentCommand.js +23 -0
  51. package/dist/command/AgentCommand.js.map +1 -0
  52. package/dist/command/AgentCreateCommand.d.ts +5 -0
  53. package/dist/command/AgentCreateCommand.js +148 -0
  54. package/dist/command/AgentCreateCommand.js.map +1 -0
  55. package/dist/command/AgentDeleteCommand.d.ts +5 -0
  56. package/dist/command/AgentDeleteCommand.js +38 -0
  57. package/dist/command/AgentDeleteCommand.js.map +1 -0
  58. package/dist/command/AgentFieldCommand.d.ts +4 -0
  59. package/dist/command/AgentFieldCommand.js +23 -0
  60. package/dist/command/AgentFieldCommand.js.map +1 -0
  61. package/dist/command/AgentFieldCreateCommand.d.ts +5 -0
  62. package/dist/command/AgentFieldCreateCommand.js +67 -0
  63. package/dist/command/AgentFieldCreateCommand.js.map +1 -0
  64. package/dist/command/AgentFieldDeleteCommand.d.ts +5 -0
  65. package/dist/command/AgentFieldDeleteCommand.js +38 -0
  66. package/dist/command/AgentFieldDeleteCommand.js.map +1 -0
  67. package/dist/command/AgentFieldGetCommand.d.ts +5 -0
  68. package/dist/command/AgentFieldGetCommand.js +38 -0
  69. package/dist/command/AgentFieldGetCommand.js.map +1 -0
  70. package/dist/command/AgentFieldListCommand.d.ts +5 -0
  71. package/dist/command/AgentFieldListCommand.js +38 -0
  72. package/dist/command/AgentFieldListCommand.js.map +1 -0
  73. package/dist/command/AgentFieldUpdateCommand.d.ts +5 -0
  74. package/dist/command/AgentFieldUpdateCommand.js +67 -0
  75. package/dist/command/AgentFieldUpdateCommand.js.map +1 -0
  76. package/dist/command/AgentGetCommand.d.ts +5 -0
  77. package/dist/command/AgentGetCommand.js +38 -0
  78. package/dist/command/AgentGetCommand.js.map +1 -0
  79. package/dist/command/AgentListCommand.d.ts +5 -0
  80. package/dist/command/AgentListCommand.js +38 -0
  81. package/dist/command/AgentListCommand.js.map +1 -0
  82. package/dist/command/AgentTagCommand.d.ts +4 -0
  83. package/dist/command/AgentTagCommand.js +23 -0
  84. package/dist/command/AgentTagCommand.js.map +1 -0
  85. package/dist/command/AgentTagCreateCommand.d.ts +5 -0
  86. package/dist/command/AgentTagCreateCommand.js +67 -0
  87. package/dist/command/AgentTagCreateCommand.js.map +1 -0
  88. package/dist/command/AgentTagDeleteCommand.d.ts +5 -0
  89. package/dist/command/AgentTagDeleteCommand.js +38 -0
  90. package/dist/command/AgentTagDeleteCommand.js.map +1 -0
  91. package/dist/command/AgentTagGetCommand.d.ts +5 -0
  92. package/dist/command/AgentTagGetCommand.js +38 -0
  93. package/dist/command/AgentTagGetCommand.js.map +1 -0
  94. package/dist/command/AgentTagListCommand.d.ts +5 -0
  95. package/dist/command/AgentTagListCommand.js +38 -0
  96. package/dist/command/AgentTagListCommand.js.map +1 -0
  97. package/dist/command/AgentTagUpdateCommand.d.ts +5 -0
  98. package/dist/command/AgentTagUpdateCommand.js +67 -0
  99. package/dist/command/AgentTagUpdateCommand.js.map +1 -0
  100. package/dist/command/AgentUpdateCommand.d.ts +5 -0
  101. package/dist/command/AgentUpdateCommand.js +148 -0
  102. package/dist/command/AgentUpdateCommand.js.map +1 -0
  103. package/dist/command/ChatCommand.d.ts +4 -0
  104. package/dist/command/ChatCommand.js +17 -0
  105. package/dist/command/ChatCommand.js.map +1 -0
  106. package/dist/command/ChatGetCommand.d.ts +5 -0
  107. package/dist/command/ChatGetCommand.js +38 -0
  108. package/dist/command/ChatGetCommand.js.map +1 -0
  109. package/dist/command/ChatListCommand.d.ts +5 -0
  110. package/dist/command/ChatListCommand.js +38 -0
  111. package/dist/command/ChatListCommand.js.map +1 -0
  112. package/dist/command/HealthCommand.d.ts +4 -0
  113. package/dist/command/HealthCommand.js +17 -0
  114. package/dist/command/HealthCommand.js.map +1 -0
  115. package/dist/command/HealthLivenessCommand.d.ts +5 -0
  116. package/dist/command/HealthLivenessCommand.js +38 -0
  117. package/dist/command/HealthLivenessCommand.js.map +1 -0
  118. package/dist/command/HealthReadinessCommand.d.ts +5 -0
  119. package/dist/command/HealthReadinessCommand.js +38 -0
  120. package/dist/command/HealthReadinessCommand.js.map +1 -0
  121. package/dist/command/HealthzCommand.d.ts +4 -0
  122. package/dist/command/HealthzCommand.js +15 -0
  123. package/dist/command/HealthzCommand.js.map +1 -0
  124. package/dist/command/HealthzGetCommand.d.ts +5 -0
  125. package/dist/command/HealthzGetCommand.js +38 -0
  126. package/dist/command/HealthzGetCommand.js.map +1 -0
  127. package/dist/command/MetricsCommand.d.ts +4 -0
  128. package/dist/command/MetricsCommand.js +15 -0
  129. package/dist/command/MetricsCommand.js.map +1 -0
  130. package/dist/command/MetricsGetCommand.d.ts +5 -0
  131. package/dist/command/MetricsGetCommand.js +38 -0
  132. package/dist/command/MetricsGetCommand.js.map +1 -0
  133. package/dist/command/ValueCommand.d.ts +4 -0
  134. package/dist/command/ValueCommand.js +15 -0
  135. package/dist/command/ValueCommand.js.map +1 -0
  136. package/dist/command/ValueListCommand.d.ts +5 -0
  137. package/dist/command/ValueListCommand.js +38 -0
  138. package/dist/command/ValueListCommand.js.map +1 -0
  139. package/dist/command/cli.d.ts +2 -0
  140. package/dist/command/cli.js +30 -0
  141. package/dist/command/cli.js.map +1 -0
  142. package/dist/enum/ChatType.d.ts +6 -0
  143. package/dist/enum/ChatType.js +11 -0
  144. package/dist/enum/ChatType.js.map +1 -0
  145. package/dist/index.d.ts +62 -0
  146. package/dist/index.js +79 -0
  147. package/dist/index.js.map +1 -0
  148. package/dist/meta/AgentCategoryMetaTable.d.ts +15 -0
  149. package/dist/meta/AgentCategoryMetaTable.js +39 -0
  150. package/dist/meta/AgentCategoryMetaTable.js.map +1 -0
  151. package/dist/meta/AgentFieldMetaTable.d.ts +16 -0
  152. package/dist/meta/AgentFieldMetaTable.js +39 -0
  153. package/dist/meta/AgentFieldMetaTable.js.map +1 -0
  154. package/dist/meta/AgentMetaTable.d.ts +25 -0
  155. package/dist/meta/AgentMetaTable.js +48 -0
  156. package/dist/meta/AgentMetaTable.js.map +1 -0
  157. package/dist/meta/AgentTagMetaTable.d.ts +16 -0
  158. package/dist/meta/AgentTagMetaTable.js +39 -0
  159. package/dist/meta/AgentTagMetaTable.js.map +1 -0
  160. package/dist/meta/ChatMetaTable.d.ts +19 -0
  161. package/dist/meta/ChatMetaTable.js +44 -0
  162. package/dist/meta/ChatMetaTable.js.map +1 -0
  163. package/dist/meta/NamirasoftExpertMetaDatabase.d.ts +21 -0
  164. package/dist/meta/NamirasoftExpertMetaDatabase.js +35 -0
  165. package/dist/meta/NamirasoftExpertMetaDatabase.js.map +1 -0
  166. package/dist/row/AgentCategoryRow.d.ts +8 -0
  167. package/dist/row/AgentCategoryRow.js +3 -0
  168. package/dist/row/AgentCategoryRow.js.map +1 -0
  169. package/dist/row/AgentFieldRow.d.ts +9 -0
  170. package/dist/row/AgentFieldRow.js +3 -0
  171. package/dist/row/AgentFieldRow.js.map +1 -0
  172. package/dist/row/AgentInputRow.d.ts +14 -0
  173. package/dist/row/AgentInputRow.js +3 -0
  174. package/dist/row/AgentInputRow.js.map +1 -0
  175. package/dist/row/AgentRow.d.ts +18 -0
  176. package/dist/row/AgentRow.js +3 -0
  177. package/dist/row/AgentRow.js.map +1 -0
  178. package/dist/row/AgentTagRow.d.ts +9 -0
  179. package/dist/row/AgentTagRow.js +3 -0
  180. package/dist/row/AgentTagRow.js.map +1 -0
  181. package/dist/row/ChatRow.d.ts +13 -0
  182. package/dist/row/ChatRow.js +3 -0
  183. package/dist/row/ChatRow.js.map +1 -0
  184. package/dist/row/EntityCategoryInputRow.d.ts +4 -0
  185. package/dist/row/EntityCategoryInputRow.js +3 -0
  186. package/dist/row/EntityCategoryInputRow.js.map +1 -0
  187. package/dist/row/EntityFieldInputRow.d.ts +5 -0
  188. package/dist/row/EntityFieldInputRow.js +3 -0
  189. package/dist/row/EntityFieldInputRow.js.map +1 -0
  190. package/dist/row/EntityTagInputRow.d.ts +5 -0
  191. package/dist/row/EntityTagInputRow.js +3 -0
  192. package/dist/row/EntityTagInputRow.js.map +1 -0
  193. package/logo.png +0 -0
  194. package/package.json +28 -0
  195. package/src/NamirasoftExpertServer.ts +57 -0
  196. package/src/NamirasoftExpertServerAgent.ts +71 -0
  197. package/src/NamirasoftExpertServerAgentCategory.ts +64 -0
  198. package/src/NamirasoftExpertServerAgentField.ts +71 -0
  199. package/src/NamirasoftExpertServerAgentTag.ts +71 -0
  200. package/src/NamirasoftExpertServerBase.ts +30 -0
  201. package/src/NamirasoftExpertServerChat.ts +50 -0
  202. package/src/NamirasoftExpertServerHealth.ts +43 -0
  203. package/src/NamirasoftExpertServerHealthz.ts +37 -0
  204. package/src/NamirasoftExpertServerMetrics.ts +37 -0
  205. package/src/NamirasoftExpertServerValue.ts +38 -0
  206. package/src/command/AgentCategoryCommand.ts +38 -0
  207. package/src/command/AgentCategoryCreateCommand.ts +65 -0
  208. package/src/command/AgentCategoryDeleteCommand.ts +45 -0
  209. package/src/command/AgentCategoryGetCommand.ts +45 -0
  210. package/src/command/AgentCategoryListCommand.ts +45 -0
  211. package/src/command/AgentCommand.ts +40 -0
  212. package/src/command/AgentCreateCommand.ts +155 -0
  213. package/src/command/AgentDeleteCommand.ts +45 -0
  214. package/src/command/AgentFieldCommand.ts +40 -0
  215. package/src/command/AgentFieldCreateCommand.ts +74 -0
  216. package/src/command/AgentFieldDeleteCommand.ts +45 -0
  217. package/src/command/AgentFieldGetCommand.ts +45 -0
  218. package/src/command/AgentFieldListCommand.ts +45 -0
  219. package/src/command/AgentFieldUpdateCommand.ts +74 -0
  220. package/src/command/AgentGetCommand.ts +45 -0
  221. package/src/command/AgentListCommand.ts +45 -0
  222. package/src/command/AgentTagCommand.ts +40 -0
  223. package/src/command/AgentTagCreateCommand.ts +74 -0
  224. package/src/command/AgentTagDeleteCommand.ts +45 -0
  225. package/src/command/AgentTagGetCommand.ts +45 -0
  226. package/src/command/AgentTagListCommand.ts +45 -0
  227. package/src/command/AgentTagUpdateCommand.ts +74 -0
  228. package/src/command/AgentUpdateCommand.ts +155 -0
  229. package/src/command/ChatCommand.ts +34 -0
  230. package/src/command/ChatGetCommand.ts +45 -0
  231. package/src/command/ChatListCommand.ts +45 -0
  232. package/src/command/HealthCommand.ts +34 -0
  233. package/src/command/HealthLivenessCommand.ts +45 -0
  234. package/src/command/HealthReadinessCommand.ts +45 -0
  235. package/src/command/HealthzCommand.ts +32 -0
  236. package/src/command/HealthzGetCommand.ts +45 -0
  237. package/src/command/MetricsCommand.ts +32 -0
  238. package/src/command/MetricsGetCommand.ts +45 -0
  239. package/src/command/ValueCommand.ts +32 -0
  240. package/src/command/ValueListCommand.ts +45 -0
  241. package/src/command/cli.ts +49 -0
  242. package/src/enum/ChatType.ts +27 -0
  243. package/src/index.ts +82 -0
  244. package/src/meta/AgentCategoryMetaTable.ts +60 -0
  245. package/src/meta/AgentFieldMetaTable.ts +61 -0
  246. package/src/meta/AgentMetaTable.ts +79 -0
  247. package/src/meta/AgentTagMetaTable.ts +61 -0
  248. package/src/meta/ChatMetaTable.ts +69 -0
  249. package/src/meta/NamirasoftExpertMetaDatabase.ts +63 -0
  250. package/src/row/AgentCategoryRow.ts +29 -0
  251. package/src/row/AgentFieldRow.ts +30 -0
  252. package/src/row/AgentInputRow.ts +35 -0
  253. package/src/row/AgentRow.ts +39 -0
  254. package/src/row/AgentTagRow.ts +30 -0
  255. package/src/row/ChatRow.ts +35 -0
  256. package/src/row/EntityCategoryInputRow.ts +25 -0
  257. package/src/row/EntityFieldInputRow.ts +26 -0
  258. package/src/row/EntityTagInputRow.ts +26 -0
  259. package/tsconfig.json +42 -0
@@ -0,0 +1,5 @@
1
+ import { BaseFinalCommand } from "namirasoft-node-cli";
2
+ export declare class AgentTagListCommand extends BaseFinalCommand {
3
+ constructor(argv: string[]);
4
+ exec(): Promise<void>;
5
+ }
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.AgentTagListCommand = void 0;
13
+ const namirasoft_node_cli_1 = require("namirasoft-node-cli");
14
+ const namirasoft_core_1 = require("namirasoft-core");
15
+ const NamirasoftExpertServer_1 = require("../NamirasoftExpertServer");
16
+ const namirasoft_account_1 = require("namirasoft-account");
17
+ class AgentTagListCommand extends namirasoft_node_cli_1.BaseFinalCommand {
18
+ constructor(argv) {
19
+ super(argv, ["filters", "page", "size", "sorts"], []);
20
+ }
21
+ exec() {
22
+ return __awaiter(this, void 0, void 0, function* () {
23
+ let token = this.app.storage.getNSAToken();
24
+ if (token == null)
25
+ throw new Error("Token is not available. Please login first using:\nns-expert account config \nor \nns-expert account login.");
26
+ let storage = new namirasoft_core_1.IStorageMemoryDedicated();
27
+ let token_manager = new namirasoft_account_1.TokenManager(storage, () => { });
28
+ token_manager.setValue(token, false);
29
+ let url = this.app.storage.getItem("ns-expert-server-url");
30
+ let server = new NamirasoftExpertServer_1.NamirasoftExpertServer(url, token_manager, e => this.app.logger.error(e.message));
31
+ let ans = yield server.agent_tag.List(this.arg_values[0], this.arg_values[1], this.arg_values[2], this.arg_values[3]);
32
+ this.app.logger.success(JSON.stringify(ans));
33
+ });
34
+ }
35
+ }
36
+ exports.AgentTagListCommand = AgentTagListCommand;
37
+ ;
38
+ //# sourceMappingURL=AgentTagListCommand.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AgentTagListCommand.js","sourceRoot":"","sources":["../../src/command/AgentTagListCommand.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,6DAAuD;AACvD,qDAA0D;AAC1D,sEAAmE;AACnE,2DAAkD;AAElD,MAAa,mBAAoB,SAAQ,sCAAgB;IAErD,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,EAAE,CAAC,CAAC;IAC1D,CAAC;IACc,IAAI;;YAEf,IAAI,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;YAC3C,IAAI,KAAK,IAAI,IAAI;gBACb,MAAM,IAAI,KAAK,CAAC,6GAA6G,CAAC,CAAC;YACnI,IAAI,OAAO,GAAG,IAAI,yCAAuB,EAAE,CAAC;YAC5C,IAAI,aAAa,GAAG,IAAI,iCAAY,CAAC,OAAO,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;YACzD,aAAa,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;YACrC,IAAI,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC;YAC3D,IAAI,MAAM,GAAG,IAAI,+CAAsB,CAAC,GAAG,EAAE,aAAa,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;YACnG,IAAI,GAAG,GAAG,MAAM,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;YACtH,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;QACjD,CAAC;KAAA;CACJ;AAnBD,kDAmBC;AAAA,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { BaseFinalCommand } from "namirasoft-node-cli";
2
+ export declare class AgentTagUpdateCommand extends BaseFinalCommand {
3
+ constructor(argv: string[]);
4
+ exec(): Promise<void>;
5
+ }
@@ -0,0 +1,67 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.AgentTagUpdateCommand = void 0;
13
+ const namirasoft_node_cli_1 = require("namirasoft-node-cli");
14
+ const namirasoft_core_1 = require("namirasoft-core");
15
+ const NamirasoftExpertServer_1 = require("../NamirasoftExpertServer");
16
+ const namirasoft_account_1 = require("namirasoft-account");
17
+ class AgentTagUpdateCommand extends namirasoft_node_cli_1.BaseFinalCommand {
18
+ constructor(argv) {
19
+ super(argv, ["id"], [
20
+ {
21
+ name: "entity_id",
22
+ short: "",
23
+ description: "Provides the value of 'entity_id' in body",
24
+ optional: false,
25
+ args: ["entity_id"],
26
+ defaults: [""]
27
+ },
28
+ {
29
+ name: "name",
30
+ short: "",
31
+ description: "Provides the value of 'name' in body",
32
+ optional: false,
33
+ args: ["name"],
34
+ defaults: [""]
35
+ },
36
+ {
37
+ name: "value",
38
+ short: "",
39
+ description: "Provides the value of 'value' in body",
40
+ optional: true,
41
+ args: ["value"],
42
+ defaults: [""]
43
+ }
44
+ ]);
45
+ }
46
+ exec() {
47
+ return __awaiter(this, void 0, void 0, function* () {
48
+ let token = this.app.storage.getNSAToken();
49
+ if (token == null)
50
+ throw new Error("Token is not available. Please login first using:\nns-expert account config \nor \nns-expert account login.");
51
+ let storage = new namirasoft_core_1.IStorageMemoryDedicated();
52
+ let token_manager = new namirasoft_account_1.TokenManager(storage, () => { });
53
+ token_manager.setValue(token, false);
54
+ let url = this.app.storage.getItem("ns-expert-server-url");
55
+ let server = new NamirasoftExpertServer_1.NamirasoftExpertServer(url, token_manager, e => this.app.logger.error(e.message));
56
+ let ans = yield server.agent_tag.Update(this.arg_values[0], {
57
+ entity_id: this.option_values.entity_id,
58
+ name: this.option_values.name,
59
+ value: this.option_values.value
60
+ });
61
+ this.app.logger.success(JSON.stringify(ans));
62
+ });
63
+ }
64
+ }
65
+ exports.AgentTagUpdateCommand = AgentTagUpdateCommand;
66
+ ;
67
+ //# sourceMappingURL=AgentTagUpdateCommand.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AgentTagUpdateCommand.js","sourceRoot":"","sources":["../../src/command/AgentTagUpdateCommand.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,6DAAuD;AACvD,qDAA0D;AAC1D,sEAAmE;AACnE,2DAAkD;AAElD,MAAa,qBAAsB,SAAQ,sCAAgB;IAEvD,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,EAAE;YAChB;gBACI,IAAI,EAAE,WAAW;gBACjB,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,2CAA2C;gBACxD,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,CAAC,WAAW,CAAC;gBACnB,QAAQ,EAAE,CAAC,EAAE,CAAC;aACjB;YACD;gBACI,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,sCAAsC;gBACnD,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,CAAC,MAAM,CAAC;gBACd,QAAQ,EAAE,CAAC,EAAE,CAAC;aACjB;YACD;gBACI,IAAI,EAAE,OAAO;gBACb,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,uCAAuC;gBACpD,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE,CAAC,OAAO,CAAC;gBACf,QAAQ,EAAE,CAAC,EAAE,CAAC;aACjB;SACA,CAAC,CAAC;IACX,CAAC;IACc,IAAI;;YAEf,IAAI,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;YAC3C,IAAI,KAAK,IAAI,IAAI;gBACb,MAAM,IAAI,KAAK,CAAC,6GAA6G,CAAC,CAAC;YACnI,IAAI,OAAO,GAAG,IAAI,yCAAuB,EAAE,CAAC;YAC5C,IAAI,aAAa,GAAG,IAAI,iCAAY,CAAC,OAAO,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;YACzD,aAAa,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;YACrC,IAAI,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC;YAC3D,IAAI,MAAM,GAAG,IAAI,+CAAsB,CAAC,GAAG,EAAE,aAAa,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;YACnG,IAAI,GAAG,GAAG,MAAM,MAAM,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE;gBACxD,SAAS,EAAE,IAAI,CAAC,aAAa,CAAC,SAAS;gBACvC,IAAI,EAAE,IAAI,CAAC,aAAa,CAAC,IAAI;gBAC7B,KAAK,EAAE,IAAI,CAAC,aAAa,CAAC,KAAK;aAClC,CAAC,CAAC;YACH,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;QACjD,CAAC;KAAA;CACJ;AAhDD,sDAgDC;AAAA,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { BaseFinalCommand } from "namirasoft-node-cli";
2
+ export declare class AgentUpdateCommand extends BaseFinalCommand {
3
+ constructor(argv: string[]);
4
+ exec(): Promise<void>;
5
+ }
@@ -0,0 +1,148 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.AgentUpdateCommand = void 0;
13
+ const namirasoft_node_cli_1 = require("namirasoft-node-cli");
14
+ const namirasoft_core_1 = require("namirasoft-core");
15
+ const NamirasoftExpertServer_1 = require("../NamirasoftExpertServer");
16
+ const namirasoft_account_1 = require("namirasoft-account");
17
+ class AgentUpdateCommand extends namirasoft_node_cli_1.BaseFinalCommand {
18
+ constructor(argv) {
19
+ super(argv, ["id"], [
20
+ {
21
+ name: "workspace_id",
22
+ short: "",
23
+ description: "Provides the value of 'workspace_id' in body",
24
+ optional: false,
25
+ args: ["workspace_id"],
26
+ defaults: [""]
27
+ },
28
+ {
29
+ name: "project_id",
30
+ short: "",
31
+ description: "Provides the value of 'project_id' in body",
32
+ optional: true,
33
+ args: ["project_id"],
34
+ defaults: [""]
35
+ },
36
+ {
37
+ name: "environment_id",
38
+ short: "",
39
+ description: "Provides the value of 'environment_id' in body",
40
+ optional: true,
41
+ args: ["environment_id"],
42
+ defaults: [""]
43
+ },
44
+ {
45
+ name: "target_topic_id",
46
+ short: "",
47
+ description: "Provides the value of 'target_topic_id' in body",
48
+ optional: true,
49
+ args: ["target_topic_id"],
50
+ defaults: [""]
51
+ },
52
+ {
53
+ name: "name",
54
+ short: "",
55
+ description: "Provides the value of 'name' in body",
56
+ optional: false,
57
+ args: ["name"],
58
+ defaults: [""]
59
+ },
60
+ {
61
+ name: "server_ids",
62
+ short: "",
63
+ description: "Provides the value of 'server_ids' in body",
64
+ optional: true,
65
+ args: ["server_ids"],
66
+ defaults: [""]
67
+ },
68
+ {
69
+ name: "kubernetes_ids",
70
+ short: "",
71
+ description: "Provides the value of 'kubernetes_ids' in body",
72
+ optional: true,
73
+ args: ["kubernetes_ids"],
74
+ defaults: [""]
75
+ },
76
+ {
77
+ name: "database_ids",
78
+ short: "",
79
+ description: "Provides the value of 'database_ids' in body",
80
+ optional: true,
81
+ args: ["database_ids"],
82
+ defaults: [""]
83
+ },
84
+ {
85
+ name: "cache_ids",
86
+ short: "",
87
+ description: "Provides the value of 'cache_ids' in body",
88
+ optional: true,
89
+ args: ["cache_ids"],
90
+ defaults: [""]
91
+ },
92
+ {
93
+ name: "messaging_ids",
94
+ short: "",
95
+ description: "Provides the value of 'messaging_ids' in body",
96
+ optional: true,
97
+ args: ["messaging_ids"],
98
+ defaults: [""]
99
+ },
100
+ {
101
+ name: "streaming_ids",
102
+ short: "",
103
+ description: "Provides the value of 'streaming_ids' in body",
104
+ optional: true,
105
+ args: ["streaming_ids"],
106
+ defaults: [""]
107
+ },
108
+ {
109
+ name: "description",
110
+ short: "",
111
+ description: "Provides the value of 'description' in body",
112
+ optional: false,
113
+ args: ["description"],
114
+ defaults: [""]
115
+ }
116
+ ]);
117
+ }
118
+ exec() {
119
+ return __awaiter(this, void 0, void 0, function* () {
120
+ let token = this.app.storage.getNSAToken();
121
+ if (token == null)
122
+ throw new Error("Token is not available. Please login first using:\nns-expert account config \nor \nns-expert account login.");
123
+ let storage = new namirasoft_core_1.IStorageMemoryDedicated();
124
+ let token_manager = new namirasoft_account_1.TokenManager(storage, () => { });
125
+ token_manager.setValue(token, false);
126
+ let url = this.app.storage.getItem("ns-expert-server-url");
127
+ let server = new NamirasoftExpertServer_1.NamirasoftExpertServer(url, token_manager, e => this.app.logger.error(e.message));
128
+ let ans = yield server.agent.Update(this.arg_values[0], {
129
+ workspace_id: this.option_values.workspace_id,
130
+ project_id: this.option_values.project_id,
131
+ environment_id: this.option_values.environment_id,
132
+ target_topic_id: this.option_values.target_topic_id,
133
+ name: this.option_values.name,
134
+ server_ids: this.option_values.server_ids,
135
+ kubernetes_ids: this.option_values.kubernetes_ids,
136
+ database_ids: this.option_values.database_ids,
137
+ cache_ids: this.option_values.cache_ids,
138
+ messaging_ids: this.option_values.messaging_ids,
139
+ streaming_ids: this.option_values.streaming_ids,
140
+ description: this.option_values.description
141
+ });
142
+ this.app.logger.success(JSON.stringify(ans));
143
+ });
144
+ }
145
+ }
146
+ exports.AgentUpdateCommand = AgentUpdateCommand;
147
+ ;
148
+ //# sourceMappingURL=AgentUpdateCommand.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"AgentUpdateCommand.js","sourceRoot":"","sources":["../../src/command/AgentUpdateCommand.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,4 @@
1
+ import { BaseNavigatorCommand } from "namirasoft-node-cli";
2
+ export declare class ChatCommand extends BaseNavigatorCommand {
3
+ constructor(argv: string[]);
4
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ChatCommand = void 0;
4
+ const namirasoft_node_cli_1 = require("namirasoft-node-cli");
5
+ const ChatGetCommand_1 = require("./ChatGetCommand");
6
+ const ChatListCommand_1 = require("./ChatListCommand");
7
+ class ChatCommand extends namirasoft_node_cli_1.BaseNavigatorCommand {
8
+ constructor(argv) {
9
+ super(argv, {
10
+ "get": ChatGetCommand_1.ChatGetCommand,
11
+ "list": ChatListCommand_1.ChatListCommand,
12
+ });
13
+ }
14
+ }
15
+ exports.ChatCommand = ChatCommand;
16
+ ;
17
+ //# sourceMappingURL=ChatCommand.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatCommand.js","sourceRoot":"","sources":["../../src/command/ChatCommand.ts"],"names":[],"mappings":";;;AAoBA,6DAA2D;AAC3D,qDAAkD;AAClD,uDAAoD;AAEpD,MAAa,WAAY,SAAQ,0CAAoB;IAEjD,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE;YACR,KAAK,EAAE,+BAAc;YACrB,MAAM,EAAE,iCAAe;SAC1B,CAAC,CAAC;IACP,CAAC;CACJ;AATD,kCASC;AAAA,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { BaseFinalCommand } from "namirasoft-node-cli";
2
+ export declare class ChatGetCommand extends BaseFinalCommand {
3
+ constructor(argv: string[]);
4
+ exec(): Promise<void>;
5
+ }
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.ChatGetCommand = void 0;
13
+ const namirasoft_node_cli_1 = require("namirasoft-node-cli");
14
+ const namirasoft_core_1 = require("namirasoft-core");
15
+ const NamirasoftExpertServer_1 = require("../NamirasoftExpertServer");
16
+ const namirasoft_account_1 = require("namirasoft-account");
17
+ class ChatGetCommand extends namirasoft_node_cli_1.BaseFinalCommand {
18
+ constructor(argv) {
19
+ super(argv, ["id"], []);
20
+ }
21
+ exec() {
22
+ return __awaiter(this, void 0, void 0, function* () {
23
+ let token = this.app.storage.getNSAToken();
24
+ if (token == null)
25
+ throw new Error("Token is not available. Please login first using:\nns-expert account config \nor \nns-expert account login.");
26
+ let storage = new namirasoft_core_1.IStorageMemoryDedicated();
27
+ let token_manager = new namirasoft_account_1.TokenManager(storage, () => { });
28
+ token_manager.setValue(token, false);
29
+ let url = this.app.storage.getItem("ns-expert-server-url");
30
+ let server = new NamirasoftExpertServer_1.NamirasoftExpertServer(url, token_manager, e => this.app.logger.error(e.message));
31
+ let ans = yield server.chat.Get(this.arg_values[0]);
32
+ this.app.logger.success(JSON.stringify(ans));
33
+ });
34
+ }
35
+ }
36
+ exports.ChatGetCommand = ChatGetCommand;
37
+ ;
38
+ //# sourceMappingURL=ChatGetCommand.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatGetCommand.js","sourceRoot":"","sources":["../../src/command/ChatGetCommand.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,6DAAuD;AACvD,qDAA0D;AAC1D,sEAAmE;AACnE,2DAAkD;AAElD,MAAa,cAAe,SAAQ,sCAAgB;IAEhD,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,EAAE,EAAE,CAAC,CAAC;IAC5B,CAAC;IACc,IAAI;;YAEf,IAAI,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;YAC3C,IAAI,KAAK,IAAI,IAAI;gBACb,MAAM,IAAI,KAAK,CAAC,6GAA6G,CAAC,CAAC;YACnI,IAAI,OAAO,GAAG,IAAI,yCAAuB,EAAE,CAAC;YAC5C,IAAI,aAAa,GAAG,IAAI,iCAAY,CAAC,OAAO,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;YACzD,aAAa,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;YACrC,IAAI,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC;YAC3D,IAAI,MAAM,GAAG,IAAI,+CAAsB,CAAC,GAAG,EAAE,aAAa,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;YACnG,IAAI,GAAG,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;YACpD,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;QACjD,CAAC;KAAA;CACJ;AAnBD,wCAmBC;AAAA,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { BaseFinalCommand } from "namirasoft-node-cli";
2
+ export declare class ChatListCommand extends BaseFinalCommand {
3
+ constructor(argv: string[]);
4
+ exec(): Promise<void>;
5
+ }
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.ChatListCommand = void 0;
13
+ const namirasoft_node_cli_1 = require("namirasoft-node-cli");
14
+ const namirasoft_core_1 = require("namirasoft-core");
15
+ const NamirasoftExpertServer_1 = require("../NamirasoftExpertServer");
16
+ const namirasoft_account_1 = require("namirasoft-account");
17
+ class ChatListCommand extends namirasoft_node_cli_1.BaseFinalCommand {
18
+ constructor(argv) {
19
+ super(argv, ["filters", "page", "size", "sorts"], []);
20
+ }
21
+ exec() {
22
+ return __awaiter(this, void 0, void 0, function* () {
23
+ let token = this.app.storage.getNSAToken();
24
+ if (token == null)
25
+ throw new Error("Token is not available. Please login first using:\nns-expert account config \nor \nns-expert account login.");
26
+ let storage = new namirasoft_core_1.IStorageMemoryDedicated();
27
+ let token_manager = new namirasoft_account_1.TokenManager(storage, () => { });
28
+ token_manager.setValue(token, false);
29
+ let url = this.app.storage.getItem("ns-expert-server-url");
30
+ let server = new NamirasoftExpertServer_1.NamirasoftExpertServer(url, token_manager, e => this.app.logger.error(e.message));
31
+ let ans = yield server.chat.List(this.arg_values[0], this.arg_values[1], this.arg_values[2], this.arg_values[3]);
32
+ this.app.logger.success(JSON.stringify(ans));
33
+ });
34
+ }
35
+ }
36
+ exports.ChatListCommand = ChatListCommand;
37
+ ;
38
+ //# sourceMappingURL=ChatListCommand.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ChatListCommand.js","sourceRoot":"","sources":["../../src/command/ChatListCommand.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,6DAAuD;AACvD,qDAA0D;AAC1D,sEAAmE;AACnE,2DAAkD;AAElD,MAAa,eAAgB,SAAQ,sCAAgB;IAEjD,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE,CAAC,SAAS,EAAE,MAAM,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,EAAE,CAAC,CAAC;IAC1D,CAAC;IACc,IAAI;;YAEf,IAAI,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;YAC3C,IAAI,KAAK,IAAI,IAAI;gBACb,MAAM,IAAI,KAAK,CAAC,6GAA6G,CAAC,CAAC;YACnI,IAAI,OAAO,GAAG,IAAI,yCAAuB,EAAE,CAAC;YAC5C,IAAI,aAAa,GAAG,IAAI,iCAAY,CAAC,OAAO,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;YACzD,aAAa,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;YACrC,IAAI,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC;YAC3D,IAAI,MAAM,GAAG,IAAI,+CAAsB,CAAC,GAAG,EAAE,aAAa,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;YACnG,IAAI,GAAG,GAAG,MAAM,MAAM,CAAC,IAAI,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,EAAE,IAAI,CAAC,UAAU,CAAC,CAAC,CAAC,CAAC,CAAC;YACjH,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;QACjD,CAAC;KAAA;CACJ;AAnBD,0CAmBC;AAAA,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { BaseNavigatorCommand } from "namirasoft-node-cli";
2
+ export declare class HealthCommand extends BaseNavigatorCommand {
3
+ constructor(argv: string[]);
4
+ }
@@ -0,0 +1,17 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HealthCommand = void 0;
4
+ const namirasoft_node_cli_1 = require("namirasoft-node-cli");
5
+ const HealthLivenessCommand_1 = require("./HealthLivenessCommand");
6
+ const HealthReadinessCommand_1 = require("./HealthReadinessCommand");
7
+ class HealthCommand extends namirasoft_node_cli_1.BaseNavigatorCommand {
8
+ constructor(argv) {
9
+ super(argv, {
10
+ "liveness": HealthLivenessCommand_1.HealthLivenessCommand,
11
+ "readiness": HealthReadinessCommand_1.HealthReadinessCommand,
12
+ });
13
+ }
14
+ }
15
+ exports.HealthCommand = HealthCommand;
16
+ ;
17
+ //# sourceMappingURL=HealthCommand.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HealthCommand.js","sourceRoot":"","sources":["../../src/command/HealthCommand.ts"],"names":[],"mappings":";;;AAoBA,6DAA2D;AAC3D,mEAAgE;AAChE,qEAAkE;AAElE,MAAa,aAAc,SAAQ,0CAAoB;IAEnD,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE;YACR,UAAU,EAAE,6CAAqB;YACjC,WAAW,EAAE,+CAAsB;SACtC,CAAC,CAAC;IACP,CAAC;CACJ;AATD,sCASC;AAAA,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { BaseFinalCommand } from "namirasoft-node-cli";
2
+ export declare class HealthLivenessCommand extends BaseFinalCommand {
3
+ constructor(argv: string[]);
4
+ exec(): Promise<void>;
5
+ }
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.HealthLivenessCommand = void 0;
13
+ const namirasoft_node_cli_1 = require("namirasoft-node-cli");
14
+ const namirasoft_core_1 = require("namirasoft-core");
15
+ const NamirasoftExpertServer_1 = require("../NamirasoftExpertServer");
16
+ const namirasoft_account_1 = require("namirasoft-account");
17
+ class HealthLivenessCommand extends namirasoft_node_cli_1.BaseFinalCommand {
18
+ constructor(argv) {
19
+ super(argv, [], []);
20
+ }
21
+ exec() {
22
+ return __awaiter(this, void 0, void 0, function* () {
23
+ let token = this.app.storage.getNSAToken();
24
+ if (token == null)
25
+ throw new Error("Token is not available. Please login first using:\nns-expert account config \nor \nns-expert account login.");
26
+ let storage = new namirasoft_core_1.IStorageMemoryDedicated();
27
+ let token_manager = new namirasoft_account_1.TokenManager(storage, () => { });
28
+ token_manager.setValue(token, false);
29
+ let url = this.app.storage.getItem("ns-expert-server-url");
30
+ let server = new NamirasoftExpertServer_1.NamirasoftExpertServer(url, token_manager, e => this.app.logger.error(e.message));
31
+ let ans = yield server.health.Liveness();
32
+ this.app.logger.success(JSON.stringify(ans));
33
+ });
34
+ }
35
+ }
36
+ exports.HealthLivenessCommand = HealthLivenessCommand;
37
+ ;
38
+ //# sourceMappingURL=HealthLivenessCommand.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HealthLivenessCommand.js","sourceRoot":"","sources":["../../src/command/HealthLivenessCommand.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,6DAAuD;AACvD,qDAA0D;AAC1D,sEAAmE;AACnE,2DAAkD;AAElD,MAAa,qBAAsB,SAAQ,sCAAgB;IAEvD,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxB,CAAC;IACc,IAAI;;YAEf,IAAI,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;YAC3C,IAAI,KAAK,IAAI,IAAI;gBACb,MAAM,IAAI,KAAK,CAAC,6GAA6G,CAAC,CAAC;YACnI,IAAI,OAAO,GAAG,IAAI,yCAAuB,EAAE,CAAC;YAC5C,IAAI,aAAa,GAAG,IAAI,iCAAY,CAAC,OAAO,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;YACzD,aAAa,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;YACrC,IAAI,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC;YAC3D,IAAI,MAAM,GAAG,IAAI,+CAAsB,CAAC,GAAG,EAAE,aAAa,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;YACnG,IAAI,GAAG,GAAG,MAAM,MAAM,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC;YACzC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;QACjD,CAAC;KAAA;CACJ;AAnBD,sDAmBC;AAAA,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { BaseFinalCommand } from "namirasoft-node-cli";
2
+ export declare class HealthReadinessCommand extends BaseFinalCommand {
3
+ constructor(argv: string[]);
4
+ exec(): Promise<void>;
5
+ }
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.HealthReadinessCommand = void 0;
13
+ const namirasoft_node_cli_1 = require("namirasoft-node-cli");
14
+ const namirasoft_core_1 = require("namirasoft-core");
15
+ const NamirasoftExpertServer_1 = require("../NamirasoftExpertServer");
16
+ const namirasoft_account_1 = require("namirasoft-account");
17
+ class HealthReadinessCommand extends namirasoft_node_cli_1.BaseFinalCommand {
18
+ constructor(argv) {
19
+ super(argv, [], []);
20
+ }
21
+ exec() {
22
+ return __awaiter(this, void 0, void 0, function* () {
23
+ let token = this.app.storage.getNSAToken();
24
+ if (token == null)
25
+ throw new Error("Token is not available. Please login first using:\nns-expert account config \nor \nns-expert account login.");
26
+ let storage = new namirasoft_core_1.IStorageMemoryDedicated();
27
+ let token_manager = new namirasoft_account_1.TokenManager(storage, () => { });
28
+ token_manager.setValue(token, false);
29
+ let url = this.app.storage.getItem("ns-expert-server-url");
30
+ let server = new NamirasoftExpertServer_1.NamirasoftExpertServer(url, token_manager, e => this.app.logger.error(e.message));
31
+ let ans = yield server.health.Readiness();
32
+ this.app.logger.success(JSON.stringify(ans));
33
+ });
34
+ }
35
+ }
36
+ exports.HealthReadinessCommand = HealthReadinessCommand;
37
+ ;
38
+ //# sourceMappingURL=HealthReadinessCommand.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HealthReadinessCommand.js","sourceRoot":"","sources":["../../src/command/HealthReadinessCommand.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,6DAAuD;AACvD,qDAA0D;AAC1D,sEAAmE;AACnE,2DAAkD;AAElD,MAAa,sBAAuB,SAAQ,sCAAgB;IAExD,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxB,CAAC;IACc,IAAI;;YAEf,IAAI,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;YAC3C,IAAI,KAAK,IAAI,IAAI;gBACb,MAAM,IAAI,KAAK,CAAC,6GAA6G,CAAC,CAAC;YACnI,IAAI,OAAO,GAAG,IAAI,yCAAuB,EAAE,CAAC;YAC5C,IAAI,aAAa,GAAG,IAAI,iCAAY,CAAC,OAAO,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;YACzD,aAAa,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;YACrC,IAAI,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC;YAC3D,IAAI,MAAM,GAAG,IAAI,+CAAsB,CAAC,GAAG,EAAE,aAAa,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;YACnG,IAAI,GAAG,GAAG,MAAM,MAAM,CAAC,MAAM,CAAC,SAAS,EAAE,CAAC;YAC1C,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;QACjD,CAAC;KAAA;CACJ;AAnBD,wDAmBC;AAAA,CAAC"}
@@ -0,0 +1,4 @@
1
+ import { BaseNavigatorCommand } from "namirasoft-node-cli";
2
+ export declare class HealthzCommand extends BaseNavigatorCommand {
3
+ constructor(argv: string[]);
4
+ }
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.HealthzCommand = void 0;
4
+ const namirasoft_node_cli_1 = require("namirasoft-node-cli");
5
+ const HealthzGetCommand_1 = require("./HealthzGetCommand");
6
+ class HealthzCommand extends namirasoft_node_cli_1.BaseNavigatorCommand {
7
+ constructor(argv) {
8
+ super(argv, {
9
+ "get": HealthzGetCommand_1.HealthzGetCommand,
10
+ });
11
+ }
12
+ }
13
+ exports.HealthzCommand = HealthzCommand;
14
+ ;
15
+ //# sourceMappingURL=HealthzCommand.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HealthzCommand.js","sourceRoot":"","sources":["../../src/command/HealthzCommand.ts"],"names":[],"mappings":";;;AAoBA,6DAA2D;AAC3D,2DAAwD;AAExD,MAAa,cAAe,SAAQ,0CAAoB;IAEpD,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE;YACR,KAAK,EAAE,qCAAiB;SAC3B,CAAC,CAAC;IACP,CAAC;CACJ;AARD,wCAQC;AAAA,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { BaseFinalCommand } from "namirasoft-node-cli";
2
+ export declare class HealthzGetCommand extends BaseFinalCommand {
3
+ constructor(argv: string[]);
4
+ exec(): Promise<void>;
5
+ }
@@ -0,0 +1,38 @@
1
+ "use strict";
2
+ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
3
+ function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
4
+ return new (P || (P = Promise))(function (resolve, reject) {
5
+ function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
6
+ function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
7
+ function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
8
+ step((generator = generator.apply(thisArg, _arguments || [])).next());
9
+ });
10
+ };
11
+ Object.defineProperty(exports, "__esModule", { value: true });
12
+ exports.HealthzGetCommand = void 0;
13
+ const namirasoft_node_cli_1 = require("namirasoft-node-cli");
14
+ const namirasoft_core_1 = require("namirasoft-core");
15
+ const NamirasoftExpertServer_1 = require("../NamirasoftExpertServer");
16
+ const namirasoft_account_1 = require("namirasoft-account");
17
+ class HealthzGetCommand extends namirasoft_node_cli_1.BaseFinalCommand {
18
+ constructor(argv) {
19
+ super(argv, [], []);
20
+ }
21
+ exec() {
22
+ return __awaiter(this, void 0, void 0, function* () {
23
+ let token = this.app.storage.getNSAToken();
24
+ if (token == null)
25
+ throw new Error("Token is not available. Please login first using:\nns-expert account config \nor \nns-expert account login.");
26
+ let storage = new namirasoft_core_1.IStorageMemoryDedicated();
27
+ let token_manager = new namirasoft_account_1.TokenManager(storage, () => { });
28
+ token_manager.setValue(token, false);
29
+ let url = this.app.storage.getItem("ns-expert-server-url");
30
+ let server = new NamirasoftExpertServer_1.NamirasoftExpertServer(url, token_manager, e => this.app.logger.error(e.message));
31
+ let ans = yield server.healthz.Get();
32
+ this.app.logger.success(JSON.stringify(ans));
33
+ });
34
+ }
35
+ }
36
+ exports.HealthzGetCommand = HealthzGetCommand;
37
+ ;
38
+ //# sourceMappingURL=HealthzGetCommand.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"HealthzGetCommand.js","sourceRoot":"","sources":["../../src/command/HealthzGetCommand.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,6DAAuD;AACvD,qDAA0D;AAC1D,sEAAmE;AACnE,2DAAkD;AAElD,MAAa,iBAAkB,SAAQ,sCAAgB;IAEnD,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE,EAAE,EAAE,EAAE,CAAC,CAAC;IACxB,CAAC;IACc,IAAI;;YAEf,IAAI,KAAK,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,WAAW,EAAE,CAAC;YAC3C,IAAI,KAAK,IAAI,IAAI;gBACb,MAAM,IAAI,KAAK,CAAC,6GAA6G,CAAC,CAAC;YACnI,IAAI,OAAO,GAAG,IAAI,yCAAuB,EAAE,CAAC;YAC5C,IAAI,aAAa,GAAG,IAAI,iCAAY,CAAC,OAAO,EAAE,GAAG,EAAE,GAAG,CAAC,CAAC,CAAC;YACzD,aAAa,CAAC,QAAQ,CAAC,KAAK,EAAE,KAAK,CAAC,CAAC;YACrC,IAAI,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,sBAAsB,CAAC,CAAC;YAC3D,IAAI,MAAM,GAAG,IAAI,+CAAsB,CAAC,GAAG,EAAE,aAAa,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;YACnG,IAAI,GAAG,GAAG,MAAM,MAAM,CAAC,OAAO,CAAC,GAAG,EAAE,CAAC;YACrC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;QACjD,CAAC;KAAA;CACJ;AAnBD,8CAmBC;AAAA,CAAC"}