namirasoft-infra 1.4.2 → 1.4.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 (185) hide show
  1. package/dist/NamirasoftInfraServer.js +1 -1
  2. package/dist/command/AlertCreateCommand.js +1 -1
  3. package/dist/command/AlertCreateCommand.js.map +1 -1
  4. package/dist/command/AlertUpdateCommand.js +1 -1
  5. package/dist/command/AlertUpdateCommand.js.map +1 -1
  6. package/dist/command/CloudCreateCommand.js +1 -1
  7. package/dist/command/CloudCreateCommand.js.map +1 -1
  8. package/dist/command/CloudUpdateCommand.js +1 -1
  9. package/dist/command/CloudUpdateCommand.js.map +1 -1
  10. package/dist/command/DatabaseCreateCommand.js +1 -1
  11. package/dist/command/DatabaseCreateCommand.js.map +1 -1
  12. package/dist/command/DatabaseUpdateCommand.js +1 -1
  13. package/dist/command/DatabaseUpdateCommand.js.map +1 -1
  14. package/dist/command/EnvironmentCreateCommand.js +1 -1
  15. package/dist/command/EnvironmentCreateCommand.js.map +1 -1
  16. package/dist/command/EnvironmentUpdateCommand.js +1 -1
  17. package/dist/command/EnvironmentUpdateCommand.js.map +1 -1
  18. package/dist/command/InMemoryStoreCreateCommand.js +1 -1
  19. package/dist/command/InMemoryStoreCreateCommand.js.map +1 -1
  20. package/dist/command/InMemoryStoreUpdateCommand.js +1 -1
  21. package/dist/command/InMemoryStoreUpdateCommand.js.map +1 -1
  22. package/dist/command/IncidentCreateCommand.js +1 -1
  23. package/dist/command/IncidentCreateCommand.js.map +1 -1
  24. package/dist/command/IncidentUpdateCommand.js +1 -1
  25. package/dist/command/IncidentUpdateCommand.js.map +1 -1
  26. package/dist/command/KubernetesCreateCommand.js +19 -1
  27. package/dist/command/KubernetesCreateCommand.js.map +1 -1
  28. package/dist/command/KubernetesUpdateCommand.js +19 -1
  29. package/dist/command/KubernetesUpdateCommand.js.map +1 -1
  30. package/dist/command/MessageBrokerCreateCommand.js +1 -1
  31. package/dist/command/MessageBrokerCreateCommand.js.map +1 -1
  32. package/dist/command/MessageBrokerUpdateCommand.js +1 -1
  33. package/dist/command/MessageBrokerUpdateCommand.js.map +1 -1
  34. package/dist/command/MetricCreateCommand.js +4 -13
  35. package/dist/command/MetricCreateCommand.js.map +1 -1
  36. package/dist/command/MetricUpdateCommand.js +4 -13
  37. package/dist/command/MetricUpdateCommand.js.map +1 -1
  38. package/dist/command/MonitorCreateCommand.js +5 -14
  39. package/dist/command/MonitorCreateCommand.js.map +1 -1
  40. package/dist/command/MonitorUpdateCommand.js +5 -14
  41. package/dist/command/MonitorUpdateCommand.js.map +1 -1
  42. package/dist/command/ProjectCreateCommand.js +1 -1
  43. package/dist/command/ProjectCreateCommand.js.map +1 -1
  44. package/dist/command/ProjectUpdateCommand.js +1 -1
  45. package/dist/command/ProjectUpdateCommand.js.map +1 -1
  46. package/dist/command/ServerCreateCommand.js +10 -1
  47. package/dist/command/ServerCreateCommand.js.map +1 -1
  48. package/dist/command/ServerUpdateCommand.js +10 -1
  49. package/dist/command/ServerUpdateCommand.js.map +1 -1
  50. package/dist/enum/CloudType.d.ts +6 -0
  51. package/dist/enum/CloudType.js +11 -0
  52. package/dist/enum/CloudType.js.map +1 -0
  53. package/dist/enum/KubernetesCloud.d.ts +6 -0
  54. package/dist/enum/KubernetesCloud.js +11 -0
  55. package/dist/enum/KubernetesCloud.js.map +1 -0
  56. package/dist/enum/ServerCloud.d.ts +6 -0
  57. package/dist/enum/ServerCloud.js +11 -0
  58. package/dist/enum/ServerCloud.js.map +1 -0
  59. package/dist/index.d.ts +3 -2
  60. package/dist/index.js +3 -2
  61. package/dist/index.js.map +1 -1
  62. package/dist/meta/AlertMetaTable.js +1 -1
  63. package/dist/meta/AlertMetaTable.js.map +1 -1
  64. package/dist/meta/CloudMetaTable.js +2 -2
  65. package/dist/meta/CloudMetaTable.js.map +1 -1
  66. package/dist/meta/DatabaseMetaTable.js +1 -1
  67. package/dist/meta/DatabaseMetaTable.js.map +1 -1
  68. package/dist/meta/EnvironmentMetaTable.js +1 -1
  69. package/dist/meta/EnvironmentMetaTable.js.map +1 -1
  70. package/dist/meta/InMemoryStoreMetaTable.js +1 -1
  71. package/dist/meta/InMemoryStoreMetaTable.js.map +1 -1
  72. package/dist/meta/IncidentMetaTable.js +1 -1
  73. package/dist/meta/IncidentMetaTable.js.map +1 -1
  74. package/dist/meta/KubernetesMetaTable.d.ts +2 -0
  75. package/dist/meta/KubernetesMetaTable.js +3 -1
  76. package/dist/meta/KubernetesMetaTable.js.map +1 -1
  77. package/dist/meta/MessageBrokerMetaTable.js +1 -1
  78. package/dist/meta/MessageBrokerMetaTable.js.map +1 -1
  79. package/dist/meta/MetricMetaTable.d.ts +1 -2
  80. package/dist/meta/MetricMetaTable.js +1 -2
  81. package/dist/meta/MetricMetaTable.js.map +1 -1
  82. package/dist/meta/MonitorMetaTable.d.ts +1 -2
  83. package/dist/meta/MonitorMetaTable.js +2 -3
  84. package/dist/meta/MonitorMetaTable.js.map +1 -1
  85. package/dist/meta/ProjectMetaTable.js +1 -1
  86. package/dist/meta/ProjectMetaTable.js.map +1 -1
  87. package/dist/meta/ServerMetaTable.d.ts +1 -0
  88. package/dist/meta/ServerMetaTable.js +2 -1
  89. package/dist/meta/ServerMetaTable.js.map +1 -1
  90. package/dist/row/AlertInputRow.d.ts +1 -1
  91. package/dist/row/AlertRow.d.ts +1 -1
  92. package/dist/row/CloudInputRow.d.ts +3 -2
  93. package/dist/row/CloudRow.d.ts +3 -2
  94. package/dist/row/DatabaseInputRow.d.ts +1 -1
  95. package/dist/row/DatabaseRow.d.ts +1 -1
  96. package/dist/row/EnvironmentInputRow.d.ts +1 -1
  97. package/dist/row/EnvironmentRow.d.ts +1 -1
  98. package/dist/row/InMemoryStoreInputRow.d.ts +1 -1
  99. package/dist/row/InMemoryStoreRow.d.ts +1 -1
  100. package/dist/row/IncidentInputRow.d.ts +1 -1
  101. package/dist/row/IncidentRow.d.ts +1 -1
  102. package/dist/row/KubernetesInputRow.d.ts +4 -1
  103. package/dist/row/KubernetesRow.d.ts +4 -1
  104. package/dist/row/MessageBrokerInputRow.d.ts +1 -1
  105. package/dist/row/MessageBrokerRow.d.ts +1 -1
  106. package/dist/row/MetricInputRow.d.ts +1 -3
  107. package/dist/row/MetricRow.d.ts +1 -3
  108. package/dist/row/MonitorInputRow.d.ts +2 -4
  109. package/dist/row/MonitorRow.d.ts +2 -4
  110. package/dist/row/ProjectInputRow.d.ts +1 -1
  111. package/dist/row/ProjectRow.d.ts +1 -1
  112. package/dist/row/ServerInputRow.d.ts +3 -1
  113. package/dist/row/ServerRow.d.ts +3 -1
  114. package/package.json +1 -1
  115. package/src/NamirasoftInfraServer.ts +1 -1
  116. package/src/command/AlertCreateCommand.ts +1 -1
  117. package/src/command/AlertUpdateCommand.ts +1 -1
  118. package/src/command/CloudCreateCommand.ts +1 -1
  119. package/src/command/CloudUpdateCommand.ts +1 -1
  120. package/src/command/DatabaseCreateCommand.ts +1 -1
  121. package/src/command/DatabaseUpdateCommand.ts +1 -1
  122. package/src/command/EnvironmentCreateCommand.ts +1 -1
  123. package/src/command/EnvironmentUpdateCommand.ts +1 -1
  124. package/src/command/InMemoryStoreCreateCommand.ts +1 -1
  125. package/src/command/InMemoryStoreUpdateCommand.ts +1 -1
  126. package/src/command/IncidentCreateCommand.ts +1 -1
  127. package/src/command/IncidentUpdateCommand.ts +1 -1
  128. package/src/command/KubernetesCreateCommand.ts +19 -1
  129. package/src/command/KubernetesUpdateCommand.ts +19 -1
  130. package/src/command/MessageBrokerCreateCommand.ts +1 -1
  131. package/src/command/MessageBrokerUpdateCommand.ts +1 -1
  132. package/src/command/MetricCreateCommand.ts +4 -13
  133. package/src/command/MetricUpdateCommand.ts +4 -13
  134. package/src/command/MonitorCreateCommand.ts +5 -14
  135. package/src/command/MonitorUpdateCommand.ts +5 -14
  136. package/src/command/ProjectCreateCommand.ts +1 -1
  137. package/src/command/ProjectUpdateCommand.ts +1 -1
  138. package/src/command/ServerCreateCommand.ts +10 -1
  139. package/src/command/ServerUpdateCommand.ts +10 -1
  140. package/src/enum/{MetricIntervalUnit.ts → CloudType.ts} +5 -4
  141. package/src/enum/{MonitorHeartbeatIntervalUnit.ts → KubernetesCloud.ts} +5 -4
  142. package/src/enum/ServerCloud.ts +27 -0
  143. package/src/index.ts +3 -2
  144. package/src/meta/AlertMetaTable.ts +1 -1
  145. package/src/meta/CloudMetaTable.ts +2 -2
  146. package/src/meta/DatabaseMetaTable.ts +1 -1
  147. package/src/meta/EnvironmentMetaTable.ts +1 -1
  148. package/src/meta/InMemoryStoreMetaTable.ts +1 -1
  149. package/src/meta/IncidentMetaTable.ts +1 -1
  150. package/src/meta/KubernetesMetaTable.ts +5 -1
  151. package/src/meta/MessageBrokerMetaTable.ts +1 -1
  152. package/src/meta/MetricMetaTable.ts +2 -4
  153. package/src/meta/MonitorMetaTable.ts +3 -5
  154. package/src/meta/ProjectMetaTable.ts +1 -1
  155. package/src/meta/ServerMetaTable.ts +3 -1
  156. package/src/row/AlertInputRow.ts +1 -1
  157. package/src/row/AlertRow.ts +1 -1
  158. package/src/row/CloudInputRow.ts +4 -2
  159. package/src/row/CloudRow.ts +4 -2
  160. package/src/row/DatabaseInputRow.ts +1 -1
  161. package/src/row/DatabaseRow.ts +1 -1
  162. package/src/row/EnvironmentInputRow.ts +1 -1
  163. package/src/row/EnvironmentRow.ts +1 -1
  164. package/src/row/InMemoryStoreInputRow.ts +1 -1
  165. package/src/row/InMemoryStoreRow.ts +1 -1
  166. package/src/row/IncidentInputRow.ts +1 -1
  167. package/src/row/IncidentRow.ts +1 -1
  168. package/src/row/KubernetesInputRow.ts +5 -1
  169. package/src/row/KubernetesRow.ts +5 -1
  170. package/src/row/MessageBrokerInputRow.ts +1 -1
  171. package/src/row/MessageBrokerRow.ts +1 -1
  172. package/src/row/MetricInputRow.ts +1 -3
  173. package/src/row/MetricRow.ts +1 -3
  174. package/src/row/MonitorInputRow.ts +2 -4
  175. package/src/row/MonitorRow.ts +2 -4
  176. package/src/row/ProjectInputRow.ts +1 -1
  177. package/src/row/ProjectRow.ts +1 -1
  178. package/src/row/ServerInputRow.ts +3 -1
  179. package/src/row/ServerRow.ts +3 -1
  180. package/dist/enum/MetricIntervalUnit.d.ts +0 -5
  181. package/dist/enum/MetricIntervalUnit.js +0 -10
  182. package/dist/enum/MetricIntervalUnit.js.map +0 -1
  183. package/dist/enum/MonitorHeartbeatIntervalUnit.d.ts +0 -5
  184. package/dist/enum/MonitorHeartbeatIntervalUnit.js +0 -10
  185. package/dist/enum/MonitorHeartbeatIntervalUnit.js.map +0 -1
