namirasoft-cost 1.4.35 → 1.4.36

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/.ns-sdkg-dir-deep +3 -3
  2. package/.ns-sdkg-file-keep +27 -27
  3. package/dist/estimator/SecretSecretReadEstimator.d.ts +1 -0
  4. package/dist/estimator/SecretSecretReadEstimator.js +2 -1
  5. package/dist/estimator/SecretSecretReadEstimator.js.map +1 -1
  6. package/dist/estimator/SecretSecretRecordEstimator.d.ts +1 -0
  7. package/dist/estimator/SecretSecretRecordEstimator.js +2 -1
  8. package/dist/estimator/SecretSecretRecordEstimator.js.map +1 -1
  9. package/package.json +28 -28
  10. package/src/NamirasoftCostServer.ts +59 -59
  11. package/src/NamirasoftCostServerBase.ts +29 -29
  12. package/src/NamirasoftCostServerBillWatchAWS.ts +47 -47
  13. package/src/NamirasoftCostServerBillWatchAzure.ts +47 -47
  14. package/src/NamirasoftCostServerBillWatchGCP.ts +47 -47
  15. package/src/NamirasoftCostServerCost.ts +41 -41
  16. package/src/NamirasoftCostServerFieldCategory.ts +47 -47
  17. package/src/NamirasoftCostServerFieldField.ts +47 -47
  18. package/src/NamirasoftCostServerHealthz.ts +35 -35
  19. package/src/NamirasoftCostServerMetrics.ts +35 -35
  20. package/src/NamirasoftCostServerSecretSecret.ts +61 -61
  21. package/src/NamirasoftCostServerValue.ts +36 -36
  22. package/src/bonus/BaseBonus.ts +13 -13
  23. package/src/bonus/DeactiveBonus.ts +14 -14
  24. package/src/bonus/FreeCountBonus.ts +14 -14
  25. package/src/bonus/FreeTotalValueBonus.ts +28 -28
  26. package/src/bonus/FreeValueBonus.ts +24 -24
  27. package/src/bonus/LowAmountBonus.ts +14 -14
  28. package/src/bonus/LowSecondsBonus.ts +14 -14
  29. package/src/bonus/LowTotalValueBonus.ts +14 -14
  30. package/src/bonus/LowValueBonus.ts +14 -14
  31. package/src/bonus/TrialBonus.ts +18 -18
  32. package/src/command/BillWatchAWSCommand.ts +33 -33
  33. package/src/command/BillWatchAWSEstimateRecordCommand.ts +109 -109
  34. package/src/command/BillWatchAWS_CreateForRecordCommand.ts +118 -118
  35. package/src/command/BillWatchAzureCommand.ts +33 -33
  36. package/src/command/BillWatchAzureEstimateRecordCommand.ts +109 -109
  37. package/src/command/BillWatchAzure_CreateForRecordCommand.ts +118 -118
  38. package/src/command/BillWatchGCPCommand.ts +33 -33
  39. package/src/command/BillWatchGCPEstimateRecordCommand.ts +109 -109
  40. package/src/command/BillWatchGCP_CreateForRecordCommand.ts +118 -118
  41. package/src/command/CostCommand.ts +31 -31
  42. package/src/command/CostListCommand.ts +44 -44
  43. package/src/command/FieldCategoryCommand.ts +33 -33
  44. package/src/command/FieldCategoryEstimateRecordCommand.ts +109 -109
  45. package/src/command/FieldCategory_CreateForRecordCommand.ts +118 -118
  46. package/src/command/FieldFieldCommand.ts +33 -33
  47. package/src/command/FieldFieldEstimateRecordCommand.ts +109 -109
  48. package/src/command/FieldField_CreateForRecordCommand.ts +118 -118
  49. package/src/command/HealthzCommand.ts +31 -31
  50. package/src/command/HealthzGetCommand.ts +44 -44
  51. package/src/command/MetricsCommand.ts +31 -31
  52. package/src/command/MetricsGetCommand.ts +44 -44
  53. package/src/command/SecretSecretCommand.ts +37 -37
  54. package/src/command/SecretSecretEstimateReadCommand.ts +109 -109
  55. package/src/command/SecretSecretEstimateRecordCommand.ts +109 -109
  56. package/src/command/SecretSecret_CreateForReadCommand.ts +118 -118
  57. package/src/command/SecretSecret_CreateForRecordCommand.ts +118 -118
  58. package/src/command/ValueCommand.ts +31 -31
  59. package/src/command/ValueListCommand.ts +44 -44
  60. package/src/command/cli.ts +50 -50
  61. package/src/estimator/SecretSecretReadEstimator.ts +2 -1
  62. package/src/estimator/SecretSecretRecordEstimator.ts +2 -1
  63. package/src/index.ts +90 -90
  64. package/src/meta/CostMetaTable.ts +81 -81
  65. package/src/meta/NamirasoftCostMetaDatabase.ts +50 -50
  66. package/src/row/CostRow.ts +40 -40
  67. package/src/type/Bonus.ts +20 -20
  68. package/src/type/CalculationOption.ts +33 -33
  69. package/src/type/Estimation.ts +34 -34
  70. package/src/type/EstimationOption.ts +31 -31
  71. package/src/type/EstimationUsage.ts +22 -22
  72. package/src/type/Period.ts +101 -101
  73. package/src/type/SimulationOption.ts +29 -29
  74. package/src/type/Usage.ts +24 -24
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
@@ -1,28 +1,28 @@
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/BillWatchAWSRecordEstimator.ts
13
- src/estimator/BillWatchAzureRecordEstimator.ts
14
- src/estimator/BillWatchBaseRecordEstimator.ts
15
- src/estimator/BillWatchGCPRecordEstimator.ts
16
- src/estimator/FieldBaseRecordEstimator.ts
17
- src/estimator/FieldCategoryRecordEstimator.ts
18
- src/estimator/FieldFieldRecordEstimator.ts
19
- src/estimator/SecretSecretRecordEstimator.ts
20
- src/estimator/SecretSecretReadEstimator.ts
21
- src/type/Bonus.ts
22
- src/type/CalculationOption.ts
23
- src/type/Estimation.ts
24
- src/type/EstimationOption.ts
25
- src/type/EstimationUsage.ts
26
- src/type/Period.ts
27
- 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/BillWatchAWSRecordEstimator.ts
13
+ src/estimator/BillWatchAzureRecordEstimator.ts
14
+ src/estimator/BillWatchBaseRecordEstimator.ts
15
+ src/estimator/BillWatchGCPRecordEstimator.ts
16
+ src/estimator/FieldBaseRecordEstimator.ts
17
+ src/estimator/FieldCategoryRecordEstimator.ts
18
+ src/estimator/FieldFieldRecordEstimator.ts
19
+ src/estimator/SecretSecretRecordEstimator.ts
20
+ src/estimator/SecretSecretReadEstimator.ts
21
+ src/type/Bonus.ts
22
+ src/type/CalculationOption.ts
23
+ src/type/Estimation.ts
24
+ src/type/EstimationOption.ts
25
+ src/type/EstimationUsage.ts
26
+ src/type/Period.ts
27
+ src/type/SimulationOption.ts
28
28
  src/type/Usage.ts
