namirasoft-infra 1.4.4 → 1.4.6

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 (406) hide show
  1. package/dist/NamirasoftInfraServer.d.ts +8 -14
  2. package/dist/NamirasoftInfraServer.js +9 -15
  3. package/dist/NamirasoftInfraServer.js.map +1 -1
  4. package/dist/{NamirasoftInfraServerInMemoryStore.d.ts → NamirasoftInfraServerCache.d.ts} +7 -7
  5. package/dist/{NamirasoftInfraServerIncidentTag.js → NamirasoftInfraServerCache.js} +18 -18
  6. package/dist/NamirasoftInfraServerCache.js.map +1 -0
  7. package/dist/{NamirasoftInfraServerIncidentCategory.d.ts → NamirasoftInfraServerCacheCategory.d.ts} +5 -5
  8. package/dist/{NamirasoftInfraServerIncidentCategory.js → NamirasoftInfraServerCacheCategory.js} +8 -8
  9. package/dist/NamirasoftInfraServerCacheCategory.js.map +1 -0
  10. package/dist/{NamirasoftInfraServerIncidentField.d.ts → NamirasoftInfraServerCacheField.d.ts} +6 -6
  11. package/dist/{NamirasoftInfraServerIncidentField.js → NamirasoftInfraServerCacheField.js} +9 -9
  12. package/dist/NamirasoftInfraServerCacheField.js.map +1 -0
  13. package/dist/{NamirasoftInfraServerIncidentTag.d.ts → NamirasoftInfraServerCacheTag.d.ts} +6 -6
  14. package/dist/{NamirasoftInfraServerInMemoryStore.js → NamirasoftInfraServerCacheTag.js} +18 -18
  15. package/dist/NamirasoftInfraServerCacheTag.js.map +1 -0
  16. package/dist/NamirasoftInfraServerIncident.d.ts +0 -4
  17. package/dist/NamirasoftInfraServerIncident.js +0 -23
  18. package/dist/NamirasoftInfraServerIncident.js.map +1 -1
  19. package/dist/command/{IncidentFieldCommand.d.ts → CacheCategoryCommand.d.ts} +1 -1
  20. package/dist/command/CacheCategoryCommand.js +21 -0
  21. package/dist/command/CacheCategoryCommand.js.map +1 -0
  22. package/dist/command/{InMemoryStoreTagGetCommand.d.ts → CacheCategoryCreateCommand.d.ts} +1 -1
  23. package/dist/command/{IncidentCategoryCreateCommand.js → CacheCategoryCreateCommand.js} +5 -5
  24. package/dist/command/CacheCategoryCreateCommand.js.map +1 -0
  25. package/dist/command/{InMemoryStoreCreateCommand.d.ts → CacheCategoryDeleteCommand.d.ts} +1 -1
  26. package/dist/command/{IncidentFieldDeleteCommand.js → CacheCategoryDeleteCommand.js} +5 -5
  27. package/dist/command/{IncidentFieldDeleteCommand.js.map → CacheCategoryDeleteCommand.js.map} +1 -1
  28. package/dist/command/{IncidentFieldGetCommand.d.ts → CacheCategoryGetCommand.d.ts} +1 -1
  29. package/dist/command/{IncidentFieldGetCommand.js → CacheCategoryGetCommand.js} +5 -5
  30. package/dist/command/{IncidentFieldGetCommand.js.map → CacheCategoryGetCommand.js.map} +1 -1
  31. package/dist/command/{InMemoryStoreListCommand.d.ts → CacheCategoryListCommand.d.ts} +1 -1
  32. package/dist/command/{IncidentFieldListCommand.js → CacheCategoryListCommand.js} +5 -5
  33. package/dist/command/{IncidentFieldListCommand.js.map → CacheCategoryListCommand.js.map} +1 -1
  34. package/dist/command/{IncidentTagCommand.d.ts → CacheCommand.d.ts} +1 -1
  35. package/dist/command/CacheCommand.js +23 -0
  36. package/dist/command/CacheCommand.js.map +1 -0
  37. package/dist/command/CacheCreateCommand.d.ts +5 -0
  38. package/dist/command/{InMemoryStoreCreateCommand.js → CacheCreateCommand.js} +9 -9
  39. package/dist/command/CacheCreateCommand.js.map +1 -0
  40. package/dist/command/CacheDeleteCommand.d.ts +5 -0
  41. package/dist/command/CacheDeleteCommand.js +38 -0
  42. package/dist/command/CacheDeleteCommand.js.map +1 -0
  43. package/dist/command/{InMemoryStoreCommand.d.ts → CacheFieldCommand.d.ts} +1 -1
  44. package/dist/command/CacheFieldCommand.js +23 -0
  45. package/dist/command/CacheFieldCommand.js.map +1 -0
  46. package/dist/command/{InMemoryStoreGetCommand.d.ts → CacheFieldCreateCommand.d.ts} +1 -1
  47. package/dist/command/{IncidentFieldCreateCommand.js → CacheFieldCreateCommand.js} +5 -5
  48. package/dist/command/CacheFieldCreateCommand.js.map +1 -0
  49. package/dist/command/CacheFieldDeleteCommand.d.ts +5 -0
  50. package/dist/command/{InMemoryStoreGetCommand.js → CacheFieldDeleteCommand.js} +5 -5
  51. package/dist/command/{InMemoryStoreGetCommand.js.map → CacheFieldDeleteCommand.js.map} +1 -1
  52. package/dist/command/CacheFieldGetCommand.d.ts +5 -0
  53. package/dist/command/{IncidentDeleteCommand.js → CacheFieldGetCommand.js} +5 -5
  54. package/dist/command/CacheFieldGetCommand.js.map +1 -0
  55. package/dist/command/{IncidentTagGetCommand.d.ts → CacheFieldListCommand.d.ts} +1 -1
  56. package/dist/command/{IncidentTagListCommand.js → CacheFieldListCommand.js} +5 -5
  57. package/dist/command/CacheFieldListCommand.js.map +1 -0
  58. package/dist/command/CacheFieldUpdateCommand.d.ts +5 -0
  59. package/dist/command/{IncidentFieldUpdateCommand.js → CacheFieldUpdateCommand.js} +5 -5
  60. package/dist/command/CacheFieldUpdateCommand.js.map +1 -0
  61. package/dist/command/CacheGetCommand.d.ts +5 -0
  62. package/dist/command/CacheGetCommand.js +38 -0
  63. package/dist/command/CacheGetCommand.js.map +1 -0
  64. package/dist/command/CacheListCommand.d.ts +5 -0
  65. package/dist/command/{InMemoryStoreListCommand.js → CacheListCommand.js} +5 -5
  66. package/dist/command/CacheListCommand.js.map +1 -0
  67. package/dist/command/{InMemoryStoreTagCommand.d.ts → CacheTagCommand.d.ts} +1 -1
  68. package/dist/command/CacheTagCommand.js +23 -0
  69. package/dist/command/CacheTagCommand.js.map +1 -0
  70. package/dist/command/{IncidentCreateCommand.d.ts → CacheTagCreateCommand.d.ts} +1 -1
  71. package/dist/command/{IncidentTagCreateCommand.js → CacheTagCreateCommand.js} +5 -5
  72. package/dist/command/CacheTagCreateCommand.js.map +1 -0
  73. package/dist/command/{IncidentDeleteCommand.d.ts → CacheTagDeleteCommand.d.ts} +1 -1
  74. package/dist/command/{IncidentTagGetCommand.js → CacheTagDeleteCommand.js} +5 -5
  75. package/dist/command/{IncidentTagGetCommand.js.map → CacheTagDeleteCommand.js.map} +1 -1
  76. package/dist/command/CacheTagGetCommand.d.ts +5 -0
  77. package/dist/command/CacheTagGetCommand.js +38 -0
  78. package/dist/command/CacheTagGetCommand.js.map +1 -0
  79. package/dist/command/CacheTagListCommand.d.ts +5 -0
  80. package/dist/command/{IncidentCategoryListCommand.js → CacheTagListCommand.js} +5 -5
  81. package/dist/command/CacheTagListCommand.js.map +1 -0
  82. package/dist/command/{IncidentUpdateCommand.d.ts → CacheTagUpdateCommand.d.ts} +1 -1
  83. package/dist/command/{IncidentTagUpdateCommand.js → CacheTagUpdateCommand.js} +5 -5
  84. package/dist/command/CacheTagUpdateCommand.js.map +1 -0
  85. package/dist/command/CacheUpdateCommand.d.ts +5 -0
  86. package/dist/command/{InMemoryStoreUpdateCommand.js → CacheUpdateCommand.js} +9 -9
  87. package/dist/command/CacheUpdateCommand.js.map +1 -0
  88. package/dist/command/IncidentCommand.js +0 -6
  89. package/dist/command/IncidentCommand.js.map +1 -1
  90. package/dist/command/KubernetesCreateCommand.js +8 -53
  91. package/dist/command/KubernetesCreateCommand.js.map +1 -1
  92. package/dist/command/KubernetesUpdateCommand.js +8 -53
  93. package/dist/command/KubernetesUpdateCommand.js.map +1 -1
  94. package/dist/command/MonitorCreateCommand.js +4 -4
  95. package/dist/command/MonitorCreateCommand.js.map +1 -1
  96. package/dist/command/MonitorUpdateCommand.js +4 -4
  97. package/dist/command/MonitorUpdateCommand.js.map +1 -1
  98. package/dist/command/ServerCreateCommand.js +0 -18
  99. package/dist/command/ServerCreateCommand.js.map +1 -1
  100. package/dist/command/ServerUpdateCommand.js +0 -18
  101. package/dist/command/ServerUpdateCommand.js.map +1 -1
  102. package/dist/command/cli.js +8 -14
  103. package/dist/command/cli.js.map +1 -1
  104. package/dist/enum/{InMemoryStoreConnectType.d.ts → CacheConnectType.d.ts} +1 -1
  105. package/dist/enum/CacheConnectType.js +10 -0
  106. package/dist/enum/CacheConnectType.js.map +1 -0
  107. package/dist/enum/CacheType.d.ts +3 -0
  108. package/dist/enum/CacheType.js +8 -0
  109. package/dist/enum/CacheType.js.map +1 -0
  110. package/dist/enum/DatabaseType.d.ts +1 -1
  111. package/dist/enum/DatabaseType.js +1 -1
  112. package/dist/enum/MonitorType.d.ts +1 -1
  113. package/dist/enum/MonitorType.js +1 -1
  114. package/dist/enum/MonitorType.js.map +1 -1
  115. package/dist/index.d.ts +38 -69
  116. package/dist/index.js +38 -69
  117. package/dist/index.js.map +1 -1
  118. package/dist/meta/{IncidentCategoryMetaTable.d.ts → CacheCategoryMetaTable.d.ts} +2 -2
  119. package/dist/meta/{IncidentCategoryMetaTable.js → CacheCategoryMetaTable.js} +7 -7
  120. package/dist/meta/CacheCategoryMetaTable.js.map +1 -0
  121. package/dist/meta/{IncidentFieldMetaTable.d.ts → CacheFieldMetaTable.d.ts} +2 -2
  122. package/dist/meta/{IncidentFieldMetaTable.js → CacheFieldMetaTable.js} +7 -7
  123. package/dist/meta/CacheFieldMetaTable.js.map +1 -0
  124. package/dist/meta/{InMemoryStoreMetaTable.d.ts → CacheMetaTable.d.ts} +3 -3
  125. package/dist/meta/{InMemoryStoreMetaTable.js → CacheMetaTable.js} +8 -8
  126. package/dist/meta/CacheMetaTable.js.map +1 -0
  127. package/dist/meta/{IncidentTagMetaTable.d.ts → CacheTagMetaTable.d.ts} +2 -2
  128. package/dist/meta/{IncidentTagMetaTable.js → CacheTagMetaTable.js} +7 -7
  129. package/dist/meta/CacheTagMetaTable.js.map +1 -0
  130. package/dist/meta/KubernetesMetaTable.d.ts +1 -2
  131. package/dist/meta/KubernetesMetaTable.js +1 -2
  132. package/dist/meta/KubernetesMetaTable.js.map +1 -1
  133. package/dist/meta/MonitorMetaTable.d.ts +1 -1
  134. package/dist/meta/MonitorMetaTable.js +1 -1
  135. package/dist/meta/MonitorMetaTable.js.map +1 -1
  136. package/dist/meta/NamirasoftInfraMetaDatabase.d.ts +8 -16
  137. package/dist/meta/NamirasoftInfraMetaDatabase.js +8 -16
  138. package/dist/meta/NamirasoftInfraMetaDatabase.js.map +1 -1
  139. package/dist/meta/ServerMetaTable.d.ts +0 -1
  140. package/dist/meta/ServerMetaTable.js +0 -1
  141. package/dist/meta/ServerMetaTable.js.map +1 -1
  142. package/dist/row/{IncidentCategoryRow.d.ts → CacheCategoryRow.d.ts} +1 -1
  143. package/dist/row/{IncidentInputRow.js → CacheCategoryRow.js} +1 -1
  144. package/dist/row/CacheCategoryRow.js.map +1 -0
  145. package/dist/row/{IncidentFieldRow.d.ts → CacheFieldRow.d.ts} +1 -1
  146. package/dist/row/{IncidentTagRow.js → CacheFieldRow.js} +1 -1
  147. package/dist/row/CacheFieldRow.js.map +1 -0
  148. package/dist/row/CacheInputRow.d.ts +15 -0
  149. package/dist/row/{IncidentFieldRow.js → CacheInputRow.js} +1 -1
  150. package/dist/row/CacheInputRow.js.map +1 -0
  151. package/dist/row/{InMemoryStoreRow.d.ts → CacheRow.d.ts} +6 -6
  152. package/dist/row/{InMemoryStoreRow.js → CacheRow.js} +1 -1
  153. package/dist/row/CacheRow.js.map +1 -0
  154. package/dist/row/{IncidentTagRow.d.ts → CacheTagRow.d.ts} +1 -1
  155. package/dist/row/CacheTagRow.js +3 -0
  156. package/dist/row/CacheTagRow.js.map +1 -0
  157. package/dist/row/KubernetesInputRow.d.ts +1 -6
  158. package/dist/row/KubernetesRow.d.ts +1 -2
  159. package/dist/row/MonitorInputRow.d.ts +1 -1
  160. package/dist/row/MonitorRow.d.ts +1 -1
  161. package/dist/row/ServerInputRow.d.ts +0 -2
  162. package/dist/row/ServerRow.d.ts +0 -1
  163. package/package.json +1 -1
  164. package/src/NamirasoftInfraServer.ts +13 -22
  165. package/src/{NamirasoftInfraServerInMemoryStore.ts → NamirasoftInfraServerCache.ts} +16 -16
  166. package/src/{NamirasoftInfraServerIncidentCategory.ts → NamirasoftInfraServerCacheCategory.ts} +12 -12
  167. package/src/{NamirasoftInfraServerIncidentField.ts → NamirasoftInfraServerCacheField.ts} +15 -15
  168. package/src/{NamirasoftInfraServerIncidentTag.ts → NamirasoftInfraServerCacheTag.ts} +15 -15
  169. package/src/NamirasoftInfraServerIncident.ts +0 -21
  170. package/src/command/{IncidentCategoryCommand.ts → CacheCategoryCommand.ts} +9 -9
  171. package/src/command/{IncidentCategoryCreateCommand.ts → CacheCategoryCreateCommand.ts} +2 -2
  172. package/src/command/{IncidentCategoryGetCommand.ts → CacheCategoryDeleteCommand.ts} +2 -2
  173. package/src/command/{IncidentFieldGetCommand.ts → CacheCategoryGetCommand.ts} +2 -2
  174. package/src/command/{IncidentFieldListCommand.ts → CacheCategoryListCommand.ts} +2 -2
  175. package/src/command/{InMemoryStoreCategoryCommand.ts → CacheCommand.ts} +11 -9
  176. package/src/command/{InMemoryStoreCreateCommand.ts → CacheCreateCommand.ts} +6 -6
  177. package/src/command/{InMemoryStoreGetCommand.ts → CacheDeleteCommand.ts} +2 -2
  178. package/src/command/{IncidentTagCommand.ts → CacheFieldCommand.ts} +11 -11
  179. package/src/command/{IncidentFieldCreateCommand.ts → CacheFieldCreateCommand.ts} +2 -2
  180. package/src/command/CacheFieldDeleteCommand.ts +45 -0
  181. package/src/command/{IncidentDeleteCommand.ts → CacheFieldGetCommand.ts} +2 -2
  182. package/src/command/{IncidentTagListCommand.ts → CacheFieldListCommand.ts} +2 -2
  183. package/src/command/{IncidentFieldUpdateCommand.ts → CacheFieldUpdateCommand.ts} +2 -2
  184. package/src/command/CacheGetCommand.ts +45 -0
  185. package/src/command/{InMemoryStoreListCommand.ts → CacheListCommand.ts} +2 -2
  186. package/src/command/{IncidentFieldCommand.ts → CacheTagCommand.ts} +11 -11
  187. package/src/command/{IncidentTagCreateCommand.ts → CacheTagCreateCommand.ts} +2 -2
  188. package/src/command/{IncidentTagGetCommand.ts → CacheTagDeleteCommand.ts} +2 -2
  189. package/src/command/CacheTagGetCommand.ts +45 -0
  190. package/src/command/{IncidentCategoryListCommand.ts → CacheTagListCommand.ts} +2 -2
  191. package/src/command/{IncidentTagUpdateCommand.ts → CacheTagUpdateCommand.ts} +2 -2
  192. package/src/command/{InMemoryStoreUpdateCommand.ts → CacheUpdateCommand.ts} +6 -6
  193. package/src/command/IncidentCommand.ts +0 -6
  194. package/src/command/KubernetesCreateCommand.ts +8 -53
  195. package/src/command/KubernetesUpdateCommand.ts +8 -53
  196. package/src/command/MonitorCreateCommand.ts +4 -4
  197. package/src/command/MonitorUpdateCommand.ts +4 -4
  198. package/src/command/ServerCreateCommand.ts +0 -18
  199. package/src/command/ServerUpdateCommand.ts +0 -18
  200. package/src/command/cli.ts +8 -14
  201. package/src/enum/{InMemoryStoreConnectType.ts → CacheConnectType.ts} +1 -1
  202. package/src/enum/{InMemoryStoreType.ts → CacheType.ts} +1 -1
  203. package/src/enum/DatabaseType.ts +1 -1
  204. package/src/enum/MonitorType.ts +1 -1
  205. package/src/index.ts +38 -69
  206. package/src/meta/{IncidentCategoryMetaTable.ts → CacheCategoryMetaTable.ts} +5 -5
  207. package/src/meta/{IncidentFieldMetaTable.ts → CacheFieldMetaTable.ts} +5 -5
  208. package/src/meta/{InMemoryStoreMetaTable.ts → CacheMetaTable.ts} +7 -7
  209. package/src/meta/{IncidentTagMetaTable.ts → CacheTagMetaTable.ts} +5 -5
  210. package/src/meta/KubernetesMetaTable.ts +2 -4
  211. package/src/meta/MonitorMetaTable.ts +2 -2
  212. package/src/meta/NamirasoftInfraMetaDatabase.ts +12 -24
  213. package/src/meta/ServerMetaTable.ts +0 -2
  214. package/src/row/{IncidentCategoryRow.ts → CacheCategoryRow.ts} +1 -1
  215. package/src/row/{IncidentFieldRow.ts → CacheFieldRow.ts} +1 -1
  216. package/src/row/{InMemoryStoreInputRow.ts → CacheInputRow.ts} +6 -6
  217. package/src/row/{InMemoryStoreRow.ts → CacheRow.ts} +6 -6
  218. package/src/row/{IncidentTagRow.ts → CacheTagRow.ts} +1 -1
  219. package/src/row/KubernetesInputRow.ts +1 -6
  220. package/src/row/KubernetesRow.ts +1 -2
  221. package/src/row/MonitorInputRow.ts +1 -1
  222. package/src/row/MonitorRow.ts +1 -1
  223. package/src/row/ServerInputRow.ts +0 -2
  224. package/src/row/ServerRow.ts +0 -1
  225. package/dist/NamirasoftInfraServerInMemoryStore.js.map +0 -1
  226. package/dist/NamirasoftInfraServerInMemoryStoreCategory.d.ts +0 -17
  227. package/dist/NamirasoftInfraServerInMemoryStoreCategory.js +0 -56
  228. package/dist/NamirasoftInfraServerInMemoryStoreCategory.js.map +0 -1
  229. package/dist/NamirasoftInfraServerInMemoryStoreField.d.ts +0 -18
  230. package/dist/NamirasoftInfraServerInMemoryStoreField.js +0 -64
  231. package/dist/NamirasoftInfraServerInMemoryStoreField.js.map +0 -1
  232. package/dist/NamirasoftInfraServerInMemoryStoreTag.d.ts +0 -18
  233. package/dist/NamirasoftInfraServerInMemoryStoreTag.js +0 -64
  234. package/dist/NamirasoftInfraServerInMemoryStoreTag.js.map +0 -1
  235. package/dist/NamirasoftInfraServerIncidentCategory.js.map +0 -1
  236. package/dist/NamirasoftInfraServerIncidentField.js.map +0 -1
  237. package/dist/NamirasoftInfraServerIncidentTag.js.map +0 -1
  238. package/dist/command/InMemoryStoreCategoryCommand.d.ts +0 -4
  239. package/dist/command/InMemoryStoreCategoryCommand.js +0 -21
  240. package/dist/command/InMemoryStoreCategoryCommand.js.map +0 -1
  241. package/dist/command/InMemoryStoreCategoryCreateCommand.d.ts +0 -5
  242. package/dist/command/InMemoryStoreCategoryCreateCommand.js +0 -58
  243. package/dist/command/InMemoryStoreCategoryCreateCommand.js.map +0 -1
  244. package/dist/command/InMemoryStoreCategoryDeleteCommand.d.ts +0 -5
  245. package/dist/command/InMemoryStoreCategoryDeleteCommand.js +0 -38
  246. package/dist/command/InMemoryStoreCategoryDeleteCommand.js.map +0 -1
  247. package/dist/command/InMemoryStoreCategoryGetCommand.d.ts +0 -5
  248. package/dist/command/InMemoryStoreCategoryGetCommand.js +0 -38
  249. package/dist/command/InMemoryStoreCategoryGetCommand.js.map +0 -1
  250. package/dist/command/InMemoryStoreCategoryListCommand.d.ts +0 -5
  251. package/dist/command/InMemoryStoreCategoryListCommand.js +0 -38
  252. package/dist/command/InMemoryStoreCategoryListCommand.js.map +0 -1
  253. package/dist/command/InMemoryStoreCommand.js +0 -23
  254. package/dist/command/InMemoryStoreCommand.js.map +0 -1
  255. package/dist/command/InMemoryStoreCreateCommand.js.map +0 -1
  256. package/dist/command/InMemoryStoreDeleteCommand.d.ts +0 -5
  257. package/dist/command/InMemoryStoreDeleteCommand.js +0 -38
  258. package/dist/command/InMemoryStoreDeleteCommand.js.map +0 -1
  259. package/dist/command/InMemoryStoreFieldCommand.d.ts +0 -4
  260. package/dist/command/InMemoryStoreFieldCommand.js +0 -23
  261. package/dist/command/InMemoryStoreFieldCommand.js.map +0 -1
  262. package/dist/command/InMemoryStoreFieldCreateCommand.d.ts +0 -5
  263. package/dist/command/InMemoryStoreFieldCreateCommand.js +0 -67
  264. package/dist/command/InMemoryStoreFieldCreateCommand.js.map +0 -1
  265. package/dist/command/InMemoryStoreFieldDeleteCommand.d.ts +0 -5
  266. package/dist/command/InMemoryStoreFieldDeleteCommand.js +0 -38
  267. package/dist/command/InMemoryStoreFieldDeleteCommand.js.map +0 -1
  268. package/dist/command/InMemoryStoreFieldGetCommand.d.ts +0 -5
  269. package/dist/command/InMemoryStoreFieldGetCommand.js +0 -38
  270. package/dist/command/InMemoryStoreFieldGetCommand.js.map +0 -1
  271. package/dist/command/InMemoryStoreFieldListCommand.d.ts +0 -5
  272. package/dist/command/InMemoryStoreFieldListCommand.js +0 -38
  273. package/dist/command/InMemoryStoreFieldListCommand.js.map +0 -1
  274. package/dist/command/InMemoryStoreFieldUpdateCommand.d.ts +0 -5
  275. package/dist/command/InMemoryStoreFieldUpdateCommand.js +0 -67
  276. package/dist/command/InMemoryStoreFieldUpdateCommand.js.map +0 -1
  277. package/dist/command/InMemoryStoreListCommand.js.map +0 -1
  278. package/dist/command/InMemoryStoreTagCommand.js +0 -23
  279. package/dist/command/InMemoryStoreTagCommand.js.map +0 -1
  280. package/dist/command/InMemoryStoreTagCreateCommand.d.ts +0 -5
  281. package/dist/command/InMemoryStoreTagCreateCommand.js +0 -67
  282. package/dist/command/InMemoryStoreTagCreateCommand.js.map +0 -1
  283. package/dist/command/InMemoryStoreTagDeleteCommand.d.ts +0 -5
  284. package/dist/command/InMemoryStoreTagDeleteCommand.js +0 -38
  285. package/dist/command/InMemoryStoreTagDeleteCommand.js.map +0 -1
  286. package/dist/command/InMemoryStoreTagGetCommand.js +0 -38
  287. package/dist/command/InMemoryStoreTagGetCommand.js.map +0 -1
  288. package/dist/command/InMemoryStoreTagListCommand.d.ts +0 -5
  289. package/dist/command/InMemoryStoreTagListCommand.js +0 -38
  290. package/dist/command/InMemoryStoreTagListCommand.js.map +0 -1
  291. package/dist/command/InMemoryStoreTagUpdateCommand.d.ts +0 -5
  292. package/dist/command/InMemoryStoreTagUpdateCommand.js +0 -67
  293. package/dist/command/InMemoryStoreTagUpdateCommand.js.map +0 -1
  294. package/dist/command/InMemoryStoreUpdateCommand.d.ts +0 -5
  295. package/dist/command/InMemoryStoreUpdateCommand.js.map +0 -1
  296. package/dist/command/IncidentCategoryCommand.d.ts +0 -4
  297. package/dist/command/IncidentCategoryCommand.js +0 -21
  298. package/dist/command/IncidentCategoryCommand.js.map +0 -1
  299. package/dist/command/IncidentCategoryCreateCommand.d.ts +0 -5
  300. package/dist/command/IncidentCategoryCreateCommand.js.map +0 -1
  301. package/dist/command/IncidentCategoryDeleteCommand.d.ts +0 -5
  302. package/dist/command/IncidentCategoryDeleteCommand.js +0 -38
  303. package/dist/command/IncidentCategoryDeleteCommand.js.map +0 -1
  304. package/dist/command/IncidentCategoryGetCommand.d.ts +0 -5
  305. package/dist/command/IncidentCategoryGetCommand.js +0 -38
  306. package/dist/command/IncidentCategoryGetCommand.js.map +0 -1
  307. package/dist/command/IncidentCategoryListCommand.d.ts +0 -5
  308. package/dist/command/IncidentCategoryListCommand.js.map +0 -1
  309. package/dist/command/IncidentCreateCommand.js +0 -121
  310. package/dist/command/IncidentCreateCommand.js.map +0 -1
  311. package/dist/command/IncidentDeleteCommand.js.map +0 -1
  312. package/dist/command/IncidentFieldCommand.js +0 -23
  313. package/dist/command/IncidentFieldCommand.js.map +0 -1
  314. package/dist/command/IncidentFieldCreateCommand.d.ts +0 -5
  315. package/dist/command/IncidentFieldCreateCommand.js.map +0 -1
  316. package/dist/command/IncidentFieldDeleteCommand.d.ts +0 -5
  317. package/dist/command/IncidentFieldListCommand.d.ts +0 -5
  318. package/dist/command/IncidentFieldUpdateCommand.d.ts +0 -5
  319. package/dist/command/IncidentFieldUpdateCommand.js.map +0 -1
  320. package/dist/command/IncidentTagCommand.js +0 -23
  321. package/dist/command/IncidentTagCommand.js.map +0 -1
  322. package/dist/command/IncidentTagCreateCommand.d.ts +0 -5
  323. package/dist/command/IncidentTagCreateCommand.js.map +0 -1
  324. package/dist/command/IncidentTagDeleteCommand.d.ts +0 -5
  325. package/dist/command/IncidentTagDeleteCommand.js +0 -38
  326. package/dist/command/IncidentTagDeleteCommand.js.map +0 -1
  327. package/dist/command/IncidentTagListCommand.d.ts +0 -5
  328. package/dist/command/IncidentTagListCommand.js.map +0 -1
  329. package/dist/command/IncidentTagUpdateCommand.d.ts +0 -5
  330. package/dist/command/IncidentTagUpdateCommand.js.map +0 -1
  331. package/dist/command/IncidentUpdateCommand.js +0 -121
  332. package/dist/command/IncidentUpdateCommand.js.map +0 -1
  333. package/dist/enum/InMemoryStoreConnectType.js +0 -10
  334. package/dist/enum/InMemoryStoreConnectType.js.map +0 -1
  335. package/dist/enum/InMemoryStoreType.d.ts +0 -3
  336. package/dist/enum/InMemoryStoreType.js +0 -8
  337. package/dist/enum/InMemoryStoreType.js.map +0 -1
  338. package/dist/meta/InMemoryStoreCategoryMetaTable.d.ts +0 -15
  339. package/dist/meta/InMemoryStoreCategoryMetaTable.js +0 -39
  340. package/dist/meta/InMemoryStoreCategoryMetaTable.js.map +0 -1
  341. package/dist/meta/InMemoryStoreFieldMetaTable.d.ts +0 -16
  342. package/dist/meta/InMemoryStoreFieldMetaTable.js +0 -39
  343. package/dist/meta/InMemoryStoreFieldMetaTable.js.map +0 -1
  344. package/dist/meta/InMemoryStoreMetaTable.js.map +0 -1
  345. package/dist/meta/InMemoryStoreTagMetaTable.d.ts +0 -16
  346. package/dist/meta/InMemoryStoreTagMetaTable.js +0 -39
  347. package/dist/meta/InMemoryStoreTagMetaTable.js.map +0 -1
  348. package/dist/meta/IncidentCategoryMetaTable.js.map +0 -1
  349. package/dist/meta/IncidentFieldMetaTable.js.map +0 -1
  350. package/dist/meta/IncidentMetaTable.d.ts +0 -22
  351. package/dist/meta/IncidentMetaTable.js +0 -45
  352. package/dist/meta/IncidentMetaTable.js.map +0 -1
  353. package/dist/meta/IncidentTagMetaTable.js.map +0 -1
  354. package/dist/row/InMemoryStoreCategoryRow.d.ts +0 -8
  355. package/dist/row/InMemoryStoreCategoryRow.js +0 -3
  356. package/dist/row/InMemoryStoreCategoryRow.js.map +0 -1
  357. package/dist/row/InMemoryStoreFieldRow.d.ts +0 -9
  358. package/dist/row/InMemoryStoreFieldRow.js +0 -3
  359. package/dist/row/InMemoryStoreFieldRow.js.map +0 -1
  360. package/dist/row/InMemoryStoreInputRow.d.ts +0 -15
  361. package/dist/row/InMemoryStoreInputRow.js +0 -3
  362. package/dist/row/InMemoryStoreInputRow.js.map +0 -1
  363. package/dist/row/InMemoryStoreRow.js.map +0 -1
  364. package/dist/row/InMemoryStoreTagRow.d.ts +0 -9
  365. package/dist/row/InMemoryStoreTagRow.js +0 -3
  366. package/dist/row/InMemoryStoreTagRow.js.map +0 -1
  367. package/dist/row/IncidentCategoryRow.js +0 -3
  368. package/dist/row/IncidentCategoryRow.js.map +0 -1
  369. package/dist/row/IncidentFieldRow.js.map +0 -1
  370. package/dist/row/IncidentInputRow.d.ts +0 -12
  371. package/dist/row/IncidentInputRow.js.map +0 -1
  372. package/dist/row/IncidentTagRow.js.map +0 -1
  373. package/src/NamirasoftInfraServerInMemoryStoreCategory.ts +0 -64
  374. package/src/NamirasoftInfraServerInMemoryStoreField.ts +0 -71
  375. package/src/NamirasoftInfraServerInMemoryStoreTag.ts +0 -71
  376. package/src/command/InMemoryStoreCategoryCreateCommand.ts +0 -65
  377. package/src/command/InMemoryStoreCategoryDeleteCommand.ts +0 -45
  378. package/src/command/InMemoryStoreCategoryGetCommand.ts +0 -45
  379. package/src/command/InMemoryStoreCategoryListCommand.ts +0 -45
  380. package/src/command/InMemoryStoreCommand.ts +0 -40
  381. package/src/command/InMemoryStoreDeleteCommand.ts +0 -45
  382. package/src/command/InMemoryStoreFieldCommand.ts +0 -40
  383. package/src/command/InMemoryStoreFieldCreateCommand.ts +0 -74
  384. package/src/command/InMemoryStoreFieldDeleteCommand.ts +0 -45
  385. package/src/command/InMemoryStoreFieldGetCommand.ts +0 -45
  386. package/src/command/InMemoryStoreFieldListCommand.ts +0 -45
  387. package/src/command/InMemoryStoreFieldUpdateCommand.ts +0 -74
  388. package/src/command/InMemoryStoreTagCommand.ts +0 -40
  389. package/src/command/InMemoryStoreTagCreateCommand.ts +0 -74
  390. package/src/command/InMemoryStoreTagDeleteCommand.ts +0 -45
  391. package/src/command/InMemoryStoreTagGetCommand.ts +0 -45
  392. package/src/command/InMemoryStoreTagListCommand.ts +0 -45
  393. package/src/command/InMemoryStoreTagUpdateCommand.ts +0 -74
  394. package/src/command/IncidentCategoryDeleteCommand.ts +0 -45
  395. package/src/command/IncidentCreateCommand.ts +0 -128
  396. package/src/command/IncidentFieldDeleteCommand.ts +0 -45
  397. package/src/command/IncidentTagDeleteCommand.ts +0 -45
  398. package/src/command/IncidentUpdateCommand.ts +0 -128
  399. package/src/meta/InMemoryStoreCategoryMetaTable.ts +0 -60
  400. package/src/meta/InMemoryStoreFieldMetaTable.ts +0 -61
  401. package/src/meta/InMemoryStoreTagMetaTable.ts +0 -61
  402. package/src/meta/IncidentMetaTable.ts +0 -73
  403. package/src/row/InMemoryStoreCategoryRow.ts +0 -29
  404. package/src/row/InMemoryStoreFieldRow.ts +0 -30
  405. package/src/row/InMemoryStoreTagRow.ts +0 -30
  406. package/src/row/IncidentInputRow.ts +0 -34