@@ -59,7 +59,7 @@ export class InMemoryStoreMetaTable extends NSBaseMetaTable<NamirasoftInfraServe
59
59
  connect_type: new BaseMetaColumn(this, "connect_type", "Connect Type", "Enum", true),
60
60
  connect_server_id: new BaseMetaColumn(this, "connect_server_id", "Connect Server ID", "String", false),
61
61
  connect_kubernetes_id: new BaseMetaColumn(this, "connect_kubernetes_id", "Connect Kubernetes ID", "String", false),
62
- description: new BaseMetaColumn(this, "description", "Description", "String", true),
62
+ description: new BaseMetaColumn(this, "description", "Description", "String", false),
63
63
  created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
64
64
  updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
65
65
  };
@@ -55,7 +55,7 @@ export class IncidentMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, In
55
55
  metric_id: new BaseMetaColumn(this, "metric_id", "Metric ID", "String", true),
56
56
  chat_id: new BaseMetaColumn(this, "chat_id", "Chat ID", "String", true),
57
57
  status: new BaseMetaColumn(this, "status", "Status", "Enum", true),
58
- description: new BaseMetaColumn(this, "description", "Description", "String", true),
58
+ description: new BaseMetaColumn(this, "description", "Description", "String", false),
59
59
  created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
