namirasoft-cost 1.4.25 → 1.4.26
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-file-keep +9 -8
- package/dist/NamirasoftCostServerBillWatchAWS.d.ts +2 -2
- package/dist/NamirasoftCostServerBillWatchAWS.js +4 -4
- package/dist/NamirasoftCostServerBillWatchAzure.d.ts +2 -2
- package/dist/NamirasoftCostServerBillWatchAzure.js +4 -4
- package/dist/NamirasoftCostServerBillWatchGCP.d.ts +2 -2
- package/dist/NamirasoftCostServerBillWatchGCP.js +4 -4
- package/dist/NamirasoftCostServerFieldCategory.d.ts +2 -2
- package/dist/NamirasoftCostServerFieldCategory.js +4 -4
- package/dist/NamirasoftCostServerFieldField.d.ts +2 -2
- package/dist/NamirasoftCostServerFieldField.js +4 -4
- package/dist/NamirasoftCostServerSecretSecret.d.ts +2 -2
- package/dist/NamirasoftCostServerSecretSecret.js +4 -4
- package/dist/index.d.ts +1 -29
- package/dist/index.js +1 -29
- package/dist/index.js.map +1 -1
- package/dist/type/Bonus.d.ts +9 -0
- package/dist/type/Bonus.js +16 -0
- package/dist/type/Bonus.js.map +1 -0
- package/dist/type/Estimation.d.ts +4 -0
- package/dist/type/Estimation.js +22 -0
- package/dist/type/Estimation.js.map +1 -1
- package/dist/type/EstimationOption.d.ts +4 -0
- package/dist/type/EstimationOption.js +20 -0
- package/dist/type/EstimationOption.js.map +1 -1
- package/dist/type/EstimationUsage.d.ts +4 -0
- package/dist/type/EstimationUsage.js +15 -0
- package/dist/type/EstimationUsage.js.map +1 -1
- package/dist/type/Period.d.ts +4 -0
- package/dist/type/Period.js +27 -4
- package/dist/type/Period.js.map +1 -1
- package/package.json +4 -3
- package/src/NamirasoftCostServerBillWatchAWS.ts +4 -4
- package/src/NamirasoftCostServerBillWatchAzure.ts +4 -4
- package/src/NamirasoftCostServerBillWatchGCP.ts +4 -4
- package/src/NamirasoftCostServerFieldCategory.ts +4 -4
- package/src/NamirasoftCostServerFieldField.ts +4 -4
- package/src/NamirasoftCostServerSecretSecret.ts +4 -4
- package/src/index.ts +1 -29
- package/src/type/Bonus.ts +21 -0
- package/src/type/Estimation.ts +24 -3
- package/src/type/EstimationOption.ts +22 -2
- package/src/type/EstimationUsage.ts +18 -1
- package/src/type/Period.ts +27 -3
- package/dist/command/BillWatchAWSCommand.d.ts +0 -4
- package/dist/command/BillWatchAWSCommand.js +0 -17
- package/dist/command/BillWatchAWSCommand.js.map +0 -1
- package/dist/command/BillWatchAWSEstimateHourlyCommand.d.ts +0 -5
- package/dist/command/BillWatchAWSEstimateHourlyCommand.js +0 -76
- package/dist/command/BillWatchAWSEstimateHourlyCommand.js.map +0 -1
- package/dist/command/BillWatchAWS_CreateForHourlyCommand.d.ts +0 -5
- package/dist/command/BillWatchAWS_CreateForHourlyCommand.js +0 -94
- package/dist/command/BillWatchAWS_CreateForHourlyCommand.js.map +0 -1
- package/dist/command/BillWatchAzureCommand.d.ts +0 -4
- package/dist/command/BillWatchAzureCommand.js +0 -17
- package/dist/command/BillWatchAzureCommand.js.map +0 -1
- package/dist/command/BillWatchAzureEstimateHourlyCommand.d.ts +0 -5
- package/dist/command/BillWatchAzureEstimateHourlyCommand.js +0 -76
- package/dist/command/BillWatchAzureEstimateHourlyCommand.js.map +0 -1
- package/dist/command/BillWatchAzure_CreateForHourlyCommand.d.ts +0 -5
- package/dist/command/BillWatchAzure_CreateForHourlyCommand.js +0 -94
- package/dist/command/BillWatchAzure_CreateForHourlyCommand.js.map +0 -1
- package/dist/command/BillWatchGCPCommand.d.ts +0 -4
- package/dist/command/BillWatchGCPCommand.js +0 -17
- package/dist/command/BillWatchGCPCommand.js.map +0 -1
- package/dist/command/BillWatchGCPEstimateHourlyCommand.d.ts +0 -5
- package/dist/command/BillWatchGCPEstimateHourlyCommand.js +0 -76
- package/dist/command/BillWatchGCPEstimateHourlyCommand.js.map +0 -1
- package/dist/command/BillWatchGCP_CreateForHourlyCommand.d.ts +0 -5
- package/dist/command/BillWatchGCP_CreateForHourlyCommand.js +0 -94
- package/dist/command/BillWatchGCP_CreateForHourlyCommand.js.map +0 -1
- package/dist/command/CostCommand.d.ts +0 -4
- package/dist/command/CostCommand.js +0 -17
- package/dist/command/CostCommand.js.map +0 -1
- package/dist/command/CostListCommand.d.ts +0 -5
- package/dist/command/CostListCommand.js +0 -38
- package/dist/command/CostListCommand.js.map +0 -1
- package/dist/command/Cost_CreateForCommand.d.ts +0 -5
- package/dist/command/Cost_CreateForCommand.js +0 -175
- package/dist/command/Cost_CreateForCommand.js.map +0 -1
- package/dist/command/FieldCategoryCommand.d.ts +0 -4
- package/dist/command/FieldCategoryCommand.js +0 -17
- package/dist/command/FieldCategoryCommand.js.map +0 -1
- package/dist/command/FieldCategoryEstimateHourlyCommand.d.ts +0 -5
- package/dist/command/FieldCategoryEstimateHourlyCommand.js +0 -76
- package/dist/command/FieldCategoryEstimateHourlyCommand.js.map +0 -1
- package/dist/command/FieldCategory_CreateForHourlyCommand.d.ts +0 -5
- package/dist/command/FieldCategory_CreateForHourlyCommand.js +0 -94
- package/dist/command/FieldCategory_CreateForHourlyCommand.js.map +0 -1
- package/dist/command/FieldFieldCommand.d.ts +0 -4
- package/dist/command/FieldFieldCommand.js +0 -17
- package/dist/command/FieldFieldCommand.js.map +0 -1
- package/dist/command/FieldFieldEstimateHourlyCommand.d.ts +0 -5
- package/dist/command/FieldFieldEstimateHourlyCommand.js +0 -76
- package/dist/command/FieldFieldEstimateHourlyCommand.js.map +0 -1
- package/dist/command/FieldField_CreateForHourlyCommand.d.ts +0 -5
- package/dist/command/FieldField_CreateForHourlyCommand.js +0 -94
- package/dist/command/FieldField_CreateForHourlyCommand.js.map +0 -1
- package/dist/command/HealthzCommand.d.ts +0 -4
- package/dist/command/HealthzCommand.js +0 -15
- package/dist/command/HealthzCommand.js.map +0 -1
- package/dist/command/HealthzGetCommand.d.ts +0 -5
- package/dist/command/HealthzGetCommand.js +0 -38
- package/dist/command/HealthzGetCommand.js.map +0 -1
- package/dist/command/MetricsCommand.d.ts +0 -4
- package/dist/command/MetricsCommand.js +0 -15
- package/dist/command/MetricsCommand.js.map +0 -1
- package/dist/command/MetricsGetCommand.d.ts +0 -5
- package/dist/command/MetricsGetCommand.js +0 -38
- package/dist/command/MetricsGetCommand.js.map +0 -1
- package/dist/command/SecretSecretCommand.d.ts +0 -4
- package/dist/command/SecretSecretCommand.js +0 -21
- package/dist/command/SecretSecretCommand.js.map +0 -1
- package/dist/command/SecretSecretEstimateHourlyCommand.d.ts +0 -5
- package/dist/command/SecretSecretEstimateHourlyCommand.js +0 -76
- package/dist/command/SecretSecretEstimateHourlyCommand.js.map +0 -1
- package/dist/command/SecretSecretEstimateReadCommand.d.ts +0 -5
- package/dist/command/SecretSecretEstimateReadCommand.js +0 -76
- package/dist/command/SecretSecretEstimateReadCommand.js.map +0 -1
- package/dist/command/SecretSecret_CreateForHourlyCommand.d.ts +0 -5
- package/dist/command/SecretSecret_CreateForHourlyCommand.js +0 -94
- package/dist/command/SecretSecret_CreateForHourlyCommand.js.map +0 -1
- package/dist/command/SecretSecret_CreateForReadCommand.d.ts +0 -5
- package/dist/command/SecretSecret_CreateForReadCommand.js +0 -94
- package/dist/command/SecretSecret_CreateForReadCommand.js.map +0 -1
- package/dist/command/ValueCommand.d.ts +0 -4
- package/dist/command/ValueCommand.js +0 -15
- package/dist/command/ValueCommand.js.map +0 -1
- package/dist/command/ValueListCommand.d.ts +0 -5
- package/dist/command/ValueListCommand.js +0 -38
- package/dist/command/ValueListCommand.js.map +0 -1
- package/dist/command/cli.d.ts +0 -2
- package/dist/command/cli.js +0 -32
- package/dist/command/cli.js.map +0 -1
- package/dist/estimator/BillWatchAWSEstimator.d.ts +0 -3
- package/dist/estimator/BillWatchAWSEstimator.js +0 -8
- package/dist/estimator/BillWatchAWSEstimator.js.map +0 -1
- package/dist/estimator/BillWatchAWSHourlyEstimator.d.ts +0 -3
- package/dist/estimator/BillWatchAWSHourlyEstimator.js +0 -8
- package/dist/estimator/BillWatchAWSHourlyEstimator.js.map +0 -1
- package/dist/estimator/BillWatchAzureEstimator.d.ts +0 -3
- package/dist/estimator/BillWatchAzureEstimator.js +0 -8
- package/dist/estimator/BillWatchAzureEstimator.js.map +0 -1
- package/dist/estimator/BillWatchAzureHourlyEstimator.d.ts +0 -3
- package/dist/estimator/BillWatchAzureHourlyEstimator.js +0 -8
- package/dist/estimator/BillWatchAzureHourlyEstimator.js.map +0 -1
- package/dist/estimator/BillWatchBaseEstimator.d.ts +0 -14
- package/dist/estimator/BillWatchBaseEstimator.js +0 -26
- package/dist/estimator/BillWatchBaseEstimator.js.map +0 -1
- package/dist/estimator/BillWatchBaseHourlyEstimator.d.ts +0 -14
- package/dist/estimator/BillWatchBaseHourlyEstimator.js +0 -26
- package/dist/estimator/BillWatchBaseHourlyEstimator.js.map +0 -1
- package/dist/estimator/BillWatchGCPEstimator.d.ts +0 -3
- package/dist/estimator/BillWatchGCPEstimator.js +0 -8
- package/dist/estimator/BillWatchGCPEstimator.js.map +0 -1
- package/dist/estimator/BillWatchGCPHourlyEstimator.d.ts +0 -3
- package/dist/estimator/BillWatchGCPHourlyEstimator.js +0 -8
- package/dist/estimator/BillWatchGCPHourlyEstimator.js.map +0 -1
- package/dist/estimator/FieldBaseEstimator.d.ts +0 -9
- package/dist/estimator/FieldBaseEstimator.js +0 -22
- package/dist/estimator/FieldBaseEstimator.js.map +0 -1
- package/dist/estimator/FieldBaseHourlyEstimator.d.ts +0 -9
- package/dist/estimator/FieldBaseHourlyEstimator.js +0 -22
- package/dist/estimator/FieldBaseHourlyEstimator.js.map +0 -1
- package/dist/estimator/FieldCategoryEstimator.d.ts +0 -8
- package/dist/estimator/FieldCategoryEstimator.js +0 -12
- package/dist/estimator/FieldCategoryEstimator.js.map +0 -1
- package/dist/estimator/FieldCategoryHourlyEstimator.d.ts +0 -8
- package/dist/estimator/FieldCategoryHourlyEstimator.js +0 -12
- package/dist/estimator/FieldCategoryHourlyEstimator.js.map +0 -1
- package/dist/estimator/FieldFieldEstimator.d.ts +0 -8
- package/dist/estimator/FieldFieldEstimator.js +0 -12
- package/dist/estimator/FieldFieldEstimator.js.map +0 -1
- package/dist/estimator/FieldFieldHourlyEstimator.d.ts +0 -8
- package/dist/estimator/FieldFieldHourlyEstimator.js +0 -12
- package/dist/estimator/FieldFieldHourlyEstimator.js.map +0 -1
- package/dist/estimator/SecretSecretEstimator.d.ts +0 -14
- package/dist/estimator/SecretSecretEstimator.js +0 -25
- package/dist/estimator/SecretSecretEstimator.js.map +0 -1
- package/dist/estimator/SecretSecretHourlyEstimator.d.ts +0 -14
- package/dist/estimator/SecretSecretHourlyEstimator.js +0 -25
- package/dist/estimator/SecretSecretHourlyEstimator.js.map +0 -1
- package/src/command/BillWatchAWSCommand.ts +0 -34
- package/src/command/BillWatchAWSEstimateHourlyCommand.ts +0 -83
- package/src/command/BillWatchAWS_CreateForHourlyCommand.ts +0 -101
- package/src/command/BillWatchAzureCommand.ts +0 -34
- package/src/command/BillWatchAzureEstimateHourlyCommand.ts +0 -83
- package/src/command/BillWatchAzure_CreateForHourlyCommand.ts +0 -101
- package/src/command/BillWatchGCPCommand.ts +0 -34
- package/src/command/BillWatchGCPEstimateHourlyCommand.ts +0 -83
- package/src/command/BillWatchGCP_CreateForHourlyCommand.ts +0 -101
- package/src/command/CostCommand.ts +0 -34
- package/src/command/CostListCommand.ts +0 -45
- package/src/command/Cost_CreateForCommand.ts +0 -182
- package/src/command/FieldCategoryCommand.ts +0 -34
- package/src/command/FieldCategoryEstimateHourlyCommand.ts +0 -83
- package/src/command/FieldCategory_CreateForHourlyCommand.ts +0 -101
- package/src/command/FieldFieldCommand.ts +0 -34
- package/src/command/FieldFieldEstimateHourlyCommand.ts +0 -83
- package/src/command/FieldField_CreateForHourlyCommand.ts +0 -101
- package/src/command/HealthzCommand.ts +0 -32
- package/src/command/HealthzGetCommand.ts +0 -45
- package/src/command/MetricsCommand.ts +0 -32
- package/src/command/MetricsGetCommand.ts +0 -45
- package/src/command/SecretSecretCommand.ts +0 -38
- package/src/command/SecretSecretEstimateHourlyCommand.ts +0 -83
- package/src/command/SecretSecretEstimateReadCommand.ts +0 -83
- package/src/command/SecretSecret_CreateForHourlyCommand.ts +0 -101
- package/src/command/SecretSecret_CreateForReadCommand.ts +0 -101
- package/src/command/ValueCommand.ts +0 -32
- package/src/command/ValueListCommand.ts +0 -45
- package/src/command/cli.ts +0 -51
package/src/command/cli.ts
DELETED
@@ -1,51 +0,0 @@
|
|
1
|
-
#!/usr/bin/env node
|
2
|
-
/****************************************************************/
|
3
|
-
/* */
|
4
|
-
/* This is an Auto-Generated File */
|
5
|
-
/* Made By */
|
6
|
-
/* Namirasoft SDK Generator NPM Package */
|
7
|
-
/* */
|
8
|
-
/****************************************************************/
|
9
|
-
/****************************************************************/
|
10
|
-
/* */
|
11
|
-
/* Please do not make any change to this file */
|
12
|
-
/* If any change is required, ns-sdkg command must be used */
|
13
|
-
/* */
|
14
|
-
/****************************************************************/
|
15
|
-
/****************************************************************/
|
16
|
-
/* */
|
17
|
-
/* Namira Software Corporation */
|
18
|
-
/* https://namirasoft.com */
|
19
|
-
/* */
|
20
|
-
/****************************************************************/
|
21
|
-
|
22
|
-
import { AccountCommand } from "namirasoft-account";
|
23
|
-
import { Application, BaseStorage } from "namirasoft-node-cli";
|
24
|
-
import { BillWatchAWSCommand } from "./BillWatchAWSCommand";
|
25
|
-
import { BillWatchAzureCommand } from "./BillWatchAzureCommand";
|
26
|
-
import { BillWatchGCPCommand } from "./BillWatchGCPCommand";
|
27
|
-
import { ConfigCommand } from "namirasoft-node-cli";
|
28
|
-
import { CostCommand } from "./CostCommand";
|
29
|
-
import { FieldCategoryCommand } from "./FieldCategoryCommand";
|
30
|
-
import { FieldFieldCommand } from "./FieldFieldCommand";
|
31
|
-
import { HealthzCommand } from "./HealthzCommand";
|
32
|
-
import { MetricsCommand } from "./MetricsCommand";
|
33
|
-
import { SecretSecretCommand } from "./SecretSecretCommand";
|
34
|
-
import { ValueCommand } from "./ValueCommand";
|
35
|
-
|
36
|
-
let app = new Application("ns-cost", new BaseStorage(),
|
37
|
-
{
|
38
|
-
"healthz": HealthzCommand,
|
39
|
-
"metrics": MetricsCommand,
|
40
|
-
"value": ValueCommand,
|
41
|
-
"billwatchaws": BillWatchAWSCommand,
|
42
|
-
"billwatchazure": BillWatchAzureCommand,
|
43
|
-
"billwatchgcp": BillWatchGCPCommand,
|
44
|
-
"fieldcategory": FieldCategoryCommand,
|
45
|
-
"fieldfield": FieldFieldCommand,
|
46
|
-
"secretsecret": SecretSecretCommand,
|
47
|
-
"cost": CostCommand,
|
48
|
-
"account": AccountCommand,
|
49
|
-
"config": (argv: string[]) => new ConfigCommand(argv, ["ns-cost-server-url"])
|
50
|
-
});
|
51
|
-
app.run();
|