@abyss-project/monitor 1.0.2 → 1.0.4

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 (278) hide show
  1. package/dist/api/application-cron-task.admin.api.d.ts +10 -10
  2. package/dist/api/application-cron-task.admin.api.js +40 -40
  3. package/dist/api/application-cron-task.api.d.ts +10 -10
  4. package/dist/api/application-cron-task.api.js +40 -40
  5. package/dist/api/application-log.admin.api.d.ts +3 -3
  6. package/dist/api/application-log.admin.api.js +12 -12
  7. package/dist/api/application-log.api.d.ts +4 -4
  8. package/dist/api/application-log.api.js +16 -16
  9. package/dist/api/application-stats.admin.api.d.ts +3 -3
  10. package/dist/api/application-stats.admin.api.js +12 -12
  11. package/dist/api/application-stats.api.d.ts +4 -4
  12. package/dist/api/application-stats.api.js +16 -16
  13. package/dist/api/application-store.admin.api.d.ts +6 -6
  14. package/dist/api/application-store.admin.api.js +24 -24
  15. package/dist/api/application-store.api.d.ts +6 -6
  16. package/dist/api/application-store.api.js +24 -24
  17. package/dist/api/application-store.public.api.d.ts +3 -3
  18. package/dist/api/application-store.public.api.js +12 -12
  19. package/dist/api/application.admin.api.d.ts +7 -7
  20. package/dist/api/application.admin.api.js +28 -28
  21. package/dist/api/application.api.d.ts +10 -9
  22. package/dist/api/application.api.js +40 -36
  23. package/dist/api/index.d.ts +12 -12
  24. package/dist/api/index.js +28 -24
  25. package/dist/api/monitor.api.d.ts +2 -2
  26. package/dist/api/monitor.api.js +8 -8
  27. package/dist/frameworks/express/decorators.d.ts +52 -52
  28. package/dist/frameworks/express/decorators.js +163 -163
  29. package/dist/frameworks/express/index.d.ts +16 -16
  30. package/dist/frameworks/express/index.js +170 -166
  31. package/dist/frameworks/express/metadata.d.ts +9 -9
  32. package/dist/frameworks/express/metadata.js +12 -12
  33. package/dist/frameworks/index.d.ts +1 -1
  34. package/dist/frameworks/index.js +17 -13
  35. package/dist/index.d.ts +46 -46
  36. package/dist/index.js +105 -101
  37. package/dist/middlewares/context.middleware.d.ts +12 -12
  38. package/dist/middlewares/context.middleware.js +39 -39
  39. package/dist/middlewares/index.d.ts +3 -3
  40. package/dist/middlewares/index.js +19 -15
  41. package/dist/middlewares/logger-endpoint.middleware.d.ts +5 -5
  42. package/dist/middlewares/logger-endpoint.middleware.js +75 -75
  43. package/dist/middlewares/logger-setup.middleware.d.ts +5 -5
  44. package/dist/middlewares/logger-setup.middleware.js +16 -16
  45. package/dist/models/index.d.ts +1 -1
  46. package/dist/models/index.js +17 -13
  47. package/dist/models/logger.model.d.ts +55 -55
  48. package/dist/models/logger.model.js +201 -201
  49. package/dist/models/stats-publisher.model.d.ts +20 -20
  50. package/dist/models/stats-publisher.model.js +113 -113
  51. package/dist/types/enum/api-error.enum.d.ts +20 -20
  52. package/dist/types/enum/api-error.enum.js +25 -25
  53. package/dist/types/enum/api-method.enum.d.ts +7 -7
  54. package/dist/types/enum/api-method.enum.js +11 -11
  55. package/dist/types/enum/application-alert-type.enum.d.ts +5 -5
  56. package/dist/types/enum/application-alert-type.enum.js +9 -9
  57. package/dist/types/enum/application-stats-type.enum.d.ts +5 -5
  58. package/dist/types/enum/application-stats-type.enum.js +9 -9
  59. package/dist/types/enum/index.d.ts +7 -7
  60. package/dist/types/enum/index.js +23 -19
  61. package/dist/types/enum/log-level.enum.d.ts +6 -6
  62. package/dist/types/enum/log-level.enum.js +10 -10
  63. package/dist/types/enum/log-scenario.enum.d.ts +5 -5
  64. package/dist/types/enum/log-scenario.enum.js +9 -9
  65. package/dist/types/enum/webhook-type.enum.d.ts +3 -3
  66. package/dist/types/enum/webhook-type.enum.js +7 -7
  67. package/dist/types/index.d.ts +18 -18
  68. package/dist/types/index.js +18 -14
  69. package/dist/types/interface/api/index.d.ts +27 -27
  70. package/dist/types/interface/api/index.js +43 -39
  71. package/dist/types/interface/api/requests/application-cron-task.admin.request.d.ts +50 -51
  72. package/dist/types/interface/api/requests/application-cron-task.admin.request.js +2 -2
  73. package/dist/types/interface/api/requests/application-cron-task.request.d.ts +61 -62
  74. package/dist/types/interface/api/requests/application-cron-task.request.js +2 -2
  75. package/dist/types/interface/api/requests/application-log.admin.request.d.ts +19 -20
  76. package/dist/types/interface/api/requests/application-log.admin.request.js +2 -2
  77. package/dist/types/interface/api/requests/application-log.request.d.ts +53 -54
  78. package/dist/types/interface/api/requests/application-log.request.js +2 -2
  79. package/dist/types/interface/api/requests/application-stats.admin.request.d.ts +13 -14
  80. package/dist/types/interface/api/requests/application-stats.admin.request.js +2 -2
  81. package/dist/types/interface/api/requests/application-stats.request.d.ts +31 -32
  82. package/dist/types/interface/api/requests/application-stats.request.js +2 -2
  83. package/dist/types/interface/api/requests/application-store.admin.request.d.ts +34 -35
  84. package/dist/types/interface/api/requests/application-store.admin.request.js +2 -2
  85. package/dist/types/interface/api/requests/application-store.public.request.d.ts +8 -9
  86. package/dist/types/interface/api/requests/application-store.public.request.js +2 -2
  87. package/dist/types/interface/api/requests/application-store.request.d.ts +39 -40
  88. package/dist/types/interface/api/requests/application-store.request.js +2 -2
  89. package/dist/types/interface/api/requests/application.admin.request.d.ts +18 -19
  90. package/dist/types/interface/api/requests/application.admin.request.js +2 -2
  91. package/dist/types/interface/api/requests/application.request.d.ts +35 -33
  92. package/dist/types/interface/api/requests/application.request.js +2 -2
  93. package/dist/types/interface/api/responses/application-cron-task.admin.response.d.ts +30 -30
  94. package/dist/types/interface/api/responses/application-cron-task.admin.response.js +2 -2
  95. package/dist/types/interface/api/responses/application-cron-task.response.d.ts +30 -30
  96. package/dist/types/interface/api/responses/application-cron-task.response.js +2 -2
  97. package/dist/types/interface/api/responses/application-log.admin.response.d.ts +10 -10
  98. package/dist/types/interface/api/responses/application-log.admin.response.js +2 -2
  99. package/dist/types/interface/api/responses/application-log.response.d.ts +10 -10
  100. package/dist/types/interface/api/responses/application-log.response.js +2 -2
  101. package/dist/types/interface/api/responses/application-stats.admin.response.d.ts +6 -6
  102. package/dist/types/interface/api/responses/application-stats.admin.response.js +2 -2
  103. package/dist/types/interface/api/responses/application-stats.response.d.ts +10 -10
  104. package/dist/types/interface/api/responses/application-stats.response.js +2 -2
  105. package/dist/types/interface/api/responses/application-store.admin.response.d.ts +17 -17
  106. package/dist/types/interface/api/responses/application-store.admin.response.js +2 -2
  107. package/dist/types/interface/api/responses/application-store.public.response.d.ts +21 -21
  108. package/dist/types/interface/api/responses/application-store.public.response.js +2 -2
  109. package/dist/types/interface/api/responses/application-store.response.d.ts +17 -17
  110. package/dist/types/interface/api/responses/application-store.response.js +2 -2
  111. package/dist/types/interface/api/responses/application.admin.response.d.ts +33 -33
  112. package/dist/types/interface/api/responses/application.admin.response.js +2 -2
  113. package/dist/types/interface/api/responses/application.response.d.ts +129 -121
  114. package/dist/types/interface/api/responses/application.response.js +2 -2
  115. package/dist/types/interface/api/responses/monitor.response.d.ts +7 -7
  116. package/dist/types/interface/api/responses/monitor.response.js +2 -2
  117. package/dist/types/interface/api/type-message/api-error.d.ts +8 -8
  118. package/dist/types/interface/api/type-message/api-error.js +2 -2
  119. package/dist/types/interface/api/type-message/base-order.d.ts +4 -4
  120. package/dist/types/interface/api/type-message/base-order.js +2 -2
  121. package/dist/types/interface/api/type-message/base-paginate.d.ts +10 -10
  122. package/dist/types/interface/api/type-message/base-paginate.js +2 -2
  123. package/dist/types/interface/api/type-message/response.d.ts +5 -5
  124. package/dist/types/interface/api/type-message/response.js +2 -2
  125. package/dist/types/interface/index.d.ts +9 -8
  126. package/dist/types/interface/index.js +25 -20
  127. package/dist/types/interface/models/application-cron-task-history.model.d.ts +11 -11
  128. package/dist/types/interface/models/application-cron-task-history.model.js +2 -2
  129. package/dist/types/interface/models/application-cron-task.model.d.ts +14 -14
  130. package/dist/types/interface/models/application-cron-task.model.js +2 -2
  131. package/dist/types/interface/models/application-event.model.d.ts +18 -0
  132. package/dist/types/interface/{api/requests/abyss.admin.request.js → models/application-event.model.js} +2 -2
  133. package/dist/types/interface/models/application-log-endpoint.model.d.ts +20 -20
  134. package/dist/types/interface/models/application-log-endpoint.model.js +2 -2
  135. package/dist/types/interface/models/application-log.model.d.ts +23 -21
  136. package/dist/types/interface/models/application-log.model.js +2 -2
  137. package/dist/types/interface/models/application-stats.model.d.ts +14 -14
  138. package/dist/types/interface/models/application-stats.model.js +2 -2
  139. package/dist/types/interface/models/application-store-entry.model.d.ts +14 -14
  140. package/dist/types/interface/models/application-store-entry.model.js +2 -2
  141. package/dist/types/interface/models/application.model.d.ts +17 -15
  142. package/dist/types/interface/models/application.model.js +2 -2
  143. package/dist/utils/alert.utils.d.ts +35 -35
  144. package/dist/utils/alert.utils.js +138 -134
  145. package/dist/utils/discord-webhook-log-formatter.utils.d.ts +42 -42
  146. package/dist/utils/discord-webhook-log-formatter.utils.js +319 -319
  147. package/dist/utils/error.utils.d.ts +15 -15
  148. package/dist/utils/error.utils.js +24 -24
  149. package/dist/utils/import.utils.d.ts +1 -1
  150. package/dist/utils/import.utils.js +7 -7
  151. package/dist/utils/index.d.ts +5 -5
  152. package/dist/utils/index.js +21 -17
  153. package/dist/utils/json.utils.d.ts +1 -1
  154. package/dist/utils/json.utils.js +13 -13
  155. package/dist/utils/non-blocking-promise.utils.d.ts +2 -2
  156. package/dist/utils/non-blocking-promise.utils.js +11 -11
  157. package/package.json +5 -5
  158. package/dist/api/abyss.admin.api.d.ts +0 -2
  159. package/dist/api/abyss.admin.api.js +0 -8
  160. package/dist/api/application-store-entry.admin.api.d.ts +0 -6
  161. package/dist/api/application-store-entry.admin.api.js +0 -24
  162. package/dist/api/application-store-entry.api.d.ts +0 -6
  163. package/dist/api/application-store-entry.api.js +0 -24
  164. package/dist/api/application-store-entry.public.api.d.ts +0 -3
  165. package/dist/api/application-store-entry.public.api.js +0 -12
  166. package/dist/api/logger.admin.api.d.ts +0 -3
  167. package/dist/api/logger.admin.api.js +0 -14
  168. package/dist/api/user-application-alert.admin.api.d.ts +0 -7
  169. package/dist/api/user-application-alert.admin.api.js +0 -28
  170. package/dist/api/user-application-alert.api.d.ts +0 -7
  171. package/dist/api/user-application-alert.api.js +0 -28
  172. package/dist/api/user-application-cron-task.admin.api.d.ts +0 -9
  173. package/dist/api/user-application-cron-task.admin.api.js +0 -36
  174. package/dist/api/user-application-cron-task.api.d.ts +0 -9
  175. package/dist/api/user-application-cron-task.api.js +0 -36
  176. package/dist/api/user-application-log.admin.api.d.ts +0 -3
  177. package/dist/api/user-application-log.admin.api.js +0 -12
  178. package/dist/api/user-application-log.api.d.ts +0 -4
  179. package/dist/api/user-application-log.api.js +0 -16
  180. package/dist/api/user-application-stats.admin.api.d.ts +0 -3
  181. package/dist/api/user-application-stats.admin.api.js +0 -12
  182. package/dist/api/user-application-stats.api.d.ts +0 -4
  183. package/dist/api/user-application-stats.api.js +0 -16
  184. package/dist/api/user-application.admin.api.d.ts +0 -6
  185. package/dist/api/user-application.admin.api.js +0 -24
  186. package/dist/api/user-application.api.d.ts +0 -10
  187. package/dist/api/user-application.api.js +0 -40
  188. package/dist/api/user.admin.api.d.ts +0 -5
  189. package/dist/api/user.admin.api.js +0 -23
  190. package/dist/api/user.api.d.ts +0 -4
  191. package/dist/api/user.api.js +0 -17
  192. package/dist/consts.d.ts +0 -2
  193. package/dist/consts.js +0 -5
  194. package/dist/types/enum/log-type.enum.d.ts +0 -6
  195. package/dist/types/enum/log-type.enum.js +0 -10
  196. package/dist/types/enum/user-application-alert-type.enum.d.ts +0 -5
  197. package/dist/types/enum/user-application-alert-type.enum.js +0 -9
  198. package/dist/types/enum/user-application-stats-type.enum.d.ts +0 -5
  199. package/dist/types/enum/user-application-stats-type.enum.js +0 -9
  200. package/dist/types/interface/api/requests/abyss.admin.request.d.ts +0 -4
  201. package/dist/types/interface/api/requests/logger.admin.request.d.ts +0 -8
  202. package/dist/types/interface/api/requests/logger.admin.request.js +0 -2
  203. package/dist/types/interface/api/requests/user-application-alert.admin.request.d.ts +0 -44
  204. package/dist/types/interface/api/requests/user-application-alert.admin.request.js +0 -2
  205. package/dist/types/interface/api/requests/user-application-alert.request.d.ts +0 -50
  206. package/dist/types/interface/api/requests/user-application-alert.request.js +0 -2
  207. package/dist/types/interface/api/requests/user-application-cron-task.admin.request.d.ts +0 -48
  208. package/dist/types/interface/api/requests/user-application-cron-task.admin.request.js +0 -2
  209. package/dist/types/interface/api/requests/user-application-cron-task.request.d.ts +0 -58
  210. package/dist/types/interface/api/requests/user-application-cron-task.request.js +0 -2
  211. package/dist/types/interface/api/requests/user-application-log.admin.request.d.ts +0 -20
  212. package/dist/types/interface/api/requests/user-application-log.admin.request.js +0 -2
  213. package/dist/types/interface/api/requests/user-application-log.request.d.ts +0 -51
  214. package/dist/types/interface/api/requests/user-application-log.request.js +0 -2
  215. package/dist/types/interface/api/requests/user-application-stats.admin.request.d.ts +0 -14
  216. package/dist/types/interface/api/requests/user-application-stats.admin.request.js +0 -2
  217. package/dist/types/interface/api/requests/user-application-stats.request.d.ts +0 -29
  218. package/dist/types/interface/api/requests/user-application-stats.request.js +0 -2
  219. package/dist/types/interface/api/requests/user-application.admin.request.d.ts +0 -15
  220. package/dist/types/interface/api/requests/user-application.admin.request.js +0 -2
  221. package/dist/types/interface/api/requests/user-application.request.d.ts +0 -35
  222. package/dist/types/interface/api/requests/user-application.request.js +0 -2
  223. package/dist/types/interface/api/requests/user.admin.request.d.ts +0 -18
  224. package/dist/types/interface/api/requests/user.admin.request.js +0 -2
  225. package/dist/types/interface/api/requests/user.request.d.ts +0 -3
  226. package/dist/types/interface/api/requests/user.request.js +0 -2
  227. package/dist/types/interface/api/responses/abyss.admin.response.d.ts +0 -6
  228. package/dist/types/interface/api/responses/abyss.admin.response.js +0 -2
  229. package/dist/types/interface/api/responses/logger.admin.response.d.ts +0 -7
  230. package/dist/types/interface/api/responses/logger.admin.response.js +0 -2
  231. package/dist/types/interface/api/responses/user-application-alert.admin.response.d.ts +0 -22
  232. package/dist/types/interface/api/responses/user-application-alert.admin.response.js +0 -2
  233. package/dist/types/interface/api/responses/user-application-alert.response.d.ts +0 -22
  234. package/dist/types/interface/api/responses/user-application-alert.response.js +0 -2
  235. package/dist/types/interface/api/responses/user-application-cron-task.admin.response.d.ts +0 -27
  236. package/dist/types/interface/api/responses/user-application-cron-task.admin.response.js +0 -2
  237. package/dist/types/interface/api/responses/user-application-cron-task.response.d.ts +0 -27
  238. package/dist/types/interface/api/responses/user-application-cron-task.response.js +0 -2
  239. package/dist/types/interface/api/responses/user-application-log.admin.response.d.ts +0 -11
  240. package/dist/types/interface/api/responses/user-application-log.admin.response.js +0 -2
  241. package/dist/types/interface/api/responses/user-application-log.response.d.ts +0 -11
  242. package/dist/types/interface/api/responses/user-application-log.response.js +0 -2
  243. package/dist/types/interface/api/responses/user-application-stats.admin.response.d.ts +0 -7
  244. package/dist/types/interface/api/responses/user-application-stats.admin.response.js +0 -2
  245. package/dist/types/interface/api/responses/user-application-stats.response.d.ts +0 -11
  246. package/dist/types/interface/api/responses/user-application-stats.response.js +0 -2
  247. package/dist/types/interface/api/responses/user-application.admin.response.d.ts +0 -17
  248. package/dist/types/interface/api/responses/user-application.admin.response.js +0 -2
  249. package/dist/types/interface/api/responses/user-application.response.d.ts +0 -120
  250. package/dist/types/interface/api/responses/user-application.response.js +0 -2
  251. package/dist/types/interface/api/responses/user.admin.response.d.ts +0 -15
  252. package/dist/types/interface/api/responses/user.admin.response.js +0 -2
  253. package/dist/types/interface/api/responses/user.response.d.ts +0 -13
  254. package/dist/types/interface/api/responses/user.response.js +0 -2
  255. package/dist/types/interface/models/cron-task-history.model.d.ts +0 -12
  256. package/dist/types/interface/models/cron-task-history.model.js +0 -2
  257. package/dist/types/interface/models/cron-task.model.d.ts +0 -13
  258. package/dist/types/interface/models/cron-task.model.js +0 -2
  259. package/dist/types/interface/models/log-console.model.d.ts +0 -17
  260. package/dist/types/interface/models/log-console.model.js +0 -2
  261. package/dist/types/interface/models/log-endpoint.model.d.ts +0 -22
  262. package/dist/types/interface/models/log-endpoint.model.js +0 -2
  263. package/dist/types/interface/models/user-application-alert.model.d.ts +0 -44
  264. package/dist/types/interface/models/user-application-alert.model.js +0 -2
  265. package/dist/types/interface/models/user-application-cron-task-history.model.d.ts +0 -11
  266. package/dist/types/interface/models/user-application-cron-task-history.model.js +0 -2
  267. package/dist/types/interface/models/user-application-cron-task.model.d.ts +0 -14
  268. package/dist/types/interface/models/user-application-cron-task.model.js +0 -2
  269. package/dist/types/interface/models/user-application-log-endpoint.model.d.ts +0 -20
  270. package/dist/types/interface/models/user-application-log-endpoint.model.js +0 -2
  271. package/dist/types/interface/models/user-application-log.model.d.ts +0 -21
  272. package/dist/types/interface/models/user-application-log.model.js +0 -2
  273. package/dist/types/interface/models/user-application-stats.model.d.ts +0 -14
  274. package/dist/types/interface/models/user-application-stats.model.js +0 -2
  275. package/dist/types/interface/models/user-application.model.d.ts +0 -15
  276. package/dist/types/interface/models/user-application.model.js +0 -2
  277. package/dist/types/interface/models/user.model.d.ts +0 -8
  278. package/dist/types/interface/models/user.model.js +0 -2