60
60
  updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
61
61
  };
@@ -35,6 +35,8 @@ export class KubernetesMetaTable extends NSBaseMetaTable<NamirasoftInfraServer,
35
35
  project_id: BaseMetaColumn;
36
36
  environment_id: BaseMetaColumn;
37
37
  log_group_id: BaseMetaColumn;
38
+ kubctl_on_server_id: BaseMetaColumn;
39
+ cloud: BaseMetaColumn;
38
40
  name: BaseMetaColumn;
39
41
  description: BaseMetaColumn;
40
42
  hash: BaseMetaColumn;
@@ -55,8 +57,10 @@ export class KubernetesMetaTable extends NSBaseMetaTable<NamirasoftInfraServer,
55
57
  project_id: new BaseMetaColumn(this, "project_id", "Project ID", "String", true),
56
58
  environment_id: new BaseMetaColumn(this, "environment_id", "Environment ID", "String", true),
57
59
  log_group_id: new BaseMetaColumn(this, "log_group_id", "Log Group ID", "String", false),
60
+ kubctl_on_server_id: new BaseMetaColumn(this, "kubctl_on_server_id", "Kubctl On Server ID", "String", true),
61
+ cloud: new BaseMetaColumn(this, "cloud", "Cloud", "Enum", true),
58
62
  name: new BaseMetaColumn(this, "name", "Name", "String", true),