@@ -19,14 +19,14 @@
19
19
  /****************************************************************/
20
20
 
21
21
  import { BaseServerConfig } from "namirasoft-core";
22
+ import { CacheCategoryRow } from "./row/CacheCategoryRow";
22
23
  import { EntityCategoryInputRow } from "./row/EntityCategoryInputRow";
23
24
  import { FilterItem } from "namirasoft-core";
24
- import { IncidentCategoryRow } from "./row/IncidentCategoryRow";
25
25
  import { NamirasoftInfraServer } from "./NamirasoftInfraServer";
26
26
  import { NamirasoftInfraServerBase } from "./NamirasoftInfraServerBase";
27
27
  import { SortItem } from "namirasoft-core";
28
28
 
29
- export class NamirasoftInfraServerIncidentCategory extends NamirasoftInfraServerBase
29
+ export class NamirasoftInfraServerCacheCategory extends NamirasoftInfraServerBase
30
30
  {
31
31
  constructor(server: NamirasoftInfraServer)
32
32
  {
@@ -36,29 +36,29 @@ export class NamirasoftInfraServerIncidentCategory extends NamirasoftInfraServer
36
36
  this.Create = this.Create.bind(this);
37
37
  this.Delete = this.Delete.bind(this);
38
38
  }
39
- async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], config?: BaseServerConfig<any>): Promise<{ rows: IncidentCategoryRow[], count: number }>
39
+ async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], config?: BaseServerConfig<any>): Promise<{ rows: CacheCategoryRow[], count: number }>
40
40
  {
41
41
  let filters_string_value: string = FilterItem.stringify(filters);
42
42
  let sorts_string_value: string = SortItem.stringify(sorts);
43
- let path = `incident/category/list`;
44
- let { data } = await this.server._get<{ rows: IncidentCategoryRow[], count: number }>(path, { filters: filters_string_value, page, size, sorts: sorts_string_value }, config);
43
+ let path = `cache/category/list`;
44
+ let { data } = await this.server._get<{ rows: CacheCategoryRow[], count: number }>(path, { filters: filters_string_value, page, size, sorts: sorts_string_value }, config);
45
45
  return data;
46
46
  }
