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
|
@@ -9,7 +9,7 @@ export type InMemoryStoreInputRow = {
|
|
|
9
9
|
name: string;
|
|
10
10
|
type: InMemoryStoreType;
|
|
11
11
|
connect_type: InMemoryStoreConnectType;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
description: string;
|
|
12
|
+
connect_server_id: (string | null);
|
|
13
|
+
connect_kubernetes_id: (string | null);
|
|
14
|
+
description: (string | null);
|
|
15
15
|
};
|
|
@@ -11,9 +11,9 @@ export type InMemoryStoreRow = {
|
|
|
11
11
|
name: string;
|
|
12
12
|
type: InMemoryStoreType;
|
|
13
13
|
connect_type: InMemoryStoreConnectType;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
description: string;
|
|
14
|
+
connect_server_id: (string | null);
|
|
15
|
+
connect_kubernetes_id: (string | null);
|
|
16
|
+
description: (string | null);
|
|
17
17
|
created_at: Date;
|
|
18
18
|
updated_at: Date;
|
|
19
19
|
};
|
|
@@ -1,10 +1,15 @@
|
|
|
1
|
+
import { KubernetesCloud } from "../enum/KubernetesCloud";
|
|
1
2
|
export type KubernetesInputRow = {
|
|
2
3
|
workspace_id: string;
|
|
4
|
+
service_user_id: string;
|
|
5
|
+
service_session_id: string;
|
|
3
6
|
project_id: string;
|
|
4
7
|
environment_id: string;
|
|
5
8
|
log_group_id: (string | null);
|
|
9
|
+
kubrenetes_on_server_id: string;
|
|
10
|
+
cloud: KubernetesCloud;
|
|
6
11
|
name: string;
|
|
7
|
-
description: string;
|
|
12
|
+
description: (string | null);
|
|
8
13
|
hash: string;
|
|
9
14
|
ip_public: string;
|
|
10
15
|
last_sync: string;
|
|
@@ -1,12 +1,17 @@
|
|
|
1
|
+
import { KubernetesCloud } from "../enum/KubernetesCloud";
|
|
1
2
|
export type KubernetesRow = {
|
|
2
3
|
id: string;
|
|
3
4
|
user_id: string;
|
|
4
5
|
workspace_id: string;
|
|
6
|
+
service_user_id: string;
|
|
7
|
+
service_session_id: string;
|
|
5
8
|
project_id: string;
|
|
6
9
|
environment_id: string;
|
|
7
10
|
log_group_id: (string | null);
|
|
11
|
+
kubrenetes_on_server_id: string;
|
|
12
|
+
cloud: KubernetesCloud;
|
|
8
13
|
name: string;
|
|
9
|
-
description: string;
|
|
14
|
+
description: (string | null);
|
|
10
15
|
hash: string;
|
|
11
16
|
ip_public: string;
|
|
12
17
|
last_sync: string;
|
|
@@ -9,7 +9,7 @@ export type MessageBrokerInputRow = {
|
|
|
9
9
|
name: string;
|
|
10
10
|
type: MessageBrokerType;
|
|
11
11
|
connect_type: MessageBrokerConnectType;
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
description: string;
|
|
12
|
+
connect_server_id: (string | null);
|
|
13
|
+
connect_kubernetes_id: (string | null);
|
|
14
|
+
description: (string | null);
|
|
15
15
|
};
|
|
@@ -11,9 +11,9 @@ export type MessageBrokerRow = {
|
|
|
11
11
|
name: string;
|
|
12
12
|
type: MessageBrokerType;
|
|
13
13
|
connect_type: MessageBrokerConnectType;
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
description: string;
|
|
14
|
+
connect_server_id: (string | null);
|
|
15
|
+
connect_kubernetes_id: (string | null);
|
|
16
|
+
description: (string | null);
|
|
17
17
|
created_at: Date;
|
|
18
18
|
updated_at: Date;
|
|
19
19
|
};
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { MetricCallerType } from "../enum/MetricCallerType";
|
|
2
|
-
import { MetricIntervalUnit } from "../enum/MetricIntervalUnit";
|
|
3
2
|
export type MetricInputRow = {
|
|
4
3
|
workspace_id: string;
|
|
5
4
|
project_id: string;
|
|
@@ -9,7 +8,6 @@ export type MetricInputRow = {
|
|
|
9
8
|
caller_server_id: (string | null);
|
|
10
9
|
caller_kubernetes_id: (string | null);
|
|
11
10
|
url: string;
|
|
12
|
-
|
|
13
|
-
interval_unit: MetricIntervalUnit;
|
|
11
|
+
interval_scheduler_id: string;
|
|
14
12
|
description: string;
|
|
15
13
|
};
|
package/dist/row/MetricRow.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import { MetricCallerType } from "../enum/MetricCallerType";
|
|
2
|
-
import { MetricIntervalUnit } from "../enum/MetricIntervalUnit";
|
|
3
2
|
export type MetricRow = {
|
|
4
3
|
id: string;
|
|
5
4
|
user_id: string;
|
|
@@ -11,8 +10,7 @@ export type MetricRow = {
|
|
|
11
10
|
caller_server_id: (string | null);
|
|
12
11
|
caller_kubernetes_id: (string | null);
|
|
13
12
|
url: string;
|
|
14
|
-
|
|
15
|
-
interval_unit: MetricIntervalUnit;
|
|
13
|
+
interval_scheduler_id: string;
|
|
16
14
|
description: string;
|
|
17
15
|
created_at: Date;
|
|
18
16
|
updated_at: Date;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { MonitorCallerType } from "../enum/MonitorCallerType";
|
|
2
2
|
import { MonitorDockerContainerConnectionType } from "../enum/MonitorDockerContainerConnectionType";
|
|
3
3
|
import { MonitorHTTPBodyEncoding } from "../enum/MonitorHTTPBodyEncoding";
|
|
4
|
-
import { MonitorHeartbeatIntervalUnit } from "../enum/MonitorHeartbeatIntervalUnit";
|
|
5
4
|
import { MonitorHeartbeatRetryIntervalUnit } from "../enum/MonitorHeartbeatRetryIntervalUnit";
|
|
6
5
|
import { MonitorKubernetesPodControllerType } from "../enum/MonitorKubernetesPodControllerType";
|
|
7
6
|
import { MonitorRequestTimeoutUnit } from "../enum/MonitorRequestTimeoutUnit";
|
|
@@ -16,8 +15,7 @@ export type MonitorInputRow = {
|
|
|
16
15
|
caller_server_id: (string | null);
|
|
17
16
|
caller_kubernetes_id: (string | null);
|
|
18
17
|
up_side_down: boolean;
|
|
19
|
-
|
|
20
|
-
heartbeat_interval_unit: MonitorHeartbeatIntervalUnit;
|
|
18
|
+
heartbeat_interval_scheduler_id: string;
|
|
21
19
|
retries: number;
|
|
22
20
|
heartbeat_retry_interval_value: number;
|
|
23
21
|
heartbeat_retry_interval_unit: MonitorHeartbeatRetryIntervalUnit;
|
|
@@ -44,5 +42,5 @@ export type MonitorInputRow = {
|
|
|
44
42
|
docker_container_id_or_name: (string | null);
|
|
45
43
|
kubernetes_pod_controller_type: (MonitorKubernetesPodControllerType | null);
|
|
46
44
|
kubernetes_pod_controller_name: (string | null);
|
|
47
|
-
description: string;
|
|
45
|
+
description: (string | null);
|
|
48
46
|
};
|
package/dist/row/MonitorRow.d.ts
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { MonitorCallerType } from "../enum/MonitorCallerType";
|
|
2
2
|
import { MonitorDockerContainerConnectionType } from "../enum/MonitorDockerContainerConnectionType";
|
|
3
3
|
import { MonitorHTTPBodyEncoding } from "../enum/MonitorHTTPBodyEncoding";
|
|
4
|
-
import { MonitorHeartbeatIntervalUnit } from "../enum/MonitorHeartbeatIntervalUnit";
|
|
5
4
|
import { MonitorHeartbeatRetryIntervalUnit } from "../enum/MonitorHeartbeatRetryIntervalUnit";
|
|
6
5
|
import { MonitorKubernetesPodControllerType } from "../enum/MonitorKubernetesPodControllerType";
|
|
7
6
|
import { MonitorRequestTimeoutUnit } from "../enum/MonitorRequestTimeoutUnit";
|
|
@@ -18,8 +17,7 @@ export type MonitorRow = {
|
|
|
18
17
|
caller_server_id: (string | null);
|
|
19
18
|
caller_kubernetes_id: (string | null);
|
|
20
19
|
up_side_down: boolean;
|
|
21
|
-
|
|
22
|
-
heartbeat_interval_unit: MonitorHeartbeatIntervalUnit;
|
|
20
|
+
heartbeat_interval_scheduler_id: string;
|
|
23
21
|
retries: number;
|
|
24
22
|
heartbeat_retry_interval_value: number;
|
|
25
23
|
heartbeat_retry_interval_unit: MonitorHeartbeatRetryIntervalUnit;
|
|
@@ -46,7 +44,7 @@ export type MonitorRow = {
|
|
|
46
44
|
docker_container_id_or_name: (string | null);
|
|
47
45
|
kubernetes_pod_controller_type: (MonitorKubernetesPodControllerType | null);
|
|
48
46
|
kubernetes_pod_controller_name: (string | null);
|
|
49
|
-
description: string;
|
|
47
|
+
description: (string | null);
|
|
50
48
|
created_at: Date;
|
|
51
49
|
updated_at: Date;
|
|
52
50
|
};
|
package/dist/row/ProjectRow.d.ts
CHANGED
|
@@ -1,11 +1,15 @@
|
|
|
1
|
+
import { ServerCloud } from "../enum/ServerCloud";
|
|
1
2
|
import { ServerMetricRetentionUnit } from "../enum/ServerMetricRetentionUnit";
|
|
2
3
|
export type ServerInputRow = {
|
|
3
4
|
workspace_id: string;
|
|
5
|
+
service_user_id: string;
|
|
6
|
+
service_session_id: string;
|
|
4
7
|
project_id: string;
|
|
5
8
|
environment_id: string;
|
|
6
9
|
log_group_id: (string | null);
|
|
10
|
+
cloud: ServerCloud;
|
|
7
11
|
name: string;
|
|
8
12
|
metric_retention_unit: ServerMetricRetentionUnit;
|
|
9
13
|
metric_retention_value: number;
|
|
10
|
-
description: string;
|
|
14
|
+
description: (string | null);
|
|
11
15
|
};
|
package/dist/row/ServerRow.d.ts
CHANGED
|
@@ -1,15 +1,19 @@
|
|
|
1
|
+
import { ServerCloud } from "../enum/ServerCloud";
|
|
1
2
|
import { ServerMetricRetentionUnit } from "../enum/ServerMetricRetentionUnit";
|
|
2
3
|
export type ServerRow = {
|
|
3
4
|
id: string;
|
|
4
5
|
user_id: string;
|
|
5
6
|
workspace_id: string;
|
|
7
|
+
service_user_id: string;
|
|
8
|
+
service_session_id: string;
|
|
6
9
|
project_id: string;
|
|
7
10
|
environment_id: string;
|
|
8
11
|
log_group_id: (string | null);
|
|
12
|
+
cloud: ServerCloud;
|
|
9
13
|
name: string;
|
|
10
14
|
metric_retention_unit: ServerMetricRetentionUnit;
|
|
11
15
|
metric_retention_value: number;
|
|
12
|
-
description: string;
|
|
16
|
+
description: (string | null);
|
|
13
17
|
hash: string;
|
|
14
18
|
ip_public: string;
|
|
15
19
|
ip_private: string;
|
package/package.json
CHANGED
|
@@ -23,10 +23,10 @@ import { NamirasoftInfraServerAlert } from "./NamirasoftInfraServerAlert";
|
|
|
23
23
|
import { NamirasoftInfraServerAlertCategory } from "./NamirasoftInfraServerAlertCategory";
|
|
24
24
|
import { NamirasoftInfraServerAlertField } from "./NamirasoftInfraServerAlertField";
|
|
25
25
|
import { NamirasoftInfraServerAlertTag } from "./NamirasoftInfraServerAlertTag";
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
26
|
+
import { NamirasoftInfraServerCloud } from "./NamirasoftInfraServerCloud";
|
|
27
|
+
import { NamirasoftInfraServerCloudCategory } from "./NamirasoftInfraServerCloudCategory";
|
|
28
|
+
import { NamirasoftInfraServerCloudField } from "./NamirasoftInfraServerCloudField";
|
|
29
|
+
import { NamirasoftInfraServerCloudTag } from "./NamirasoftInfraServerCloudTag";
|
|
30
30
|
import { NamirasoftInfraServerDatabase } from "./NamirasoftInfraServerDatabase";
|
|
31
31
|
import { NamirasoftInfraServerDatabaseCategory } from "./NamirasoftInfraServerDatabaseCategory";
|
|
32
32
|
import { NamirasoftInfraServerDatabaseField } from "./NamirasoftInfraServerDatabaseField";
|
|
@@ -99,10 +99,6 @@ export class NamirasoftInfraServer extends NSABaseServer
|
|
|
99
99
|
alert_field: NamirasoftInfraServerAlertField;
|
|
100
100
|
alert_tag: NamirasoftInfraServerAlertTag;
|
|
101
101
|
alert: NamirasoftInfraServerAlert;
|
|
102
|
-
chat_category: NamirasoftInfraServerChatCategory;
|
|
103
|
-
chat_field: NamirasoftInfraServerChatField;
|
|
104
|
-
chat_tag: NamirasoftInfraServerChatTag;
|
|
105
|
-
chat: NamirasoftInfraServerChat;
|
|
106
102
|
database_category: NamirasoftInfraServerDatabaseCategory;
|
|
107
103
|
database_field: NamirasoftInfraServerDatabaseField;
|
|
108
104
|
database_tag: NamirasoftInfraServerDatabaseTag;
|
|
@@ -127,9 +123,13 @@ export class NamirasoftInfraServer extends NSABaseServer
|
|
|
127
123
|
monitor_field: NamirasoftInfraServerMonitorField;
|
|
128
124
|
monitor_tag: NamirasoftInfraServerMonitorTag;
|
|
129
125
|
monitor: NamirasoftInfraServerMonitor;
|
|
126
|
+
cloud_category: NamirasoftInfraServerCloudCategory;
|
|
127
|
+
cloud_field: NamirasoftInfraServerCloudField;
|
|
128
|
+
cloud_tag: NamirasoftInfraServerCloudTag;
|
|
129
|
+
cloud: NamirasoftInfraServerCloud;
|
|
130
130
|
constructor(base_url: string, token_manager: TokenManager, onError: (error: Error) => void)
|
|
131
131
|
{
|
|
132
|
-
super(base_url, `1.4.
|
|
132
|
+
super(base_url, `1.4.3`, token_manager, onError);
|
|
133
133
|
this.healthz = new NamirasoftInfraServerHealthz(this);
|
|
134
134
|
this.health = new NamirasoftInfraServerHealth(this);
|
|
135
135
|
this.metrics = new NamirasoftInfraServerMetrics(this);
|
|
@@ -154,10 +154,6 @@ export class NamirasoftInfraServer extends NSABaseServer
|
|
|
154
154
|
this.alert_field = new NamirasoftInfraServerAlertField(this);
|
|
155
155
|
this.alert_tag = new NamirasoftInfraServerAlertTag(this);
|
|
156
156
|
this.alert = new NamirasoftInfraServerAlert(this);
|
|
157
|
-
this.chat_category = new NamirasoftInfraServerChatCategory(this);
|
|
158
|
-
this.chat_field = new NamirasoftInfraServerChatField(this);
|
|
159
|
-
this.chat_tag = new NamirasoftInfraServerChatTag(this);
|
|
160
|
-
this.chat = new NamirasoftInfraServerChat(this);
|
|
161
157
|
this.database_category = new NamirasoftInfraServerDatabaseCategory(this);
|
|
162
158
|
this.database_field = new NamirasoftInfraServerDatabaseField(this);
|
|
163
159
|
this.database_tag = new NamirasoftInfraServerDatabaseTag(this);
|
|
@@ -182,5 +178,9 @@ export class NamirasoftInfraServer extends NSABaseServer
|
|
|
182
178
|
this.monitor_field = new NamirasoftInfraServerMonitorField(this);
|
|
183
179
|
this.monitor_tag = new NamirasoftInfraServerMonitorTag(this);
|
|
184
180
|
this.monitor = new NamirasoftInfraServerMonitor(this);
|
|
181
|
+
this.cloud_category = new NamirasoftInfraServerCloudCategory(this);
|
|
182
|
+
this.cloud_field = new NamirasoftInfraServerCloudField(this);
|
|
183
|
+
this.cloud_tag = new NamirasoftInfraServerCloudTag(this);
|
|
184
|
+
this.cloud = new NamirasoftInfraServerCloud(this);
|
|
185
185
|
}
|
|
186
186
|
};
|
|
@@ -19,32 +19,53 @@
|
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
21
|
import { BaseServerConfig } from "namirasoft-core";
|
|
22
|
-
import {
|
|
22
|
+
import { CloudInputRow } from "./row/CloudInputRow";
|
|
23
|
+
import { CloudRow } from "./row/CloudRow";
|
|
23
24
|
import { FilterItem } from "namirasoft-core";
|
|
24
25
|
import { NamirasoftInfraServer } from "./NamirasoftInfraServer";
|
|
25
26
|
import { NamirasoftInfraServerBase } from "./NamirasoftInfraServerBase";
|
|
26
27
|
import { SortItem } from "namirasoft-core";
|
|
27
28
|
|
|
28
|
-
export class
|
|
29
|
+
export class NamirasoftInfraServerCloud extends NamirasoftInfraServerBase
|
|
29
30
|
{
|
|
30
31
|
constructor(server: NamirasoftInfraServer)
|
|
31
32
|
{
|
|
32
33
|
super(server);
|
|
33
34
|
this.Get = this.Get.bind(this);
|
|
35
|
+
this.Create = this.Create.bind(this);
|
|
36
|
+
this.Update = this.Update.bind(this);
|
|
37
|
+
this.Delete = this.Delete.bind(this);
|
|
34
38
|
this.List = this.List.bind(this);
|
|
35
39
|
}
|
|
36
|
-
async Get(id: (string | null), config?: BaseServerConfig<any>): Promise<
|
|
40
|
+
async Get(id: (string | null), config?: BaseServerConfig<any>): Promise<CloudRow>
|
|
37
41
|
{
|
|
38
|
-
let path = `/
|
|
39
|
-
let { data } = await this.server._get<
|
|
42
|
+
let path = `/cloud/${id}`;
|
|
43
|
+
let { data } = await this.server._get<CloudRow>(path, {}, config);
|
|
40
44
|
return data;
|
|
41
45
|
}
|
|
42
|
-
async
|
|
46
|
+
async Create(body: CloudInputRow, config?: BaseServerConfig<any>): Promise<CloudRow>
|
|
47
|
+
{
|
|
48
|
+
let path = `/cloud`;
|
|
49
|
+
let { data } = await this.server._post<CloudRow>(path, {}, body, config);
|
|
50
|
+
return data;
|
|
51
|
+
}
|
|
52
|
+
async Update(id: (string | null), body: CloudInputRow, config?: BaseServerConfig<any>): Promise<CloudRow>
|
|
53
|
+
{
|
|
54
|
+
let path = `/cloud/${id}`;
|
|
55
|
+
let { data } = await this.server._put<CloudRow>(path, {}, body, config);
|
|
56
|
+
return data;
|
|
57
|
+
}
|
|
58
|
+
async Delete(id: string, config?: BaseServerConfig<any>): Promise<void>
|
|
59
|
+
{
|
|
60
|
+
let path = `/cloud/${id}`;
|
|
61
|
+
await this.server._delete<void>(path, {}, config);
|
|
62
|
+
}
|
|
63
|
+
async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], config?: BaseServerConfig<any>): Promise<{ rows: CloudRow[], count: number }>
|
|
43
64
|
{
|
|
44
65
|
let filters_string_value: string = FilterItem.stringify(filters);
|
|
45
66
|
let sorts_string_value: string = SortItem.stringify(sorts);
|
|
46
|
-
let path = `/
|
|
47
|
-
let { data } = await this.server._get<{ rows:
|
|
67
|
+
let path = `/cloud/list`;
|
|
68
|
+
let { data } = await this.server._get<{ rows: CloudRow[], count: number }>(path, { filters: filters_string_value, page, size, sorts: sorts_string_value }, config);
|
|
48
69
|
return data;
|
|
49
70
|
}
|
|
50
71
|
};
|
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
21
|
import { BaseServerConfig } from "namirasoft-core";
|
|
22
|
-
import {
|
|
22
|
+
import { CloudCategoryRow } from "./row/CloudCategoryRow";
|
|
23
23
|
import { EntityCategoryInputRow } from "./row/EntityCategoryInputRow";
|
|
24
24
|
import { FilterItem } from "namirasoft-core";
|
|
25
25
|
import { NamirasoftInfraServer } from "./NamirasoftInfraServer";
|
|
26
26
|
import { NamirasoftInfraServerBase } from "./NamirasoftInfraServerBase";
|
|
27
27
|
import { SortItem } from "namirasoft-core";
|
|
28
28
|
|
|
29
|
-
export class
|
|
29
|
+
export class NamirasoftInfraServerCloudCategory extends NamirasoftInfraServerBase
|
|
30
30
|
{
|
|
31
31
|
constructor(server: NamirasoftInfraServer)
|
|
32
32
|
{
|
|
@@ -36,29 +36,29 @@ export class NamirasoftInfraServerChatCategory extends NamirasoftInfraServerBase
|
|
|
36
36
|
this.Create = this.Create.bind(this);
|
|
37
37
|
this.Delete = this.Delete.bind(this);
|
|
38
38
|
}
|
|
39
|
-
async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], config?: BaseServerConfig<any>): Promise<{ rows:
|
|
39
|
+
async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], config?: BaseServerConfig<any>): Promise<{ rows: CloudCategoryRow[], count: number }>
|
|
40
40
|
{
|
|
41
41
|
let filters_string_value: string = FilterItem.stringify(filters);
|
|
42
42
|
let sorts_string_value: string = SortItem.stringify(sorts);
|
|
43
|
-
let path = `
|
|
44
|
-
let { data } = await this.server._get<{ rows:
|
|
43
|
+
let path = `cloud/category/list`;
|
|
44
|
+
let { data } = await this.server._get<{ rows: CloudCategoryRow[], count: number }>(path, { filters: filters_string_value, page, size, sorts: sorts_string_value }, config);
|
|
45
45
|
return data;
|
|
46
46
|
}
|
|
47
|
-
async Get(id: string, config?: BaseServerConfig<any>): Promise<
|
|
47
|
+
async Get(id: string, config?: BaseServerConfig<any>): Promise<CloudCategoryRow>
|
|
48
48
|
{
|
|
49
|
-
let path = `
|
|
50
|
-
let { data } = await this.server._get<
|
|
49
|
+
let path = `cloud/category/${id}`;
|
|
50
|
+
let { data } = await this.server._get<CloudCategoryRow>(path, {}, config);
|
|
51
51
|
return data;
|
|
52
52
|
}
|
|
53
|
-
async Create(body: EntityCategoryInputRow, config?: BaseServerConfig<any>): Promise<
|
|
53
|
+
async Create(body: EntityCategoryInputRow, config?: BaseServerConfig<any>): Promise<CloudCategoryRow>
|
|
54
54
|
{
|
|
55
|
-
let path = `
|
|
56
|
-
let { data } = await this.server._post<
|
|
55
|
+
let path = `cloud/category`;
|
|
56
|
+
let { data } = await this.server._post<CloudCategoryRow>(path, {}, body, config);
|
|
57
57
|
return data;
|
|
58
58
|
}
|
|
59
59
|
async Delete(id: number, config?: BaseServerConfig<any>): Promise<void>
|
|
60
60
|
{
|
|
61
|
-
let path = `
|
|
61
|
+
let path = `cloud/category/${id}`;
|
|
62
62
|
await this.server._delete<void>(path, {}, config);
|
|
63
63
|
}
|
|
64
64
|
};
|
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
21
|
import { BaseServerConfig } from "namirasoft-core";
|
|
22
|
-
import {
|
|
22
|
+
import { CloudFieldRow } from "./row/CloudFieldRow";
|
|
23
23
|
import { EntityFieldInputRow } from "./row/EntityFieldInputRow";
|
|
24
24
|
import { FilterItem } from "namirasoft-core";
|
|
25
25
|
import { NamirasoftInfraServer } from "./NamirasoftInfraServer";
|
|
26
26
|
import { NamirasoftInfraServerBase } from "./NamirasoftInfraServerBase";
|
|
27
27
|
import { SortItem } from "namirasoft-core";
|
|
28
28
|
|
|
29
|
-
export class
|
|
29
|
+
export class NamirasoftInfraServerCloudField extends NamirasoftInfraServerBase
|
|
30
30
|
{
|
|
31
31
|
constructor(server: NamirasoftInfraServer)
|
|
32
32
|
{
|
|
@@ -37,35 +37,35 @@ export class NamirasoftInfraServerChatField extends NamirasoftInfraServerBase
|
|
|
37
37
|
this.Update = this.Update.bind(this);
|
|
38
38
|
this.Delete = this.Delete.bind(this);
|
|
39
39
|
}
|
|
40
|
-
async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], config?: BaseServerConfig<any>): Promise<{ rows:
|
|
40
|
+
async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], config?: BaseServerConfig<any>): Promise<{ rows: CloudFieldRow[], count: number }>
|
|
41
41
|
{
|
|
42
42
|
let filters_string_value: string = FilterItem.stringify(filters);
|
|
43
43
|
let sorts_string_value: string = SortItem.stringify(sorts);
|
|
44
|
-
let path = `
|
|
45
|
-
let { data } = await this.server._get<{ rows:
|
|
44
|
+
let path = `cloud/field/list`;
|
|
45
|
+
let { data } = await this.server._get<{ rows: CloudFieldRow[], count: number }>(path, { filters: filters_string_value, page, size, sorts: sorts_string_value }, config);
|
|
46
46
|
return data;
|
|
47
47
|
}
|
|
48
|
-
async Get(id: string, config?: BaseServerConfig<any>): Promise<
|
|
48
|
+
async Get(id: string, config?: BaseServerConfig<any>): Promise<CloudFieldRow>
|
|
49
49
|
{
|
|
50
|
-
let path = `
|
|
51
|
-
let { data } = await this.server._get<
|
|
50
|
+
let path = `cloud/field/${id}`;
|
|
51
|
+
let { data } = await this.server._get<CloudFieldRow>(path, {}, config);
|
|
52
52
|
return data;
|
|
53
53
|
}
|
|
54
|
-
async Create(body: EntityFieldInputRow, config?: BaseServerConfig<any>): Promise<
|
|
54
|
+
async Create(body: EntityFieldInputRow, config?: BaseServerConfig<any>): Promise<CloudFieldRow>
|
|
55
55
|
{
|
|
56
|
-
let path = `
|
|
57
|
-
let { data } = await this.server._post<
|
|
56
|
+
let path = `cloud/field`;
|
|
57
|
+
let { data } = await this.server._post<CloudFieldRow>(path, {}, body, config);
|
|
58
58
|
return data;
|
|
59
59
|
}
|
|
60
|
-
async Update(id: number, body: EntityFieldInputRow, config?: BaseServerConfig<any>): Promise<
|
|
60
|
+
async Update(id: number, body: EntityFieldInputRow, config?: BaseServerConfig<any>): Promise<CloudFieldRow>
|
|
61
61
|
{
|
|
62
|
-
let path = `
|
|
63
|
-
let { data } = await this.server._put<
|
|
62
|
+
let path = `cloud/field/${id}`;
|
|
63
|
+
let { data } = await this.server._put<CloudFieldRow>(path, {}, body, config);
|
|
64
64
|
return data;
|
|
65
65
|
}
|
|
66
66
|
async Delete(id: number, config?: BaseServerConfig<any>): Promise<void>
|
|
67
67
|
{
|
|
68
|
-
let path = `
|
|
68
|
+
let path = `cloud/field/${id}`;
|
|
69
69
|
await this.server._delete<void>(path, {}, config);
|
|
70
70
|
}
|
|
71
71
|
};
|
|
@@ -19,14 +19,14 @@
|
|
|
19
19
|
/****************************************************************/
|
|
20
20
|
|
|
21
21
|
import { BaseServerConfig } from "namirasoft-core";
|
|
22
|
-
import {
|
|
22
|
+
import { CloudTagRow } from "./row/CloudTagRow";
|
|
23
23
|
import { EntityTagInputRow } from "./row/EntityTagInputRow";
|
|
24
24
|
import { FilterItem } from "namirasoft-core";
|
|
25
25
|
import { NamirasoftInfraServer } from "./NamirasoftInfraServer";
|
|
26
26
|
import { NamirasoftInfraServerBase } from "./NamirasoftInfraServerBase";
|
|
27
27
|
import { SortItem } from "namirasoft-core";
|
|
28
28
|
|
|
29
|
-
export class
|
|
29
|
+
export class NamirasoftInfraServerCloudTag extends NamirasoftInfraServerBase
|
|
30
30
|
{
|
|
31
31
|
constructor(server: NamirasoftInfraServer)
|
|
32
32
|
{
|
|
@@ -37,35 +37,35 @@ export class NamirasoftInfraServerChatTag extends NamirasoftInfraServerBase
|
|
|
37
37
|
this.Update = this.Update.bind(this);
|
|
38
38
|
this.Delete = this.Delete.bind(this);
|
|
39
39
|
}
|
|
40
|
-
async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], config?: BaseServerConfig<any>): Promise<{ rows:
|
|
40
|
+
async List(filters: FilterItem[] | null, page: (number | null), size: (number | null), sorts: SortItem[], config?: BaseServerConfig<any>): Promise<{ rows: CloudTagRow[], count: number }>
|
|
41
41
|
{
|
|
42
42
|
let filters_string_value: string = FilterItem.stringify(filters);
|
|
43
43
|
let sorts_string_value: string = SortItem.stringify(sorts);
|
|
44
|
-
let path = `
|
|
45
|
-
let { data } = await this.server._get<{ rows:
|
|
44
|
+
let path = `cloud/tag/list`;
|
|
45
|
+
let { data } = await this.server._get<{ rows: CloudTagRow[], count: number }>(path, { filters: filters_string_value, page, size, sorts: sorts_string_value }, config);
|
|
46
46
|
return data;
|
|
47
47
|
}
|
|
48
|
-
async Get(id: string, config?: BaseServerConfig<any>): Promise<
|
|
48
|
+
async Get(id: string, config?: BaseServerConfig<any>): Promise<CloudTagRow>
|
|
49
49
|
{
|
|
50
|
-
let path = `
|
|
51
|
-
let { data } = await this.server._get<
|
|
50
|
+
let path = `cloud/tag/${id}`;
|
|
51
|
+
let { data } = await this.server._get<CloudTagRow>(path, {}, config);
|
|
52
52
|
return data;
|
|
53
53
|
}
|
|
54
|
-
async Create(body: EntityTagInputRow, config?: BaseServerConfig<any>): Promise<
|
|
54
|
+
async Create(body: EntityTagInputRow, config?: BaseServerConfig<any>): Promise<CloudTagRow>
|
|
55
55
|
{
|
|
56
|
-
let path = `
|
|
57
|
-
let { data } = await this.server._post<
|
|
56
|
+
let path = `cloud/tag`;
|
|
57
|
+
let { data } = await this.server._post<CloudTagRow>(path, {}, body, config);
|
|
58
58
|
return data;
|
|
59
59
|
}
|
|
60
|
-
async Update(id: number, body: EntityTagInputRow, config?: BaseServerConfig<any>): Promise<
|
|
60
|
+
async Update(id: number, body: EntityTagInputRow, config?: BaseServerConfig<any>): Promise<CloudTagRow>
|
|
61
61
|
{
|
|
62
|
-
let path = `
|
|
63
|
-
let { data } = await this.server._put<
|
|
62
|
+
let path = `cloud/tag/${id}`;
|
|
63
|
+
let { data } = await this.server._put<CloudTagRow>(path, {}, body, config);
|
|
64
64
|
return data;
|
|
65
65
|
}
|
|
66
66
|
async Delete(id: number, config?: BaseServerConfig<any>): Promise<void>
|
|
67
67
|
{
|
|
68
|
-
let path = `
|
|
68
|
+
let path = `cloud/tag/${id}`;
|
|
69
69
|
await this.server._delete<void>(path, {}, config);
|
|
70
70
|
}
|
|
71
71
|
};
|
|
@@ -69,10 +69,10 @@ export class NamirasoftInfraServerMetric extends NamirasoftInfraServerBase
|
|
|
69
69
|
let { data } = await this.server._get<{ rows: MetricRow[], count: number }>(path, { filters: filters_string_value, page, size, sorts: sorts_string_value }, config);
|
|
70
70
|
return data;
|
|
71
71
|
}
|
|
72
|
-
async Result(config?: BaseServerConfig<any>): Promise<MetricRow>
|
|
72
|
+
async Result(config?: BaseServerConfig<any>): Promise<{ rows: MetricRow[], count: number }>
|
|
73
73
|
{
|
|
74
74
|
let path = `/result`;
|
|
75
|
-
let { data } = await this.server._get<MetricRow>(path, {}, config);
|
|
75
|
+
let { data } = await this.server._get<{ rows: MetricRow[], count: number }>(path, {}, config);
|
|
76
76
|
return data;
|
|
77
77
|
}
|
|
78
78
|
};
|
|
@@ -20,7 +20,6 @@
|
|
|
20
20
|
|
|
21
21
|
import { BaseServerConfig } from "namirasoft-core";
|
|
22
22
|
import { FilterItem } from "namirasoft-core";
|
|
23
|
-
import { MetricRow } from "./row/MetricRow";
|
|
24
23
|
import { MonitorInputRow } from "./row/MonitorInputRow";
|
|
25
24
|
import { MonitorRow } from "./row/MonitorRow";
|
|
26
25
|
import { NamirasoftInfraServer } from "./NamirasoftInfraServer";
|
|
@@ -70,10 +69,10 @@ export class NamirasoftInfraServerMonitor extends NamirasoftInfraServerBase
|
|
|
70
69
|
let { data } = await this.server._get<{ rows: MonitorRow[], count: number }>(path, { filters: filters_string_value, page, size, sorts: sorts_string_value }, config);
|
|
71
70
|
return data;
|
|
72
71
|
}
|
|
73
|
-
async Result(config?: BaseServerConfig<any>): Promise<
|
|
72
|
+
async Result(config?: BaseServerConfig<any>): Promise<{ rows: MonitorRow[], count: number }>
|
|
74
73
|
{
|
|
75
74
|
let path = `/result`;
|
|
76
|
-
let { data } = await this.server._get<
|
|
75
|
+
let { data } = await this.server._get<{ rows: MonitorRow[], count: number }>(path, {}, config);
|
|
77
76
|
return data;
|
|
78
77
|
}
|
|
79
78
|
};
|
|
@@ -128,7 +128,7 @@ export class AlertCreateCommand extends BaseFinalCommand
|
|
|
128
128
|
name: "description",
|
|
129
129
|
short: "",
|
|
130
130
|
description: "Provides the value of 'description' in body",
|
|
131
|
-
optional:
|
|
131
|
+
optional: true,
|
|
132
132
|
args: ["description"],
|
|
133
133
|
defaults: [""]
|
|
134
134
|
}
|
|
@@ -128,7 +128,7 @@ export class AlertUpdateCommand extends BaseFinalCommand
|
|
|
128
128
|
name: "description",
|
|
129
129
|
short: "",
|
|
130
130
|
description: "Provides the value of 'description' in body",
|
|
131
|
-
optional:
|
|
131
|
+
optional: true,
|
|
132
132
|
args: ["description"],
|
|
133
133
|
defaults: [""]
|
|
134
134
|
}
|