59
- description: new BaseMetaColumn(this, "description", "Description", "String", true),
63
+ description: new BaseMetaColumn(this, "description", "Description", "String", false),
60
64
  hash: new BaseMetaColumn(this, "hash", "Hash", "String", true),
61
65
  ip_public: new BaseMetaColumn(this, "ip_public", "IP Public", "String", true),
62
66
  last_sync: new BaseMetaColumn(this, "last_sync", "Last Sync", "String", true),
@@ -59,7 +59,7 @@ export class MessageBrokerMetaTable extends NSBaseMetaTable<NamirasoftInfraServe
59
59
  connect_type: new BaseMetaColumn(this, "connect_type", "Connect Type", "Enum", true),
60
60
  connect_server_id: new BaseMetaColumn(this, "connect_server_id", "Connect Server ID", "String", false),
61
61
  connect_kubernetes_id: new BaseMetaColumn(this, "connect_kubernetes_id", "Connect Kubernetes ID", "String", false),
62
- description: new BaseMetaColumn(this, "description", "Description", "String", true),
62
+ description: new BaseMetaColumn(this, "description", "Description", "String", false),
63
63
  created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
64
64
  updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
65
65
  };
@@ -37,8 +37,7 @@ export class MetricMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, Metr
37
37
  caller_server_id: BaseMetaColumn;
38
38
  caller_kubernetes_id: BaseMetaColumn;
39
39
  url: BaseMetaColumn;
40
- interval_value: BaseMetaColumn;
41
- interval_unit: BaseMetaColumn;
40
+ interval_scheduler_id: BaseMetaColumn;
42
41
  description: BaseMetaColumn;
43
42
  created_at: BaseMetaColumn;
44
43
  updated_at: BaseMetaColumn;
@@ -57,8 +56,7 @@ export class MetricMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, Metr
57
56
  caller_server_id: new BaseMetaColumn(this, "caller_server_id", "Caller Server ID", "String", false),
58
57
  caller_kubernetes_id: new BaseMetaColumn(this, "caller_kubernetes_id", "Caller Kubernetes ID", "String", false),
59
58
  url: new BaseMetaColumn(this, "url", "URL", "String", true),
60
- interval_value: new BaseMetaColumn(this, "interval_value", "Interval Value", "Integer", true),
61
- interval_unit: new BaseMetaColumn(this, "interval_unit", "Interval Unit", "Enum", true),
59
+ interval_scheduler_id: new BaseMetaColumn(this, "interval_scheduler_id", "Interval Scheduler ID", "String", true),
62
60
  description: new BaseMetaColumn(this, "description", "Description", "String", true),
63
61
  created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
64
62
  updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
@@ -38,8 +38,7 @@ export class MonitorMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, Mon
38
38
  caller_server_id: BaseMetaColumn;
39
39
  caller_kubernetes_id: BaseMetaColumn;
40
40
  up_side_down: BaseMetaColumn;
41
- heartbeat_interval_value: BaseMetaColumn;
42
- heartbeat_interval_unit: BaseMetaColumn;
41
+ heartbeat_interval_scheduler_id: BaseMetaColumn;
43
42
  retries: BaseMetaColumn;
44
43
  heartbeat_retry_interval_value: BaseMetaColumn;
45
44
  heartbeat_retry_interval_unit: BaseMetaColumn;
@@ -85,8 +84,7 @@ export class MonitorMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, Mon
85
84
  caller_server_id: new BaseMetaColumn(this, "caller_server_id", "Caller Server ID", "String", false),
86
85
  caller_kubernetes_id: new BaseMetaColumn(this, "caller_kubernetes_id", "Caller Kubernetes ID", "String", false),
87
86
  up_side_down: new BaseMetaColumn(this, "up_side_down", "Up Side Down", "Boolean", true),