47
- async Get(id: string, config?: BaseServerConfig<any>): Promise<IncidentCategoryRow>
47
+ async Get(id: string, config?: BaseServerConfig<any>): Promise<CacheCategoryRow>
48
48
  {
49
- let path = `incident/category/${id}`;
50
- let { data } = await this.server._get<IncidentCategoryRow>(path, {}, config);
49
+ let path = `cache/category/${id}`;
50
+ let { data } = await this.server._get<CacheCategoryRow>(path, {}, config);
51
51
  return data;
52
52
  }
53
- async Create(body: EntityCategoryInputRow, config?: BaseServerConfig<any>): Promise<IncidentCategoryRow>
53
+ async Create(body: EntityCategoryInputRow, config?: BaseServerConfig<any>): Promise<CacheCategoryRow>
54
54
  {
55
- let path = `incident/category`;
56
- let { data } = await this.server._post<IncidentCategoryRow>(path, {}, body, config);
55
+ let path = `cache/category`;
56
+ let { data } = await this.server._post<CacheCategoryRow>(path, {}, body, config);
57
57
  return data;
58
58
  }
59
59
  async Delete(id: number, config?: BaseServerConfig<any>): Promise<void>
60
60
  {
61
- let path = `incident/category/${id}`;
61
+ let path = `cache/category/${id}`;
62
62
  await this.server._delete<void>(path, {}, config);
63
63
  }