@@ -1,17 +1,17 @@
1
- import { IResponse, IApplicationStoreEntry, BasePaginate } from '../..';
2
- export interface IGetEntryApplicationStoreAdminData {
3
- applicationStoreEntry: IApplicationStoreEntry;
4
- }
5
- export declare type IGetEntryApplicationStoreAdminResponse = IResponse<IGetEntryApplicationStoreAdminData>;
6
- export declare type IPaginateEntryApplicationStoreAdminResponse = IResponse<BasePaginate<IApplicationStoreEntry>>;
7
- export interface ICreateEntryApplicationStoreAdminData {
8
- applicationStoreEntry: IApplicationStoreEntry;
9
- }
10
- export declare type ICreateEntryApplicationStoreAdminResponse = IResponse<ICreateEntryApplicationStoreAdminData>;
11
- export interface IUpdateEntryApplicationStoreAdminData {
12
- applicationStoreEntry: IApplicationStoreEntry;
13
- }
14
- export declare type IUpdateEntryApplicationStoreAdminResponse = IResponse<IUpdateEntryApplicationStoreAdminData>;
15
- export interface IDeleteEntryApplicationStoreAdminData {
16
- }
17
- export declare type IDeleteEntryApplicationStoreAdminResponse = IResponse<IDeleteEntryApplicationStoreAdminData>;
1
+ import { IResponse, IApplicationStoreEntry, BasePaginate } from '../..';
2
+ export interface IGetEntryApplicationStoreAdminData {
3
+ applicationStoreEntry: IApplicationStoreEntry;
4
+ }
5
+ export type IGetEntryApplicationStoreAdminResponse = IResponse<IGetEntryApplicationStoreAdminData>;
6
+ export type IPaginateEntryApplicationStoreAdminResponse = IResponse<BasePaginate<IApplicationStoreEntry>>;
7
+ export interface ICreateEntryApplicationStoreAdminData {
8
+ applicationStoreEntry: IApplicationStoreEntry;
9
+ }
10
+ export type ICreateEntryApplicationStoreAdminResponse = IResponse<ICreateEntryApplicationStoreAdminData>;
11
+ export interface IUpdateEntryApplicationStoreAdminData {
12
+ applicationStoreEntry: IApplicationStoreEntry;
13
+ }
14
+ export type IUpdateEntryApplicationStoreAdminResponse = IResponse<IUpdateEntryApplicationStoreAdminData>;
15
+ export interface IDeleteEntryApplicationStoreAdminData {
16
+ }
17
+ export type IDeleteEntryApplicationStoreAdminResponse = IResponse<IDeleteEntryApplicationStoreAdminData>;
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,21 +1,21 @@
1
- import { IResponse } from '../..';
2
- export interface IGetEntryBySlugApplicationStorePublicData {
3
- applicationStoreEntry: {
4
- id: string;
5
- slug: string;
6
- expireAt: Date | null;
7
- isActive: boolean;
8
- value: string;
9
- };
10
- }
11
- export declare type IGetEntryBySlugApplicationStorePublicResponse = IResponse<IGetEntryBySlugApplicationStorePublicData>;
12
- export interface IGetEntryByIdApplicationStorePublicData {
13
- applicationStoreEntry: {
14
- id: string;
15
- slug: string;
16
- expireAt: Date | null;
17
- isActive: boolean;
18
- value: string;
19
- };
20
- }
21
- export declare type IGetEntryByIdApplicationStorePublicResponse = IResponse<IGetEntryByIdApplicationStorePublicData>;
1
+ import { IResponse } from '../..';
2
+ export interface IGetEntryBySlugApplicationStorePublicData {
3
+ applicationStoreEntry: {
4
+ id: string;
5
+ slug: string;
6
+ expireAt: Date | null;
7
+ isActive: boolean;
8
+ value: string;
9
+ };
10
+ }
11
+ export type IGetEntryBySlugApplicationStorePublicResponse = IResponse<IGetEntryBySlugApplicationStorePublicData>;
12
+ export interface IGetEntryByIdApplicationStorePublicData {
13
+ applicationStoreEntry: {
14
+ id: string;
15
+ slug: string;
16
+ expireAt: Date | null;
17
+ isActive: boolean;
18
+ value: string;
19
+ };
20
+ }
21
+ export type IGetEntryByIdApplicationStorePublicResponse = IResponse<IGetEntryByIdApplicationStorePublicData>;
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,17 +1,17 @@
1
- import { IResponse, IApplicationStoreEntry, BasePaginate } from '../..';
2
- export interface IGetEntryApplicationStoreData {
3
- applicationStoreEntry: IApplicationStoreEntry;
4
- }
5
- export declare type IGetEntryApplicationStoreResponse = IResponse<IGetEntryApplicationStoreData>;
6
- export declare type IPaginateEntryApplicationStoreResponse = IResponse<BasePaginate<IApplicationStoreEntry>>;
7
- export interface ICreateEntryApplicationStoreData {
8
- applicationStoreEntry: IApplicationStoreEntry;
9
- }
10
- export declare type ICreateEntryApplicationStoreResponse = IResponse<ICreateEntryApplicationStoreData>;
11
- export interface IUpdateEntryApplicationStoreData {
12
- applicationStoreEntry: IApplicationStoreEntry;
13
- }
14
- export declare type IUpdateEntryApplicationStoreResponse = IResponse<IUpdateEntryApplicationStoreData>;
15
- export interface IDeleteEntryApplicationStoreData {
16
- }
17
- export declare type IDeleteEntryApplicationStoreResponse = IResponse<IDeleteEntryApplicationStoreData>;
1
+ import { IResponse, IApplicationStoreEntry, BasePaginate } from '../..';
2
+ export interface IGetEntryApplicationStoreData {
3
+ applicationStoreEntry: IApplicationStoreEntry;
4
+ }
5
+ export type IGetEntryApplicationStoreResponse = IResponse<IGetEntryApplicationStoreData>;
6
+ export type IPaginateEntryApplicationStoreResponse = IResponse<BasePaginate<IApplicationStoreEntry>>;
7
+ export interface ICreateEntryApplicationStoreData {
8
+ applicationStoreEntry: IApplicationStoreEntry;
9
+ }
10
+ export type ICreateEntryApplicationStoreResponse = IResponse<ICreateEntryApplicationStoreData>;
11
+ export interface IUpdateEntryApplicationStoreData {
12
+ applicationStoreEntry: IApplicationStoreEntry;
13
+ }
14
+ export type IUpdateEntryApplicationStoreResponse = IResponse<IUpdateEntryApplicationStoreData>;
15
+ export interface IDeleteEntryApplicationStoreData {
16
+ }
17
+ export type IDeleteEntryApplicationStoreResponse = IResponse<IDeleteEntryApplicationStoreData>;
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,33 +1,33 @@
1
- import { IResponse, IApplication, BasePaginate } from '../..';
2
- export interface IGetApplicationAdminData {
3
- application: IApplication;
4
- }
5
- export declare type IGetApplicationAdminResponse = IResponse<IGetApplicationAdminData>;
6
- export declare type IPaginateApplicationAdminResponse = IResponse<BasePaginate<IApplication>>;
7
- export interface IResetSecretPublishTokenApplicationAdminData {
8
- application: IApplication;
9
- }
10
- export declare type IResetSecretPublishTokenApplicationAdminResponse = IResponse<IResetSecretPublishTokenApplicationAdminData>;
11
- export interface ICreateApplicationAdminData {
12
- application: IApplication;
13
- }
14
- export declare type ICreateApplicationAdminResponse = IResponse<ICreateApplicationAdminData>;
15
- export declare type IDeleteApplicationAdminData = Record<string, never>;
16
- export declare type IDeleteApplicationAdminResponse = IResponse<IDeleteApplicationAdminData>;
17
- export interface IGetMetricsApplicationAdminData {
18
- logs: {
19
- total: number;
20
- applications: {
21
- id: string;
22
- total: number;
23
- }[];
24
- };
25
- endpoints: {
26
- total: number;
27
- applications: {
28
- id: string;
29
- total: number;
30
- }[];
31
- };
32
- }
33
- export declare type IGetMetricsApplicationAdminResponse = IResponse<IGetMetricsApplicationAdminData>;
1
+ import { IResponse, IApplication, BasePaginate } from '../..';
2
+ export interface IGetApplicationAdminData {
3
+ application: IApplication;
4
+ }
5
+ export type IGetApplicationAdminResponse = IResponse<IGetApplicationAdminData>;
6
+ export type IPaginateApplicationAdminResponse = IResponse<BasePaginate<IApplication>>;
7
+ export interface IResetSecretPublishTokenApplicationAdminData {
8
+ application: IApplication;
9
+ }
10
+ export type IResetSecretPublishTokenApplicationAdminResponse = IResponse<IResetSecretPublishTokenApplicationAdminData>;
11
+ export interface ICreateApplicationAdminData {
12
+ application: IApplication;
13
+ }
14
+ export type ICreateApplicationAdminResponse = IResponse<ICreateApplicationAdminData>;
15
+ export type IDeleteApplicationAdminData = Record<string, never>;
16
+ export type IDeleteApplicationAdminResponse = IResponse<IDeleteApplicationAdminData>;
17
+ export interface IGetMetricsApplicationAdminData {
18
+ logs: {
19
+ total: number;
20
+ applications: {
21
+ id: string;
22
+ total: number;
23
+ }[];
24
+ };
25
+ endpoints: {
26
+ total: number;
27
+ applications: {
28
+ id: string;
29
+ total: number;
30
+ }[];
31
+ };
32
+ }
33
+ export type IGetMetricsApplicationAdminResponse = IResponse<IGetMetricsApplicationAdminData>;
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,121 +1,129 @@
1
- import { IResponse, IApplication } from '../..';
2
- import { APIMethod } from '../../../enum';
3
- export interface IGetApplicationData {
4
- application: IApplication;
5
- }
6
- export declare type IGetApplicationResponse = IResponse<IGetApplicationData>;
7
- export interface IResetSecretPublishTokenApplicationData {
8
- application: IApplication;
9
- }
10
- export declare type IResetSecretPublishTokenApplicationResponse = IResponse<IResetSecretPublishTokenApplicationData>;
11
- export interface IGetLogAnalyticsApplicationData {
12
- firstLogDate: Date | null;
13
- logs: {
14
- log: number;
15
- warn: number;
16
- info: number;
17
- error: number;
18
- };
19
- totalLast24Hour: {
20
- log: number;
21
- warn: number;
22
- info: number;
23
- error: number;
24
- };
25
- logsPerDate: {
26
- log: number;
27
- warn: number;
28
- info: number;
29
- error: number;
30
- date: Date;
31
- }[];
32
- }
33
- export declare type IGetLogAnalyticsApplicationResponse = IResponse<IGetLogAnalyticsApplicationData>;
34
- export interface IGetAnalyticsApplicationData {
35
- statsLast24Hour: {
36
- cpu: number;
37
- ram: number;
38
- disk: number;
39
- };
40
- stats: {
41
- cpu: number;
42
- ram: number;
43
- disk: number;
44
- };
45
- cronTaskHistoryLast24Hour: number;
46
- cronTask: number;
47
- }
48
- export declare type IGetAnalyticsApplicationResponse = IResponse<IGetAnalyticsApplicationData>;
49
- export interface IGetStatsAnalyticsApplicationData {
50
- statsPerPeriod: {
51
- cpu: number | null;
52
- cpuPercent: number | null;
53
- ram: number | null;
54
- ramPercent: number | null;
55
- disk: number | null;
56
- diskPercent: number | null;
57
- date: Date;
58
- }[];
59
- firstDate: Date | null;
60
- }
61
- export declare type IGetStatsAnalyticsApplicationResponse = IResponse<IGetStatsAnalyticsApplicationData>;
62
- export interface IGetEndpointOnPeriodAnalyticsApplicationData {
63
- endpointPerPeriod: {
64
- informational: number;
65
- successful: number;
66
- redirection: number;
67
- clientError: number;
68
- serverError: number;
69
- averageResponseTime: number;
70
- upload: number;
71
- download: number;
72
- date: Date;
73
- }[];
74
- }
75
- export declare type IGetEndpointOnPeriodAnalyticsApplicationResponse = IResponse<IGetEndpointOnPeriodAnalyticsApplicationData>;
76
- export interface IGetEndpointAnalyticsApplicationData {
77
- ever: {
78
- total: number;
79
- informational: number;
80
- successful: number;
81
- redirection: number;
82
- clientError: number;
83
- serverError: number;
84
- averageResponseTime: number;
85
- upload: number;
86
- download: number;
87
- };
88
- endpointLast24Hour: {
89
- total: number;
90
- informational: number;
91
- successful: number;
92
- redirection: number;
93
- clientError: number;
94
- serverError: number;
95
- averageResponseTime: number;
96
- upload: number;
97
- download: number;
98
- };
99
- }
100
- export declare type IGetEndpointAnalyticsApplicationResponse = IResponse<IGetEndpointAnalyticsApplicationData>;
101
- export interface IGetSlowerEndpointAnalyticsApplicationData {
102
- slowerEndpoint: {
103
- minResponseTime: number;
104
- maxResponseTime: number;
105
- averageResponseTime: number;
106
- endpoint: string;
107
- controller: string;
108
- method: APIMethod;
109
- count: number;
110
- }[];
111
- slowerEndpointLast24Hour: {
112
- minResponseTime: number;
113
- maxResponseTime: number;
114
- averageResponseTime: number;
115
- endpoint: string;
116
- controller: string;
117
- method: APIMethod;
118
- count: number;
119
- }[];
120
- }
121
- export declare type IGetSlowerEndpointAnalyticsApplicationResponse = IResponse<IGetSlowerEndpointAnalyticsApplicationData>;
1
+ import { IResponse, IApplication } from '../..';
2
+ import { APIMethod } from '../../../enum';
3
+ export interface IGetApplicationData {
4
+ application: IApplication;
5
+ }
6
+ export type IGetApplicationResponse = IResponse<IGetApplicationData>;
7
+ export interface IResetSecretPublishTokenApplicationData {
8
+ application: IApplication;
9
+ }
10
+ export type IResetSecretPublishTokenApplicationResponse = IResponse<IResetSecretPublishTokenApplicationData>;
11
+ export interface IGetLogAnalyticsApplicationData {
12
+ firstLogDate: Date | null;
13
+ logs: {
14
+ log: number;
15
+ warn: number;
16
+ info: number;
17
+ error: number;
18
+ };
19
+ totalLast24Hour: {
20
+ log: number;
21
+ warn: number;
22
+ info: number;
23
+ error: number;
24
+ };
25
+ logsPerDate: {
26
+ log: number;
27
+ warn: number;
28
+ info: number;
29
+ error: number;
30
+ date: Date;
31
+ }[];
32
+ }
33
+ export type IGetLogAnalyticsApplicationResponse = IResponse<IGetLogAnalyticsApplicationData>;
34
+ export interface IGetAnalyticsApplicationData {
35
+ statsLast24Hour: {
36
+ cpu: number;
37
+ ram: number;
38
+ disk: number;
39
+ };
40
+ stats: {
41
+ cpu: number;
42
+ ram: number;
43
+ disk: number;
44
+ };
45
+ cronTaskHistoryLast24Hour: number;
46
+ cronTask: number;
47
+ }
48
+ export type IGetAnalyticsApplicationResponse = IResponse<IGetAnalyticsApplicationData>;
49
+ export interface IGetStatsAnalyticsApplicationData {
50
+ statsPerPeriod: {
51
+ cpu: number | null;
52
+ cpuPercent: number | null;
53
+ ram: number | null;
54
+ ramPercent: number | null;
55
+ disk: number | null;
56
+ diskPercent: number | null;
57
+ date: Date;
58
+ }[];
59
+ firstDate: Date | null;
60
+ }
61
+ export type IGetStatsAnalyticsApplicationResponse = IResponse<IGetStatsAnalyticsApplicationData>;
62
+ export interface IGetEndpointOnPeriodAnalyticsApplicationData {
63
+ endpointPerPeriod: {
64
+ informational: number;
65
+ successful: number;
66
+ redirection: number;
67
+ clientError: number;
68
+ serverError: number;
69
+ averageResponseTime: number;
70
+ upload: number;
71
+ download: number;
72
+ date: Date;
73
+ }[];
74
+ }
75
+ export type IGetEndpointOnPeriodAnalyticsApplicationResponse = IResponse<IGetEndpointOnPeriodAnalyticsApplicationData>;
76
+ export interface IGetEndpointAnalyticsApplicationData {
77
+ ever: {
78
+ total: number;
79
+ informational: number;
80
+ successful: number;
81
+ redirection: number;
82
+ clientError: number;
83
+ serverError: number;
84
+ averageResponseTime: number;
85
+ upload: number;
86
+ download: number;
87
+ };
88
+ endpointLast24Hour: {
89
+ total: number;
90
+ informational: number;
91
+ successful: number;
92
+ redirection: number;
93
+ clientError: number;
94
+ serverError: number;
95
+ averageResponseTime: number;
96
+ upload: number;
97
+ download: number;
98
+ };
99
+ }
100
+ export type IGetEndpointAnalyticsApplicationResponse = IResponse<IGetEndpointAnalyticsApplicationData>;
101
+ export interface IGetSlowerEndpointAnalyticsApplicationData {
102
+ slowerEndpoint: {
103
+ minResponseTime: number;
104
+ maxResponseTime: number;
105
+ averageResponseTime: number;
106
+ endpoint: string;
107
+ controller: string;
108
+ method: APIMethod;
109
+ count: number;
110
+ }[];
111
+ slowerEndpointLast24Hour: {
112
+ minResponseTime: number;
113
+ maxResponseTime: number;
114
+ averageResponseTime: number;
115
+ endpoint: string;
116
+ controller: string;
117
+ method: APIMethod;
118
+ count: number;
119
+ }[];
120
+ }
121
+ export type IGetSlowerEndpointAnalyticsApplicationResponse = IResponse<IGetSlowerEndpointAnalyticsApplicationData>;
122
+ export interface ICallPerControllerAnalyticsApplicationData {
123
+ callPerController: {
124
+ controller: string;
125
+ method: APIMethod;
126
+ callCount: number;
127
+ }[];
128
+ }
129
+ export type ICallPerControllerAnalyticsApplicationResponse = IResponse<ICallPerControllerAnalyticsApplicationData>;
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,7 +1,7 @@
1
- import { IResponse } from '..';
2
- export interface IUpMonitorData {
3
- upTime: number;
4
- processId: string;
5
- requestId: string;
6
- }
7
- export declare type IUpMonitorResponse = IResponse<IUpMonitorData>;
1
+ import { IResponse } from '..';
2
+ export interface IUpMonitorData {
3
+ upTime: number;
4
+ processId: string;
5
+ requestId: string;
6
+ }
7
+ export type IUpMonitorResponse = IResponse<IUpMonitorData>;
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +1,8 @@
1
- import { Code, ErrorType } from '../../../enum';
2
- export interface IApiError {
3
- type: ErrorType;
4
- code: Code;
5
- message: string;
6
- params?: string;
7
- field?: string;
8
- }
1
+ import { Code, ErrorType } from '../../../enum';
2
+ export interface IApiError {
3
+ type: ErrorType;
4
+ code: Code;
5
+ message: string;
6
+ params?: string;
7
+ field?: string;
8
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +1,4 @@
1
- export interface BaseOrder {
2
- orderBy?: string;
3
- descending?: boolean;
4
- }
1
+ export interface BaseOrder {
2
+ orderBy?: string;
3
+ descending?: boolean;
4
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,10 +1,10 @@
1
- export interface BasePaginate<T> {
2
- maxPages: number;
3
- currentPage: number;
4
- totalItems: number;
5
- data: T[];
6
- }
7
- export interface QueryPaginate {
8
- page?: number;
9
- limit?: number;
10
- }
1
+ export interface BasePaginate<T> {
2
+ maxPages: number;
3
+ currentPage: number;
4
+ totalItems: number;
5
+ data: T[];
6
+ }
7
+ export interface QueryPaginate {
8
+ page?: number;
9
+ limit?: number;
10
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,5 +1,5 @@
1
- import { IApiError } from './api-error';
2
- export interface IResponse<T> {
3
- data: T;
4
- error?: IApiError | Error;
5
- }
1
+ import { IApiError } from './api-error';
2
+ export interface IResponse<T> {
3
+ data: T;
4
+ error?: IApiError | Error;
5
+ }
@@ -1,2 +1,2 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,8 +1,9 @@
1
- export * from './models/application.model';
2
- export * from './models/application-store-entry.model';
3
- export * from './models/application-stats.model';
4
- export * from './models/application-log.model';
5
- export * from './models/application-log-endpoint.model';
6
- export * from './models/application-cron-task.model';
7
- export * from './models/application-cron-task-history.model';
8
- export * from './api';
1
+ export * from './models/application.model';
2
+ export * from './models/application-store-entry.model';
3
+ export * from './models/application-stats.model';
4
+ export * from './models/application-log.model';
5
+ export * from './models/application-log-endpoint.model';
6
+ export * from './models/application-cron-task.model';
7
+ export * from './models/application-cron-task-history.model';
8
+ export * from './models/application-event.model';
9
+ export * from './api';
@@ -1,20 +1,25 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
- };
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./models/application.model"), exports);
14
- __exportStar(require("./models/application-store-entry.model"), exports);
15
- __exportStar(require("./models/application-stats.model"), exports);
16
- __exportStar(require("./models/application-log.model"), exports);
17
- __exportStar(require("./models/application-log-endpoint.model"), exports);
18
- __exportStar(require("./models/application-cron-task.model"), exports);
19
- __exportStar(require("./models/application-cron-task-history.model"), exports);
20
- __exportStar(require("./api"), exports);
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
+ for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
+ };
16
+ Object.defineProperty(exports, "__esModule", { value: true });
17
+ __exportStar(require("./models/application.model"), exports);
18
+ __exportStar(require("./models/application-store-entry.model"), exports);
19
+ __exportStar(require("./models/application-stats.model"), exports);
20
+ __exportStar(require("./models/application-log.model"), exports);
21
+ __exportStar(require("./models/application-log-endpoint.model"), exports);
22
+ __exportStar(require("./models/application-cron-task.model"), exports);
23
+ __exportStar(require("./models/application-cron-task-history.model"), exports);
24
+ __exportStar(require("./models/application-event.model"), exports);
25
+ __exportStar(require("./api"), exports);