88
- heartbeat_interval_value: new BaseMetaColumn(this, "heartbeat_interval_value", "Heartbeat Interval Value", "Integer", true),
89
- heartbeat_interval_unit: new BaseMetaColumn(this, "heartbeat_interval_unit", "Heartbeat Interval Unit", "Enum", true),
87
+ heartbeat_interval_scheduler_id: new BaseMetaColumn(this, "heartbeat_interval_scheduler_id", "Heartbeat Interval Scheduler ID", "String", true),
90
88
  retries: new BaseMetaColumn(this, "retries", "Retries", "Integer", true),
91
89
  heartbeat_retry_interval_value: new BaseMetaColumn(this, "heartbeat_retry_interval_value", "Heartbeat Retry Interval Value", "Integer", true),
92
90
  heartbeat_retry_interval_unit: new BaseMetaColumn(this, "heartbeat_retry_interval_unit", "Heartbeat Retry Interval Unit", "Enum", true),
@@ -113,7 +111,7 @@ export class MonitorMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, Mon
113
111
  docker_container_id_or_name: new BaseMetaColumn(this, "docker_container_id_or_name", "Docker Container ID Or Name", "String", false),
114
112
  kubernetes_pod_controller_type: new BaseMetaColumn(this, "kubernetes_pod_controller_type", "Kubernetes Pod Controller Type", "Enum", false),
115
113
  kubernetes_pod_controller_name: new BaseMetaColumn(this, "kubernetes_pod_controller_name", "Kubernetes Pod Controller Name", "String", false),
116
- description: new BaseMetaColumn(this, "description", "Description", "String", true),
114
+ description: new BaseMetaColumn(this, "description", "Description", "String", false),
117
115
  created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
118
116
  updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
119
117
  };
@@ -43,7 +43,7 @@ export class ProjectMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, Pro
43
43
  user_id: new BaseMetaColumn(this, "user_id", "User ID", "String", true),
44
44
  workspace_id: new BaseMetaColumn(this, "workspace_id", "Workspace ID", "String", true),
45
45
  name: new BaseMetaColumn(this, "name", "Name", "String", true),
46
- description: new BaseMetaColumn(this, "description", "Description", "String", true),
46
+ description: new BaseMetaColumn(this, "description", "Description", "String", false),
47
47
  created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
48
48
  updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
49
49
  };
@@ -35,6 +35,7 @@ export class ServerMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, Serv
35
35
  project_id: BaseMetaColumn;
36
36
  environment_id: BaseMetaColumn;
37
37
  log_group_id: BaseMetaColumn;
38
+ cloud: BaseMetaColumn;
38
39
  name: BaseMetaColumn;
39
40
  metric_retention_unit: BaseMetaColumn;
40
41
  metric_retention_value: BaseMetaColumn;
@@ -67,10 +68,11 @@ export class ServerMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, Serv
67
68
  project_id: new BaseMetaColumn(this, "project_id", "Project ID", "String", true),
68
69
  environment_id: new BaseMetaColumn(this, "environment_id", "Environment ID", "String", true),
69
70
  log_group_id: new BaseMetaColumn(this, "log_group_id", "Log Group ID", "String", false),
71
+ cloud: new BaseMetaColumn(this, "cloud", "Cloud", "Enum", true),
70
72
  name: new BaseMetaColumn(this, "name", "Name", "String", true),
71
73
  metric_retention_unit: new BaseMetaColumn(this, "metric_retention_unit", "Metric Retention Unit", "Enum", true),
72
74
  metric_retention_value: new BaseMetaColumn(this, "metric_retention_value", "Metric Retention Value", "Integer", true),
73
- description: new BaseMetaColumn(this, "description", "Description", "String", true),
75
+ description: new BaseMetaColumn(this, "description", "Description", "String", false),
74
76
  hash: new BaseMetaColumn(this, "hash", "Hash", "String", true),
75
77
  ip_public: new BaseMetaColumn(this, "ip_public", "IP Public", "String", true),
76
78
  ip_private: new BaseMetaColumn(this, "ip_private", "IP Private", "String", true),
@@ -35,5 +35,5 @@ export type AlertInputRow =
35
35
  trigger_aggregator: AlertTriggerAggregator;
36
36
  trigger_operator: AlertTriggerOperator;
37
37
  threshold: string;
38
- description: string;
38
+ description: (string | null);
39
39
  }
@@ -37,7 +37,7 @@ export type AlertRow =
37
37
  trigger_aggregator: AlertTriggerAggregator;
38
38
  trigger_operator: AlertTriggerOperator;
39
39
  threshold: string;
40
- description: string;
40
+ description: (string | null);
41
41
  created_at: Date;
42
42
  updated_at: Date;
43
43
  }
@@ -18,11 +18,13 @@
18
18
  /* */
19
19
  /****************************************************************/
20
20
 
21
+ import { CloudType } from "../enum/CloudType";
22
+
21
23
  export type CloudInputRow =
22
24
  {
23
25
  workspace_id: string;
24
26
  ctl_on_server_id: string;
25
27
  name: string;
26
- type: string;
27
- description: string;
28
+ type: CloudType;
29
+ description: (string | null);
28
30
  }