64
64
  };
@@ -19,14 +19,14 @@
19
19
  /****************************************************************/
20
20
 
21
21
  import { BaseServerConfig } from "namirasoft-core";
22
+ import { CacheFieldRow } from "./row/CacheFieldRow";
22
23
  import { EntityFieldInputRow } from "./row/EntityFieldInputRow";
23
24
  import { FilterItem } from "namirasoft-core";
24
- import { IncidentFieldRow } from "./row/IncidentFieldRow";
25
25
  import { NamirasoftInfraServer } from "./NamirasoftInfraServer";
26
26
  import { NamirasoftInfraServerBase } from "./NamirasoftInfraServerBase";
27
27
  import { SortItem } from "namirasoft-core";
28
28
 
29
- export class NamirasoftInfraServerIncidentField extends NamirasoftInfraServerBase
29
+ export class NamirasoftInfraServerCacheField extends NamirasoftInfraServerBase
30
30
  {
31
31
  constructor(server: NamirasoftInfraServer)
32
32
  {
@@ -37,35 +37,35 @@ export class NamirasoftInfraServerIncidentField extends NamirasoftInfraServerBas
37
37
  this.Update = this.Update.bind(this);
38
38
  this.Delete = this.Delete.bind(this);
39
39
  }
40
- async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], config?: BaseServerConfig<any>): Promise<{ rows: IncidentFieldRow[], count: number }>
40
+ async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], config?: BaseServerConfig<any>): Promise<{ rows: CacheFieldRow[], count: number }>
41
41
  {
42
42
  let filters_string_value: string = FilterItem.stringify(filters);
43
43
  let sorts_string_value: string = SortItem.stringify(sorts);
44
- let path = `incident/field/list`;
45
- let { data } = await this.server._get<{ rows: IncidentFieldRow[], count: number }>(path, { filters: filters_string_value, page, size, sorts: sorts_string_value }, config);
44
+ let path = `cache/field/list`;
45
+ let { data } = await this.server._get<{ rows: CacheFieldRow[], count: number }>(path, { filters: filters_string_value, page, size, sorts: sorts_string_value }, config);
46
46
  return data;
47
47
  }