@@ -2,6 +2,7 @@ import { FreeTotalValueBonus } from "../bonus/FreeTotalValueBonus";
2
2
  import { BaseEstimator } from "./BaseEstimator";
3
3
  export declare class SecretSecretReadEstimator extends BaseEstimator {
4
4
  static PER_CALL: number;
5
+ static FREE_TOTOAL_VALUE: number;
5
6
  getFee(): {
6
7
  active: number;
7
8
  deactive: number;
@@ -16,10 +16,11 @@ class SecretSecretReadEstimator extends BaseEstimator_1.BaseEstimator {
16
16
  }
17
17
  getBonuses() {
18
18
  return [
19
- new FreeTotalValueBonus_1.FreeTotalValueBonus(1000)
19
+ new FreeTotalValueBonus_1.FreeTotalValueBonus(SecretSecretReadEstimator.FREE_TOTOAL_VALUE)
20
20
  ];
21
21
  }
22
22
  }
23
23
  exports.SecretSecretReadEstimator = SecretSecretReadEstimator;
24
24
  SecretSecretReadEstimator.PER_CALL = 1;
25
+ SecretSecretReadEstimator.FREE_TOTOAL_VALUE = 1000;
25
26
  //# sourceMappingURL=SecretSecretReadEstimator.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SecretSecretReadEstimator.js","sourceRoot":"","sources":["../../src/estimator/SecretSecretReadEstimator.ts"],"names":[],"mappings":";;;AAAA,sEAAmE;AACnE,yCAAsC;AACtC,mDAAgD;AAEhD,MAAa,yBAA0B,SAAQ,6BAAa;IAG/C,MAAM;QAEX,OAAO,EAAE,MAAM,EAAE,yBAAyB,CAAC,QAAQ,EAAE,QAAQ,EAAE,yBAAyB,CAAC,QAAQ,EAAE,CAAC;IACxG,CAAC;IACQ,QAAQ;QAEb,OAAO;YACH,IAAI,EAAE,aAAK,CAAC,OAAO,CAAC,IAAI;YACxB,IAAI,EAAE,aAAK,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI;SACzC,CAAC;IACN,CAAC;IACQ,UAAU;QAEf,OAAO;YACH,IAAI,yCAAmB,CAAC,IAAI,CAAC;SAChC,CAAC;IACN,CAAC;;AAnBL,8DAoBC;AAlBU,kCAAQ,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"SecretSecretReadEstimator.js","sourceRoot":"","sources":["../../src/estimator/SecretSecretReadEstimator.ts"],"names":[],"mappings":";;;AAAA,sEAAmE;AACnE,yCAAsC;AACtC,mDAAgD;AAEhD,MAAa,yBAA0B,SAAQ,6BAAa;IAI/C,MAAM;QAEX,OAAO,EAAE,MAAM,EAAE,yBAAyB,CAAC,QAAQ,EAAE,QAAQ,EAAE,yBAAyB,CAAC,QAAQ,EAAE,CAAC;IACxG,CAAC;IACQ,QAAQ;QAEb,OAAO;YACH,IAAI,EAAE,aAAK,CAAC,OAAO,CAAC,IAAI;YACxB,IAAI,EAAE,aAAK,CAAC,OAAO,CAAC,KAAK,CAAC,OAAO,CAAC,IAAI;SACzC,CAAC;IACN,CAAC;IACQ,UAAU;QAEf,OAAO;YACH,IAAI,yCAAmB,CAAC,yBAAyB,CAAC,iBAAiB,CAAC;SACvE,CAAC;IACN,CAAC;;AApBL,8DAqBC;AAnBU,kCAAQ,GAAG,CAAC,CAAC;AACb,2CAAiB,GAAG,IAAI,CAAC"}
@@ -2,6 +2,7 @@ import { FreeCountBonus } from "../bonus/FreeCountBonus";
2
2
  import { BaseEstimator } from "./BaseEstimator";
3
3
  export declare class SecretSecretRecordEstimator extends BaseEstimator {
4
4
  static PER_HOUR_ACTIVE: number;
5
+ static FREE_COUNT: number;
5
6
  getFee(): {
6
7
  active: number;
7
8
  deactive: number;
@@ -16,10 +16,11 @@ class SecretSecretRecordEstimator extends BaseEstimator_1.BaseEstimator {
16
16
  }
17
17
  getBonuses() {
18
18
  return [
19
- new FreeCountBonus_1.FreeCountBonus(100)
19
+ new FreeCountBonus_1.FreeCountBonus(SecretSecretRecordEstimator.FREE_COUNT)
20
20
  ];
21
21
  }
22
22
  }
23
23
  exports.SecretSecretRecordEstimator = SecretSecretRecordEstimator;
24
24
  SecretSecretRecordEstimator.PER_HOUR_ACTIVE = 2;
25
+ SecretSecretRecordEstimator.FREE_COUNT = 100;
25
26
  //# sourceMappingURL=SecretSecretRecordEstimator.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"SecretSecretRecordEstimator.js","sourceRoot":"","sources":["../../src/estimator/SecretSecretRecordEstimator.ts"],"names":[],"mappings":";;;AAAA,4DAAyD;AACzD,yCAAsC;AACtC,mDAAgD;AAEhD,MAAa,2BAA4B,SAAQ,6BAAa;IAGjD,MAAM;QAEX,OAAO,EAAE,MAAM,EAAE,2BAA2B,CAAC,eAAe,EAAE,QAAQ,EAAE,2BAA2B,CAAC,eAAe,EAAE,CAAC;IAC1H,CAAC;IACQ,QAAQ;QAEb,OAAO;YACH,IAAI,EAAE,aAAK,CAAC,IAAI,CAAC,IAAI;YACrB,IAAI,EAAE,aAAK,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI;SACnC,CAAC;IACN,CAAC;IACQ,UAAU;QAEf,OAAO;YACH,IAAI,+BAAc,CAAC,GAAG,CAAC;SAC1B,CAAC;IACN,CAAC;;AAnBL,kEAoBC;AAlBU,2CAAe,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"SecretSecretRecordEstimator.js","sourceRoot":"","sources":["../../src/estimator/SecretSecretRecordEstimator.ts"],"names":[],"mappings":";;;AAAA,4DAAyD;AACzD,yCAAsC;AACtC,mDAAgD;AAEhD,MAAa,2BAA4B,SAAQ,6BAAa;IAIjD,MAAM;QAEX,OAAO,EAAE,MAAM,EAAE,2BAA2B,CAAC,eAAe,EAAE,QAAQ,EAAE,2BAA2B,CAAC,eAAe,EAAE,CAAC;IAC1H,CAAC;IACQ,QAAQ;QAEb,OAAO;YACH,IAAI,EAAE,aAAK,CAAC,IAAI,CAAC,IAAI;YACrB,IAAI,EAAE,aAAK,CAAC,IAAI,CAAC,KAAK,CAAC,IAAI,CAAC,IAAI;SACnC,CAAC;IACN,CAAC;IACQ,UAAU;QAEf,OAAO;YACH,IAAI,+BAAc,CAAC,2BAA2B,CAAC,UAAU,CAAC;SAC7D,CAAC;IACN,CAAC;;AApBL,kEAqBC;AAnBU,2CAAe,GAAG,CAAC,CAAC;AACpB,sCAAU,GAAG,GAAG,CAAC"}
package/package.json CHANGED
@@ -1,29 +1,29 @@
1
- {
2
- "name": "namirasoft-cost",
3
- "title": "Namirasoft Cost NPM Package",
4
- "description": "Namira Software Corporation Cost NPM Package",
5
- "icon": "logo.png",
6
- "logo": "https://static.namirasoft.com/image/namirasoft/cost/logo/base.png",
7
- "language": "ts",
8
- "framework": "npm",
9
- "application": "package",
10
- "private": false,
11
- "version": "1.4.35",
12
- "author": "Amir Abolhasani",
13
- "license": "MIT",
14
- "main": "./dist/index.js",
15
- "types": "./dist/index.d.ts",
16
- "scripts": {
17
- "build": ""
18
- },
19
- "dependencies": {
20
- "namirasoft-core": "^1.4.80",
21
- "namirasoft-site": "^1.4.39",
22
- "namirasoft-node-cli": "^1.4.7",
23
- "namirasoft-account": "^1.4.85",
24
- "namirasoft-schema": "^1.4.25"
25
- },
26
- "bin": {
27
- "ns-cost": "./dist/command/cli.js"
28
- }
1
+ {
2
+ "name": "namirasoft-cost",
3
+ "title": "Namirasoft Cost NPM Package",
4
+ "description": "Namira Software Corporation Cost NPM Package",
5
+ "icon": "logo.png",
6
+ "logo": "https://static.namirasoft.com/image/namirasoft/cost/logo/base.png",
7
+ "language": "ts",
8
+ "framework": "npm",
9
+ "application": "package",
10
+ "private": false,
11
+ "version": "1.4.36",
12
+ "author": "Amir Abolhasani",
13
+ "license": "MIT",
14
+ "main": "./dist/index.js",
15
+ "types": "./dist/index.d.ts",
16
+ "scripts": {
17
+ "build": ""
18
+ },
19
+ "dependencies": {
20
+ "namirasoft-core": "^1.4.80",
21
+ "namirasoft-site": "^1.4.39",
22
+ "namirasoft-node-cli": "^1.4.7",
23
+ "namirasoft-account": "^1.4.85",
24
+ "namirasoft-schema": "^1.4.25"
25
+ },
26
+ "bin": {
27
+ "ns-cost": "./dist/command/cli.js"
28
+ }
29
29
  }
@@ -1,60 +1,60 @@
1
- /****************************************************************/
2
- /* */
3
- /* This is an Auto-Generated File */
4
- /* Made By */
5
- /* Namirasoft SDK Generator NPM Package */
6
- /* */
7
- /****************************************************************/
8
- /****************************************************************/
9
- /* */
10
- /* Please do not make any change to this file */
11
- /* If any change is required, ns-sdkg command must be used */
12
- /* */
13
- /****************************************************************/
14
- /****************************************************************/
15
- /* */
16
- /* Namira Software Corporation */
17
- /* https://namirasoft.com */
18
- /* */
19
- /****************************************************************/
20
-
21
- import { NSABaseServer } from "namirasoft-account";
22
- import { NamirasoftCostServerBillWatchAWS } from "./NamirasoftCostServerBillWatchAWS";
23
- import { NamirasoftCostServerBillWatchAzure } from "./NamirasoftCostServerBillWatchAzure";
24
- import { NamirasoftCostServerBillWatchGCP } from "./NamirasoftCostServerBillWatchGCP";
25
- import { NamirasoftCostServerCost } from "./NamirasoftCostServerCost";
26
- import { NamirasoftCostServerFieldCategory } from "./NamirasoftCostServerFieldCategory";
27
- import { NamirasoftCostServerFieldField } from "./NamirasoftCostServerFieldField";
28
- import { NamirasoftCostServerHealthz } from "./NamirasoftCostServerHealthz";
29
- import { NamirasoftCostServerMetrics } from "./NamirasoftCostServerMetrics";
30
- import { NamirasoftCostServerSecretSecret } from "./NamirasoftCostServerSecretSecret";
31
- import { NamirasoftCostServerValue } from "./NamirasoftCostServerValue";
32
- import { TokenManager } from "namirasoft-account";
33
-
34
- export class NamirasoftCostServer extends NSABaseServer
35
- {
36
- healthz: NamirasoftCostServerHealthz;
37
- metrics: NamirasoftCostServerMetrics;
38
- value: NamirasoftCostServerValue;
39
- bill_watch_aws: NamirasoftCostServerBillWatchAWS;
40
- bill_watch_azure: NamirasoftCostServerBillWatchAzure;
41
- bill_watch_gcp: NamirasoftCostServerBillWatchGCP;
42
- field_category: NamirasoftCostServerFieldCategory;
43
- field_field: NamirasoftCostServerFieldField;
44
- secret_secret: NamirasoftCostServerSecretSecret;
45
- cost: NamirasoftCostServerCost;
46
- constructor(base_url: string, manager: TokenManager, onError: (error: Error) => void)
47
- {
48
- super(base_url, `1.4.35`, manager, onError);
49
- this.healthz = new NamirasoftCostServerHealthz(this);
50
- this.metrics = new NamirasoftCostServerMetrics(this);
51
- this.value = new NamirasoftCostServerValue(this);
52
- this.bill_watch_aws = new NamirasoftCostServerBillWatchAWS(this);
53
- this.bill_watch_azure = new NamirasoftCostServerBillWatchAzure(this);
54
- this.bill_watch_gcp = new NamirasoftCostServerBillWatchGCP(this);
55
- this.field_category = new NamirasoftCostServerFieldCategory(this);
56
- this.field_field = new NamirasoftCostServerFieldField(this);
57
- this.secret_secret = new NamirasoftCostServerSecretSecret(this);
58
- this.cost = new NamirasoftCostServerCost(this);
59
- }
1
+ /****************************************************************/
2
+ /* */
3
+ /* This is an Auto-Generated File */
4
+ /* Made By */
5
+ /* Namirasoft SDK Generator NPM Package */
6
+ /* */
7
+ /****************************************************************/
8
+ /****************************************************************/
9
+ /* */
10
+ /* Please do not make any change to this file */
11
+ /* If any change is required, ns-sdkg command must be used */
12
+ /* */
13
+ /****************************************************************/
14
+ /****************************************************************/
15
+ /* */
16
+ /* Namira Software Corporation */
17
+ /* https://namirasoft.com */
18
+ /* */
19
+ /****************************************************************/
20
+
21
+ import { NSABaseServer } from "namirasoft-account";
22
+ import { NamirasoftCostServerBillWatchAWS } from "./NamirasoftCostServerBillWatchAWS";
23
+ import { NamirasoftCostServerBillWatchAzure } from "./NamirasoftCostServerBillWatchAzure";
24
+ import { NamirasoftCostServerBillWatchGCP } from "./NamirasoftCostServerBillWatchGCP";
25
+ import { NamirasoftCostServerCost } from "./NamirasoftCostServerCost";
26
+ import { NamirasoftCostServerFieldCategory } from "./NamirasoftCostServerFieldCategory";
27
+ import { NamirasoftCostServerFieldField } from "./NamirasoftCostServerFieldField";
28
+ import { NamirasoftCostServerHealthz } from "./NamirasoftCostServerHealthz";
29
+ import { NamirasoftCostServerMetrics } from "./NamirasoftCostServerMetrics";
30
+ import { NamirasoftCostServerSecretSecret } from "./NamirasoftCostServerSecretSecret";
31
+ import { NamirasoftCostServerValue } from "./NamirasoftCostServerValue";
32
+ import { TokenManager } from "namirasoft-account";
33
+
34
+ export class NamirasoftCostServer extends NSABaseServer
35
+ {
36
+ healthz: NamirasoftCostServerHealthz;
37
+ metrics: NamirasoftCostServerMetrics;
38
+ value: NamirasoftCostServerValue;
39
+ bill_watch_aws: NamirasoftCostServerBillWatchAWS;
40
+ bill_watch_azure: NamirasoftCostServerBillWatchAzure;
41
+ bill_watch_gcp: NamirasoftCostServerBillWatchGCP;
42
+ field_category: NamirasoftCostServerFieldCategory;
43
+ field_field: NamirasoftCostServerFieldField;
44
+ secret_secret: NamirasoftCostServerSecretSecret;
45
+ cost: NamirasoftCostServerCost;
46
+ constructor(base_url: string, manager: TokenManager, onError: (error: Error) => void)
47
+ {
48
+ super(base_url, `1.4.35`, manager, onError);
49
+ this.healthz = new NamirasoftCostServerHealthz(this);
50
+ this.metrics = new NamirasoftCostServerMetrics(this);
51
+ this.value = new NamirasoftCostServerValue(this);
52
+ this.bill_watch_aws = new NamirasoftCostServerBillWatchAWS(this);
53
+ this.bill_watch_azure = new NamirasoftCostServerBillWatchAzure(this);
54
+ this.bill_watch_gcp = new NamirasoftCostServerBillWatchGCP(this);
55
+ this.field_category = new NamirasoftCostServerFieldCategory(this);
56
+ this.field_field = new NamirasoftCostServerFieldField(this);
57
+ this.secret_secret = new NamirasoftCostServerSecretSecret(this);
58
+ this.cost = new NamirasoftCostServerCost(this);
59
+ }
60
60
  };
@@ -1,30 +1,30 @@
1
- /****************************************************************/
2
- /* */
3
- /* This is an Auto-Generated File */
4
- /* Made By */
5
- /* Namirasoft SDK Generator NPM Package */
6
- /* */
7
- /****************************************************************/
8
- /****************************************************************/
9
- /* */
10
- /* Please do not make any change to this file */
11
- /* If any change is required, ns-sdkg command must be used */
12
- /* */
13
- /****************************************************************/
14
- /****************************************************************/
15
- /* */
16
- /* Namira Software Corporation */
17
- /* https://namirasoft.com */
18
- /* */
19
- /****************************************************************/
20
-
21
- import { NamirasoftCostServer } from "./NamirasoftCostServer";
22
-
23
- export class NamirasoftCostServerBase
24
- {
25
- public server: NamirasoftCostServer;
26
- constructor(server: NamirasoftCostServer)
27
- {
28
- this.server = server;
29
- }
1
+ /****************************************************************/
2
+ /* */
3
+ /* This is an Auto-Generated File */
4
+ /* Made By */
5
+ /* Namirasoft SDK Generator NPM Package */
6
+ /* */
7
+ /****************************************************************/
8
+ /****************************************************************/
9
+ /* */
10
+ /* Please do not make any change to this file */
11
+ /* If any change is required, ns-sdkg command must be used */
12
+ /* */
13
+ /****************************************************************/
14
+ /****************************************************************/
15
+ /* */
16
+ /* Namira Software Corporation */
17
+ /* https://namirasoft.com */
18
+ /* */
19
+ /****************************************************************/
20
+
21
+ import { NamirasoftCostServer } from "./NamirasoftCostServer";
22
+
23
+ export class NamirasoftCostServerBase
24
+ {
25
+ public server: NamirasoftCostServer;
26
+ constructor(server: NamirasoftCostServer)
27
+ {
28
+ this.server = server;
29
+ }
30
30
  };
@@ -1,48 +1,48 @@
1
- /****************************************************************/
2
- /* */
3
- /* This is an Auto-Generated File */
4
- /* Made By */
5
- /* Namirasoft SDK Generator NPM Package */
6
- /* */
7
- /****************************************************************/
8
- /****************************************************************/
9
- /* */
10
- /* Please do not make any change to this file */
11
- /* If any change is required, ns-sdkg command must be used */
12
- /* */
13
- /****************************************************************/
14
- /****************************************************************/
15
- /* */
16
- /* Namira Software Corporation */
17
- /* https://namirasoft.com */
18
- /* */
19
- /****************************************************************/
20
-
21
- import { CalculationOption } from "./type/CalculationOption";
22
- import { CostRow } from "./row/CostRow";
23
- import { Estimation } from "./type/Estimation";
24
- import { EstimationOption } from "./type/EstimationOption";
25
- import { NamirasoftCostServer } from "./NamirasoftCostServer";
26
- import { NamirasoftCostServerBase } from "./NamirasoftCostServerBase";
27
-
28
- export class NamirasoftCostServerBillWatchAWS extends NamirasoftCostServerBase
29
- {
30
- constructor(server: NamirasoftCostServer)
31
- {
32
- super(server);
33
- this.EstimateRecord = this.EstimateRecord.bind(this);
34
- this._CreateForRecord = this._CreateForRecord.bind(this);
35
- }
36
- async EstimateRecord(body: EstimationOption): Promise<Estimation[]>
37
- {
38
- let path = `/estimation/bill-watch/aws/record`;
39
- let { data } = await this.server._post<Estimation[]>(path, {}, body);
40
- return data;
41
- }
42
- async _CreateForRecord(user_id: string, body: CalculationOption): Promise<CostRow[]>
43
- {
44
- let path = `/application/user/${user_id}/cost/bill-watch/aws/record`;
45
- let { data } = await this.server._post<CostRow[]>(path, {}, body);
46
- return data;
47
- }
1
+ /****************************************************************/
2
+ /* */
3
+ /* This is an Auto-Generated File */
4
+ /* Made By */
5
+ /* Namirasoft SDK Generator NPM Package */
6
+ /* */
7
+ /****************************************************************/
8
+ /****************************************************************/
9
+ /* */
10
+ /* Please do not make any change to this file */
11
+ /* If any change is required, ns-sdkg command must be used */
12
+ /* */
13
+ /****************************************************************/
14
+ /****************************************************************/
15
+ /* */
16
+ /* Namira Software Corporation */
17
+ /* https://namirasoft.com */
18
+ /* */
19
+ /****************************************************************/
20
+
21
+ import { CalculationOption } from "./type/CalculationOption";
22
+ import { CostRow } from "./row/CostRow";
23
+ import { Estimation } from "./type/Estimation";
24
+ import { EstimationOption } from "./type/EstimationOption";
25
+ import { NamirasoftCostServer } from "./NamirasoftCostServer";
26
+ import { NamirasoftCostServerBase } from "./NamirasoftCostServerBase";
27
+
28
+ export class NamirasoftCostServerBillWatchAWS extends NamirasoftCostServerBase
29
+ {
30
+ constructor(server: NamirasoftCostServer)
31
+ {
32
+ super(server);
33
+ this.EstimateRecord = this.EstimateRecord.bind(this);
34
+ this._CreateForRecord = this._CreateForRecord.bind(this);
35
+ }
36
+ async EstimateRecord(body: EstimationOption): Promise<Estimation[]>
37
+ {
38
+ let path = `/estimation/bill-watch/aws/record`;
39
+ let { data } = await this.server._post<Estimation[]>(path, {}, body);
40
+ return data;
41
+ }
42
+ async _CreateForRecord(user_id: string, body: CalculationOption): Promise<CostRow[]>
43
+ {
44
+ let path = `/application/user/${user_id}/cost/bill-watch/aws/record`;
45
+ let { data } = await this.server._post<CostRow[]>(path, {}, body);
46
+ return data;
47
+ }
48
48
  };
@@ -1,48 +1,48 @@
1
- /****************************************************************/
2
- /* */
3
- /* This is an Auto-Generated File */
4
- /* Made By */
5
- /* Namirasoft SDK Generator NPM Package */
6
- /* */
7
- /****************************************************************/
8
- /****************************************************************/
9
- /* */
10
- /* Please do not make any change to this file */
11
- /* If any change is required, ns-sdkg command must be used */
12
- /* */
13
- /****************************************************************/
14
- /****************************************************************/
15
- /* */
16
- /* Namira Software Corporation */
17
- /* https://namirasoft.com */
18
- /* */
19
- /****************************************************************/
20
-
21
- import { CalculationOption } from "./type/CalculationOption";
22
- import { CostRow } from "./row/CostRow";
23
- import { Estimation } from "./type/Estimation";
24
- import { EstimationOption } from "./type/EstimationOption";
25
- import { NamirasoftCostServer } from "./NamirasoftCostServer";
26
- import { NamirasoftCostServerBase } from "./NamirasoftCostServerBase";
27
-
28
- export class NamirasoftCostServerBillWatchAzure extends NamirasoftCostServerBase
29
- {
30
- constructor(server: NamirasoftCostServer)
31
- {
32
- super(server);
33
- this.EstimateRecord = this.EstimateRecord.bind(this);
34
- this._CreateForRecord = this._CreateForRecord.bind(this);
35
- }
36
- async EstimateRecord(body: EstimationOption): Promise<Estimation[]>
37
- {
38
- let path = `/estimation/bill-watch/azure/record`;
39
- let { data } = await this.server._post<Estimation[]>(path, {}, body);
40
- return data;
41
- }
42
- async _CreateForRecord(user_id: string, body: CalculationOption): Promise<CostRow[]>
43
- {
44
- let path = `/application/user/${user_id}/cost/bill-watch/azure/record`;
45
- let { data } = await this.server._post<CostRow[]>(path, {}, body);
46
- return data;
47
- }
1
+ /****************************************************************/
2
+ /* */
3
+ /* This is an Auto-Generated File */
4
+ /* Made By */
5
+ /* Namirasoft SDK Generator NPM Package */
6
+ /* */
7
+ /****************************************************************/
8
+ /****************************************************************/
9
+ /* */
10
+ /* Please do not make any change to this file */
11
+ /* If any change is required, ns-sdkg command must be used */
12
+ /* */
13
+ /****************************************************************/
14
+ /****************************************************************/
15
+ /* */
16
+ /* Namira Software Corporation */
17
+ /* https://namirasoft.com */
18
+ /* */
19
+ /****************************************************************/
20
+
21
+ import { CalculationOption } from "./type/CalculationOption";
22
+ import { CostRow } from "./row/CostRow";
23
+ import { Estimation } from "./type/Estimation";
24
+ import { EstimationOption } from "./type/EstimationOption";
25
+ import { NamirasoftCostServer } from "./NamirasoftCostServer";
26
+ import { NamirasoftCostServerBase } from "./NamirasoftCostServerBase";
27
+
28
+ export class NamirasoftCostServerBillWatchAzure extends NamirasoftCostServerBase
29
+ {
30
+ constructor(server: NamirasoftCostServer)
31
+ {
32
+ super(server);
33
+ this.EstimateRecord = this.EstimateRecord.bind(this);
34
+ this._CreateForRecord = this._CreateForRecord.bind(this);
35
+ }
36
+ async EstimateRecord(body: EstimationOption): Promise<Estimation[]>
37
+ {
38
+ let path = `/estimation/bill-watch/azure/record`;
39
+ let { data } = await this.server._post<Estimation[]>(path, {}, body);
40
+ return data;
41
+ }
42
+ async _CreateForRecord(user_id: string, body: CalculationOption): Promise<CostRow[]>
43
+ {
44
+ let path = `/application/user/${user_id}/cost/bill-watch/azure/record`;
45
+ let { data } = await this.server._post<CostRow[]>(path, {}, body);
46
+ return data;
47
+ }
48
48
  };