@@ -18,6 +18,8 @@
18
18
  /* */
19
19
  /****************************************************************/
20
20
 
21
+ import { CloudType } from "../enum/CloudType";
22
+
21
23
  export type CloudRow =
22
24
  {
23
25
  id: string;
@@ -25,8 +27,8 @@ export type CloudRow =
25
27
  workspace_id: string;
26
28
  ctl_on_server_id: string;
27
29
  name: string;
28
- type: string;
29
- description: string;
30
+ type: CloudType;
31
+ description: (string | null);
30
32
  created_at: Date;
31
33
  updated_at: Date;
32
34
  }
@@ -33,5 +33,5 @@ export type DatabaseInputRow =
33
33
  connect_type: DatabaseConnectType;
34
34
  connect_server_id: (string | null);
35
35
  connect_kubernetes_id: (string | null);
36
- description: string;
36
+ description: (string | null);
37
37
  }
@@ -35,7 +35,7 @@ export type DatabaseRow =
35
35
  connect_type: DatabaseConnectType;
36
36
  connect_server_id: (string | null);
37
37
  connect_kubernetes_id: (string | null);
38
- description: string;
38
+ description: (string | null);
39
39
  created_at: Date;
40
40
  updated_at: Date;
41
41
  }
@@ -23,5 +23,5 @@ export type EnvironmentInputRow =
23
23
  workspace_id: string;
24
24
  project_id: string;
25
25
  name: string;
26
- description: string;
26
+ description: (string | null);
27
27
  }
@@ -25,7 +25,7 @@ export type EnvironmentRow =
25
25
  workspace_id: string;
26
26
  project_id: string;
27
27
  name: string;
28
- description: string;
28
+ description: (string | null);
29
29
  created_at: Date;
30
30
  updated_at: Date;
31
31
  }
@@ -33,5 +33,5 @@ export type InMemoryStoreInputRow =
33
33
  connect_type: InMemoryStoreConnectType;
34
34
  connect_server_id: (string | null);
35
35
  connect_kubernetes_id: (string | null);
36
- description: string;
36
+ description: (string | null);
37
37
  }
@@ -35,7 +35,7 @@ export type InMemoryStoreRow =
35
35
  connect_type: InMemoryStoreConnectType;
36
36
  connect_server_id: (string | null);
37
37
  connect_kubernetes_id: (string | null);
38
- description: string;
38
+ description: (string | null);
39
39
  created_at: Date;
40
40
  updated_at: Date;
41
41
  }
@@ -30,5 +30,5 @@ export type IncidentInputRow =
30
30
  metric_id: string;
31
31
  chat_id: string;
32
32
  status: IncidentStatus;
33
- description: string;
33
+ description: (string | null);
34
34
  }
@@ -32,7 +32,7 @@ export type IncidentRow =
32
32
  metric_id: string;
33
33
  chat_id: string;
34
34
  status: IncidentStatus;
35
- description: string;
35
+ description: (string | null);
36
36
  created_at: Date;
37
37
  updated_at: Date;
38
38
  }
@@ -18,6 +18,8 @@
18
18
  /* */
19
19
  /****************************************************************/
20
20
 
21
+ import { KubernetesCloud } from "../enum/KubernetesCloud";
22
+
21
23
  export type KubernetesInputRow =
22
24
  {
23
25
  workspace_id: string;
@@ -26,8 +28,10 @@ export type KubernetesInputRow =
26
28
  project_id: string;
27
29
  environment_id: string;
28
30
  log_group_id: (string | null);
31
+ kubctl_on_server_id: string;
32
+ cloud: KubernetesCloud;
29
33
  name: string;
30
- description: string;
34
+ description: (string | null);
31
35
  hash: string;
32
36
  ip_public: string;
33
37
  last_sync: string;
@@ -18,6 +18,8 @@
18
18
  /* */
19
19
  /****************************************************************/
20
20
 
21
+ import { KubernetesCloud } from "../enum/KubernetesCloud";
22
+
21
23
  export type KubernetesRow =
22
24
  {
23
25
  id: string;
@@ -28,8 +30,10 @@ export type KubernetesRow =
28
30
  project_id: string;
29
31
  environment_id: string;
30
32
  log_group_id: (string | null);
33
+ kubctl_on_server_id: string;
34
+ cloud: KubernetesCloud;
31
35
  name: string;
32
- description: string;
36
+ description: (string | null);
33
37
  hash: string;
34
38
  ip_public: string;
35
39
  last_sync: string;
@@ -33,5 +33,5 @@ export type MessageBrokerInputRow =
33
33
  connect_type: MessageBrokerConnectType;
34
34
  connect_server_id: (string | null);
35
35
  connect_kubernetes_id: (string | null);
36
- description: string;
36
+ description: (string | null);
37
37
  }
@@ -35,7 +35,7 @@ export type MessageBrokerRow =
35
35
  connect_type: MessageBrokerConnectType;
36
36
  connect_server_id: (string | null);
37
37
  connect_kubernetes_id: (string | null);
38
- description: string;
38
+ description: (string | null);
39
39
  created_at: Date;
40
40
  updated_at: Date;
41
41
  }