48
- async Get(id: string, config?: BaseServerConfig<any>): Promise<IncidentFieldRow>
48
+ async Get(id: string, config?: BaseServerConfig<any>): Promise<CacheFieldRow>
49
49
  {
50
- let path = `incident/field/${id}`;
51
- let { data } = await this.server._get<IncidentFieldRow>(path, {}, config);
50
+ let path = `cache/field/${id}`;
51
+ let { data } = await this.server._get<CacheFieldRow>(path, {}, config);
52
52
  return data;
53
53
  }
54
- async Create(body: EntityFieldInputRow, config?: BaseServerConfig<any>): Promise<IncidentFieldRow>
54
+ async Create(body: EntityFieldInputRow, config?: BaseServerConfig<any>): Promise<CacheFieldRow>
55
55
  {
56
- let path = `incident/field`;
57
- let { data } = await this.server._post<IncidentFieldRow>(path, {}, body, config);
56
+ let path = `cache/field`;
57
+ let { data } = await this.server._post<CacheFieldRow>(path, {}, body, config);
58
58
  return data;
59
59
  }
60
- async Update(id: number, body: EntityFieldInputRow, config?: BaseServerConfig<any>): Promise<IncidentFieldRow>
60
+ async Update(id: number, body: EntityFieldInputRow, config?: BaseServerConfig<any>): Promise<CacheFieldRow>
61
61
  {
62
- let path = `incident/field/${id}`;
63
- let { data } = await this.server._put<IncidentFieldRow>(path, {}, body, config);
62
+ let path = `cache/field/${id}`;
63
+ let { data } = await this.server._put<CacheFieldRow>(path, {}, body, config);
64
64
  return data;
65
65
  }
66
66
  async Delete(id: number, config?: BaseServerConfig<any>): Promise<void>
67
67
  {
68
- let path = `incident/field/${id}`;
68
+ let path = `cache/field/${id}`;
69
69
  await this.server._delete<void>(path, {}, config);
70
70
  }
71
71
  };
@@ -19,14 +19,14 @@
19
19
  /****************************************************************/
20
20
 
21
21
  import { BaseServerConfig } from "namirasoft-core";
22
+ import { CacheTagRow } from "./row/CacheTagRow";
22
23
  import { EntityTagInputRow } from "./row/EntityTagInputRow";
23
24
  import { FilterItem } from "namirasoft-core";
24
- import { IncidentTagRow } from "./row/IncidentTagRow";
25
25
  import { NamirasoftInfraServer } from "./NamirasoftInfraServer";
26
26
  import { NamirasoftInfraServerBase } from "./NamirasoftInfraServerBase";
27
27
  import { SortItem } from "namirasoft-core";
28
28
 
