namirasoft-infra 1.4.1 → 1.4.3
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.
- package/dist/NamirasoftInfraServer.d.ts +8 -8
- package/dist/NamirasoftInfraServer.js +9 -9
- package/dist/NamirasoftInfraServer.js.map +1 -1
- package/dist/{NamirasoftInfraServerChat.d.ts → NamirasoftInfraServerCloud.d.ts} +8 -4
- package/dist/{NamirasoftInfraServerChatTag.js → NamirasoftInfraServerCloud.js} +18 -18
- package/dist/NamirasoftInfraServerCloud.js.map +1 -0
- package/dist/{NamirasoftInfraServerChatCategory.d.ts → NamirasoftInfraServerCloudCategory.d.ts} +5 -5
- package/dist/{NamirasoftInfraServerChatCategory.js → NamirasoftInfraServerCloudCategory.js} +8 -8
- package/dist/NamirasoftInfraServerCloudCategory.js.map +1 -0
- package/dist/{NamirasoftInfraServerChatField.d.ts → NamirasoftInfraServerCloudField.d.ts} +6 -6
- package/dist/{NamirasoftInfraServerChat.js → NamirasoftInfraServerCloudField.js} +34 -11
- package/dist/NamirasoftInfraServerCloudField.js.map +1 -0
- package/dist/{NamirasoftInfraServerChatTag.d.ts → NamirasoftInfraServerCloudTag.d.ts} +6 -6
- package/dist/{NamirasoftInfraServerChatField.js → NamirasoftInfraServerCloudTag.js} +9 -9
- package/dist/NamirasoftInfraServerCloudTag.js.map +1 -0
- package/dist/NamirasoftInfraServerMetric.d.ts +4 -1
- package/dist/NamirasoftInfraServerMetric.js.map +1 -1
- package/dist/NamirasoftInfraServerMonitor.d.ts +4 -2
- package/dist/NamirasoftInfraServerMonitor.js.map +1 -1
- package/dist/command/AlertCreateCommand.js +1 -1
- package/dist/command/AlertCreateCommand.js.map +1 -1
- package/dist/command/AlertUpdateCommand.js +1 -1
- package/dist/command/AlertUpdateCommand.js.map +1 -1
- package/dist/command/{ChatCategoryCommand.d.ts → CloudCategoryCommand.d.ts} +1 -1
- package/dist/command/CloudCategoryCommand.js +21 -0
- package/dist/command/CloudCategoryCommand.js.map +1 -0
- package/dist/command/{ChatCategoryCreateCommand.d.ts → CloudCategoryCreateCommand.d.ts} +1 -1
- package/dist/command/{ChatCategoryCreateCommand.js → CloudCategoryCreateCommand.js} +5 -5
- package/dist/command/CloudCategoryCreateCommand.js.map +1 -0
- package/dist/command/{ChatCategoryDeleteCommand.d.ts → CloudCategoryDeleteCommand.d.ts} +1 -1
- package/dist/command/{ChatCategoryDeleteCommand.js → CloudCategoryDeleteCommand.js} +5 -5
- package/dist/command/CloudCategoryDeleteCommand.js.map +1 -0
- package/dist/command/{ChatCategoryListCommand.d.ts → CloudCategoryGetCommand.d.ts} +1 -1
- package/dist/command/{ChatCategoryGetCommand.js → CloudCategoryGetCommand.js} +5 -5
- package/dist/command/CloudCategoryGetCommand.js.map +1 -0
- package/dist/command/CloudCategoryListCommand.d.ts +5 -0
- package/dist/command/{ChatCategoryListCommand.js → CloudCategoryListCommand.js} +5 -5
- package/dist/command/CloudCategoryListCommand.js.map +1 -0
- package/dist/command/{ChatCommand.d.ts → CloudCommand.d.ts} +1 -1
- package/dist/command/CloudCommand.js +23 -0
- package/dist/command/CloudCommand.js.map +1 -0
- package/dist/command/{ChatTagListCommand.d.ts → CloudCreateCommand.d.ts} +1 -1
- package/dist/command/CloudCreateCommand.js +85 -0
- package/dist/command/CloudCreateCommand.js.map +1 -0
- package/dist/command/{ChatTagGetCommand.d.ts → CloudDeleteCommand.d.ts} +1 -1
- package/dist/command/{ChatTagGetCommand.js → CloudDeleteCommand.js} +5 -5
- package/dist/command/CloudDeleteCommand.js.map +1 -0
- package/dist/command/{ChatFieldCommand.d.ts → CloudFieldCommand.d.ts} +1 -1
- package/dist/command/CloudFieldCommand.js +23 -0
- package/dist/command/CloudFieldCommand.js.map +1 -0
- package/dist/command/{ChatFieldCreateCommand.d.ts → CloudFieldCreateCommand.d.ts} +1 -1
- package/dist/command/{ChatFieldCreateCommand.js → CloudFieldCreateCommand.js} +5 -5
- package/dist/command/CloudFieldCreateCommand.js.map +1 -0
- package/dist/command/{ChatFieldDeleteCommand.d.ts → CloudFieldDeleteCommand.d.ts} +1 -1
- package/dist/command/{ChatFieldDeleteCommand.js → CloudFieldDeleteCommand.js} +5 -5
- package/dist/command/CloudFieldDeleteCommand.js.map +1 -0
- package/dist/command/{ChatTagCreateCommand.d.ts → CloudFieldGetCommand.d.ts} +1 -1
- package/dist/command/{ChatTagDeleteCommand.js → CloudFieldGetCommand.js} +5 -5
- package/dist/command/{ChatTagDeleteCommand.js.map → CloudFieldGetCommand.js.map} +1 -1
- package/dist/command/{ChatFieldListCommand.d.ts → CloudFieldListCommand.d.ts} +1 -1
- package/dist/command/{ChatFieldListCommand.js → CloudFieldListCommand.js} +5 -5
- package/dist/command/CloudFieldListCommand.js.map +1 -0
- package/dist/command/{ChatCategoryGetCommand.d.ts → CloudFieldUpdateCommand.d.ts} +1 -1
- package/dist/command/{ChatFieldUpdateCommand.js → CloudFieldUpdateCommand.js} +5 -5
- package/dist/command/CloudFieldUpdateCommand.js.map +1 -0
- package/dist/command/{ChatGetCommand.d.ts → CloudGetCommand.d.ts} +1 -1
- package/dist/command/{ChatGetCommand.js → CloudGetCommand.js} +5 -5
- package/dist/command/CloudGetCommand.js.map +1 -0
- package/dist/command/{ChatListCommand.d.ts → CloudListCommand.d.ts} +1 -1
- package/dist/command/{ChatListCommand.js → CloudListCommand.js} +5 -5
- package/dist/command/CloudListCommand.js.map +1 -0
- package/dist/command/{ChatTagCommand.d.ts → CloudTagCommand.d.ts} +1 -1
- package/dist/command/CloudTagCommand.js +23 -0
- package/dist/command/CloudTagCommand.js.map +1 -0
- package/dist/command/CloudTagCreateCommand.d.ts +5 -0
- package/dist/command/{ChatTagCreateCommand.js → CloudTagCreateCommand.js} +5 -5
- package/dist/command/CloudTagCreateCommand.js.map +1 -0
- package/dist/command/CloudTagDeleteCommand.d.ts +5 -0
- package/dist/command/CloudTagDeleteCommand.js +38 -0
- package/dist/command/CloudTagDeleteCommand.js.map +1 -0
- package/dist/command/CloudTagGetCommand.d.ts +5 -0
- package/dist/command/{ChatFieldGetCommand.js → CloudTagGetCommand.js} +5 -5
- package/dist/command/CloudTagGetCommand.js.map +1 -0
- package/dist/command/{ChatFieldGetCommand.d.ts → CloudTagListCommand.d.ts} +1 -1
- package/dist/command/{ChatTagListCommand.js → CloudTagListCommand.js} +5 -5
- package/dist/command/CloudTagListCommand.js.map +1 -0
- package/dist/command/CloudTagUpdateCommand.d.ts +5 -0
- package/dist/command/{ChatTagUpdateCommand.js → CloudTagUpdateCommand.js} +5 -5
- package/dist/command/CloudTagUpdateCommand.js.map +1 -0
- package/dist/command/CloudUpdateCommand.d.ts +5 -0
- package/dist/command/CloudUpdateCommand.js +85 -0
- package/dist/command/CloudUpdateCommand.js.map +1 -0
- package/dist/command/DatabaseCreateCommand.js +9 -9
- package/dist/command/DatabaseCreateCommand.js.map +1 -1
- package/dist/command/DatabaseUpdateCommand.js +9 -9
- package/dist/command/DatabaseUpdateCommand.js.map +1 -1
- package/dist/command/EnvironmentCreateCommand.js +1 -1
- package/dist/command/EnvironmentCreateCommand.js.map +1 -1
- package/dist/command/EnvironmentUpdateCommand.js +1 -1
- package/dist/command/EnvironmentUpdateCommand.js.map +1 -1
- package/dist/command/InMemoryStoreCreateCommand.js +9 -9
- package/dist/command/InMemoryStoreCreateCommand.js.map +1 -1
- package/dist/command/InMemoryStoreUpdateCommand.js +9 -9
- package/dist/command/InMemoryStoreUpdateCommand.js.map +1 -1
- package/dist/command/IncidentCreateCommand.js +1 -1
- package/dist/command/IncidentCreateCommand.js.map +1 -1
- package/dist/command/IncidentUpdateCommand.js +1 -1
- package/dist/command/IncidentUpdateCommand.js.map +1 -1
- package/dist/command/KubernetesCreateCommand.js +37 -1
- package/dist/command/KubernetesCreateCommand.js.map +1 -1
- package/dist/command/KubernetesUpdateCommand.js +37 -1
- package/dist/command/KubernetesUpdateCommand.js.map +1 -1
- package/dist/command/MessageBrokerCreateCommand.js +9 -9
- package/dist/command/MessageBrokerCreateCommand.js.map +1 -1
- package/dist/command/MessageBrokerUpdateCommand.js +9 -9
- package/dist/command/MessageBrokerUpdateCommand.js.map +1 -1
- package/dist/command/MetricCreateCommand.js +4 -13
- package/dist/command/MetricCreateCommand.js.map +1 -1
- package/dist/command/MetricUpdateCommand.js +4 -13
- package/dist/command/MetricUpdateCommand.js.map +1 -1
- package/dist/command/MonitorCreateCommand.js +5 -14
- package/dist/command/MonitorCreateCommand.js.map +1 -1
- package/dist/command/MonitorUpdateCommand.js +5 -14
- package/dist/command/MonitorUpdateCommand.js.map +1 -1
- package/dist/command/ProjectCreateCommand.js +1 -1
- package/dist/command/ProjectCreateCommand.js.map +1 -1
- package/dist/command/ProjectUpdateCommand.js +1 -1
- package/dist/command/ProjectUpdateCommand.js.map +1 -1
- package/dist/command/ServerCreateCommand.js +28 -1
- package/dist/command/ServerCreateCommand.js.map +1 -1
- package/dist/command/ServerUpdateCommand.js +28 -1
- package/dist/command/ServerUpdateCommand.js.map +1 -1
- package/dist/command/cli.js +8 -8
- package/dist/command/cli.js.map +1 -1
- package/dist/enum/CloudType.d.ts +6 -0
- package/dist/enum/CloudType.js +11 -0
- package/dist/enum/CloudType.js.map +1 -0
- package/dist/enum/KubernetesCloud.d.ts +6 -0
- package/dist/enum/KubernetesCloud.js +11 -0
- package/dist/enum/KubernetesCloud.js.map +1 -0
- package/dist/enum/ServerCloud.d.ts +6 -0
- package/dist/enum/ServerCloud.js +11 -0
- package/dist/enum/ServerCloud.js.map +1 -0
- package/dist/index.d.ts +39 -34
- package/dist/index.js +39 -34
- package/dist/index.js.map +1 -1
- package/dist/meta/AlertMetaTable.js +1 -1
- package/dist/meta/AlertMetaTable.js.map +1 -1
- package/dist/meta/{ChatCategoryMetaTable.d.ts → CloudCategoryMetaTable.d.ts} +2 -2
- package/dist/meta/{ChatCategoryMetaTable.js → CloudCategoryMetaTable.js} +7 -7
- package/dist/meta/CloudCategoryMetaTable.js.map +1 -0
- package/dist/meta/{ChatFieldMetaTable.d.ts → CloudFieldMetaTable.d.ts} +2 -2
- package/dist/meta/{ChatFieldMetaTable.js → CloudFieldMetaTable.js} +7 -7
- package/dist/meta/CloudFieldMetaTable.js.map +1 -0
- package/dist/meta/{ChatMetaTable.d.ts → CloudMetaTable.d.ts} +5 -6
- package/dist/meta/{ChatMetaTable.js → CloudMetaTable.js} +10 -13
- package/dist/meta/CloudMetaTable.js.map +1 -0
- package/dist/meta/{ChatTagMetaTable.d.ts → CloudTagMetaTable.d.ts} +2 -2
- package/dist/meta/{ChatTagMetaTable.js → CloudTagMetaTable.js} +7 -7
- package/dist/meta/CloudTagMetaTable.js.map +1 -0
- package/dist/meta/DatabaseMetaTable.d.ts +2 -2
- package/dist/meta/DatabaseMetaTable.js +3 -3
- package/dist/meta/DatabaseMetaTable.js.map +1 -1
- package/dist/meta/EnvironmentMetaTable.js +1 -1
- package/dist/meta/EnvironmentMetaTable.js.map +1 -1
- package/dist/meta/InMemoryStoreMetaTable.d.ts +2 -2
- package/dist/meta/InMemoryStoreMetaTable.js +3 -3
- package/dist/meta/InMemoryStoreMetaTable.js.map +1 -1
- package/dist/meta/IncidentMetaTable.js +1 -1
- package/dist/meta/IncidentMetaTable.js.map +1 -1
- package/dist/meta/KubernetesMetaTable.d.ts +4 -0
- package/dist/meta/KubernetesMetaTable.js +5 -1
- package/dist/meta/KubernetesMetaTable.js.map +1 -1
- package/dist/meta/MessageBrokerMetaTable.d.ts +2 -2
- package/dist/meta/MessageBrokerMetaTable.js +3 -3
- package/dist/meta/MessageBrokerMetaTable.js.map +1 -1
- package/dist/meta/MetricMetaTable.d.ts +1 -2
- package/dist/meta/MetricMetaTable.js +1 -2
- package/dist/meta/MetricMetaTable.js.map +1 -1
- package/dist/meta/MonitorMetaTable.d.ts +1 -2
- package/dist/meta/MonitorMetaTable.js +2 -3
- package/dist/meta/MonitorMetaTable.js.map +1 -1
- package/dist/meta/NamirasoftInfraMetaDatabase.d.ts +8 -8
- package/dist/meta/NamirasoftInfraMetaDatabase.js +9 -9
- package/dist/meta/NamirasoftInfraMetaDatabase.js.map +1 -1
- package/dist/meta/ProjectMetaTable.js +1 -1
- package/dist/meta/ProjectMetaTable.js.map +1 -1
- package/dist/meta/ServerMetaTable.d.ts +3 -0
- package/dist/meta/ServerMetaTable.js +4 -1
- package/dist/meta/ServerMetaTable.js.map +1 -1
- package/dist/row/AlertInputRow.d.ts +1 -1
- package/dist/row/AlertRow.d.ts +1 -1
- package/dist/row/{ChatCategoryRow.d.ts → CloudCategoryRow.d.ts} +1 -1
- package/dist/row/CloudCategoryRow.js +3 -0
- package/dist/row/CloudCategoryRow.js.map +1 -0
- package/dist/row/{ChatFieldRow.d.ts → CloudFieldRow.d.ts} +1 -1
- package/dist/row/{ChatFieldRow.js → CloudFieldRow.js} +1 -1
- package/dist/row/CloudFieldRow.js.map +1 -0
- package/dist/row/CloudInputRow.d.ts +8 -0
- package/dist/row/{ChatCategoryRow.js → CloudInputRow.js} +1 -1
- package/dist/row/CloudInputRow.js.map +1 -0
- package/dist/row/CloudRow.d.ts +12 -0
- package/dist/row/{ChatRow.js → CloudRow.js} +1 -1
- package/dist/row/CloudRow.js.map +1 -0
- package/dist/row/{ChatTagRow.d.ts → CloudTagRow.d.ts} +1 -1
- package/dist/row/{ChatTagRow.js → CloudTagRow.js} +1 -1
- package/dist/row/CloudTagRow.js.map +1 -0
- package/dist/row/DatabaseInputRow.d.ts +3 -3
- package/dist/row/DatabaseRow.d.ts +3 -3
- package/dist/row/EnvironmentInputRow.d.ts +1 -1
- package/dist/row/EnvironmentRow.d.ts +1 -1
- package/dist/row/InMemoryStoreInputRow.d.ts +3 -3
- package/dist/row/InMemoryStoreRow.d.ts +3 -3
- package/dist/row/IncidentInputRow.d.ts +1 -1
- package/dist/row/IncidentRow.d.ts +1 -1
- package/dist/row/KubernetesInputRow.d.ts +6 -1
- package/dist/row/KubernetesRow.d.ts +6 -1
- package/dist/row/MessageBrokerInputRow.d.ts +3 -3
- package/dist/row/MessageBrokerRow.d.ts +3 -3
- package/dist/row/MetricInputRow.d.ts +1 -3
- package/dist/row/MetricRow.d.ts +1 -3
- package/dist/row/MonitorInputRow.d.ts +2 -4
- package/dist/row/MonitorRow.d.ts +2 -4
- package/dist/row/ProjectInputRow.d.ts +1 -1
- package/dist/row/ProjectRow.d.ts +1 -1
- package/dist/row/ServerInputRow.d.ts +5 -1
- package/dist/row/ServerRow.d.ts +5 -1
- package/package.json +1 -1
- package/src/NamirasoftInfraServer.ts +13 -13
- package/src/{NamirasoftInfraServerChat.ts → NamirasoftInfraServerCloud.ts} +29 -8
- package/src/{NamirasoftInfraServerChatCategory.ts → NamirasoftInfraServerCloudCategory.ts} +12 -12
- package/src/{NamirasoftInfraServerChatField.ts → NamirasoftInfraServerCloudField.ts} +15 -15
- package/src/{NamirasoftInfraServerChatTag.ts → NamirasoftInfraServerCloudTag.ts} +15 -15
- package/src/NamirasoftInfraServerMetric.ts +2 -2
- package/src/NamirasoftInfraServerMonitor.ts +2 -3
- package/src/command/AlertCreateCommand.ts +1 -1
- package/src/command/AlertUpdateCommand.ts +1 -1
- package/src/command/{ChatCategoryCommand.ts → CloudCategoryCommand.ts} +9 -9
- package/src/command/{ChatCategoryCreateCommand.ts → CloudCategoryCreateCommand.ts} +2 -2
- package/src/command/{ChatCategoryDeleteCommand.ts → CloudCategoryDeleteCommand.ts} +2 -2
- package/src/command/{ChatFieldDeleteCommand.ts → CloudCategoryGetCommand.ts} +2 -2
- package/src/command/{ChatCategoryListCommand.ts → CloudCategoryListCommand.ts} +2 -2
- package/src/command/{ChatCommand.ts → CloudCommand.ts} +11 -5
- package/src/command/CloudCreateCommand.ts +92 -0
- package/src/command/{ChatTagGetCommand.ts → CloudDeleteCommand.ts} +2 -2
- package/src/command/{ChatFieldCommand.ts → CloudFieldCommand.ts} +11 -11
- package/src/command/{ChatFieldCreateCommand.ts → CloudFieldCreateCommand.ts} +2 -2
- package/src/command/{ChatCategoryGetCommand.ts → CloudFieldDeleteCommand.ts} +2 -2
- package/src/command/{ChatTagDeleteCommand.ts → CloudFieldGetCommand.ts} +2 -2
- package/src/command/{ChatFieldListCommand.ts → CloudFieldListCommand.ts} +2 -2
- package/src/command/{ChatFieldUpdateCommand.ts → CloudFieldUpdateCommand.ts} +2 -2
- package/src/command/{ChatGetCommand.ts → CloudGetCommand.ts} +2 -2
- package/src/command/{ChatListCommand.ts → CloudListCommand.ts} +2 -2
- package/src/command/{ChatTagCommand.ts → CloudTagCommand.ts} +11 -11
- package/src/command/{ChatTagCreateCommand.ts → CloudTagCreateCommand.ts} +2 -2
- package/src/command/CloudTagDeleteCommand.ts +45 -0
- package/src/command/{ChatFieldGetCommand.ts → CloudTagGetCommand.ts} +2 -2
- package/src/command/{ChatTagListCommand.ts → CloudTagListCommand.ts} +2 -2
- package/src/command/{ChatTagUpdateCommand.ts → CloudTagUpdateCommand.ts} +2 -2
- package/src/command/CloudUpdateCommand.ts +92 -0
- package/src/command/DatabaseCreateCommand.ts +9 -9
- package/src/command/DatabaseUpdateCommand.ts +9 -9
- package/src/command/EnvironmentCreateCommand.ts +1 -1
- package/src/command/EnvironmentUpdateCommand.ts +1 -1
- package/src/command/InMemoryStoreCreateCommand.ts +9 -9
- package/src/command/InMemoryStoreUpdateCommand.ts +9 -9
- package/src/command/IncidentCreateCommand.ts +1 -1
- package/src/command/IncidentUpdateCommand.ts +1 -1
- package/src/command/KubernetesCreateCommand.ts +37 -1
- package/src/command/KubernetesUpdateCommand.ts +37 -1
- package/src/command/MessageBrokerCreateCommand.ts +9 -9
- package/src/command/MessageBrokerUpdateCommand.ts +9 -9
- package/src/command/MetricCreateCommand.ts +4 -13
- package/src/command/MetricUpdateCommand.ts +4 -13
- package/src/command/MonitorCreateCommand.ts +5 -14
- package/src/command/MonitorUpdateCommand.ts +5 -14
- package/src/command/ProjectCreateCommand.ts +1 -1
- package/src/command/ProjectUpdateCommand.ts +1 -1
- package/src/command/ServerCreateCommand.ts +28 -1
- package/src/command/ServerUpdateCommand.ts +28 -1
- package/src/command/cli.ts +8 -8
- package/src/enum/{MetricIntervalUnit.ts → CloudType.ts} +5 -4
- package/src/enum/{MonitorHeartbeatIntervalUnit.ts → KubernetesCloud.ts} +5 -4
- package/src/enum/ServerCloud.ts +27 -0
- package/src/index.ts +39 -34
- package/src/meta/AlertMetaTable.ts +1 -1
- package/src/meta/{ChatCategoryMetaTable.ts → CloudCategoryMetaTable.ts} +5 -5
- package/src/meta/{ChatFieldMetaTable.ts → CloudFieldMetaTable.ts} +5 -5
- package/src/meta/{ChatMetaTable.ts → CloudMetaTable.ts} +11 -15
- package/src/meta/{ChatTagMetaTable.ts → CloudTagMetaTable.ts} +5 -5
- package/src/meta/DatabaseMetaTable.ts +5 -5
- package/src/meta/EnvironmentMetaTable.ts +1 -1
- package/src/meta/InMemoryStoreMetaTable.ts +5 -5
- package/src/meta/IncidentMetaTable.ts +1 -1
- package/src/meta/KubernetesMetaTable.ts +9 -1
- package/src/meta/MessageBrokerMetaTable.ts +5 -5
- package/src/meta/MetricMetaTable.ts +2 -4
- package/src/meta/MonitorMetaTable.ts +3 -5
- package/src/meta/NamirasoftInfraMetaDatabase.ts +13 -13
- package/src/meta/ProjectMetaTable.ts +1 -1
- package/src/meta/ServerMetaTable.ts +7 -1
- package/src/row/AlertInputRow.ts +1 -1
- package/src/row/AlertRow.ts +1 -1
- package/src/row/{ChatCategoryRow.ts → CloudCategoryRow.ts} +1 -1
- package/src/row/{ChatFieldRow.ts → CloudFieldRow.ts} +1 -1
- package/src/row/CloudInputRow.ts +30 -0
- package/src/row/{ChatRow.ts → CloudRow.ts} +6 -5
- package/src/row/{ChatTagRow.ts → CloudTagRow.ts} +1 -1
- package/src/row/DatabaseInputRow.ts +3 -3
- package/src/row/DatabaseRow.ts +3 -3
- package/src/row/EnvironmentInputRow.ts +1 -1
- package/src/row/EnvironmentRow.ts +1 -1
- package/src/row/InMemoryStoreInputRow.ts +3 -3
- package/src/row/InMemoryStoreRow.ts +3 -3
- package/src/row/IncidentInputRow.ts +1 -1
- package/src/row/IncidentRow.ts +1 -1
- package/src/row/KubernetesInputRow.ts +7 -1
- package/src/row/KubernetesRow.ts +7 -1
- package/src/row/MessageBrokerInputRow.ts +3 -3
- package/src/row/MessageBrokerRow.ts +3 -3
- package/src/row/MetricInputRow.ts +1 -3
- package/src/row/MetricRow.ts +1 -3
- package/src/row/MonitorInputRow.ts +2 -4
- package/src/row/MonitorRow.ts +2 -4
- package/src/row/ProjectInputRow.ts +1 -1
- package/src/row/ProjectRow.ts +1 -1
- package/src/row/ServerInputRow.ts +5 -1
- package/src/row/ServerRow.ts +5 -1
- package/dist/NamirasoftInfraServerChat.js.map +0 -1
- package/dist/NamirasoftInfraServerChatCategory.js.map +0 -1
- package/dist/NamirasoftInfraServerChatField.js.map +0 -1
- package/dist/NamirasoftInfraServerChatTag.js.map +0 -1
- package/dist/command/ChatCategoryCommand.js +0 -21
- package/dist/command/ChatCategoryCommand.js.map +0 -1
- package/dist/command/ChatCategoryCreateCommand.js.map +0 -1
- package/dist/command/ChatCategoryDeleteCommand.js.map +0 -1
- package/dist/command/ChatCategoryGetCommand.js.map +0 -1
- package/dist/command/ChatCategoryListCommand.js.map +0 -1
- package/dist/command/ChatCommand.js +0 -17
- package/dist/command/ChatCommand.js.map +0 -1
- package/dist/command/ChatFieldCommand.js +0 -23
- package/dist/command/ChatFieldCommand.js.map +0 -1
- package/dist/command/ChatFieldCreateCommand.js.map +0 -1
- package/dist/command/ChatFieldDeleteCommand.js.map +0 -1
- package/dist/command/ChatFieldGetCommand.js.map +0 -1
- package/dist/command/ChatFieldListCommand.js.map +0 -1
- package/dist/command/ChatFieldUpdateCommand.d.ts +0 -5
- package/dist/command/ChatFieldUpdateCommand.js.map +0 -1
- package/dist/command/ChatGetCommand.js.map +0 -1
- package/dist/command/ChatListCommand.js.map +0 -1
- package/dist/command/ChatTagCommand.js +0 -23
- package/dist/command/ChatTagCommand.js.map +0 -1
- package/dist/command/ChatTagCreateCommand.js.map +0 -1
- package/dist/command/ChatTagDeleteCommand.d.ts +0 -5
- package/dist/command/ChatTagGetCommand.js.map +0 -1
- package/dist/command/ChatTagListCommand.js.map +0 -1
- package/dist/command/ChatTagUpdateCommand.d.ts +0 -5
- package/dist/command/ChatTagUpdateCommand.js.map +0 -1
- package/dist/enum/MetricIntervalUnit.d.ts +0 -5
- package/dist/enum/MetricIntervalUnit.js +0 -10
- package/dist/enum/MetricIntervalUnit.js.map +0 -1
- package/dist/enum/MonitorHeartbeatIntervalUnit.d.ts +0 -5
- package/dist/enum/MonitorHeartbeatIntervalUnit.js +0 -10
- package/dist/enum/MonitorHeartbeatIntervalUnit.js.map +0 -1
- package/dist/meta/ChatCategoryMetaTable.js.map +0 -1
- package/dist/meta/ChatFieldMetaTable.js.map +0 -1
- package/dist/meta/ChatMetaTable.js.map +0 -1
- package/dist/meta/ChatTagMetaTable.js.map +0 -1
- package/dist/row/ChatCategoryRow.js.map +0 -1
- package/dist/row/ChatFieldRow.js.map +0 -1
- package/dist/row/ChatRow.d.ts +0 -12
- package/dist/row/ChatRow.js.map +0 -1
- package/dist/row/ChatTagRow.js.map +0 -1
|
@@ -101,19 +101,11 @@ export class MonitorUpdateCommand extends BaseFinalCommand
|
|
|
101
101
|
defaults: [""]
|
|
102
102
|
},
|
|
103
103
|
{
|
|
104
|
-
name: "
|
|
104
|
+
name: "heartbeat_interval_scheduler_id",
|
|
105
105
|
short: "",
|
|
106
|
-
description: "Provides the value of '
|
|
106
|
+
description: "Provides the value of 'heartbeat_interval_scheduler_id' in body",
|
|
107
107
|
optional: false,
|
|
108
|
-
args: ["
|
|
109
|
-
defaults: [""]
|
|
110
|
-
},
|
|
111
|
-
{
|
|
112
|
-
name: "heartbeat_interval_unit",
|
|
113
|
-
short: "",
|
|
114
|
-
description: "Provides the value of 'heartbeat_interval_unit' in body",
|
|
115
|
-
optional: false,
|
|
116
|
-
args: ["heartbeat_interval_unit"],
|
|
108
|
+
args: ["heartbeat_interval_scheduler_id"],
|
|
117
109
|
defaults: [""]
|
|
118
110
|
},
|
|
119
111
|
{
|
|
@@ -328,7 +320,7 @@ export class MonitorUpdateCommand extends BaseFinalCommand
|
|
|
328
320
|
name: "description",
|
|
329
321
|
short: "",
|
|
330
322
|
description: "Provides the value of 'description' in body",
|
|
331
|
-
optional:
|
|
323
|
+
optional: true,
|
|
332
324
|
args: ["description"],
|
|
333
325
|
defaults: [""]
|
|
334
326
|
}
|
|
@@ -354,8 +346,7 @@ export class MonitorUpdateCommand extends BaseFinalCommand
|
|
|
354
346
|
caller_server_id: this.option_values.caller_server_id,
|
|
355
347
|
caller_kubernetes_id: this.option_values.caller_kubernetes_id,
|
|
356
348
|
up_side_down: this.option_values.up_side_down,
|
|
357
|
-
|
|
358
|
-
heartbeat_interval_unit: this.option_values.heartbeat_interval_unit,
|
|
349
|
+
heartbeat_interval_scheduler_id: this.option_values.heartbeat_interval_scheduler_id,
|
|
359
350
|
retries: this.option_values.retries,
|
|
360
351
|
heartbeat_retry_interval_value: this.option_values.heartbeat_retry_interval_value,
|
|
361
352
|
heartbeat_retry_interval_unit: this.option_values.heartbeat_retry_interval_unit,
|
|
@@ -36,6 +36,22 @@ export class ServerCreateCommand extends BaseFinalCommand
|
|
|
36
36
|
args: ["workspace_id"],
|
|
37
37
|
defaults: [""]
|
|
38
38
|
},
|
|
39
|
+
{
|
|
40
|
+
name: "service_user_id",
|
|
41
|
+
short: "",
|
|
42
|
+
description: "Provides the value of 'service_user_id' in body",
|
|
43
|
+
optional: false,
|
|
44
|
+
args: ["service_user_id"],
|
|
45
|
+
defaults: [""]
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: "service_session_id",
|
|
49
|
+
short: "",
|
|
50
|
+
description: "Provides the value of 'service_session_id' in body",
|
|
51
|
+
optional: false,
|
|
52
|
+
args: ["service_session_id"],
|
|
53
|
+
defaults: [""]
|
|
54
|
+
},
|
|
39
55
|
{
|
|
40
56
|
name: "project_id",
|
|
41
57
|
short: "",
|
|
@@ -60,6 +76,14 @@ export class ServerCreateCommand extends BaseFinalCommand
|
|
|
60
76
|
args: ["log_group_id"],
|
|
61
77
|
defaults: [""]
|
|
62
78
|
},
|
|
79
|
+
{
|
|
80
|
+
name: "cloud",
|
|
81
|
+
short: "",
|
|
82
|
+
description: "Provides the value of 'cloud' in body",
|
|
83
|
+
optional: false,
|
|
84
|
+
args: ["cloud"],
|
|
85
|
+
defaults: [""]
|
|
86
|
+
},
|
|
63
87
|
{
|
|
64
88
|
name: "name",
|
|
65
89
|
short: "",
|
|
@@ -88,7 +112,7 @@ export class ServerCreateCommand extends BaseFinalCommand
|
|
|
88
112
|
name: "description",
|
|
89
113
|
short: "",
|
|
90
114
|
description: "Provides the value of 'description' in body",
|
|
91
|
-
optional:
|
|
115
|
+
optional: true,
|
|
92
116
|
args: ["description"],
|
|
93
117
|
defaults: [""]
|
|
94
118
|
}
|
|
@@ -106,9 +130,12 @@ export class ServerCreateCommand extends BaseFinalCommand
|
|
|
106
130
|
let server = new NamirasoftInfraServer(url, token_manager, e => this.app.logger.error(e.message));
|
|
107
131
|
let ans = await server.server.Create({
|
|
108
132
|
workspace_id: this.option_values.workspace_id,
|
|
133
|
+
service_user_id: this.option_values.service_user_id,
|
|
134
|
+
service_session_id: this.option_values.service_session_id,
|
|
109
135
|
project_id: this.option_values.project_id,
|
|
110
136
|
environment_id: this.option_values.environment_id,
|
|
111
137
|
log_group_id: this.option_values.log_group_id,
|
|
138
|
+
cloud: this.option_values.cloud,
|
|
112
139
|
name: this.option_values.name,
|
|
113
140
|
metric_retention_unit: this.option_values.metric_retention_unit,
|
|
114
141
|
metric_retention_value: this.option_values.metric_retention_value,
|
|
@@ -36,6 +36,22 @@ export class ServerUpdateCommand extends BaseFinalCommand
|
|
|
36
36
|
args: ["workspace_id"],
|
|
37
37
|
defaults: [""]
|
|
38
38
|
},
|
|
39
|
+
{
|
|
40
|
+
name: "service_user_id",
|
|
41
|
+
short: "",
|
|
42
|
+
description: "Provides the value of 'service_user_id' in body",
|
|
43
|
+
optional: false,
|
|
44
|
+
args: ["service_user_id"],
|
|
45
|
+
defaults: [""]
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: "service_session_id",
|
|
49
|
+
short: "",
|
|
50
|
+
description: "Provides the value of 'service_session_id' in body",
|
|
51
|
+
optional: false,
|
|
52
|
+
args: ["service_session_id"],
|
|
53
|
+
defaults: [""]
|
|
54
|
+
},
|
|
39
55
|
{
|
|
40
56
|
name: "project_id",
|
|
41
57
|
short: "",
|
|
@@ -60,6 +76,14 @@ export class ServerUpdateCommand extends BaseFinalCommand
|
|
|
60
76
|
args: ["log_group_id"],
|
|
61
77
|
defaults: [""]
|
|
62
78
|
},
|
|
79
|
+
{
|
|
80
|
+
name: "cloud",
|
|
81
|
+
short: "",
|
|
82
|
+
description: "Provides the value of 'cloud' in body",
|
|
83
|
+
optional: false,
|
|
84
|
+
args: ["cloud"],
|
|
85
|
+
defaults: [""]
|
|
86
|
+
},
|
|
63
87
|
{
|
|
64
88
|
name: "name",
|
|
65
89
|
short: "",
|
|
@@ -88,7 +112,7 @@ export class ServerUpdateCommand extends BaseFinalCommand
|
|
|
88
112
|
name: "description",
|
|
89
113
|
short: "",
|
|
90
114
|
description: "Provides the value of 'description' in body",
|
|
91
|
-
optional:
|
|
115
|
+
optional: true,
|
|
92
116
|
args: ["description"],
|
|
93
117
|
defaults: [""]
|
|
94
118
|
}
|
|
@@ -106,9 +130,12 @@ export class ServerUpdateCommand extends BaseFinalCommand
|
|
|
106
130
|
let server = new NamirasoftInfraServer(url, token_manager, e => this.app.logger.error(e.message));
|
|
107
131
|
let ans = await server.server.Update(this.arg_values[0], {
|
|
108
132
|
workspace_id: this.option_values.workspace_id,
|
|
133
|
+
service_user_id: this.option_values.service_user_id,
|
|
134
|
+
service_session_id: this.option_values.service_session_id,
|
|
109
135
|
project_id: this.option_values.project_id,
|
|
110
136
|
environment_id: this.option_values.environment_id,
|
|
111
137
|
log_group_id: this.option_values.log_group_id,
|
|
138
|
+
cloud: this.option_values.cloud,
|
|
112
139
|
name: this.option_values.name,
|
|
113
140
|
metric_retention_unit: this.option_values.metric_retention_unit,
|
|
114
141
|
metric_retention_value: this.option_values.metric_retention_value,
|
package/src/command/cli.ts
CHANGED
|
@@ -25,10 +25,10 @@ import { AlertCommand } from "./AlertCommand";
|
|
|
25
25
|
import { AlertFieldCommand } from "./AlertFieldCommand";
|
|
26
26
|
import { AlertTagCommand } from "./AlertTagCommand";
|
|
27
27
|
import { Application, BaseStorage } from "namirasoft-node-cli";
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
28
|
+
import { CloudCategoryCommand } from "./CloudCategoryCommand";
|
|
29
|
+
import { CloudCommand } from "./CloudCommand";
|
|
30
|
+
import { CloudFieldCommand } from "./CloudFieldCommand";
|
|
31
|
+
import { CloudTagCommand } from "./CloudTagCommand";
|
|
32
32
|
import { ConfigCommand } from "namirasoft-node-cli";
|
|
33
33
|
import { DatabaseCategoryCommand } from "./DatabaseCategoryCommand";
|
|
34
34
|
import { DatabaseCommand } from "./DatabaseCommand";
|
|
@@ -101,10 +101,6 @@ let app = new Application("ns-infra", new BaseStorage(),
|
|
|
101
101
|
"alertfield": AlertFieldCommand,
|
|
102
102
|
"alerttag": AlertTagCommand,
|
|
103
103
|
"alert": AlertCommand,
|
|
104
|
-
"chatcategory": ChatCategoryCommand,
|
|
105
|
-
"chatfield": ChatFieldCommand,
|
|
106
|
-
"chattag": ChatTagCommand,
|
|
107
|
-
"chat": ChatCommand,
|
|
108
104
|
"databasecategory": DatabaseCategoryCommand,
|
|
109
105
|
"databasefield": DatabaseFieldCommand,
|
|
110
106
|
"databasetag": DatabaseTagCommand,
|
|
@@ -129,6 +125,10 @@ let app = new Application("ns-infra", new BaseStorage(),
|
|
|
129
125
|
"monitorfield": MonitorFieldCommand,
|
|
130
126
|
"monitortag": MonitorTagCommand,
|
|
131
127
|
"monitor": MonitorCommand,
|
|
128
|
+
"cloudcategory": CloudCategoryCommand,
|
|
129
|
+
"cloudfield": CloudFieldCommand,
|
|
130
|
+
"cloudtag": CloudTagCommand,
|
|
131
|
+
"cloud": CloudCommand,
|
|
132
132
|
"account": AccountCommand,
|
|
133
133
|
"config": (argv: string[]) => new ConfigCommand(argv, ["ns-infra-server-url"])
|
|
134
134
|
});
|
|
@@ -18,9 +18,10 @@
|
|
|
18
18
|
/* */
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
|
-
export enum
|
|
21
|
+
export enum CloudType
|
|
22
22
|
{
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
AWS = "AWS",
|
|
24
|
+
Azure = "Azure",
|
|
25
|
+
GCP = "GCP",
|
|
26
|
+
Other = "Other",
|
|
26
27
|
}
|
|
@@ -18,9 +18,10 @@
|
|
|
18
18
|
/* */
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
|
-
export enum
|
|
21
|
+
export enum KubernetesCloud
|
|
22
22
|
{
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
23
|
+
AWS = "AWS",
|
|
24
|
+
Azure = "Azure",
|
|
25
|
+
GCP = "GCP",
|
|
26
|
+
Other = "Other",
|
|
26
27
|
}
|
|
@@ -0,0 +1,27 @@
|
|
|
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
|
+
export enum ServerCloud
|
|
22
|
+
{
|
|
23
|
+
AWS = "AWS",
|
|
24
|
+
Azure = "Azure",
|
|
25
|
+
GCP = "GCP",
|
|
26
|
+
Other = "Other",
|
|
27
|
+
}
|
package/src/index.ts
CHANGED
|
@@ -24,10 +24,10 @@ export * from "./NamirasoftInfraServerAlertCategory";
|
|
|
24
24
|
export * from "./NamirasoftInfraServerAlertField";
|
|
25
25
|
export * from "./NamirasoftInfraServerAlertTag";
|
|
26
26
|
export * from "./NamirasoftInfraServerBase";
|
|
27
|
-
export * from "./
|
|
28
|
-
export * from "./
|
|
29
|
-
export * from "./
|
|
30
|
-
export * from "./
|
|
27
|
+
export * from "./NamirasoftInfraServerCloud";
|
|
28
|
+
export * from "./NamirasoftInfraServerCloudCategory";
|
|
29
|
+
export * from "./NamirasoftInfraServerCloudField";
|
|
30
|
+
export * from "./NamirasoftInfraServerCloudTag";
|
|
31
31
|
export * from "./NamirasoftInfraServerDatabase";
|
|
32
32
|
export * from "./NamirasoftInfraServerDatabaseCategory";
|
|
33
33
|
export * from "./NamirasoftInfraServerDatabaseField";
|
|
@@ -95,26 +95,29 @@ export * from "./command/AlertTagGetCommand";
|
|
|
95
95
|
export * from "./command/AlertTagListCommand";
|
|
96
96
|
export * from "./command/AlertTagUpdateCommand";
|
|
97
97
|
export * from "./command/AlertUpdateCommand";
|
|
98
|
-
export * from "./command/
|
|
99
|
-
export * from "./command/
|
|
100
|
-
export * from "./command/
|
|
101
|
-
export * from "./command/
|
|
102
|
-
export * from "./command/
|
|
103
|
-
export * from "./command/
|
|
104
|
-
export * from "./command/
|
|
105
|
-
export * from "./command/
|
|
106
|
-
export * from "./command/
|
|
107
|
-
export * from "./command/
|
|
108
|
-
export * from "./command/
|
|
109
|
-
export * from "./command/
|
|
110
|
-
export * from "./command/
|
|
111
|
-
export * from "./command/
|
|
112
|
-
export * from "./command/
|
|
113
|
-
export * from "./command/
|
|
114
|
-
export * from "./command/
|
|
115
|
-
export * from "./command/
|
|
116
|
-
export * from "./command/
|
|
117
|
-
export * from "./command/
|
|
98
|
+
export * from "./command/CloudCategoryCommand";
|
|
99
|
+
export * from "./command/CloudCategoryCreateCommand";
|
|
100
|
+
export * from "./command/CloudCategoryDeleteCommand";
|
|
101
|
+
export * from "./command/CloudCategoryGetCommand";
|
|
102
|
+
export * from "./command/CloudCategoryListCommand";
|
|
103
|
+
export * from "./command/CloudCommand";
|
|
104
|
+
export * from "./command/CloudCreateCommand";
|
|
105
|
+
export * from "./command/CloudDeleteCommand";
|
|
106
|
+
export * from "./command/CloudFieldCommand";
|
|
107
|
+
export * from "./command/CloudFieldCreateCommand";
|
|
108
|
+
export * from "./command/CloudFieldDeleteCommand";
|
|
109
|
+
export * from "./command/CloudFieldGetCommand";
|
|
110
|
+
export * from "./command/CloudFieldListCommand";
|
|
111
|
+
export * from "./command/CloudFieldUpdateCommand";
|
|
112
|
+
export * from "./command/CloudGetCommand";
|
|
113
|
+
export * from "./command/CloudListCommand";
|
|
114
|
+
export * from "./command/CloudTagCommand";
|
|
115
|
+
export * from "./command/CloudTagCreateCommand";
|
|
116
|
+
export * from "./command/CloudTagDeleteCommand";
|
|
117
|
+
export * from "./command/CloudTagGetCommand";
|
|
118
|
+
export * from "./command/CloudTagListCommand";
|
|
119
|
+
export * from "./command/CloudTagUpdateCommand";
|
|
120
|
+
export * from "./command/CloudUpdateCommand";
|
|
118
121
|
export * from "./command/DatabaseCategoryCommand";
|
|
119
122
|
export * from "./command/DatabaseCategoryCreateCommand";
|
|
120
123
|
export * from "./command/DatabaseCategoryDeleteCommand";
|
|
@@ -358,32 +361,33 @@ export * from "./command/ValueCommand";
|
|
|
358
361
|
export * from "./command/ValueListCommand";
|
|
359
362
|
export * from "./enum/AlertTriggerAggregator";
|
|
360
363
|
export * from "./enum/AlertTriggerOperator";
|
|
364
|
+
export * from "./enum/CloudType";
|
|
361
365
|
export * from "./enum/DatabaseConnectType";
|
|
362
366
|
export * from "./enum/DatabaseType";
|
|
363
367
|
export * from "./enum/InMemoryStoreConnectType";
|
|
364
368
|
export * from "./enum/InMemoryStoreType";
|
|
365
369
|
export * from "./enum/IncidentStatus";
|
|
370
|
+
export * from "./enum/KubernetesCloud";
|
|
366
371
|
export * from "./enum/MessageBrokerConnectType";
|
|
367
372
|
export * from "./enum/MessageBrokerType";
|
|
368
373
|
export * from "./enum/MetricCallerType";
|
|
369
|
-
export * from "./enum/MetricIntervalUnit";
|
|
370
374
|
export * from "./enum/MonitorCallerType";
|
|
371
375
|
export * from "./enum/MonitorDockerContainerConnectionType";
|
|
372
376
|
export * from "./enum/MonitorHTTPBodyEncoding";
|
|
373
|
-
export * from "./enum/MonitorHeartbeatIntervalUnit";
|
|
374
377
|
export * from "./enum/MonitorHeartbeatRetryIntervalUnit";
|
|
375
378
|
export * from "./enum/MonitorKubernetesPodControllerType";
|
|
376
379
|
export * from "./enum/MonitorRequestTimeoutUnit";
|
|
377
380
|
export * from "./enum/MonitorType";
|
|
381
|
+
export * from "./enum/ServerCloud";
|
|
378
382
|
export * from "./enum/ServerMetricRetentionUnit";
|
|
379
383
|
export * from "./meta/AlertCategoryMetaTable";
|
|
380
384
|
export * from "./meta/AlertFieldMetaTable";
|
|
381
385
|
export * from "./meta/AlertMetaTable";
|
|
382
386
|
export * from "./meta/AlertTagMetaTable";
|
|
383
|
-
export * from "./meta/
|
|
384
|
-
export * from "./meta/
|
|
385
|
-
export * from "./meta/
|
|
386
|
-
export * from "./meta/
|
|
387
|
+
export * from "./meta/CloudCategoryMetaTable";
|
|
388
|
+
export * from "./meta/CloudFieldMetaTable";
|
|
389
|
+
export * from "./meta/CloudMetaTable";
|
|
390
|
+
export * from "./meta/CloudTagMetaTable";
|
|
387
391
|
export * from "./meta/DatabaseCategoryMetaTable";
|
|
388
392
|
export * from "./meta/DatabaseFieldMetaTable";
|
|
389
393
|
export * from "./meta/DatabaseMetaTable";
|
|
@@ -430,10 +434,11 @@ export * from "./row/AlertFieldRow";
|
|
|
430
434
|
export * from "./row/AlertInputRow";
|
|
431
435
|
export * from "./row/AlertRow";
|
|
432
436
|
export * from "./row/AlertTagRow";
|
|
433
|
-
export * from "./row/
|
|
434
|
-
export * from "./row/
|
|
435
|
-
export * from "./row/
|
|
436
|
-
export * from "./row/
|
|
437
|
+
export * from "./row/CloudCategoryRow";
|
|
438
|
+
export * from "./row/CloudFieldRow";
|
|
439
|
+
export * from "./row/CloudInputRow";
|
|
440
|
+
export * from "./row/CloudRow";
|
|
441
|
+
export * from "./row/CloudTagRow";
|
|
437
442
|
export * from "./row/DatabaseCategoryRow";
|
|
438
443
|
export * from "./row/DatabaseFieldRow";
|
|
439
444
|
export * from "./row/DatabaseInputRow";
|
|
@@ -63,7 +63,7 @@ export class AlertMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, Alert
|
|
|
63
63
|
trigger_aggregator: new BaseMetaColumn(this, "trigger_aggregator", "Trigger Aggregator", "Enum", true),
|
|
64
64
|
trigger_operator: new BaseMetaColumn(this, "trigger_operator", "Trigger Operator", "Enum", true),
|
|
65
65
|
threshold: new BaseMetaColumn(this, "threshold", "Threshold", "String", true),
|
|
66
|
-
description: new BaseMetaColumn(this, "description", "Description", "String",
|
|
66
|
+
description: new BaseMetaColumn(this, "description", "Description", "String", false),
|
|
67
67
|
created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
68
68
|
updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
69
69
|
};
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
21
|
import { BaseUUID, BaseMetaColumn } from "namirasoft-core";
|
|
22
|
-
import {
|
|
22
|
+
import { CloudCategoryRow } from "../row/CloudCategoryRow";
|
|
23
23
|
import { FilterItem, SortItem } from "namirasoft-core";
|
|
24
24
|
import { NSBaseMetaDatabase, NSBaseMetaTable } from "namirasoft-site";
|
|
25
25
|
import { NamirasoftInfraServer } from "../NamirasoftInfraServer";
|
|
26
26
|
|
|
27
|
-
export class
|
|
27
|
+
export class CloudCategoryMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, CloudCategoryRow>
|
|
28
28
|
{
|
|
29
29
|
public override columns: {
|
|
30
30
|
id: BaseMetaColumn;
|
|
@@ -36,7 +36,7 @@ export class ChatCategoryMetaTable extends NSBaseMetaTable<NamirasoftInfraServer
|
|
|
36
36
|
}
|
|
37
37
|
constructor(database: NSBaseMetaDatabase<NamirasoftInfraServer>)
|
|
38
38
|
{
|
|
39
|
-
super(database, "
|
|
39
|
+
super(database, "cloud_category", "Cloud Category", new BaseUUID(""));
|
|
40
40
|
this.columns = {
|
|
41
41
|
id: new BaseMetaColumn(this, "id", "ID", "Integer", true),
|
|
42
42
|
user_id: new BaseMetaColumn(this, "user_id", "User ID", "String", true),
|
|
@@ -48,12 +48,12 @@ export class ChatCategoryMetaTable extends NSBaseMetaTable<NamirasoftInfraServer
|
|
|
48
48
|
this.back_end.get = async (id: string) =>
|
|
49
49
|
{
|
|
50
50
|
let server = this.database.getServer();
|
|
51
|
-
return await server.
|
|
51
|
+
return await server.cloud_category.Get(id);
|
|
52
52
|
};
|
|
53
53
|
this.back_end.list = async (filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[]) =>
|
|
54
54
|
{
|
|
55
55
|
let server = this.database.getServer();
|
|
56
|
-
return await server.
|
|
56
|
+
return await server.cloud_category.List(filters, page, size, sorts);
|
|
57
57
|
};
|
|
58
58
|
this.front_end.getUpdateLink = () => "";
|
|
59
59
|
}
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
21
|
import { BaseUUID, BaseMetaColumn } from "namirasoft-core";
|
|
22
|
-
import {
|
|
22
|
+
import { CloudFieldRow } from "../row/CloudFieldRow";
|
|
23
23
|
import { FilterItem, SortItem } from "namirasoft-core";
|
|
24
24
|
import { NSBaseMetaDatabase, NSBaseMetaTable } from "namirasoft-site";
|
|
25
25
|
import { NamirasoftInfraServer } from "../NamirasoftInfraServer";
|
|
26
26
|
|
|
27
|
-
export class
|
|
27
|
+
export class CloudFieldMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, CloudFieldRow>
|
|
28
28
|
{
|
|
29
29
|
public override columns: {
|
|
30
30
|
id: BaseMetaColumn;
|
|
@@ -37,7 +37,7 @@ export class ChatFieldMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, C
|
|
|
37
37
|
}
|
|
38
38
|
constructor(database: NSBaseMetaDatabase<NamirasoftInfraServer>)
|
|
39
39
|
{
|
|
40
|
-
super(database, "
|
|
40
|
+
super(database, "cloud_field", "Cloud Field", new BaseUUID(""));
|
|
41
41
|
this.columns = {
|
|
42
42
|
id: new BaseMetaColumn(this, "id", "ID", "Integer", true),
|
|
43
43
|
user_id: new BaseMetaColumn(this, "user_id", "User ID", "String", true),
|
|
@@ -50,12 +50,12 @@ export class ChatFieldMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, C
|
|
|
50
50
|
this.back_end.get = async (id: string) =>
|
|
51
51
|
{
|
|
52
52
|
let server = this.database.getServer();
|
|
53
|
-
return await server.
|
|
53
|
+
return await server.cloud_field.Get(id);
|
|
54
54
|
};
|
|
55
55
|
this.back_end.list = async (filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[]) =>
|
|
56
56
|
{
|
|
57
57
|
let server = this.database.getServer();
|
|
58
|
-
return await server.
|
|
58
|
+
return await server.cloud_field.List(filters, page, size, sorts);
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
61
|
};
|
|
@@ -19,51 +19,47 @@
|
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
21
|
import { BaseUUID, BaseMetaColumn } from "namirasoft-core";
|
|
22
|
-
import {
|
|
22
|
+
import { CloudRow } from "../row/CloudRow";
|
|
23
23
|
import { FilterItem, SortItem } from "namirasoft-core";
|
|
24
24
|
import { NSBaseMetaDatabase, NSBaseMetaTable } from "namirasoft-site";
|
|
25
25
|
import { NamirasoftInfraServer } from "../NamirasoftInfraServer";
|
|
26
26
|
|
|
27
|
-
export class
|
|
27
|
+
export class CloudMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, CloudRow>
|
|
28
28
|
{
|
|
29
29
|
public override columns: {
|
|
30
30
|
id: BaseMetaColumn;
|
|
31
31
|
user_id: BaseMetaColumn;
|
|
32
32
|
workspace_id: BaseMetaColumn;
|
|
33
|
-
|
|
34
|
-
environment_id: BaseMetaColumn;
|
|
35
|
-
incident_id: BaseMetaColumn;
|
|
33
|
+
ctl_on_server_id: BaseMetaColumn;
|
|
36
34
|
name: BaseMetaColumn;
|
|
37
|
-
|
|
35
|
+
type: BaseMetaColumn;
|
|
36
|
+
description: BaseMetaColumn;
|
|
38
37
|
created_at: BaseMetaColumn;
|
|
39
38
|
updated_at: BaseMetaColumn;
|
|
40
39
|
}
|
|
41
40
|
constructor(database: NSBaseMetaDatabase<NamirasoftInfraServer>)
|
|
42
41
|
{
|
|
43
|
-
super(database, "
|
|
42
|
+
super(database, "cloud", "Cloud", new BaseUUID("ifr-cld"));
|
|
44
43
|
this.columns = {
|
|
45
44
|
id: new BaseMetaColumn(this, "id", "ID", "String", true),
|
|
46
45
|
user_id: new BaseMetaColumn(this, "user_id", "User ID", "String", true),
|
|
47
46
|
workspace_id: new BaseMetaColumn(this, "workspace_id", "Workspace ID", "String", true),
|
|
48
|
-
|
|
49
|
-
environment_id: new BaseMetaColumn(this, "environment_id", "Environment ID", "String", true),
|
|
50
|
-
incident_id: new BaseMetaColumn(this, "incident_id", "Incident ID", "String", false),
|
|
47
|
+
ctl_on_server_id: new BaseMetaColumn(this, "ctl_on_server_id", "Ctl On Server ID", "String", true),
|
|
51
48
|
name: new BaseMetaColumn(this, "name", "Name", "String", true),
|
|
52
|
-
|
|
49
|
+
type: new BaseMetaColumn(this, "type", "Type", "Enum", true),
|
|
50
|
+
description: new BaseMetaColumn(this, "description", "Description", "String", false),
|
|
53
51
|
created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
54
52
|
updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
55
53
|
};
|
|
56
54
|
this.back_end.get = async (id: string) =>
|
|
57
55
|
{
|
|
58
56
|
let server = this.database.getServer();
|
|
59
|
-
return await server.
|
|
57
|
+
return await server.cloud.Get(id);
|
|
60
58
|
};
|
|
61
59
|
this.back_end.list = async (filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[]) =>
|
|
62
60
|
{
|
|
63
61
|
let server = this.database.getServer();
|
|
64
|
-
return await server.
|
|
62
|
+
return await server.cloud.List(filters, page, size, sorts);
|
|
65
63
|
};
|
|
66
|
-
this.front_end.getNewLink = () => "";
|
|
67
|
-
this.front_end.getUpdateLink = () => "";
|
|
68
64
|
}
|
|
69
65
|
};
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
21
|
import { BaseUUID, BaseMetaColumn } from "namirasoft-core";
|
|
22
|
-
import {
|
|
22
|
+
import { CloudTagRow } from "../row/CloudTagRow";
|
|
23
23
|
import { FilterItem, SortItem } from "namirasoft-core";
|
|
24
24
|
import { NSBaseMetaDatabase, NSBaseMetaTable } from "namirasoft-site";
|
|
25
25
|
import { NamirasoftInfraServer } from "../NamirasoftInfraServer";
|
|
26
26
|
|
|
27
|
-
export class
|
|
27
|
+
export class CloudTagMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, CloudTagRow>
|
|
28
28
|
{
|
|
29
29
|
public override columns: {
|
|
30
30
|
id: BaseMetaColumn;
|
|
@@ -37,7 +37,7 @@ export class ChatTagMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, Cha
|
|
|
37
37
|
}
|
|
38
38
|
constructor(database: NSBaseMetaDatabase<NamirasoftInfraServer>)
|
|
39
39
|
{
|
|
40
|
-
super(database, "
|
|
40
|
+
super(database, "cloud_tag", "Cloud Tag", new BaseUUID(""));
|
|
41
41
|
this.columns = {
|
|
42
42
|
id: new BaseMetaColumn(this, "id", "ID", "Integer", true),
|
|
43
43
|
user_id: new BaseMetaColumn(this, "user_id", "User ID", "String", true),
|
|
@@ -50,12 +50,12 @@ export class ChatTagMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, Cha
|
|
|
50
50
|
this.back_end.get = async (id: string) =>
|
|
51
51
|
{
|
|
52
52
|
let server = this.database.getServer();
|
|
53
|
-
return await server.
|
|
53
|
+
return await server.cloud_tag.Get(id);
|
|
54
54
|
};
|
|
55
55
|
this.back_end.list = async (filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[]) =>
|
|
56
56
|
{
|
|
57
57
|
let server = this.database.getServer();
|
|
58
|
-
return await server.
|
|
58
|
+
return await server.cloud_tag.List(filters, page, size, sorts);
|
|
59
59
|
};
|
|
60
60
|
}
|
|
61
61
|
};
|
|
@@ -37,8 +37,8 @@ export class DatabaseMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, Da
|
|
|
37
37
|
name: BaseMetaColumn;
|
|
38
38
|
type: BaseMetaColumn;
|
|
39
39
|
connect_type: BaseMetaColumn;
|
|
40
|
-
|
|
41
|
-
|
|
40
|
+
connect_server_id: BaseMetaColumn;
|
|
41
|
+
connect_kubernetes_id: BaseMetaColumn;
|
|
42
42
|
description: BaseMetaColumn;
|
|
43
43
|
created_at: BaseMetaColumn;
|
|
44
44
|
updated_at: BaseMetaColumn;
|
|
@@ -57,9 +57,9 @@ export class DatabaseMetaTable extends NSBaseMetaTable<NamirasoftInfraServer, Da
|
|
|
57
57
|
name: new BaseMetaColumn(this, "name", "Name", "String", true),
|
|
58
58
|
type: new BaseMetaColumn(this, "type", "Type", "Enum", true),
|
|
59
59
|
connect_type: new BaseMetaColumn(this, "connect_type", "Connect Type", "Enum", true),
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
description: new BaseMetaColumn(this, "description", "Description", "String",
|
|
60
|
+
connect_server_id: new BaseMetaColumn(this, "connect_server_id", "Connect Server ID", "String", false),
|
|
61
|
+
connect_kubernetes_id: new BaseMetaColumn(this, "connect_kubernetes_id", "Connect Kubernetes ID", "String", false),
|
|
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
|
};
|
|
@@ -45,7 +45,7 @@ export class EnvironmentMetaTable extends NSBaseMetaTable<NamirasoftInfraServer,
|
|
|
45
45
|
workspace_id: new BaseMetaColumn(this, "workspace_id", "Workspace ID", "String", true),
|
|
46
46
|
project_id: new BaseMetaColumn(this, "project_id", "Project ID", "String", true),
|
|
47
47
|
name: new BaseMetaColumn(this, "name", "Name", "String", true),
|
|
48
|
-
description: new BaseMetaColumn(this, "description", "Description", "String",
|
|
48
|
+
description: new BaseMetaColumn(this, "description", "Description", "String", false),
|
|
49
49
|
created_at: new BaseMetaColumn(this, "created_at", "Created At", "DateTime", true),
|
|
50
50
|
updated_at: new BaseMetaColumn(this, "updated_at", "Updated At", "DateTime", true),
|
|
51
51
|
};
|