@@ -19,7 +19,6 @@
19
19
  /****************************************************************/
20
20
 
21
21
  import { MetricCallerType } from "../enum/MetricCallerType";
22
- import { MetricIntervalUnit } from "../enum/MetricIntervalUnit";
23
22
 
24
23
  export type MetricInputRow =
25
24
  {
@@ -31,7 +30,6 @@ export type MetricInputRow =
31
30
  caller_server_id: (string | null);
32
31
  caller_kubernetes_id: (string | null);
33
32
  url: string;
34
- interval_value: number;
35
- interval_unit: MetricIntervalUnit;
33
+ interval_scheduler_id: string;
36
34
  description: string;
37
35
  }
@@ -19,7 +19,6 @@
19
19
  /****************************************************************/
20
20
 
21
21
  import { MetricCallerType } from "../enum/MetricCallerType";
22
- import { MetricIntervalUnit } from "../enum/MetricIntervalUnit";
23
22
 
24
23
  export type MetricRow =
25
24
  {
@@ -33,8 +32,7 @@ export type MetricRow =
33
32
  caller_server_id: (string | null);
34
33
  caller_kubernetes_id: (string | null);
35
34
  url: string;
36
- interval_value: number;
37
- interval_unit: MetricIntervalUnit;
35
+ interval_scheduler_id: string;
38
36
  description: string;
39
37
  created_at: Date;
40
38
  updated_at: Date;
@@ -21,7 +21,6 @@
21
21
  import { MonitorCallerType } from "../enum/MonitorCallerType";
22
22
  import { MonitorDockerContainerConnectionType } from "../enum/MonitorDockerContainerConnectionType";
23
23
  import { MonitorHTTPBodyEncoding } from "../enum/MonitorHTTPBodyEncoding";
24
- import { MonitorHeartbeatIntervalUnit } from "../enum/MonitorHeartbeatIntervalUnit";
25
24
  import { MonitorHeartbeatRetryIntervalUnit } from "../enum/MonitorHeartbeatRetryIntervalUnit";
26
25
  import { MonitorKubernetesPodControllerType } from "../enum/MonitorKubernetesPodControllerType";
27
26
  import { MonitorRequestTimeoutUnit } from "../enum/MonitorRequestTimeoutUnit";
@@ -38,8 +37,7 @@ export type MonitorInputRow =
38
37
  caller_server_id: (string | null);
39
38
  caller_kubernetes_id: (string | null);
40
39
  up_side_down: boolean;
41
- heartbeat_interval_value: number;
42
- heartbeat_interval_unit: MonitorHeartbeatIntervalUnit;
40
+ heartbeat_interval_scheduler_id: string;
43
41
  retries: number;
44
42
  heartbeat_retry_interval_value: number;
45
43
  heartbeat_retry_interval_unit: MonitorHeartbeatRetryIntervalUnit;
@@ -66,5 +64,5 @@ export type MonitorInputRow =
66
64
  docker_container_id_or_name: (string | null);
67
65
  kubernetes_pod_controller_type: (MonitorKubernetesPodControllerType | null);
68
66
  kubernetes_pod_controller_name: (string | null);
69
- description: string;
67
+ description: (string | null);
70
68
  }
@@ -21,7 +21,6 @@
21
21
  import { MonitorCallerType } from "../enum/MonitorCallerType";
22
22
  import { MonitorDockerContainerConnectionType } from "../enum/MonitorDockerContainerConnectionType";
23
23
  import { MonitorHTTPBodyEncoding } from "../enum/MonitorHTTPBodyEncoding";
24
- import { MonitorHeartbeatIntervalUnit } from "../enum/MonitorHeartbeatIntervalUnit";
25
24
  import { MonitorHeartbeatRetryIntervalUnit } from "../enum/MonitorHeartbeatRetryIntervalUnit";
26
25
  import { MonitorKubernetesPodControllerType } from "../enum/MonitorKubernetesPodControllerType";
27
26
  import { MonitorRequestTimeoutUnit } from "../enum/MonitorRequestTimeoutUnit";
@@ -40,8 +39,7 @@ export type MonitorRow =
40
39
  caller_server_id: (string | null);
41
40
  caller_kubernetes_id: (string | null);
42
41
  up_side_down: boolean;
43
- heartbeat_interval_value: number;
44
- heartbeat_interval_unit: MonitorHeartbeatIntervalUnit;
42
+ heartbeat_interval_scheduler_id: string;
45
43
  retries: number;
46
44
  heartbeat_retry_interval_value: number;
47
45
  heartbeat_retry_interval_unit: MonitorHeartbeatRetryIntervalUnit;
@@ -68,7 +66,7 @@ export type MonitorRow =
68
66
  docker_container_id_or_name: (string | null);