29
- export class NamirasoftInfraServerIncidentTag extends NamirasoftInfraServerBase
29
+ export class NamirasoftInfraServerCacheTag extends NamirasoftInfraServerBase
30
30
  {
31
31
  constructor(server: NamirasoftInfraServer)
32
32
  {
@@ -37,35 +37,35 @@ export class NamirasoftInfraServerIncidentTag extends NamirasoftInfraServerBase
37
37
  this.Update = this.Update.bind(this);
38
38
  this.Delete = this.Delete.bind(this);
39
39
  }
40
- async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], config?: BaseServerConfig<any>): Promise<{ rows: IncidentTagRow[], count: number }>
40
+ async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], config?: BaseServerConfig<any>): Promise<{ rows: CacheTagRow[], count: number }>
41
41
  {
42
42
  let filters_string_value: string = FilterItem.stringify(filters);
43
43
  let sorts_string_value: string = SortItem.stringify(sorts);
44
- let path = `incident/tag/list`;
45
- let { data } = await this.server._get<{ rows: IncidentTagRow[], count: number }>(path, { filters: filters_string_value, page, size, sorts: sorts_string_value }, config);
44
+ let path = `cache/tag/list`;
45
+ let { data } = await this.server._get<{ rows: CacheTagRow[], count: number }>(path, { filters: filters_string_value, page, size, sorts: sorts_string_value }, config);
46
46
  return data;
47
47
  }
48
- async Get(id: string, config?: BaseServerConfig<any>): Promise<IncidentTagRow>
48
+ async Get(id: string, config?: BaseServerConfig<any>): Promise<CacheTagRow>
49
49
  {
50
- let path = `incident/tag/${id}`;
51
- let { data } = await this.server._get<IncidentTagRow>(path, {}, config);
50
+ let path = `cache/tag/${id}`;
51
+ let { data } = await this.server._get<CacheTagRow>(path, {}, config);
52
52
  return data;
53
53
  }
54
- async Create(body: EntityTagInputRow, config?: BaseServerConfig<any>): Promise<IncidentTagRow>
54
+ async Create(body: EntityTagInputRow, config?: BaseServerConfig<any>): Promise<CacheTagRow>
55
55
  {
56
- let path = `incident/tag`;
57
- let { data } = await this.server._post<IncidentTagRow>(path, {}, body, config);
56
+ let path = `cache/tag`;
57
+ let { data } = await this.server._post<CacheTagRow>(path, {}, body, config);
58
58
  return data;
59
59
  }
60
- async Update(id: number, body: EntityTagInputRow, config?: BaseServerConfig<any>): Promise<IncidentTagRow>
60
+ async Update(id: number, body: EntityTagInputRow, config?: BaseServerConfig<any>): Promise<CacheTagRow>
61
61
  {
62
- let path = `incident/tag/${id}`;
63
- let { data } = await this.server._put<IncidentTagRow>(path, {}, body, config);
62
+ let path = `cache/tag/${id}`;
63
+ let { data } = await this.server._put<CacheTagRow>(path, {}, body, config);
64
64
  return data;
65
65
  }
66
66
  async Delete(id: number, config?: BaseServerConfig<any>): Promise<void>
67
67
  {
68
- let path = `incident/tag/${id}`;
68
+ let path = `cache/tag/${id}`;
69
69
  await this.server._delete<void>(path, {}, config);
70
70
  }
71
71
  };
@@ -20,7 +20,6 @@
20
20
 
21
21
  import { BaseServerConfig } from "namirasoft-core";
22
22
  import { FilterItem } from "namirasoft-core";
23
- import { IncidentInputRow } from "./row/IncidentInputRow";
24
23
  import { IncidentRow } from "./row/IncidentRow";
25
24
  import { NamirasoftInfraServer } from "./NamirasoftInfraServer";
26
25
  import { NamirasoftInfraServerBase } from "./NamirasoftInfraServerBase";
@@ -32,9 +31,6 @@ export class NamirasoftInfraServerIncident extends NamirasoftInfraServerBase
32
31
  {
33
32
  super(server);
34
33
  this.Get = this.Get.bind(this);
35
- this.Create = this.Create.bind(this);
36
- this.Update = this.Update.bind(this);
37
- this.Delete = this.Delete.bind(this);
38
34
  this.List = this.List.bind(this);
39
35
  }
40
36
  async Get(id: (string | null), config?: BaseServerConfig<any>): Promise<IncidentRow>
@@ -43,23 +39,6 @@ export class NamirasoftInfraServerIncident extends NamirasoftInfraServerBase
43
39
  let { data } = await this.server._get<IncidentRow>(path, {}, config);
44
40
  return data;
45
41
  }
46
- async Create(body: IncidentInputRow, config?: BaseServerConfig<any>): Promise<IncidentRow>
47
- {
48
- let path = `/incident`;
49
- let { data } = await this.server._post<IncidentRow>(path, {}, body, config);
50
- return data;
51
- }
52
- async Update(id: (string | null), body: IncidentInputRow, config?: BaseServerConfig<any>): Promise<IncidentRow>
53
- {
54
- let path = `/incident/${id}`;
55
- let { data } = await this.server._put<IncidentRow>(path, {}, body, config);
56
- return data;
57
- }
58
- async Delete(id: string, config?: BaseServerConfig<any>): Promise<void>
59
- {
60
- let path = `/incident/${id}`;
61
- await this.server._delete<void>(path, {}, config);
62
- }
63
42
  async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], config?: BaseServerConfig<any>): Promise<{ rows: IncidentRow[], count: number }>
