namirasoft-cost 1.4.67 → 1.4.69
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/.ns-sdkg-dir-deep +3 -3
- package/.ns-sdkg-file-keep +44 -44
- package/dist/NamirasoftCostServer.d.ts +18 -0
- package/dist/NamirasoftCostServer.js +19 -1
- package/dist/NamirasoftCostServer.js.map +1 -1
- package/dist/NamirasoftCostServerInfraAlert.d.ts +12 -0
- package/dist/NamirasoftCostServerInfraAlert.js +37 -0
- package/dist/NamirasoftCostServerInfraAlert.js.map +1 -0
- package/dist/NamirasoftCostServerInfraCache.d.ts +12 -0
- package/dist/NamirasoftCostServerInfraCache.js +37 -0
- package/dist/NamirasoftCostServerInfraCache.js.map +1 -0
- package/dist/NamirasoftCostServerInfraDatabase.d.ts +12 -0
- package/dist/NamirasoftCostServerInfraDatabase.js +37 -0
- package/dist/NamirasoftCostServerInfraDatabase.js.map +1 -0
- package/dist/NamirasoftCostServerInfraKubernetes.d.ts +12 -0
- package/dist/NamirasoftCostServerInfraKubernetes.js +37 -0
- package/dist/NamirasoftCostServerInfraKubernetes.js.map +1 -0
- package/dist/NamirasoftCostServerInfraMessaging.d.ts +12 -0
- package/dist/NamirasoftCostServerInfraMessaging.js +37 -0
- package/dist/NamirasoftCostServerInfraMessaging.js.map +1 -0
- package/dist/NamirasoftCostServerInfraMetric.d.ts +12 -0
- package/dist/NamirasoftCostServerInfraMetric.js +37 -0
- package/dist/NamirasoftCostServerInfraMetric.js.map +1 -0
- package/dist/NamirasoftCostServerInfraMonitor.d.ts +12 -0
- package/dist/NamirasoftCostServerInfraMonitor.js +37 -0
- package/dist/NamirasoftCostServerInfraMonitor.js.map +1 -0
- package/dist/NamirasoftCostServerInfraServer.d.ts +12 -0
- package/dist/NamirasoftCostServerInfraServer.js +37 -0
- package/dist/NamirasoftCostServerInfraServer.js.map +1 -0
- package/dist/NamirasoftCostServerInfraStreaming.d.ts +12 -0
- package/dist/NamirasoftCostServerInfraStreaming.js +37 -0
- package/dist/NamirasoftCostServerInfraStreaming.js.map +1 -0
- package/dist/command/InfraAlertCommand.d.ts +4 -0
- package/dist/command/InfraAlertCommand.js +17 -0
- package/dist/command/InfraAlertCommand.js.map +1 -0
- package/dist/command/InfraAlertEstimateRecordCommand.d.ts +5 -0
- package/dist/command/InfraAlertEstimateRecordCommand.js +103 -0
- package/dist/command/InfraAlertEstimateRecordCommand.js.map +1 -0
- package/dist/command/InfraAlert_CreateForRecordCommand.d.ts +5 -0
- package/dist/command/InfraAlert_CreateForRecordCommand.js +112 -0
- package/dist/command/InfraAlert_CreateForRecordCommand.js.map +1 -0
- package/dist/command/InfraCacheCommand.d.ts +4 -0
- package/dist/command/InfraCacheCommand.js +17 -0
- package/dist/command/InfraCacheCommand.js.map +1 -0
- package/dist/command/InfraCacheEstimateRecordCommand.d.ts +5 -0
- package/dist/command/InfraCacheEstimateRecordCommand.js +103 -0
- package/dist/command/InfraCacheEstimateRecordCommand.js.map +1 -0
- package/dist/command/InfraCache_CreateForRecordCommand.d.ts +5 -0
- package/dist/command/InfraCache_CreateForRecordCommand.js +112 -0
- package/dist/command/InfraCache_CreateForRecordCommand.js.map +1 -0
- package/dist/command/InfraDatabaseCommand.d.ts +4 -0
- package/dist/command/InfraDatabaseCommand.js +17 -0
- package/dist/command/InfraDatabaseCommand.js.map +1 -0
- package/dist/command/InfraDatabaseEstimateRecordCommand.d.ts +5 -0
- package/dist/command/InfraDatabaseEstimateRecordCommand.js +103 -0
- package/dist/command/InfraDatabaseEstimateRecordCommand.js.map +1 -0
- package/dist/command/InfraDatabase_CreateForRecordCommand.d.ts +5 -0
- package/dist/command/InfraDatabase_CreateForRecordCommand.js +112 -0
- package/dist/command/InfraDatabase_CreateForRecordCommand.js.map +1 -0
- package/dist/command/InfraKubernetesCommand.d.ts +4 -0
- package/dist/command/InfraKubernetesCommand.js +17 -0
- package/dist/command/InfraKubernetesCommand.js.map +1 -0
- package/dist/command/InfraKubernetesEstimateRecordCommand.d.ts +5 -0
- package/dist/command/InfraKubernetesEstimateRecordCommand.js +103 -0
- package/dist/command/InfraKubernetesEstimateRecordCommand.js.map +1 -0
- package/dist/command/InfraKubernetes_CreateForRecordCommand.d.ts +5 -0
- package/dist/command/InfraKubernetes_CreateForRecordCommand.js +112 -0
- package/dist/command/InfraKubernetes_CreateForRecordCommand.js.map +1 -0
- package/dist/command/InfraMessagingCommand.d.ts +4 -0
- package/dist/command/InfraMessagingCommand.js +17 -0
- package/dist/command/InfraMessagingCommand.js.map +1 -0
- package/dist/command/InfraMessagingEstimateRecordCommand.d.ts +5 -0
- package/dist/command/InfraMessagingEstimateRecordCommand.js +103 -0
- package/dist/command/InfraMessagingEstimateRecordCommand.js.map +1 -0
- package/dist/command/InfraMessaging_CreateForRecordCommand.d.ts +5 -0
- package/dist/command/InfraMessaging_CreateForRecordCommand.js +112 -0
- package/dist/command/InfraMessaging_CreateForRecordCommand.js.map +1 -0
- package/dist/command/InfraMetricCommand.d.ts +4 -0
- package/dist/command/InfraMetricCommand.js +17 -0
- package/dist/command/InfraMetricCommand.js.map +1 -0
- package/dist/command/InfraMetricEstimateRecordCommand.d.ts +5 -0
- package/dist/command/InfraMetricEstimateRecordCommand.js +103 -0
- package/dist/command/InfraMetricEstimateRecordCommand.js.map +1 -0
- package/dist/command/InfraMetric_CreateForRecordCommand.d.ts +5 -0
- package/dist/command/InfraMetric_CreateForRecordCommand.js +112 -0
- package/dist/command/InfraMetric_CreateForRecordCommand.js.map +1 -0
- package/dist/command/InfraMonitorCommand.d.ts +4 -0
- package/dist/command/InfraMonitorCommand.js +17 -0
- package/dist/command/InfraMonitorCommand.js.map +1 -0
- package/dist/command/InfraMonitorEstimateRecordCommand.d.ts +5 -0
- package/dist/command/InfraMonitorEstimateRecordCommand.js +103 -0
- package/dist/command/InfraMonitorEstimateRecordCommand.js.map +1 -0
- package/dist/command/InfraMonitor_CreateForRecordCommand.d.ts +5 -0
- package/dist/command/InfraMonitor_CreateForRecordCommand.js +112 -0
- package/dist/command/InfraMonitor_CreateForRecordCommand.js.map +1 -0
- package/dist/command/InfraServerCommand.d.ts +4 -0
- package/dist/command/InfraServerCommand.js +17 -0
- package/dist/command/InfraServerCommand.js.map +1 -0
- package/dist/command/InfraServerEstimateRecordCommand.d.ts +5 -0
- package/dist/command/InfraServerEstimateRecordCommand.js +103 -0
- package/dist/command/InfraServerEstimateRecordCommand.js.map +1 -0
- package/dist/command/InfraServer_CreateForRecordCommand.d.ts +5 -0
- package/dist/command/InfraServer_CreateForRecordCommand.js +112 -0
- package/dist/command/InfraServer_CreateForRecordCommand.js.map +1 -0
- package/dist/command/InfraStreamingCommand.d.ts +4 -0
- package/dist/command/InfraStreamingCommand.js +17 -0
- package/dist/command/InfraStreamingCommand.js.map +1 -0
- package/dist/command/InfraStreamingEstimateRecordCommand.d.ts +5 -0
- package/dist/command/InfraStreamingEstimateRecordCommand.js +103 -0
- package/dist/command/InfraStreamingEstimateRecordCommand.js.map +1 -0
- package/dist/command/InfraStreaming_CreateForRecordCommand.d.ts +5 -0
- package/dist/command/InfraStreaming_CreateForRecordCommand.js +112 -0
- package/dist/command/InfraStreaming_CreateForRecordCommand.js.map +1 -0
- package/dist/command/cli.js +18 -0
- package/dist/command/cli.js.map +1 -1
- package/dist/index.d.ts +38 -1
- package/dist/index.js +38 -1
- package/dist/index.js.map +1 -1
- package/dist/meta/NamirasoftCostMetaDatabase.js +1 -1
- package/dist/meta/NamirasoftCostMetaDatabase.js.map +1 -1
- package/package.json +29 -29
- package/src/NamirasoftCostServer.ts +92 -65
- package/src/NamirasoftCostServerBase.ts +29 -29
- package/src/NamirasoftCostServerBillWatchAWS.ts +48 -48
- package/src/NamirasoftCostServerBillWatchAzure.ts +48 -48
- package/src/NamirasoftCostServerBillWatchGCP.ts +48 -48
- package/src/NamirasoftCostServerCost.ts +70 -70
- package/src/NamirasoftCostServerFieldCategory.ts +48 -48
- package/src/NamirasoftCostServerFieldField.ts +48 -48
- package/src/NamirasoftCostServerHealth.ts +42 -42
- package/src/NamirasoftCostServerHealthz.ts +36 -36
- package/src/NamirasoftCostServerInfraAlert.ts +49 -0
- package/src/NamirasoftCostServerInfraCache.ts +49 -0
- package/src/NamirasoftCostServerInfraDatabase.ts +49 -0
- package/src/NamirasoftCostServerInfraKubernetes.ts +49 -0
- package/src/NamirasoftCostServerInfraMessaging.ts +49 -0
- package/src/NamirasoftCostServerInfraMetric.ts +49 -0
- package/src/NamirasoftCostServerInfraMonitor.ts +49 -0
- package/src/NamirasoftCostServerInfraServer.ts +49 -0
- package/src/NamirasoftCostServerInfraStreaming.ts +49 -0
- package/src/NamirasoftCostServerLogLogGroup.ts +62 -62
- package/src/NamirasoftCostServerMetrics.ts +36 -36
- package/src/NamirasoftCostServerSecretSecret.ts +62 -62
- package/src/NamirasoftCostServerValue.ts +37 -37
- package/src/bonus/BaseBonus.ts +20 -20
- package/src/bonus/DeactiveBonus.ts +14 -14
- package/src/bonus/FreeCountBonus.ts +24 -24
- package/src/bonus/FreeTotalValueBonus.ts +28 -28
- package/src/bonus/FreeValueBonus.ts +24 -24
- package/src/bonus/LowAmountBonus.ts +14 -14
- package/src/bonus/LowSecondsBonus.ts +14 -14
- package/src/bonus/LowTotalValueBonus.ts +14 -14
- package/src/bonus/LowValueBonus.ts +14 -14
- package/src/bonus/TrialBonus.ts +18 -18
- package/src/command/BillWatchAWSCommand.ts +33 -33
- package/src/command/BillWatchAWSEstimateRecordCommand.ts +109 -109
- package/src/command/BillWatchAWS_CreateForRecordCommand.ts +118 -118
- package/src/command/BillWatchAzureCommand.ts +33 -33
- package/src/command/BillWatchAzureEstimateRecordCommand.ts +109 -109
- package/src/command/BillWatchAzure_CreateForRecordCommand.ts +118 -118
- package/src/command/BillWatchGCPCommand.ts +33 -33
- package/src/command/BillWatchGCPEstimateRecordCommand.ts +109 -109
- package/src/command/BillWatchGCP_CreateForRecordCommand.ts +118 -118
- package/src/command/CostCommand.ts +37 -37
- package/src/command/CostGroupedCommand.ts +127 -127
- package/src/command/CostListCommand.ts +44 -44
- package/src/command/CostResourceEntityListCommand.ts +44 -44
- package/src/command/CostResourceIDListCommand.ts +44 -44
- package/src/command/FieldCategoryCommand.ts +33 -33
- package/src/command/FieldCategoryEstimateRecordCommand.ts +109 -109
- package/src/command/FieldCategory_CreateForRecordCommand.ts +118 -118
- package/src/command/FieldFieldCommand.ts +33 -33
- package/src/command/FieldFieldEstimateRecordCommand.ts +109 -109
- package/src/command/FieldField_CreateForRecordCommand.ts +118 -118
- package/src/command/HealthCommand.ts +33 -33
- package/src/command/HealthLivenessCommand.ts +44 -44
- package/src/command/HealthReadinessCommand.ts +44 -44
- package/src/command/HealthzCommand.ts +31 -31
- package/src/command/HealthzGetCommand.ts +44 -44
- package/src/command/InfraAlertCommand.ts +34 -0
- package/src/command/InfraAlertEstimateRecordCommand.ts +110 -0
- package/src/command/InfraAlert_CreateForRecordCommand.ts +119 -0
- package/src/command/InfraCacheCommand.ts +34 -0
- package/src/command/InfraCacheEstimateRecordCommand.ts +110 -0
- package/src/command/InfraCache_CreateForRecordCommand.ts +119 -0
- package/src/command/InfraDatabaseCommand.ts +34 -0
- package/src/command/InfraDatabaseEstimateRecordCommand.ts +110 -0
- package/src/command/InfraDatabase_CreateForRecordCommand.ts +119 -0
- package/src/command/InfraKubernetesCommand.ts +34 -0
- package/src/command/InfraKubernetesEstimateRecordCommand.ts +110 -0
- package/src/command/InfraKubernetes_CreateForRecordCommand.ts +119 -0
- package/src/command/InfraMessagingCommand.ts +34 -0
- package/src/command/InfraMessagingEstimateRecordCommand.ts +110 -0
- package/src/command/InfraMessaging_CreateForRecordCommand.ts +119 -0
- package/src/command/InfraMetricCommand.ts +34 -0
- package/src/command/InfraMetricEstimateRecordCommand.ts +110 -0
- package/src/command/InfraMetric_CreateForRecordCommand.ts +119 -0
- package/src/command/InfraMonitorCommand.ts +34 -0
- package/src/command/InfraMonitorEstimateRecordCommand.ts +110 -0
- package/src/command/InfraMonitor_CreateForRecordCommand.ts +119 -0
- package/src/command/InfraServerCommand.ts +34 -0
- package/src/command/InfraServerEstimateRecordCommand.ts +110 -0
- package/src/command/InfraServer_CreateForRecordCommand.ts +119 -0
- package/src/command/InfraStreamingCommand.ts +34 -0
- package/src/command/InfraStreamingEstimateRecordCommand.ts +110 -0
- package/src/command/InfraStreaming_CreateForRecordCommand.ts +119 -0
- package/src/command/LogLogGroupCommand.ts +37 -37
- package/src/command/LogLogGroupEstimateReadCommand.ts +109 -109
- package/src/command/LogLogGroupEstimateRecordCommand.ts +109 -109
- package/src/command/LogLogGroup_CreateForReadCommand.ts +118 -118
- package/src/command/LogLogGroup_CreateForRecordCommand.ts +118 -118
- package/src/command/MetricsCommand.ts +31 -31
- package/src/command/MetricsGetCommand.ts +44 -44
- package/src/command/SecretSecretCommand.ts +37 -37
- package/src/command/SecretSecretEstimateReadCommand.ts +109 -109
- package/src/command/SecretSecretEstimateRecordCommand.ts +109 -109
- package/src/command/SecretSecret_CreateForReadCommand.ts +118 -118
- package/src/command/SecretSecret_CreateForRecordCommand.ts +118 -118
- package/src/command/ValueCommand.ts +31 -31
- package/src/command/ValueListCommand.ts +44 -44
- package/src/command/cli.ts +72 -54
- package/src/enum/DimensionType.ts +28 -28
- package/src/enum/GranularityType.ts +26 -26
- package/src/estimator/InfraAlertRecordEstimator.ts +16 -16
- package/src/estimator/InfraCacheRecordEstimator.ts +16 -16
- package/src/estimator/InfraDatabaseRecordEstimator.ts +16 -16
- package/src/estimator/InfraKubernetesRecordEstimator.ts +16 -16
- package/src/estimator/InfraMessagingRecordEstimator.ts +16 -16
- package/src/estimator/InfraMetricRecordEstimator.ts +16 -16
- package/src/estimator/InfraMonitorRecordEstimator.ts +16 -16
- package/src/estimator/InfraStreamingRecordEstimator.ts +16 -16
- package/src/index.ts +159 -122
- package/src/meta/CostMetaTable.ts +98 -98
- package/src/meta/NamirasoftCostMetaDatabase.ts +50 -50
- package/src/row/CostRow.ts +49 -49
- package/src/row/GroupedResponseRow.ts +30 -30
- package/src/type/Bonus.ts +18 -18
- package/src/type/CalculationOption.ts +33 -33
- package/src/type/Estimation.ts +35 -35
- package/src/type/EstimationOption.ts +33 -33
- package/src/type/EstimationPrice.ts +24 -24
- package/src/type/EstimationProration.ts +22 -22
- package/src/type/EstimationToken.ts +22 -22
- package/src/type/EstimationUsage.ts +26 -26
- package/src/type/Period.ts +108 -108
- package/src/type/SimulationOption.ts +29 -29
- package/src/type/Usage.ts +35 -35
package/.ns-sdkg-dir-deep
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/src
|
|
2
|
-
/src/bonus
|
|
3
|
-
/src/estimator
|
|
1
|
+
/src
|
|
2
|
+
/src/bonus
|
|
3
|
+
/src/estimator
|
|
4
4
|
/src/type
|
package/.ns-sdkg-file-keep
CHANGED
|
@@ -1,45 +1,45 @@
|
|
|
1
|
-
src/bonus/BaseBonus.ts
|
|
2
|
-
src/bonus/DeactiveBonus.ts
|
|
3
|
-
src/bonus/FreeCountBonus.ts
|
|
4
|
-
src/bonus/FreeTotalValueBonus.ts
|
|
5
|
-
src/bonus/FreeValueBonus.ts
|
|
6
|
-
src/bonus/LowAmountBonus.ts
|
|
7
|
-
src/bonus/LowSecondsBonus.ts
|
|
8
|
-
src/bonus/LowTotalValueBonus.ts
|
|
9
|
-
src/bonus/LowValueBonus.ts
|
|
10
|
-
src/bonus/TrialBonus.ts
|
|
11
|
-
src/estimator/BaseEstimator.ts
|
|
12
|
-
src/estimator/BaseTimeHourlyEstimator.ts
|
|
13
|
-
src/estimator/BillWatchAWSRecordEstimator.ts
|
|
14
|
-
src/estimator/BillWatchAzureRecordEstimator.ts
|
|
15
|
-
src/estimator/BillWatchBaseRecordEstimator.ts
|
|
16
|
-
src/estimator/BillWatchGCPRecordEstimator.ts
|
|
17
|
-
src/estimator/FieldBaseRecordEstimator.ts
|
|
18
|
-
src/estimator/FieldCategoryRecordEstimator.ts
|
|
19
|
-
src/estimator/FieldFieldRecordEstimator.ts
|
|
20
|
-
src/estimator/InfraAlertRecordEstimator.ts
|
|
21
|
-
src/estimator/InfraBaseRecordEstimator.ts
|
|
22
|
-
src/estimator/InfraCacheRecordEstimator.ts
|
|
23
|
-
src/estimator/InfraDatabaseRecordEstimator.ts
|
|
24
|
-
src/estimator/InfraKubernetesRecordEstimator.ts
|
|
25
|
-
src/estimator/InfraMessagingRecordEstimator.ts
|
|
26
|
-
src/estimator/InfraMetricRecordEstimator.ts
|
|
27
|
-
src/estimator/InfraMonitorRecordEstimator.ts
|
|
28
|
-
src/estimator/InfraServerRecordEstimator.ts
|
|
29
|
-
src/estimator/InfraStreamingRecordEstimator.ts
|
|
30
|
-
src/estimator/LogLogGroupReadEstimator.ts
|
|
31
|
-
src/estimator/LogLogGroupRecordEstimator.ts
|
|
32
|
-
src/estimator/NamirasoftCostToken.ts
|
|
33
|
-
src/estimator/SecretSecretRecordEstimator.ts
|
|
34
|
-
src/estimator/SecretSecretReadEstimator.ts
|
|
35
|
-
src/type/Bonus.ts
|
|
36
|
-
src/type/CalculationOption.ts
|
|
37
|
-
src/type/Estimation.ts
|
|
38
|
-
src/type/EstimationOption.ts
|
|
39
|
-
src/type/EstimationPrice.ts
|
|
40
|
-
src/type/EstimationProration.ts
|
|
41
|
-
src/type/EstimationToken.ts
|
|
42
|
-
src/type/EstimationUsage.ts
|
|
43
|
-
src/type/Period.ts
|
|
44
|
-
src/type/SimulationOption.ts
|
|
1
|
+
src/bonus/BaseBonus.ts
|
|
2
|
+
src/bonus/DeactiveBonus.ts
|
|
3
|
+
src/bonus/FreeCountBonus.ts
|
|
4
|
+
src/bonus/FreeTotalValueBonus.ts
|
|
5
|
+
src/bonus/FreeValueBonus.ts
|
|
6
|
+
src/bonus/LowAmountBonus.ts
|
|
7
|
+
src/bonus/LowSecondsBonus.ts
|
|
8
|
+
src/bonus/LowTotalValueBonus.ts
|
|
9
|
+
src/bonus/LowValueBonus.ts
|
|
10
|
+
src/bonus/TrialBonus.ts
|
|
11
|
+
src/estimator/BaseEstimator.ts
|
|
12
|
+
src/estimator/BaseTimeHourlyEstimator.ts
|
|
13
|
+
src/estimator/BillWatchAWSRecordEstimator.ts
|
|
14
|
+
src/estimator/BillWatchAzureRecordEstimator.ts
|
|
15
|
+
src/estimator/BillWatchBaseRecordEstimator.ts
|
|
16
|
+
src/estimator/BillWatchGCPRecordEstimator.ts
|
|
17
|
+
src/estimator/FieldBaseRecordEstimator.ts
|
|
18
|
+
src/estimator/FieldCategoryRecordEstimator.ts
|
|
19
|
+
src/estimator/FieldFieldRecordEstimator.ts
|
|
20
|
+
src/estimator/InfraAlertRecordEstimator.ts
|
|
21
|
+
src/estimator/InfraBaseRecordEstimator.ts
|
|
22
|
+
src/estimator/InfraCacheRecordEstimator.ts
|
|
23
|
+
src/estimator/InfraDatabaseRecordEstimator.ts
|
|
24
|
+
src/estimator/InfraKubernetesRecordEstimator.ts
|
|
25
|
+
src/estimator/InfraMessagingRecordEstimator.ts
|
|
26
|
+
src/estimator/InfraMetricRecordEstimator.ts
|
|
27
|
+
src/estimator/InfraMonitorRecordEstimator.ts
|
|
28
|
+
src/estimator/InfraServerRecordEstimator.ts
|
|
29
|
+
src/estimator/InfraStreamingRecordEstimator.ts
|
|
30
|
+
src/estimator/LogLogGroupReadEstimator.ts
|
|
31
|
+
src/estimator/LogLogGroupRecordEstimator.ts
|
|
32
|
+
src/estimator/NamirasoftCostToken.ts
|
|
33
|
+
src/estimator/SecretSecretRecordEstimator.ts
|
|
34
|
+
src/estimator/SecretSecretReadEstimator.ts
|
|
35
|
+
src/type/Bonus.ts
|
|
36
|
+
src/type/CalculationOption.ts
|
|
37
|
+
src/type/Estimation.ts
|
|
38
|
+
src/type/EstimationOption.ts
|
|
39
|
+
src/type/EstimationPrice.ts
|
|
40
|
+
src/type/EstimationProration.ts
|
|
41
|
+
src/type/EstimationToken.ts
|
|
42
|
+
src/type/EstimationUsage.ts
|
|
43
|
+
src/type/Period.ts
|
|
44
|
+
src/type/SimulationOption.ts
|
|
45
45
|
src/type/Usage.ts
|
|
@@ -7,6 +7,15 @@ import { NamirasoftCostServerFieldCategory } from "./NamirasoftCostServerFieldCa
|
|
|
7
7
|
import { NamirasoftCostServerFieldField } from "./NamirasoftCostServerFieldField";
|
|
8
8
|
import { NamirasoftCostServerHealth } from "./NamirasoftCostServerHealth";
|
|
9
9
|
import { NamirasoftCostServerHealthz } from "./NamirasoftCostServerHealthz";
|
|
10
|
+
import { NamirasoftCostServerInfraAlert } from "./NamirasoftCostServerInfraAlert";
|
|
11
|
+
import { NamirasoftCostServerInfraCache } from "./NamirasoftCostServerInfraCache";
|
|
12
|
+
import { NamirasoftCostServerInfraDatabase } from "./NamirasoftCostServerInfraDatabase";
|
|
13
|
+
import { NamirasoftCostServerInfraKubernetes } from "./NamirasoftCostServerInfraKubernetes";
|
|
14
|
+
import { NamirasoftCostServerInfraMessaging } from "./NamirasoftCostServerInfraMessaging";
|
|
15
|
+
import { NamirasoftCostServerInfraMetric } from "./NamirasoftCostServerInfraMetric";
|
|
16
|
+
import { NamirasoftCostServerInfraMonitor } from "./NamirasoftCostServerInfraMonitor";
|
|
17
|
+
import { NamirasoftCostServerInfraServer } from "./NamirasoftCostServerInfraServer";
|
|
18
|
+
import { NamirasoftCostServerInfraStreaming } from "./NamirasoftCostServerInfraStreaming";
|
|
10
19
|
import { NamirasoftCostServerLogLogGroup } from "./NamirasoftCostServerLogLogGroup";
|
|
11
20
|
import { NamirasoftCostServerMetrics } from "./NamirasoftCostServerMetrics";
|
|
12
21
|
import { NamirasoftCostServerSecretSecret } from "./NamirasoftCostServerSecretSecret";
|
|
@@ -22,6 +31,15 @@ export declare class NamirasoftCostServer extends NSABaseServer {
|
|
|
22
31
|
bill_watch_gcp: NamirasoftCostServerBillWatchGCP;
|
|
23
32
|
field_category: NamirasoftCostServerFieldCategory;
|
|
24
33
|
field_field: NamirasoftCostServerFieldField;
|
|
34
|
+
infra_alert: NamirasoftCostServerInfraAlert;
|
|
35
|
+
infra_cache: NamirasoftCostServerInfraCache;
|
|
36
|
+
infra_database: NamirasoftCostServerInfraDatabase;
|
|
37
|
+
infra_kubernetes: NamirasoftCostServerInfraKubernetes;
|
|
38
|
+
infra_messaging: NamirasoftCostServerInfraMessaging;
|
|
39
|
+
infra_metric: NamirasoftCostServerInfraMetric;
|
|
40
|
+
infra_monitor: NamirasoftCostServerInfraMonitor;
|
|
41
|
+
infra_server: NamirasoftCostServerInfraServer;
|
|
42
|
+
infra_streaming: NamirasoftCostServerInfraStreaming;
|
|
25
43
|
log_log_group: NamirasoftCostServerLogLogGroup;
|
|
26
44
|
secret_secret: NamirasoftCostServerSecretSecret;
|
|
27
45
|
cost: NamirasoftCostServerCost;
|
|
@@ -10,13 +10,22 @@ const NamirasoftCostServerFieldCategory_1 = require("./NamirasoftCostServerField
|
|
|
10
10
|
const NamirasoftCostServerFieldField_1 = require("./NamirasoftCostServerFieldField");
|
|
11
11
|
const NamirasoftCostServerHealth_1 = require("./NamirasoftCostServerHealth");
|
|
12
12
|
const NamirasoftCostServerHealthz_1 = require("./NamirasoftCostServerHealthz");
|
|
13
|
+
const NamirasoftCostServerInfraAlert_1 = require("./NamirasoftCostServerInfraAlert");
|
|
14
|
+
const NamirasoftCostServerInfraCache_1 = require("./NamirasoftCostServerInfraCache");
|
|
15
|
+
const NamirasoftCostServerInfraDatabase_1 = require("./NamirasoftCostServerInfraDatabase");
|
|
16
|
+
const NamirasoftCostServerInfraKubernetes_1 = require("./NamirasoftCostServerInfraKubernetes");
|
|
17
|
+
const NamirasoftCostServerInfraMessaging_1 = require("./NamirasoftCostServerInfraMessaging");
|
|
18
|
+
const NamirasoftCostServerInfraMetric_1 = require("./NamirasoftCostServerInfraMetric");
|
|
19
|
+
const NamirasoftCostServerInfraMonitor_1 = require("./NamirasoftCostServerInfraMonitor");
|
|
20
|
+
const NamirasoftCostServerInfraServer_1 = require("./NamirasoftCostServerInfraServer");
|
|
21
|
+
const NamirasoftCostServerInfraStreaming_1 = require("./NamirasoftCostServerInfraStreaming");
|
|
13
22
|
const NamirasoftCostServerLogLogGroup_1 = require("./NamirasoftCostServerLogLogGroup");
|
|
14
23
|
const NamirasoftCostServerMetrics_1 = require("./NamirasoftCostServerMetrics");
|
|
15
24
|
const NamirasoftCostServerSecretSecret_1 = require("./NamirasoftCostServerSecretSecret");
|
|
16
25
|
const NamirasoftCostServerValue_1 = require("./NamirasoftCostServerValue");
|
|
17
26
|
class NamirasoftCostServer extends namirasoft_account_1.NSABaseServer {
|
|
18
27
|
constructor(base_url, token_manager, onError) {
|
|
19
|
-
super(base_url, `1.4.
|
|
28
|
+
super(base_url, `1.4.69`, token_manager, onError);
|
|
20
29
|
this.healthz = new NamirasoftCostServerHealthz_1.NamirasoftCostServerHealthz(this);
|
|
21
30
|
this.health = new NamirasoftCostServerHealth_1.NamirasoftCostServerHealth(this);
|
|
22
31
|
this.metrics = new NamirasoftCostServerMetrics_1.NamirasoftCostServerMetrics(this);
|
|
@@ -26,6 +35,15 @@ class NamirasoftCostServer extends namirasoft_account_1.NSABaseServer {
|
|
|
26
35
|
this.bill_watch_gcp = new NamirasoftCostServerBillWatchGCP_1.NamirasoftCostServerBillWatchGCP(this);
|
|
27
36
|
this.field_category = new NamirasoftCostServerFieldCategory_1.NamirasoftCostServerFieldCategory(this);
|
|
28
37
|
this.field_field = new NamirasoftCostServerFieldField_1.NamirasoftCostServerFieldField(this);
|
|
38
|
+
this.infra_alert = new NamirasoftCostServerInfraAlert_1.NamirasoftCostServerInfraAlert(this);
|
|
39
|
+
this.infra_cache = new NamirasoftCostServerInfraCache_1.NamirasoftCostServerInfraCache(this);
|
|
40
|
+
this.infra_database = new NamirasoftCostServerInfraDatabase_1.NamirasoftCostServerInfraDatabase(this);
|
|
41
|
+
this.infra_kubernetes = new NamirasoftCostServerInfraKubernetes_1.NamirasoftCostServerInfraKubernetes(this);
|
|
42
|
+
this.infra_messaging = new NamirasoftCostServerInfraMessaging_1.NamirasoftCostServerInfraMessaging(this);
|
|
43
|
+
this.infra_metric = new NamirasoftCostServerInfraMetric_1.NamirasoftCostServerInfraMetric(this);
|
|
44
|
+
this.infra_monitor = new NamirasoftCostServerInfraMonitor_1.NamirasoftCostServerInfraMonitor(this);
|
|
45
|
+
this.infra_server = new NamirasoftCostServerInfraServer_1.NamirasoftCostServerInfraServer(this);
|
|
46
|
+
this.infra_streaming = new NamirasoftCostServerInfraStreaming_1.NamirasoftCostServerInfraStreaming(this);
|
|
29
47
|
this.log_log_group = new NamirasoftCostServerLogLogGroup_1.NamirasoftCostServerLogLogGroup(this);
|
|
30
48
|
this.secret_secret = new NamirasoftCostServerSecretSecret_1.NamirasoftCostServerSecretSecret(this);
|
|
31
49
|
this.cost = new NamirasoftCostServerCost_1.NamirasoftCostServerCost(this);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NamirasoftCostServer.js","sourceRoot":"","sources":["../src/NamirasoftCostServer.ts"],"names":[],"mappings":";;;AAoBA,2DAAmD;AACnD,yFAAsF;AACtF,6FAA0F;AAC1F,yFAAsF;AACtF,yEAAsE;AACtE,2FAAwF;AACxF,qFAAkF;AAClF,6EAA0E;AAC1E,+EAA4E;AAC5E,uFAAoF;AACpF,+EAA4E;AAC5E,yFAAsF;AACtF,2EAAwE;AAGxE,MAAa,oBAAqB,SAAQ,kCAAa;
|
|
1
|
+
{"version":3,"file":"NamirasoftCostServer.js","sourceRoot":"","sources":["../src/NamirasoftCostServer.ts"],"names":[],"mappings":";;;AAoBA,2DAAmD;AACnD,yFAAsF;AACtF,6FAA0F;AAC1F,yFAAsF;AACtF,yEAAsE;AACtE,2FAAwF;AACxF,qFAAkF;AAClF,6EAA0E;AAC1E,+EAA4E;AAC5E,qFAAkF;AAClF,qFAAkF;AAClF,2FAAwF;AACxF,+FAA4F;AAC5F,6FAA0F;AAC1F,uFAAoF;AACpF,yFAAsF;AACtF,uFAAoF;AACpF,6FAA0F;AAC1F,uFAAoF;AACpF,+EAA4E;AAC5E,yFAAsF;AACtF,2EAAwE;AAGxE,MAAa,oBAAqB,SAAQ,kCAAa;IAuBnD,YAAY,QAAgB,EAAE,aAA2B,EAAE,OAA+B;QAEtF,KAAK,CAAC,QAAQ,EAAE,QAAQ,EAAE,aAAa,EAAE,OAAO,CAAC,CAAC;QAClD,IAAI,CAAC,OAAO,GAAG,IAAI,yDAA2B,CAAC,IAAI,CAAC,CAAC;QACrD,IAAI,CAAC,MAAM,GAAG,IAAI,uDAA0B,CAAC,IAAI,CAAC,CAAC;QACnD,IAAI,CAAC,OAAO,GAAG,IAAI,yDAA2B,CAAC,IAAI,CAAC,CAAC;QACrD,IAAI,CAAC,KAAK,GAAG,IAAI,qDAAyB,CAAC,IAAI,CAAC,CAAC;QACjD,IAAI,CAAC,cAAc,GAAG,IAAI,mEAAgC,CAAC,IAAI,CAAC,CAAC;QACjE,IAAI,CAAC,gBAAgB,GAAG,IAAI,uEAAkC,CAAC,IAAI,CAAC,CAAC;QACrE,IAAI,CAAC,cAAc,GAAG,IAAI,mEAAgC,CAAC,IAAI,CAAC,CAAC;QACjE,IAAI,CAAC,cAAc,GAAG,IAAI,qEAAiC,CAAC,IAAI,CAAC,CAAC;QAClE,IAAI,CAAC,WAAW,GAAG,IAAI,+DAA8B,CAAC,IAAI,CAAC,CAAC;QAC5D,IAAI,CAAC,WAAW,GAAG,IAAI,+DAA8B,CAAC,IAAI,CAAC,CAAC;QAC5D,IAAI,CAAC,WAAW,GAAG,IAAI,+DAA8B,CAAC,IAAI,CAAC,CAAC;QAC5D,IAAI,CAAC,cAAc,GAAG,IAAI,qEAAiC,CAAC,IAAI,CAAC,CAAC;QAClE,IAAI,CAAC,gBAAgB,GAAG,IAAI,yEAAmC,CAAC,IAAI,CAAC,CAAC;QACtE,IAAI,CAAC,eAAe,GAAG,IAAI,uEAAkC,CAAC,IAAI,CAAC,CAAC;QACpE,IAAI,CAAC,YAAY,GAAG,IAAI,iEAA+B,CAAC,IAAI,CAAC,CAAC;QAC9D,IAAI,CAAC,aAAa,GAAG,IAAI,mEAAgC,CAAC,IAAI,CAAC,CAAC;QAChE,IAAI,CAAC,YAAY,GAAG,IAAI,iEAA+B,CAAC,IAAI,CAAC,CAAC;QAC9D,IAAI,CAAC,eAAe,GAAG,IAAI,uEAAkC,CAAC,IAAI,CAAC,CAAC;QACpE,IAAI,CAAC,aAAa,GAAG,IAAI,iEAA+B,CAAC,IAAI,CAAC,CAAC;QAC/D,IAAI,CAAC,aAAa,GAAG,IAAI,mEAAgC,CAAC,IAAI,CAAC,CAAC;QAChE,IAAI,CAAC,IAAI,GAAG,IAAI,mDAAwB,CAAC,IAAI,CAAC,CAAC;IACnD,CAAC;CACJ;AAhDD,oDAgDC;AAAA,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BaseServerConfig } from "namirasoft-core";
|
|
2
|
+
import { CalculationOption } from "./type/CalculationOption";
|
|
3
|
+
import { CostRow } from "./row/CostRow";
|
|
4
|
+
import { Estimation } from "./type/Estimation";
|
|
5
|
+
import { EstimationOption } from "./type/EstimationOption";
|
|
6
|
+
import { NamirasoftCostServer } from "./NamirasoftCostServer";
|
|
7
|
+
import { NamirasoftCostServerBase } from "./NamirasoftCostServerBase";
|
|
8
|
+
export declare class NamirasoftCostServerInfraAlert extends NamirasoftCostServerBase {
|
|
9
|
+
constructor(server: NamirasoftCostServer);
|
|
10
|
+
EstimateRecord(body: EstimationOption, config?: BaseServerConfig<any>): Promise<Estimation[]>;
|
|
11
|
+
_CreateForRecord(user_id: string, body: CalculationOption, config?: BaseServerConfig<any>): Promise<CostRow[]>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.NamirasoftCostServerInfraAlert = void 0;
|
|
13
|
+
const NamirasoftCostServerBase_1 = require("./NamirasoftCostServerBase");
|
|
14
|
+
class NamirasoftCostServerInfraAlert extends NamirasoftCostServerBase_1.NamirasoftCostServerBase {
|
|
15
|
+
constructor(server) {
|
|
16
|
+
super(server);
|
|
17
|
+
this.EstimateRecord = this.EstimateRecord.bind(this);
|
|
18
|
+
this._CreateForRecord = this._CreateForRecord.bind(this);
|
|
19
|
+
}
|
|
20
|
+
EstimateRecord(body, config) {
|
|
21
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
+
let path = `/estimation/Infra/Alert/record`;
|
|
23
|
+
let { data } = yield this.server._post(path, {}, body, config);
|
|
24
|
+
return data;
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
_CreateForRecord(user_id, body, config) {
|
|
28
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
29
|
+
let path = `/application/user/${user_id}/cost/Infra/Alert/record`;
|
|
30
|
+
let { data } = yield this.server._post(path, {}, body, config);
|
|
31
|
+
return data;
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.NamirasoftCostServerInfraAlert = NamirasoftCostServerInfraAlert;
|
|
36
|
+
;
|
|
37
|
+
//# sourceMappingURL=NamirasoftCostServerInfraAlert.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NamirasoftCostServerInfraAlert.js","sourceRoot":"","sources":["../src/NamirasoftCostServerInfraAlert.ts"],"names":[],"mappings":";;;;;;;;;;;;AA0BA,yEAAsE;AAEtE,MAAa,8BAA+B,SAAQ,mDAAwB;IAExE,YAAY,MAA4B;QAEpC,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACrD,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC7D,CAAC;IACK,cAAc,CAAC,IAAsB,EAAE,MAA8B;;YAEvE,IAAI,IAAI,GAAG,gCAAgC,CAAC;YAC5C,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAAe,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;YAC7E,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;IACK,gBAAgB,CAAC,OAAe,EAAE,IAAuB,EAAE,MAA8B;;YAE3F,IAAI,IAAI,GAAG,qBAAqB,OAAO,0BAA0B,CAAC;YAClE,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAAY,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;YAC1E,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;CACJ;AApBD,wEAoBC;AAAA,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BaseServerConfig } from "namirasoft-core";
|
|
2
|
+
import { CalculationOption } from "./type/CalculationOption";
|
|
3
|
+
import { CostRow } from "./row/CostRow";
|
|
4
|
+
import { Estimation } from "./type/Estimation";
|
|
5
|
+
import { EstimationOption } from "./type/EstimationOption";
|
|
6
|
+
import { NamirasoftCostServer } from "./NamirasoftCostServer";
|
|
7
|
+
import { NamirasoftCostServerBase } from "./NamirasoftCostServerBase";
|
|
8
|
+
export declare class NamirasoftCostServerInfraCache extends NamirasoftCostServerBase {
|
|
9
|
+
constructor(server: NamirasoftCostServer);
|
|
10
|
+
EstimateRecord(body: EstimationOption, config?: BaseServerConfig<any>): Promise<Estimation[]>;
|
|
11
|
+
_CreateForRecord(user_id: string, body: CalculationOption, config?: BaseServerConfig<any>): Promise<CostRow[]>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.NamirasoftCostServerInfraCache = void 0;
|
|
13
|
+
const NamirasoftCostServerBase_1 = require("./NamirasoftCostServerBase");
|
|
14
|
+
class NamirasoftCostServerInfraCache extends NamirasoftCostServerBase_1.NamirasoftCostServerBase {
|
|
15
|
+
constructor(server) {
|
|
16
|
+
super(server);
|
|
17
|
+
this.EstimateRecord = this.EstimateRecord.bind(this);
|
|
18
|
+
this._CreateForRecord = this._CreateForRecord.bind(this);
|
|
19
|
+
}
|
|
20
|
+
EstimateRecord(body, config) {
|
|
21
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
+
let path = `/estimation/Infra/Cache/record`;
|
|
23
|
+
let { data } = yield this.server._post(path, {}, body, config);
|
|
24
|
+
return data;
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
_CreateForRecord(user_id, body, config) {
|
|
28
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
29
|
+
let path = `/application/user/${user_id}/cost/Infra/Cache/record`;
|
|
30
|
+
let { data } = yield this.server._post(path, {}, body, config);
|
|
31
|
+
return data;
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.NamirasoftCostServerInfraCache = NamirasoftCostServerInfraCache;
|
|
36
|
+
;
|
|
37
|
+
//# sourceMappingURL=NamirasoftCostServerInfraCache.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NamirasoftCostServerInfraCache.js","sourceRoot":"","sources":["../src/NamirasoftCostServerInfraCache.ts"],"names":[],"mappings":";;;;;;;;;;;;AA0BA,yEAAsE;AAEtE,MAAa,8BAA+B,SAAQ,mDAAwB;IAExE,YAAY,MAA4B;QAEpC,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACrD,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC7D,CAAC;IACK,cAAc,CAAC,IAAsB,EAAE,MAA8B;;YAEvE,IAAI,IAAI,GAAG,gCAAgC,CAAC;YAC5C,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAAe,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;YAC7E,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;IACK,gBAAgB,CAAC,OAAe,EAAE,IAAuB,EAAE,MAA8B;;YAE3F,IAAI,IAAI,GAAG,qBAAqB,OAAO,0BAA0B,CAAC;YAClE,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAAY,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;YAC1E,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;CACJ;AApBD,wEAoBC;AAAA,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BaseServerConfig } from "namirasoft-core";
|
|
2
|
+
import { CalculationOption } from "./type/CalculationOption";
|
|
3
|
+
import { CostRow } from "./row/CostRow";
|
|
4
|
+
import { Estimation } from "./type/Estimation";
|
|
5
|
+
import { EstimationOption } from "./type/EstimationOption";
|
|
6
|
+
import { NamirasoftCostServer } from "./NamirasoftCostServer";
|
|
7
|
+
import { NamirasoftCostServerBase } from "./NamirasoftCostServerBase";
|
|
8
|
+
export declare class NamirasoftCostServerInfraDatabase extends NamirasoftCostServerBase {
|
|
9
|
+
constructor(server: NamirasoftCostServer);
|
|
10
|
+
EstimateRecord(body: EstimationOption, config?: BaseServerConfig<any>): Promise<Estimation[]>;
|
|
11
|
+
_CreateForRecord(user_id: string, body: CalculationOption, config?: BaseServerConfig<any>): Promise<CostRow[]>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.NamirasoftCostServerInfraDatabase = void 0;
|
|
13
|
+
const NamirasoftCostServerBase_1 = require("./NamirasoftCostServerBase");
|
|
14
|
+
class NamirasoftCostServerInfraDatabase extends NamirasoftCostServerBase_1.NamirasoftCostServerBase {
|
|
15
|
+
constructor(server) {
|
|
16
|
+
super(server);
|
|
17
|
+
this.EstimateRecord = this.EstimateRecord.bind(this);
|
|
18
|
+
this._CreateForRecord = this._CreateForRecord.bind(this);
|
|
19
|
+
}
|
|
20
|
+
EstimateRecord(body, config) {
|
|
21
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
+
let path = `/estimation/Infra/Database/record`;
|
|
23
|
+
let { data } = yield this.server._post(path, {}, body, config);
|
|
24
|
+
return data;
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
_CreateForRecord(user_id, body, config) {
|
|
28
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
29
|
+
let path = `/application/user/${user_id}/cost/Infra/Database/record`;
|
|
30
|
+
let { data } = yield this.server._post(path, {}, body, config);
|
|
31
|
+
return data;
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.NamirasoftCostServerInfraDatabase = NamirasoftCostServerInfraDatabase;
|
|
36
|
+
;
|
|
37
|
+
//# sourceMappingURL=NamirasoftCostServerInfraDatabase.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NamirasoftCostServerInfraDatabase.js","sourceRoot":"","sources":["../src/NamirasoftCostServerInfraDatabase.ts"],"names":[],"mappings":";;;;;;;;;;;;AA0BA,yEAAsE;AAEtE,MAAa,iCAAkC,SAAQ,mDAAwB;IAE3E,YAAY,MAA4B;QAEpC,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACrD,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC7D,CAAC;IACK,cAAc,CAAC,IAAsB,EAAE,MAA8B;;YAEvE,IAAI,IAAI,GAAG,mCAAmC,CAAC;YAC/C,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAAe,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;YAC7E,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;IACK,gBAAgB,CAAC,OAAe,EAAE,IAAuB,EAAE,MAA8B;;YAE3F,IAAI,IAAI,GAAG,qBAAqB,OAAO,6BAA6B,CAAC;YACrE,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAAY,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;YAC1E,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;CACJ;AApBD,8EAoBC;AAAA,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BaseServerConfig } from "namirasoft-core";
|
|
2
|
+
import { CalculationOption } from "./type/CalculationOption";
|
|
3
|
+
import { CostRow } from "./row/CostRow";
|
|
4
|
+
import { Estimation } from "./type/Estimation";
|
|
5
|
+
import { EstimationOption } from "./type/EstimationOption";
|
|
6
|
+
import { NamirasoftCostServer } from "./NamirasoftCostServer";
|
|
7
|
+
import { NamirasoftCostServerBase } from "./NamirasoftCostServerBase";
|
|
8
|
+
export declare class NamirasoftCostServerInfraKubernetes extends NamirasoftCostServerBase {
|
|
9
|
+
constructor(server: NamirasoftCostServer);
|
|
10
|
+
EstimateRecord(body: EstimationOption, config?: BaseServerConfig<any>): Promise<Estimation[]>;
|
|
11
|
+
_CreateForRecord(user_id: string, body: CalculationOption, config?: BaseServerConfig<any>): Promise<CostRow[]>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.NamirasoftCostServerInfraKubernetes = void 0;
|
|
13
|
+
const NamirasoftCostServerBase_1 = require("./NamirasoftCostServerBase");
|
|
14
|
+
class NamirasoftCostServerInfraKubernetes extends NamirasoftCostServerBase_1.NamirasoftCostServerBase {
|
|
15
|
+
constructor(server) {
|
|
16
|
+
super(server);
|
|
17
|
+
this.EstimateRecord = this.EstimateRecord.bind(this);
|
|
18
|
+
this._CreateForRecord = this._CreateForRecord.bind(this);
|
|
19
|
+
}
|
|
20
|
+
EstimateRecord(body, config) {
|
|
21
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
+
let path = `/estimation/Infra/Kubernetes/record`;
|
|
23
|
+
let { data } = yield this.server._post(path, {}, body, config);
|
|
24
|
+
return data;
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
_CreateForRecord(user_id, body, config) {
|
|
28
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
29
|
+
let path = `/application/user/${user_id}/cost/Infra/Kubernetes/record`;
|
|
30
|
+
let { data } = yield this.server._post(path, {}, body, config);
|
|
31
|
+
return data;
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.NamirasoftCostServerInfraKubernetes = NamirasoftCostServerInfraKubernetes;
|
|
36
|
+
;
|
|
37
|
+
//# sourceMappingURL=NamirasoftCostServerInfraKubernetes.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NamirasoftCostServerInfraKubernetes.js","sourceRoot":"","sources":["../src/NamirasoftCostServerInfraKubernetes.ts"],"names":[],"mappings":";;;;;;;;;;;;AA0BA,yEAAsE;AAEtE,MAAa,mCAAoC,SAAQ,mDAAwB;IAE7E,YAAY,MAA4B;QAEpC,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACrD,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC7D,CAAC;IACK,cAAc,CAAC,IAAsB,EAAE,MAA8B;;YAEvE,IAAI,IAAI,GAAG,qCAAqC,CAAC;YACjD,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAAe,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;YAC7E,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;IACK,gBAAgB,CAAC,OAAe,EAAE,IAAuB,EAAE,MAA8B;;YAE3F,IAAI,IAAI,GAAG,qBAAqB,OAAO,+BAA+B,CAAC;YACvE,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAAY,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;YAC1E,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;CACJ;AApBD,kFAoBC;AAAA,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BaseServerConfig } from "namirasoft-core";
|
|
2
|
+
import { CalculationOption } from "./type/CalculationOption";
|
|
3
|
+
import { CostRow } from "./row/CostRow";
|
|
4
|
+
import { Estimation } from "./type/Estimation";
|
|
5
|
+
import { EstimationOption } from "./type/EstimationOption";
|
|
6
|
+
import { NamirasoftCostServer } from "./NamirasoftCostServer";
|
|
7
|
+
import { NamirasoftCostServerBase } from "./NamirasoftCostServerBase";
|
|
8
|
+
export declare class NamirasoftCostServerInfraMessaging extends NamirasoftCostServerBase {
|
|
9
|
+
constructor(server: NamirasoftCostServer);
|
|
10
|
+
EstimateRecord(body: EstimationOption, config?: BaseServerConfig<any>): Promise<Estimation[]>;
|
|
11
|
+
_CreateForRecord(user_id: string, body: CalculationOption, config?: BaseServerConfig<any>): Promise<CostRow[]>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.NamirasoftCostServerInfraMessaging = void 0;
|
|
13
|
+
const NamirasoftCostServerBase_1 = require("./NamirasoftCostServerBase");
|
|
14
|
+
class NamirasoftCostServerInfraMessaging extends NamirasoftCostServerBase_1.NamirasoftCostServerBase {
|
|
15
|
+
constructor(server) {
|
|
16
|
+
super(server);
|
|
17
|
+
this.EstimateRecord = this.EstimateRecord.bind(this);
|
|
18
|
+
this._CreateForRecord = this._CreateForRecord.bind(this);
|
|
19
|
+
}
|
|
20
|
+
EstimateRecord(body, config) {
|
|
21
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
+
let path = `/estimation/Infra/Messaging/record`;
|
|
23
|
+
let { data } = yield this.server._post(path, {}, body, config);
|
|
24
|
+
return data;
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
_CreateForRecord(user_id, body, config) {
|
|
28
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
29
|
+
let path = `/application/user/${user_id}/cost/Infra/Messaging/record`;
|
|
30
|
+
let { data } = yield this.server._post(path, {}, body, config);
|
|
31
|
+
return data;
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.NamirasoftCostServerInfraMessaging = NamirasoftCostServerInfraMessaging;
|
|
36
|
+
;
|
|
37
|
+
//# sourceMappingURL=NamirasoftCostServerInfraMessaging.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NamirasoftCostServerInfraMessaging.js","sourceRoot":"","sources":["../src/NamirasoftCostServerInfraMessaging.ts"],"names":[],"mappings":";;;;;;;;;;;;AA0BA,yEAAsE;AAEtE,MAAa,kCAAmC,SAAQ,mDAAwB;IAE5E,YAAY,MAA4B;QAEpC,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACrD,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC7D,CAAC;IACK,cAAc,CAAC,IAAsB,EAAE,MAA8B;;YAEvE,IAAI,IAAI,GAAG,oCAAoC,CAAC;YAChD,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAAe,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;YAC7E,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;IACK,gBAAgB,CAAC,OAAe,EAAE,IAAuB,EAAE,MAA8B;;YAE3F,IAAI,IAAI,GAAG,qBAAqB,OAAO,8BAA8B,CAAC;YACtE,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAAY,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;YAC1E,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;CACJ;AApBD,gFAoBC;AAAA,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BaseServerConfig } from "namirasoft-core";
|
|
2
|
+
import { CalculationOption } from "./type/CalculationOption";
|
|
3
|
+
import { CostRow } from "./row/CostRow";
|
|
4
|
+
import { Estimation } from "./type/Estimation";
|
|
5
|
+
import { EstimationOption } from "./type/EstimationOption";
|
|
6
|
+
import { NamirasoftCostServer } from "./NamirasoftCostServer";
|
|
7
|
+
import { NamirasoftCostServerBase } from "./NamirasoftCostServerBase";
|
|
8
|
+
export declare class NamirasoftCostServerInfraMetric extends NamirasoftCostServerBase {
|
|
9
|
+
constructor(server: NamirasoftCostServer);
|
|
10
|
+
EstimateRecord(body: EstimationOption, config?: BaseServerConfig<any>): Promise<Estimation[]>;
|
|
11
|
+
_CreateForRecord(user_id: string, body: CalculationOption, config?: BaseServerConfig<any>): Promise<CostRow[]>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.NamirasoftCostServerInfraMetric = void 0;
|
|
13
|
+
const NamirasoftCostServerBase_1 = require("./NamirasoftCostServerBase");
|
|
14
|
+
class NamirasoftCostServerInfraMetric extends NamirasoftCostServerBase_1.NamirasoftCostServerBase {
|
|
15
|
+
constructor(server) {
|
|
16
|
+
super(server);
|
|
17
|
+
this.EstimateRecord = this.EstimateRecord.bind(this);
|
|
18
|
+
this._CreateForRecord = this._CreateForRecord.bind(this);
|
|
19
|
+
}
|
|
20
|
+
EstimateRecord(body, config) {
|
|
21
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
+
let path = `/estimation/Infra/Metric/record`;
|
|
23
|
+
let { data } = yield this.server._post(path, {}, body, config);
|
|
24
|
+
return data;
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
_CreateForRecord(user_id, body, config) {
|
|
28
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
29
|
+
let path = `/application/user/${user_id}/cost/Infra/Metric/record`;
|
|
30
|
+
let { data } = yield this.server._post(path, {}, body, config);
|
|
31
|
+
return data;
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.NamirasoftCostServerInfraMetric = NamirasoftCostServerInfraMetric;
|
|
36
|
+
;
|
|
37
|
+
//# sourceMappingURL=NamirasoftCostServerInfraMetric.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NamirasoftCostServerInfraMetric.js","sourceRoot":"","sources":["../src/NamirasoftCostServerInfraMetric.ts"],"names":[],"mappings":";;;;;;;;;;;;AA0BA,yEAAsE;AAEtE,MAAa,+BAAgC,SAAQ,mDAAwB;IAEzE,YAAY,MAA4B;QAEpC,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACrD,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC7D,CAAC;IACK,cAAc,CAAC,IAAsB,EAAE,MAA8B;;YAEvE,IAAI,IAAI,GAAG,iCAAiC,CAAC;YAC7C,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAAe,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;YAC7E,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;IACK,gBAAgB,CAAC,OAAe,EAAE,IAAuB,EAAE,MAA8B;;YAE3F,IAAI,IAAI,GAAG,qBAAqB,OAAO,2BAA2B,CAAC;YACnE,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAAY,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;YAC1E,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;CACJ;AApBD,0EAoBC;AAAA,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BaseServerConfig } from "namirasoft-core";
|
|
2
|
+
import { CalculationOption } from "./type/CalculationOption";
|
|
3
|
+
import { CostRow } from "./row/CostRow";
|
|
4
|
+
import { Estimation } from "./type/Estimation";
|
|
5
|
+
import { EstimationOption } from "./type/EstimationOption";
|
|
6
|
+
import { NamirasoftCostServer } from "./NamirasoftCostServer";
|
|
7
|
+
import { NamirasoftCostServerBase } from "./NamirasoftCostServerBase";
|
|
8
|
+
export declare class NamirasoftCostServerInfraMonitor extends NamirasoftCostServerBase {
|
|
9
|
+
constructor(server: NamirasoftCostServer);
|
|
10
|
+
EstimateRecord(body: EstimationOption, config?: BaseServerConfig<any>): Promise<Estimation[]>;
|
|
11
|
+
_CreateForRecord(user_id: string, body: CalculationOption, config?: BaseServerConfig<any>): Promise<CostRow[]>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {
|
|
3
|
+
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
|
4
|
+
return new (P || (P = Promise))(function (resolve, reject) {
|
|
5
|
+
function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }
|
|
6
|
+
function rejected(value) { try { step(generator["throw"](value)); } catch (e) { reject(e); } }
|
|
7
|
+
function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }
|
|
8
|
+
step((generator = generator.apply(thisArg, _arguments || [])).next());
|
|
9
|
+
});
|
|
10
|
+
};
|
|
11
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
12
|
+
exports.NamirasoftCostServerInfraMonitor = void 0;
|
|
13
|
+
const NamirasoftCostServerBase_1 = require("./NamirasoftCostServerBase");
|
|
14
|
+
class NamirasoftCostServerInfraMonitor extends NamirasoftCostServerBase_1.NamirasoftCostServerBase {
|
|
15
|
+
constructor(server) {
|
|
16
|
+
super(server);
|
|
17
|
+
this.EstimateRecord = this.EstimateRecord.bind(this);
|
|
18
|
+
this._CreateForRecord = this._CreateForRecord.bind(this);
|
|
19
|
+
}
|
|
20
|
+
EstimateRecord(body, config) {
|
|
21
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
22
|
+
let path = `/estimation/Infra/Monitor/record`;
|
|
23
|
+
let { data } = yield this.server._post(path, {}, body, config);
|
|
24
|
+
return data;
|
|
25
|
+
});
|
|
26
|
+
}
|
|
27
|
+
_CreateForRecord(user_id, body, config) {
|
|
28
|
+
return __awaiter(this, void 0, void 0, function* () {
|
|
29
|
+
let path = `/application/user/${user_id}/cost/Infra/Monitor/record`;
|
|
30
|
+
let { data } = yield this.server._post(path, {}, body, config);
|
|
31
|
+
return data;
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
exports.NamirasoftCostServerInfraMonitor = NamirasoftCostServerInfraMonitor;
|
|
36
|
+
;
|
|
37
|
+
//# sourceMappingURL=NamirasoftCostServerInfraMonitor.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"NamirasoftCostServerInfraMonitor.js","sourceRoot":"","sources":["../src/NamirasoftCostServerInfraMonitor.ts"],"names":[],"mappings":";;;;;;;;;;;;AA0BA,yEAAsE;AAEtE,MAAa,gCAAiC,SAAQ,mDAAwB;IAE1E,YAAY,MAA4B;QAEpC,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,cAAc,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QACrD,IAAI,CAAC,gBAAgB,GAAG,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC7D,CAAC;IACK,cAAc,CAAC,IAAsB,EAAE,MAA8B;;YAEvE,IAAI,IAAI,GAAG,kCAAkC,CAAC;YAC9C,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAAe,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;YAC7E,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;IACK,gBAAgB,CAAC,OAAe,EAAE,IAAuB,EAAE,MAA8B;;YAE3F,IAAI,IAAI,GAAG,qBAAqB,OAAO,4BAA4B,CAAC;YACpE,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAAY,IAAI,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,CAAC,CAAC;YAC1E,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;CACJ;AApBD,4EAoBC;AAAA,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { BaseServerConfig } from "namirasoft-core";
|
|
2
|
+
import { CalculationOption } from "./type/CalculationOption";
|
|
3
|
+
import { CostRow } from "./row/CostRow";
|
|
4
|
+
import { Estimation } from "./type/Estimation";
|
|
5
|
+
import { EstimationOption } from "./type/EstimationOption";
|
|
6
|
+
import { NamirasoftCostServer } from "./NamirasoftCostServer";
|
|
7
|
+
import { NamirasoftCostServerBase } from "./NamirasoftCostServerBase";
|
|
8
|
+
export declare class NamirasoftCostServerInfraServer extends NamirasoftCostServerBase {
|
|
9
|
+
constructor(server: NamirasoftCostServer);
|
|
10
|
+
EstimateRecord(body: EstimationOption, config?: BaseServerConfig<any>): Promise<Estimation[]>;
|
|
11
|
+
_CreateForRecord(user_id: string, body: CalculationOption, config?: BaseServerConfig<any>): Promise<CostRow[]>;
|
|
12
|
+
}
|