69
67
  kubernetes_pod_controller_type: (MonitorKubernetesPodControllerType | null);
70
68
  kubernetes_pod_controller_name: (string | null);
71
- description: string;
69
+ description: (string | null);
72
70
  created_at: Date;
73
71
  updated_at: Date;
74
72
  }
@@ -22,5 +22,5 @@ export type ProjectInputRow =
22
22
  {
23
23
  workspace_id: string;
24
24
  name: string;
25
- description: string;
25
+ description: (string | null);
26
26
  }
@@ -24,7 +24,7 @@ export type ProjectRow =
24
24
  user_id: string;
25
25
  workspace_id: string;
26
26
  name: string;
27
- description: string;
27
+ description: (string | null);
28
28
  created_at: Date;
29
29
  updated_at: Date;
30
30
  }
@@ -18,6 +18,7 @@
18
18
  /* */
19
19
  /****************************************************************/
20
20
 
21
+ import { ServerCloud } from "../enum/ServerCloud";
21
22
  import { ServerMetricRetentionUnit } from "../enum/ServerMetricRetentionUnit";
22
23
 
23
24
  export type ServerInputRow =
@@ -28,8 +29,9 @@ export type ServerInputRow =
28
29
  project_id: string;
29
30
  environment_id: string;
30
31
  log_group_id: (string | null);
32
+ cloud: ServerCloud;
31
33
  name: string;
32
34
  metric_retention_unit: ServerMetricRetentionUnit;
33
35
  metric_retention_value: number;
34
- description: string;
36
+ description: (string | null);
35
37
  }
@@ -18,6 +18,7 @@
18
18
  /* */
19
19
  /****************************************************************/
20
20
 
21
+ import { ServerCloud } from "../enum/ServerCloud";
21
22
  import { ServerMetricRetentionUnit } from "../enum/ServerMetricRetentionUnit";
22
23
 
23
24
  export type ServerRow =
@@ -30,10 +31,11 @@ export type ServerRow =
30
31
  project_id: string;
31
32
  environment_id: string;
32
33
  log_group_id: (string | null);
34
+ cloud: ServerCloud;
33
35
  name: string;
34
36
  metric_retention_unit: ServerMetricRetentionUnit;
35
37
  metric_retention_value: number;
36
- description: string;
38
+ description: (string | null);
37
39
  hash: string;
38
40
  ip_public: string;
39
41
  ip_private: string;
@@ -1,5 +0,0 @@
1
- export declare enum MetricIntervalUnit {
2
- Second = "Second",
3
- Minute = "Minute",
4
- Hours = "Hours"
5
- }
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MetricIntervalUnit = void 0;
4
- var MetricIntervalUnit;
5
- (function (MetricIntervalUnit) {
6
- MetricIntervalUnit["Second"] = "Second";
7
- MetricIntervalUnit["Minute"] = "Minute";
8
- MetricIntervalUnit["Hours"] = "Hours";
9
- })(MetricIntervalUnit || (exports.MetricIntervalUnit = MetricIntervalUnit = {}));
10
- //# sourceMappingURL=MetricIntervalUnit.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MetricIntervalUnit.js","sourceRoot":"","sources":["../../src/enum/MetricIntervalUnit.ts"],"names":[],"mappings":";;;AAoBA,IAAY,kBAKX;AALD,WAAY,kBAAkB;IAE1B,uCAAiB,CAAA;IACjB,uCAAiB,CAAA;IACjB,qCAAe,CAAA;AACnB,CAAC,EALW,kBAAkB,kCAAlB,kBAAkB,QAK7B"}
@@ -1,5 +0,0 @@
1
- export declare enum MonitorHeartbeatIntervalUnit {
2
- Second = "Second",
3
- Minute = "Minute",
4
- Hours = "Hours"
5
- }
@@ -1,10 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.MonitorHeartbeatIntervalUnit = void 0;
4
- var MonitorHeartbeatIntervalUnit;
5
- (function (MonitorHeartbeatIntervalUnit) {
6
- MonitorHeartbeatIntervalUnit["Second"] = "Second";
7
- MonitorHeartbeatIntervalUnit["Minute"] = "Minute";
8
- MonitorHeartbeatIntervalUnit["Hours"] = "Hours";
9
- })(MonitorHeartbeatIntervalUnit || (exports.MonitorHeartbeatIntervalUnit = MonitorHeartbeatIntervalUnit = {}));
10
- //# sourceMappingURL=MonitorHeartbeatIntervalUnit.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"MonitorHeartbeatIntervalUnit.js","sourceRoot":"","sources":["../../src/enum/MonitorHeartbeatIntervalUnit.ts"],"names":[],"mappings":";;;AAoBA,IAAY,4BAKX;AALD,WAAY,4BAA4B;IAEpC,iDAAiB,CAAA;IACjB,iDAAiB,CAAA;IACjB,+CAAe,CAAA;AACnB,CAAC,EALW,4BAA4B,4CAA5B,4BAA4B,QAKvC"}