64
43
  {
65
44
  let filters_string_value: string = FilterItem.stringify(filters);
@@ -19,20 +19,20 @@
19
19
  /****************************************************************/
20
20
 
21
21
  import { BaseNavigatorCommand } from "namirasoft-node-cli";
22
- import { IncidentCategoryCreateCommand } from "./IncidentCategoryCreateCommand";
23
- import { IncidentCategoryDeleteCommand } from "./IncidentCategoryDeleteCommand";
24
- import { IncidentCategoryGetCommand } from "./IncidentCategoryGetCommand";
25
- import { IncidentCategoryListCommand } from "./IncidentCategoryListCommand";
22
+ import { CacheCategoryCreateCommand } from "./CacheCategoryCreateCommand";
23
+ import { CacheCategoryDeleteCommand } from "./CacheCategoryDeleteCommand";
24
+ import { CacheCategoryGetCommand } from "./CacheCategoryGetCommand";
25
+ import { CacheCategoryListCommand } from "./CacheCategoryListCommand";
26
26
 
27
- export class IncidentCategoryCommand extends BaseNavigatorCommand
27
+ export class CacheCategoryCommand extends BaseNavigatorCommand
28
28
  {
29
29
  constructor(argv: string[])
30
30
  {
31
31
  super(argv, {
32
- "list": IncidentCategoryListCommand,
33
- "get": IncidentCategoryGetCommand,
34
- "create": IncidentCategoryCreateCommand,
35
- "delete": IncidentCategoryDeleteCommand,
32
+ "list": CacheCategoryListCommand,
33
+ "get": CacheCategoryGetCommand,
34
+ "create": CacheCategoryCreateCommand,
35
+ "delete": CacheCategoryDeleteCommand,
36
36
  });
37
37
  }
38
38
  };
@@ -23,7 +23,7 @@ import { IStorageMemoryDedicated } from "namirasoft-core";
23
23
  import { NamirasoftInfraServer } from "../NamirasoftInfraServer";
24
24
  import { TokenManager } from "namirasoft-account";
25
25
 
26
- export class IncidentCategoryCreateCommand extends BaseFinalCommand
26
+ export class CacheCategoryCreateCommand extends BaseFinalCommand
27
27
  {
28
28
  constructor(argv: string[])
29
29
  {
@@ -56,7 +56,7 @@ export class IncidentCategoryCreateCommand extends BaseFinalCommand
56
56
  token_manager.setValue(token, false);
57
57
  let url = this.app.storage.getItem("ns-infra-server-url");
58
58
  let server = new NamirasoftInfraServer(url, token_manager, e => this.app.logger.error(e.message));
59
- let ans = await server.incident_category.Create({
59
+ let ans = await server.cache_category.Create({
60
60
  entity_id: this.option_values.entity_id,
61
61
  category_id: this.option_values.category_id
62
62
  });
@@ -23,7 +23,7 @@ import { IStorageMemoryDedicated } from "namirasoft-core";
23
23
  import { NamirasoftInfraServer } from "../NamirasoftInfraServer";
24
24
  import { TokenManager } from "namirasoft-account";
25
25
 
26
- export class IncidentCategoryGetCommand extends BaseFinalCommand
26
+ export class CacheCategoryDeleteCommand extends BaseFinalCommand
27
27
  {
28
28
  constructor(argv: string[])
29
29
  {
@@ -39,7 +39,7 @@ export class IncidentCategoryGetCommand extends BaseFinalCommand
39
39
  token_manager.setValue(token, false);
40
40
  let url = this.app.storage.getItem("ns-infra-server-url");
41
41
  let server = new NamirasoftInfraServer(url, token_manager, e => this.app.logger.error(e.message));
42
- let ans = await server.incident_category.Get(this.arg_values[0]);
42
+ let ans = await server.cache_category.Delete(this.arg_values[0]);
43
43
  this.app.logger.success(JSON.stringify(ans));
44
44
  }
45
45
  };
@@ -23,7 +23,7 @@ import { IStorageMemoryDedicated } from "namirasoft-core";
23
23
  import { NamirasoftInfraServer } from "../NamirasoftInfraServer";
24
24
  import { TokenManager } from "namirasoft-account";
25
25
 
26
- export class IncidentFieldGetCommand extends BaseFinalCommand
26
+ export class CacheCategoryGetCommand extends BaseFinalCommand
27
27
  {
28
28
  constructor(argv: string[])
29
29
  {
@@ -39,7 +39,7 @@ export class IncidentFieldGetCommand extends BaseFinalCommand
39
39
  token_manager.setValue(token, false);
40
40
  let url = this.app.storage.getItem("ns-infra-server-url");
41
41
  let server = new NamirasoftInfraServer(url, token_manager, e => this.app.logger.error(e.message));
42
- let ans = await server.incident_field.Get(this.arg_values[0]);
42
+ let ans = await server.cache_category.Get(this.arg_values[0]);
43
43
  this.app.logger.success(JSON.stringify(ans));
44
44
  }
45
45
  };
@@ -23,7 +23,7 @@ import { IStorageMemoryDedicated } from "namirasoft-core";
23
23
  import { NamirasoftInfraServer } from "../NamirasoftInfraServer";
24
24
  import { TokenManager } from "namirasoft-account";
25
25
 
26
- export class IncidentFieldListCommand extends BaseFinalCommand
26
+ export class CacheCategoryListCommand extends BaseFinalCommand
27
27
  {
28
28
  constructor(argv: string[])
29
29
  {
@@ -39,7 +39,7 @@ export class IncidentFieldListCommand extends BaseFinalCommand
39
39
  token_manager.setValue(token, false);
40
40
  let url = this.app.storage.getItem("ns-infra-server-url");
41
41
  let server = new NamirasoftInfraServer(url, token_manager, e => this.app.logger.error(e.message));
42
- let ans = await server.incident_field.List(this.arg_values[0], this.arg_values[1], this.arg_values[2], this.arg_values[3]);
42
+ let ans = await server.cache_category.List(this.arg_values[0], this.arg_values[1], this.arg_values[2], this.arg_values[3]);
43
43
  this.app.logger.success(JSON.stringify(ans));
44
44
  }
45
45
  };
@@ -19,20 +19,22 @@
19
19
  /****************************************************************/
20
20
 
21
21
  import { BaseNavigatorCommand } from "namirasoft-node-cli";
22
- import { InMemoryStoreCategoryCreateCommand } from "./InMemoryStoreCategoryCreateCommand";
23
- import { InMemoryStoreCategoryDeleteCommand } from "./InMemoryStoreCategoryDeleteCommand";
24
- import { InMemoryStoreCategoryGetCommand } from "./InMemoryStoreCategoryGetCommand";
25
- import { InMemoryStoreCategoryListCommand } from "./InMemoryStoreCategoryListCommand";
22
+ import { CacheCreateCommand } from "./CacheCreateCommand";
23
+ import { CacheDeleteCommand } from "./CacheDeleteCommand";
24
+ import { CacheGetCommand } from "./CacheGetCommand";
25
+ import { CacheListCommand } from "./CacheListCommand";
26
+ import { CacheUpdateCommand } from "./CacheUpdateCommand";
26
27
 
27
- export class InMemoryStoreCategoryCommand extends BaseNavigatorCommand
28
+ export class CacheCommand extends BaseNavigatorCommand
28
29
  {
29
30
  constructor(argv: string[])
30
31
  {
31
32
  super(argv, {
32
- "list": InMemoryStoreCategoryListCommand,
33
- "get": InMemoryStoreCategoryGetCommand,
34
- "create": InMemoryStoreCategoryCreateCommand,
35
- "delete": InMemoryStoreCategoryDeleteCommand,
33
+ "get": CacheGetCommand,
34
+ "create": CacheCreateCommand,
35
+ "update": CacheUpdateCommand,
36
+ "delete": CacheDeleteCommand,
37
+ "list": CacheListCommand,
36
38
  });
37
39
  }
38
40
  };
@@ -23,7 +23,7 @@ import { IStorageMemoryDedicated } from "namirasoft-core";
23
23
  import { NamirasoftInfraServer } from "../NamirasoftInfraServer";
24
24
  import { TokenManager } from "namirasoft-account";
25
25
 
26
- export class InMemoryStoreCreateCommand extends BaseFinalCommand
26
+ export class CacheCreateCommand extends BaseFinalCommand
27
27
  {
28
28
  constructor(argv: string[])
29
29
  {
@@ -61,11 +61,11 @@ export class InMemoryStoreCreateCommand extends BaseFinalCommand
61
61
  defaults: [""]
62
62
  },
63
63
  {
64
- name: "in_memory_store_credential_id",
64
+ name: "cache_credential_id",
65
65
  short: "",
66
- description: "Provides the value of 'in_memory_store_credential_id' in body",
66
+ description: "Provides the value of 'cache_credential_id' in body",
67
67
  optional: false,
68
- args: ["in_memory_store_credential_id"],
68
+ args: ["cache_credential_id"],
69
69
  defaults: [""]
70
70
  },
71
71
  {
@@ -128,12 +128,12 @@ export class InMemoryStoreCreateCommand extends BaseFinalCommand
128
128
  token_manager.setValue(token, false);
129
129
  let url = this.app.storage.getItem("ns-infra-server-url");
130
130
  let server = new NamirasoftInfraServer(url, token_manager, e => this.app.logger.error(e.message));
131
- let ans = await server.in_memory_store.Create({
131
+ let ans = await server.cache.Create({
132
132
  workspace_id: this.option_values.workspace_id,
133
133
  project_id: this.option_values.project_id,
134
134
  environment_id: this.option_values.environment_id,
135
135
  log_group_id: this.option_values.log_group_id,
136
- in_memory_store_credential_id: this.option_values.in_memory_store_credential_id,
136
+ cache_credential_id: this.option_values.cache_credential_id,
137
137
  name: this.option_values.name,
138
138
  type: this.option_values.type,
139
139
  connect_type: this.option_values.connect_type,
@@ -23,7 +23,7 @@ import { IStorageMemoryDedicated } from "namirasoft-core";
23
23
  import { NamirasoftInfraServer } from "../NamirasoftInfraServer";
24
24
  import { TokenManager } from "namirasoft-account";
25
25
 
26
- export class InMemoryStoreGetCommand extends BaseFinalCommand
26
+ export class CacheDeleteCommand extends BaseFinalCommand
27
27
  {
28
28
  constructor(argv: string[])
29
29
  {
@@ -39,7 +39,7 @@ export class InMemoryStoreGetCommand extends BaseFinalCommand
39
39
  token_manager.setValue(token, false);
40
40
  let url = this.app.storage.getItem("ns-infra-server-url");
41
41
  let server = new NamirasoftInfraServer(url, token_manager, e => this.app.logger.error(e.message));
42
- let ans = await server.in_memory_store.Get(this.arg_values[0]);
42
+ let ans = await server.cache.Delete(this.arg_values[0]);
43
43
  this.app.logger.success(JSON.stringify(ans));
44
44
  }
45
45
  };
@@ -19,22 +19,22 @@
19
19
  /****************************************************************/
20
20
 
21
21
  import { BaseNavigatorCommand } from "namirasoft-node-cli";
22
- import { IncidentTagCreateCommand } from "./IncidentTagCreateCommand";
23
- import { IncidentTagDeleteCommand } from "./IncidentTagDeleteCommand";
24
- import { IncidentTagGetCommand } from "./IncidentTagGetCommand";
25
- import { IncidentTagListCommand } from "./IncidentTagListCommand";
26
- import { IncidentTagUpdateCommand } from "./IncidentTagUpdateCommand";
22
+ import { CacheFieldCreateCommand } from "./CacheFieldCreateCommand";
23
+ import { CacheFieldDeleteCommand } from "./CacheFieldDeleteCommand";
24
+ import { CacheFieldGetCommand } from "./CacheFieldGetCommand";
25
+ import { CacheFieldListCommand } from "./CacheFieldListCommand";
26
+ import { CacheFieldUpdateCommand } from "./CacheFieldUpdateCommand";
27
27
 
28
- export class IncidentTagCommand extends BaseNavigatorCommand
28
+ export class CacheFieldCommand extends BaseNavigatorCommand
29
29
  {
30
30
  constructor(argv: string[])
31
31
  {
32
32
  super(argv, {
33
- "list": IncidentTagListCommand,
34
- "get": IncidentTagGetCommand,
35
- "create": IncidentTagCreateCommand,
36
- "update": IncidentTagUpdateCommand,
37
- "delete": IncidentTagDeleteCommand,
33
+ "list": CacheFieldListCommand,
34
+ "get": CacheFieldGetCommand,
35
+ "create": CacheFieldCreateCommand,
36
+ "update": CacheFieldUpdateCommand,
37
+ "delete": CacheFieldDeleteCommand,
38
38
  });
39
39
  }
40
40
  };
@@ -23,7 +23,7 @@ import { IStorageMemoryDedicated } from "namirasoft-core";
23
23
  import { NamirasoftInfraServer } from "../NamirasoftInfraServer";
24
24
  import { TokenManager } from "namirasoft-account";
25
25
 
26
- export class IncidentFieldCreateCommand extends BaseFinalCommand
26
+ export class CacheFieldCreateCommand extends BaseFinalCommand
27
27
  {
28
28
  constructor(argv: string[])
29
29
  {
@@ -64,7 +64,7 @@ export class IncidentFieldCreateCommand extends BaseFinalCommand
64
64
  token_manager.setValue(token, false);
65
65
  let url = this.app.storage.getItem("ns-infra-server-url");
66
66
  let server = new NamirasoftInfraServer(url, token_manager, e => this.app.logger.error(e.message));
67
- let ans = await server.incident_field.Create({
67
+ let ans = await server.cache_field.Create({
68
68
  entity_id: this.option_values.entity_id,
69
69
  field_id: this.option_values.field_id,
70
70
  value: this.option_values.value
@@ -0,0 +1,45 @@
1
+ /****************************************************************/
2
+ /* */
3
+ /* This is an Auto-Generated File */
4
+ /* Made By */
5
+ /* Namirasoft SDK Generator NPM Package */
6
+ /* */
7
+ /****************************************************************/
8
+ /****************************************************************/
9
+ /* */
10
+ /* Please do not make any change to this file */
11
+ /* If any change is required, ns-sdkg command must be used */
12
+ /* */
13
+ /****************************************************************/
14
+ /****************************************************************/
15
+ /* */
16
+ /* Namira Software Corporation */
17
+ /* https://namirasoft.com */
18
+ /* */
19
+ /****************************************************************/
20
+
21
+ import { BaseFinalCommand } from "namirasoft-node-cli";
22
+ import { IStorageMemoryDedicated } from "namirasoft-core";
23
+ import { NamirasoftInfraServer } from "../NamirasoftInfraServer";
24
+ import { TokenManager } from "namirasoft-account";
25
+
26
+ export class CacheFieldDeleteCommand extends BaseFinalCommand
27
+ {
28
+ constructor(argv: string[])
29
+ {
30
+ super(argv, ["id"], []);
31
+ }
32
+ override async exec()
33
+ {
34
+ let token = this.app.storage.getNSAToken();
35
+ if (token == null)
36
+ throw new Error("Token is not available. Please login first using:\nns-infra account config \nor \nns-infra account login.");
37
+ let storage = new IStorageMemoryDedicated();
38
+ let token_manager = new TokenManager(storage, () => { });
39
+ token_manager.setValue(token, false);
40
+ let url = this.app.storage.getItem("ns-infra-server-url");
41
+ let server = new NamirasoftInfraServer(url, token_manager, e => this.app.logger.error(e.message));
42
+ let ans = await server.cache_field.Delete(this.arg_values[0]);
43
+ this.app.logger.success(JSON.stringify(ans));
44
+ }
45
+ };
@@ -23,7 +23,7 @@ import { IStorageMemoryDedicated } from "namirasoft-core";
23
23
  import { NamirasoftInfraServer } from "../NamirasoftInfraServer";
24
24
  import { TokenManager } from "namirasoft-account";
25
25
 
26
- export class IncidentDeleteCommand extends BaseFinalCommand
26
+ export class CacheFieldGetCommand extends BaseFinalCommand
27
27
  {
28
28
  constructor(argv: string[])
29
29
  {
@@ -39,7 +39,7 @@ export class IncidentDeleteCommand extends BaseFinalCommand
39
39
  token_manager.setValue(token, false);
40
40
  let url = this.app.storage.getItem("ns-infra-server-url");
41
41
  let server = new NamirasoftInfraServer(url, token_manager, e => this.app.logger.error(e.message));
42
- let ans = await server.incident.Delete(this.arg_values[0]);
42
+ let ans = await server.cache_field.Get(this.arg_values[0]);
43
43
  this.app.logger.success(JSON.stringify(ans));
44
44
  }
45
45
  };
@@ -23,7 +23,7 @@ import { IStorageMemoryDedicated } from "namirasoft-core";
23
23
  import { NamirasoftInfraServer } from "../NamirasoftInfraServer";
24
24
  import { TokenManager } from "namirasoft-account";
25
25
 
26
- export class IncidentTagListCommand extends BaseFinalCommand
26
+ export class CacheFieldListCommand extends BaseFinalCommand
27
27
  {
28
28
  constructor(argv: string[])
29
29
  {
@@ -39,7 +39,7 @@ export class IncidentTagListCommand extends BaseFinalCommand
39
39
  token_manager.setValue(token, false);
40
40
  let url = this.app.storage.getItem("ns-infra-server-url");
41
41
  let server = new NamirasoftInfraServer(url, token_manager, e => this.app.logger.error(e.message));
42
- let ans = await server.incident_tag.List(this.arg_values[0], this.arg_values[1], this.arg_values[2], this.arg_values[3]);
42
+ let ans = await server.cache_field.List(this.arg_values[0], this.arg_values[1], this.arg_values[2], this.arg_values[3]);
43
43
  this.app.logger.success(JSON.stringify(ans));
44
44
  }
45
45
  };
@@ -23,7 +23,7 @@ import { IStorageMemoryDedicated } from "namirasoft-core";
23
23
  import { NamirasoftInfraServer } from "../NamirasoftInfraServer";
24
24
  import { TokenManager } from "namirasoft-account";
25
25
 
26
- export class IncidentFieldUpdateCommand extends BaseFinalCommand
26
+ export class CacheFieldUpdateCommand extends BaseFinalCommand
27
27
  {
28
28
  constructor(argv: string[])
29
29
  {
@@ -64,7 +64,7 @@ export class IncidentFieldUpdateCommand extends BaseFinalCommand
64
64
  token_manager.setValue(token, false);
65
65
  let url = this.app.storage.getItem("ns-infra-server-url");
66
66
  let server = new NamirasoftInfraServer(url, token_manager, e => this.app.logger.error(e.message));
67
- let ans = await server.incident_field.Update(this.arg_values[0], {
67
+ let ans = await server.cache_field.Update(this.arg_values[0], {
68
68
  entity_id: this.option_values.entity_id,
69
69
  field_id: this.option_values.field_id,
70
70
  value: this.option_values.value
@@ -0,0 +1,45 @@
1
+ /****************************************************************/
2
+ /* */
3
+ /* This is an Auto-Generated File */
4
+ /* Made By */
5
+ /* Namirasoft SDK Generator NPM Package */
6
+ /* */
7
+ /****************************************************************/
8
+ /****************************************************************/
9
+ /* */
10
+ /* Please do not make any change to this file */
11
+ /* If any change is required, ns-sdkg command must be used */
12
+ /* */
13
+ /****************************************************************/
14
+ /****************************************************************/
15
+ /* */
16
+ /* Namira Software Corporation */
17
+ /* https://namirasoft.com */
18
+ /* */
19
+ /****************************************************************/
20
+
21
+ import { BaseFinalCommand } from "namirasoft-node-cli";
22
+ import { IStorageMemoryDedicated } from "namirasoft-core";
23
+ import { NamirasoftInfraServer } from "../NamirasoftInfraServer";
24
+ import { TokenManager } from "namirasoft-account";
25
+
26
+ export class CacheGetCommand extends BaseFinalCommand
27
+ {
28
+ constructor(argv: string[])
29
+ {
30
+ super(argv, ["id"], []);
31
+ }
32
+ override async exec()
33
+ {
34
+ let token = this.app.storage.getNSAToken();
35
+ if (token == null)
36
+ throw new Error("Token is not available. Please login first using:\nns-infra account config \nor \nns-infra account login.");
37
+ let storage = new IStorageMemoryDedicated();
38
+ let token_manager = new TokenManager(storage, () => { });
39
+ token_manager.setValue(token, false);
40
+ let url = this.app.storage.getItem("ns-infra-server-url");
41
+ let server = new NamirasoftInfraServer(url, token_manager, e => this.app.logger.error(e.message));
42
+ let ans = await server.cache.Get(this.arg_values[0]);
43
+ this.app.logger.success(JSON.stringify(ans));
44
+ }
45
+ };