namirasoft-cost 1.4.20 → 1.4.21

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 (155) hide show
  1. package/.ns-sdkg-dir-deep +2 -2
  2. package/.ns-sdkg-file-keep +7 -7
  3. package/dist/NamirasoftCostServer.d.ts +2 -0
  4. package/dist/NamirasoftCostServer.js +3 -1
  5. package/dist/NamirasoftCostServer.js.map +1 -1
  6. package/dist/NamirasoftCostServerBillWatchAWS.d.ts +4 -4
  7. package/dist/NamirasoftCostServerBillWatchAWS.js +6 -6
  8. package/dist/NamirasoftCostServerBillWatchAWS.js.map +1 -1
  9. package/dist/NamirasoftCostServerBillWatchAzure.d.ts +4 -4
  10. package/dist/NamirasoftCostServerBillWatchAzure.js +6 -6
  11. package/dist/NamirasoftCostServerBillWatchAzure.js.map +1 -1
  12. package/dist/NamirasoftCostServerBillWatchGCP.d.ts +4 -4
  13. package/dist/NamirasoftCostServerBillWatchGCP.js +6 -6
  14. package/dist/NamirasoftCostServerBillWatchGCP.js.map +1 -1
  15. package/dist/NamirasoftCostServerFieldCategory.d.ts +4 -4
  16. package/dist/NamirasoftCostServerFieldCategory.js +6 -6
  17. package/dist/NamirasoftCostServerFieldCategory.js.map +1 -1
  18. package/dist/NamirasoftCostServerFieldField.d.ts +4 -4
  19. package/dist/NamirasoftCostServerFieldField.js +6 -6
  20. package/dist/NamirasoftCostServerFieldField.js.map +1 -1
  21. package/dist/NamirasoftCostServerSecretSecret.d.ts +36 -0
  22. package/dist/NamirasoftCostServerSecretSecret.js +53 -0
  23. package/dist/NamirasoftCostServerSecretSecret.js.map +1 -0
  24. package/dist/command/BillWatchAWSCommand.js +4 -4
  25. package/dist/command/BillWatchAWSCommand.js.map +1 -1
  26. package/dist/command/{BillWatchAWSEstimationCommand.d.ts → BillWatchAWSEstimateHourlyCommand.d.ts} +1 -1
  27. package/dist/command/{BillWatchAWSEstimationCommand.js → BillWatchAWSEstimateHourlyCommand.js} +15 -15
  28. package/dist/command/BillWatchAWSEstimateHourlyCommand.js.map +1 -0
  29. package/dist/command/BillWatchAWS_CreateForHourlyCommand.d.ts +5 -0
  30. package/dist/command/{FieldCategory_CreateForCommand.js → BillWatchAWS_CreateForHourlyCommand.js} +14 -14
  31. package/dist/command/BillWatchAWS_CreateForHourlyCommand.js.map +1 -0
  32. package/dist/command/BillWatchAzureCommand.js +4 -4
  33. package/dist/command/BillWatchAzureCommand.js.map +1 -1
  34. package/dist/command/BillWatchAzureEstimateHourlyCommand.d.ts +5 -0
  35. package/dist/command/BillWatchAzureEstimateHourlyCommand.js +76 -0
  36. package/dist/command/BillWatchAzureEstimateHourlyCommand.js.map +1 -0
  37. package/dist/command/BillWatchAzure_CreateForHourlyCommand.d.ts +5 -0
  38. package/dist/command/BillWatchAzure_CreateForHourlyCommand.js +94 -0
  39. package/dist/command/BillWatchAzure_CreateForHourlyCommand.js.map +1 -0
  40. package/dist/command/BillWatchGCPCommand.js +4 -4
  41. package/dist/command/BillWatchGCPCommand.js.map +1 -1
  42. package/dist/command/{BillWatchAWS_CreateForCommand.d.ts → BillWatchGCPEstimateHourlyCommand.d.ts} +1 -1
  43. package/dist/command/{BillWatchGCPEstimationCommand.js → BillWatchGCPEstimateHourlyCommand.js} +15 -15
  44. package/dist/command/BillWatchGCPEstimateHourlyCommand.js.map +1 -0
  45. package/dist/command/BillWatchGCP_CreateForHourlyCommand.d.ts +5 -0
  46. package/dist/command/{BillWatchAzure_CreateForCommand.js → BillWatchGCP_CreateForHourlyCommand.js} +14 -14
  47. package/dist/command/BillWatchGCP_CreateForHourlyCommand.js.map +1 -0
  48. package/dist/command/FieldCategoryCommand.js +4 -4
  49. package/dist/command/FieldCategoryCommand.js.map +1 -1
  50. package/dist/command/FieldCategoryEstimateHourlyCommand.d.ts +5 -0
  51. package/dist/command/FieldCategoryEstimateHourlyCommand.js +76 -0
  52. package/dist/command/FieldCategoryEstimateHourlyCommand.js.map +1 -0
  53. package/dist/command/FieldCategory_CreateForHourlyCommand.d.ts +5 -0
  54. package/dist/command/FieldCategory_CreateForHourlyCommand.js +94 -0
  55. package/dist/command/FieldCategory_CreateForHourlyCommand.js.map +1 -0
  56. package/dist/command/FieldFieldCommand.js +4 -4
  57. package/dist/command/FieldFieldCommand.js.map +1 -1
  58. package/dist/command/{BillWatchAzureEstimationCommand.d.ts → FieldFieldEstimateHourlyCommand.d.ts} +1 -1
  59. package/dist/command/{BillWatchAzureEstimationCommand.js → FieldFieldEstimateHourlyCommand.js} +15 -15
  60. package/dist/command/{BillWatchAzureEstimationCommand.js.map → FieldFieldEstimateHourlyCommand.js.map} +1 -1
  61. package/dist/command/FieldField_CreateForHourlyCommand.d.ts +5 -0
  62. package/dist/command/{BillWatchAWS_CreateForCommand.js → FieldField_CreateForHourlyCommand.js} +14 -14
  63. package/dist/command/FieldField_CreateForHourlyCommand.js.map +1 -0
  64. package/dist/command/SecretSecretCommand.d.ts +4 -0
  65. package/dist/command/SecretSecretCommand.js +21 -0
  66. package/dist/command/SecretSecretCommand.js.map +1 -0
  67. package/dist/command/SecretSecretEstimateHourlyCommand.d.ts +5 -0
  68. package/dist/command/{FieldCategoryEstimationCommand.js → SecretSecretEstimateHourlyCommand.js} +15 -15
  69. package/dist/command/SecretSecretEstimateHourlyCommand.js.map +1 -0
  70. package/dist/command/{BillWatchAzure_CreateForCommand.d.ts → SecretSecretEstimateReadCommand.d.ts} +1 -1
  71. package/dist/command/{FieldFieldEstimationCommand.js → SecretSecretEstimateReadCommand.js} +17 -17
  72. package/dist/command/SecretSecretEstimateReadCommand.js.map +1 -0
  73. package/dist/command/SecretSecret_CreateForHourlyCommand.d.ts +5 -0
  74. package/dist/command/{BillWatchGCP_CreateForCommand.js → SecretSecret_CreateForHourlyCommand.js} +14 -14
  75. package/dist/command/SecretSecret_CreateForHourlyCommand.js.map +1 -0
  76. package/dist/command/SecretSecret_CreateForReadCommand.d.ts +5 -0
  77. package/dist/command/{FieldField_CreateForCommand.js → SecretSecret_CreateForReadCommand.js} +16 -16
  78. package/dist/command/SecretSecret_CreateForReadCommand.js.map +1 -0
  79. package/dist/command/cli.js +2 -0
  80. package/dist/command/cli.js.map +1 -1
  81. package/dist/index.d.ts +16 -10
  82. package/dist/index.js +16 -10
  83. package/dist/index.js.map +1 -1
  84. package/package.json +27 -27
  85. package/src/NamirasoftCostServer.ts +59 -56
  86. package/src/NamirasoftCostServerBase.ts +29 -29
  87. package/src/NamirasoftCostServerBillWatchAWS.ts +46 -46
  88. package/src/NamirasoftCostServerBillWatchAzure.ts +46 -46
  89. package/src/NamirasoftCostServerBillWatchGCP.ts +46 -46
  90. package/src/NamirasoftCostServerCost.ts +49 -49
  91. package/src/NamirasoftCostServerFieldCategory.ts +46 -46
  92. package/src/NamirasoftCostServerFieldField.ts +46 -46
  93. package/src/NamirasoftCostServerHealthz.ts +35 -35
  94. package/src/NamirasoftCostServerMetrics.ts +35 -35
  95. package/src/NamirasoftCostServerSecretSecret.ts +61 -0
  96. package/src/NamirasoftCostServerValue.ts +36 -36
  97. package/src/TimeUtil.ts +66 -66
  98. package/src/command/BillWatchAWSCommand.ts +33 -33
  99. package/src/command/{FieldFieldEstimationCommand.ts → BillWatchAWSEstimateHourlyCommand.ts} +82 -82
  100. package/src/command/{FieldField_CreateForCommand.ts → BillWatchAWS_CreateForHourlyCommand.ts} +100 -100
  101. package/src/command/BillWatchAzureCommand.ts +33 -33
  102. package/src/command/{BillWatchAWSEstimationCommand.ts → BillWatchAzureEstimateHourlyCommand.ts} +82 -82
  103. package/src/command/{BillWatchGCP_CreateForCommand.ts → BillWatchAzure_CreateForHourlyCommand.ts} +100 -100
  104. package/src/command/BillWatchGCPCommand.ts +33 -33
  105. package/src/command/{BillWatchGCPEstimationCommand.ts → BillWatchGCPEstimateHourlyCommand.ts} +82 -82
  106. package/src/command/{BillWatchAWS_CreateForCommand.ts → BillWatchGCP_CreateForHourlyCommand.ts} +100 -100
  107. package/src/command/CostCommand.ts +33 -33
  108. package/src/command/CostListCommand.ts +44 -44
  109. package/src/command/Cost_CreateForCommand.ts +181 -181
  110. package/src/command/FieldCategoryCommand.ts +33 -33
  111. package/src/command/{FieldCategoryEstimationCommand.ts → FieldCategoryEstimateHourlyCommand.ts} +82 -82
  112. package/src/command/{FieldCategory_CreateForCommand.ts → FieldCategory_CreateForHourlyCommand.ts} +100 -100
  113. package/src/command/FieldFieldCommand.ts +33 -33
  114. package/src/command/{BillWatchAzureEstimationCommand.ts → FieldFieldEstimateHourlyCommand.ts} +82 -82
  115. package/src/command/FieldField_CreateForHourlyCommand.ts +101 -0
  116. package/src/command/HealthzCommand.ts +31 -31
  117. package/src/command/HealthzGetCommand.ts +44 -44
  118. package/src/command/MetricsCommand.ts +31 -31
  119. package/src/command/MetricsGetCommand.ts +44 -44
  120. package/src/command/SecretSecretCommand.ts +38 -0
  121. package/src/command/SecretSecretEstimateHourlyCommand.ts +83 -0
  122. package/src/command/SecretSecretEstimateReadCommand.ts +83 -0
  123. package/src/command/SecretSecret_CreateForHourlyCommand.ts +101 -0
  124. package/src/command/SecretSecret_CreateForReadCommand.ts +101 -0
  125. package/src/command/ValueCommand.ts +31 -31
  126. package/src/command/ValueListCommand.ts +44 -44
  127. package/src/command/cli.ts +50 -48
  128. package/src/enum/TrialUnit.ts +5 -5
  129. package/src/index.ts +72 -66
  130. package/src/meta/CostMetaTable.ts +81 -81
  131. package/src/meta/NamirasoftCostMetaDatabase.ts +50 -50
  132. package/src/row/CostCreateRow.ts +37 -37
  133. package/src/row/CostRow.ts +40 -40
  134. package/src/type/Estimation.ts +6 -6
  135. package/src/type/EstimationRow.ts +9 -9
  136. package/src/type/EstimationUsage.ts +5 -5
  137. package/src/type/Period.ts +4 -4
  138. package/src/type/Trial.ts +6 -6
  139. package/src/type/TrialDuration.ts +6 -6
  140. package/dist/command/BillWatchAWSEstimationCommand.js.map +0 -1
  141. package/dist/command/BillWatchAWS_CreateForCommand.js.map +0 -1
  142. package/dist/command/BillWatchAzure_CreateForCommand.js.map +0 -1
  143. package/dist/command/BillWatchGCPEstimationCommand.d.ts +0 -5
  144. package/dist/command/BillWatchGCPEstimationCommand.js.map +0 -1
  145. package/dist/command/BillWatchGCP_CreateForCommand.d.ts +0 -5
  146. package/dist/command/BillWatchGCP_CreateForCommand.js.map +0 -1
  147. package/dist/command/FieldCategoryEstimationCommand.d.ts +0 -5
  148. package/dist/command/FieldCategoryEstimationCommand.js.map +0 -1
  149. package/dist/command/FieldCategory_CreateForCommand.d.ts +0 -5
  150. package/dist/command/FieldCategory_CreateForCommand.js.map +0 -1
  151. package/dist/command/FieldFieldEstimationCommand.d.ts +0 -5
  152. package/dist/command/FieldFieldEstimationCommand.js.map +0 -1
  153. package/dist/command/FieldField_CreateForCommand.d.ts +0 -5
  154. package/dist/command/FieldField_CreateForCommand.js.map +0 -1
  155. package/src/command/BillWatchAzure_CreateForCommand.ts +0 -101
package/.ns-sdkg-dir-deep CHANGED
@@ -1,3 +1,3 @@
1
- /src
2
- /src/type
1
+ /src
2
+ /src/type
3
3
  /src/enum
@@ -1,8 +1,8 @@
1
- src/enum/TrialUnit.ts
2
- src/type/Estimation.ts
3
- src/type/EstimationRow.ts
4
- src/type/EstimationUsage.ts
5
- src/type/Period.ts
6
- src/type/Trial.ts
7
- src/type/TrialDuration.ts
1
+ src/enum/TrialUnit.ts
2
+ src/type/Estimation.ts
3
+ src/type/EstimationRow.ts
4
+ src/type/EstimationUsage.ts
5
+ src/type/Period.ts
6
+ src/type/Trial.ts
7
+ src/type/TrialDuration.ts
8
8
  src/TimeUtil.ts
@@ -7,6 +7,7 @@ import { NamirasoftCostServerFieldCategory } from "./NamirasoftCostServerFieldCa
7
7
  import { NamirasoftCostServerFieldField } from "./NamirasoftCostServerFieldField";
8
8
  import { NamirasoftCostServerHealthz } from "./NamirasoftCostServerHealthz";
9
9
  import { NamirasoftCostServerMetrics } from "./NamirasoftCostServerMetrics";
10
+ import { NamirasoftCostServerSecretSecret } from "./NamirasoftCostServerSecretSecret";
10
11
  import { NamirasoftCostServerValue } from "./NamirasoftCostServerValue";
11
12
  import { TokenManager } from "namirasoft-account";
12
13
  export declare class NamirasoftCostServer extends NSABaseServer {
@@ -18,6 +19,7 @@ export declare class NamirasoftCostServer extends NSABaseServer {
18
19
  bill_watch_gcp: NamirasoftCostServerBillWatchGCP;
19
20
  field_category: NamirasoftCostServerFieldCategory;
20
21
  field_field: NamirasoftCostServerFieldField;
22
+ secret_secret: NamirasoftCostServerSecretSecret;
21
23
  cost: NamirasoftCostServerCost;
22
24
  constructor(base_url: string, manager: TokenManager, onError: (error: Error) => void);
23
25
  }
@@ -10,10 +10,11 @@ const NamirasoftCostServerFieldCategory_1 = require("./NamirasoftCostServerField
10
10
  const NamirasoftCostServerFieldField_1 = require("./NamirasoftCostServerFieldField");
11
11
  const NamirasoftCostServerHealthz_1 = require("./NamirasoftCostServerHealthz");
12
12
  const NamirasoftCostServerMetrics_1 = require("./NamirasoftCostServerMetrics");
13
+ const NamirasoftCostServerSecretSecret_1 = require("./NamirasoftCostServerSecretSecret");
13
14
  const NamirasoftCostServerValue_1 = require("./NamirasoftCostServerValue");
14
15
  class NamirasoftCostServer extends namirasoft_account_1.NSABaseServer {
15
16
  constructor(base_url, manager, onError) {
16
- super(base_url, `1.4.19`, manager, onError);
17
+ super(base_url, `1.4.21`, manager, onError);
17
18
  this.healthz = new NamirasoftCostServerHealthz_1.NamirasoftCostServerHealthz(this);
18
19
  this.metrics = new NamirasoftCostServerMetrics_1.NamirasoftCostServerMetrics(this);
19
20
  this.value = new NamirasoftCostServerValue_1.NamirasoftCostServerValue(this);
@@ -22,6 +23,7 @@ class NamirasoftCostServer extends namirasoft_account_1.NSABaseServer {
22
23
  this.bill_watch_gcp = new NamirasoftCostServerBillWatchGCP_1.NamirasoftCostServerBillWatchGCP(this);
23
24
  this.field_category = new NamirasoftCostServerFieldCategory_1.NamirasoftCostServerFieldCategory(this);
24
25
  this.field_field = new NamirasoftCostServerFieldField_1.NamirasoftCostServerFieldField(this);
26
+ this.secret_secret = new NamirasoftCostServerSecretSecret_1.NamirasoftCostServerSecretSecret(this);
25
27
  this.cost = new NamirasoftCostServerCost_1.NamirasoftCostServerCost(this);
26
28
  }
27
29
  }
@@ -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,+EAA4E;AAC5E,+EAA4E;AAC5E,2EAAwE;AAGxE,MAAa,oBAAqB,SAAQ,kCAAa;IAWnD,YAAY,QAAgB,EAAE,OAAqB,EAAE,OAA+B;QAEhF,KAAK,CAAC,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;QAC5C,IAAI,CAAC,OAAO,GAAG,IAAI,yDAA2B,CAAC,IAAI,CAAC,CAAC;QACrD,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,IAAI,GAAG,IAAI,mDAAwB,CAAC,IAAI,CAAC,CAAC;IACnD,CAAC;CACJ;AAxBD,oDAwBC;AAAA,CAAC"}
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,+EAA4E;AAC5E,+EAA4E;AAC5E,yFAAsF;AACtF,2EAAwE;AAGxE,MAAa,oBAAqB,SAAQ,kCAAa;IAYnD,YAAY,QAAgB,EAAE,OAAqB,EAAE,OAA+B;QAEhF,KAAK,CAAC,QAAQ,EAAE,QAAQ,EAAE,OAAO,EAAE,OAAO,CAAC,CAAC;QAC5C,IAAI,CAAC,OAAO,GAAG,IAAI,yDAA2B,CAAC,IAAI,CAAC,CAAC;QACrD,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,aAAa,GAAG,IAAI,mEAAgC,CAAC,IAAI,CAAC,CAAC;QAChE,IAAI,CAAC,IAAI,GAAG,IAAI,mDAAwB,CAAC,IAAI,CAAC,CAAC;IACnD,CAAC;CACJ;AA1BD,oDA0BC;AAAA,CAAC"}
@@ -5,17 +5,17 @@ import { NamirasoftCostServerBase } from "./NamirasoftCostServerBase";
5
5
  import { Period } from "./type/Period";
6
6
  export declare class NamirasoftCostServerBillWatchAWS extends NamirasoftCostServerBase {
7
7
  constructor(server: NamirasoftCostServer);
8
- Estimation(body: {
8
+ EstimateHourly(body: {
9
9
  first_entity_created_at: (Date | null);
10
+ period: Period;
10
11
  row_number: number;
11
12
  active: boolean;
12
- period: Period;
13
13
  }): Promise<Estimation>;
14
- _CreateFor(user_id: string, body: {
14
+ _CreateForHourly(user_id: string, body: {
15
15
  first_entity_created_at: (Date | null);
16
+ period: Period;
16
17
  row_number: number;
17
18
  active: boolean;
18
- period: Period;
19
19
  workspace_id: string;
20
20
  resource_id: string;
21
21
  }): Promise<CostRow>;
@@ -14,19 +14,19 @@ const NamirasoftCostServerBase_1 = require("./NamirasoftCostServerBase");
14
14
  class NamirasoftCostServerBillWatchAWS extends NamirasoftCostServerBase_1.NamirasoftCostServerBase {
15
15
  constructor(server) {
16
16
  super(server);
17
- this.Estimation = this.Estimation.bind(this);
18
- this._CreateFor = this._CreateFor.bind(this);
17
+ this.EstimateHourly = this.EstimateHourly.bind(this);
18
+ this._CreateForHourly = this._CreateForHourly.bind(this);
19
19
  }
20
- Estimation(body) {
20
+ EstimateHourly(body) {
21
21
  return __awaiter(this, void 0, void 0, function* () {
22
- let path = `/estimation/bill-watch/aws`;
22
+ let path = `/estimation/bill-watch/aws/hourly`;
23
23
  let { data } = yield this.server._post(path, {}, body);
24
24
  return data;
25
25
  });
26
26
  }
27
- _CreateFor(user_id, body) {
27
+ _CreateForHourly(user_id, body) {
28
28
  return __awaiter(this, void 0, void 0, function* () {
29
- let path = `/application/user/${user_id}/cost/bill-watch/aws`;
29
+ let path = `/application/user/${user_id}/cost/bill-watch/aws/hourly`;
30
30
  let { data } = yield this.server._post(path, {}, body);
31
31
  return data;
32
32
  });
@@ -1 +1 @@
1
- {"version":3,"file":"NamirasoftCostServerBillWatchAWS.js","sourceRoot":"","sources":["../src/NamirasoftCostServerBillWatchAWS.ts"],"names":[],"mappings":";;;;;;;;;;;;AAuBA,yEAAsE;AAGtE,MAAa,gCAAiC,SAAQ,mDAAw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C;YAC/C,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAAa,IAAI,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;YACnE,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;IACK,gBAAgB,CAAC,OAAe,EAAE,IAAgJ;;YAEpL,IAAI,IAAI,GAAG,qBAAqB,OAAO,6BAA6B,CAAC;YACrE,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAAU,IAAI,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;YAChE,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;CACJ;AApBD,4EAoBC;AAAA,CAAC"}
@@ -5,17 +5,17 @@ import { NamirasoftCostServerBase } from "./NamirasoftCostServerBase";
5
5
  import { Period } from "./type/Period";
6
6
  export declare class NamirasoftCostServerBillWatchAzure extends NamirasoftCostServerBase {
7
7
  constructor(server: NamirasoftCostServer);
8
- Estimation(body: {
8
+ EstimateHourly(body: {
9
9
  first_entity_created_at: (Date | null);
10
+ period: Period;
10
11
  row_number: number;
11
12
  active: boolean;
12
- period: Period;
13
13
  }): Promise<Estimation>;
14
- _CreateFor(user_id: string, body: {
14
+ _CreateForHourly(user_id: string, body: {
15
15
  first_entity_created_at: (Date | null);
16
+ period: Period;
16
17
  row_number: number;
17
18
  active: boolean;
18
- period: Period;
19
19
  workspace_id: string;
20
20
  resource_id: string;
21
21
  }): Promise<CostRow>;
@@ -14,19 +14,19 @@ const NamirasoftCostServerBase_1 = require("./NamirasoftCostServerBase");
14
14
  class NamirasoftCostServerBillWatchAzure extends NamirasoftCostServerBase_1.NamirasoftCostServerBase {
15
15
  constructor(server) {
16
16
  super(server);
17
- this.Estimation = this.Estimation.bind(this);
18
- this._CreateFor = this._CreateFor.bind(this);
17
+ this.EstimateHourly = this.EstimateHourly.bind(this);
18
+ this._CreateForHourly = this._CreateForHourly.bind(this);
19
19
  }
20
- Estimation(body) {
20
+ EstimateHourly(body) {
21
21
  return __awaiter(this, void 0, void 0, function* () {
22
- let path = `/estimation/bill-watch/azure`;
22
+ let path = `/estimation/bill-watch/azure/hourly`;
23
23
  let { data } = yield this.server._post(path, {}, body);
24
24
  return data;
25
25
  });
26
26
  }
27
- _CreateFor(user_id, body) {
27
+ _CreateForHourly(user_id, body) {
28
28
  return __awaiter(this, void 0, void 0, function* () {
29
- let path = `/application/user/${user_id}/cost/bill-watch/azure`;
29
+ let path = `/application/user/${user_id}/cost/bill-watch/azure/hourly`;
30
30
  let { data } = yield this.server._post(path, {}, body);
31
31
  return data;
32
32
  });
@@ -1 +1 @@
1
- {"version":3,"file":"NamirasoftCostServerBillWatchAzure.js","sourceRoot":"","sources":["../src/NamirasoftCostServerBillWatchAzure.ts"],"names":[],"mappings":";;;;;;;;;;;;AAuBA,yEAAsE;AAGtE,MAAa,kCAAmC,SAAQ,mDAAwB;IAE5E,YAAY,MAA4B;QAEpC,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC7C,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC;IACK,UAAU,CAAC,IAAqG;;YAElH,IAAI,IAAI,GAAG,8BAA8B,CAAC;YAC1C,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAAa,IAAI,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;YACnE,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;IACK,UAAU,CAAC,OAAe,EAAE,IAAgJ;;YAE9K,IAAI,IAAI,GAAG,qBAAqB,OAAO,wBAAwB,CAAC;YAChE,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAAU,IAAI,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;YAChE,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;CACJ;AApBD,gFAoBC;AAAA,CAAC"}
1
+ {"version":3,"file":"NamirasoftCostServerBillWatchAzure.js","sourceRoot":"","sources":["../src/NamirasoftCostServerBillWatchAzure.ts"],"names":[],"mappings":";;;;;;;;;;;;AAuBA,yEAAsE;AAGtE,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,IAAqG;;YAEtH,IAAI,IAAI,GAAG,qCAAqC,CAAC;YACjD,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAAa,IAAI,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;YACnE,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;IACK,gBAAgB,CAAC,OAAe,EAAE,IAAgJ;;YAEpL,IAAI,IAAI,GAAG,qBAAqB,OAAO,+BAA+B,CAAC;YACvE,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAAU,IAAI,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;YAChE,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;CACJ;AApBD,gFAoBC;AAAA,CAAC"}
@@ -5,17 +5,17 @@ import { NamirasoftCostServerBase } from "./NamirasoftCostServerBase";
5
5
  import { Period } from "./type/Period";
6
6
  export declare class NamirasoftCostServerBillWatchGCP extends NamirasoftCostServerBase {
7
7
  constructor(server: NamirasoftCostServer);
8
- Estimation(body: {
8
+ EstimateHourly(body: {
9
9
  first_entity_created_at: (Date | null);
10
+ period: Period;
10
11
  row_number: number;
11
12
  active: boolean;
12
- period: Period;
13
13
  }): Promise<Estimation>;
14
- _CreateFor(user_id: string, body: {
14
+ _CreateForHourly(user_id: string, body: {
15
15
  first_entity_created_at: (Date | null);
16
+ period: Period;
16
17
  row_number: number;
17
18
  active: boolean;
18
- period: Period;
19
19
  workspace_id: string;
20
20
  resource_id: string;
21
21
  }): Promise<CostRow>;
@@ -14,19 +14,19 @@ const NamirasoftCostServerBase_1 = require("./NamirasoftCostServerBase");
14
14
  class NamirasoftCostServerBillWatchGCP extends NamirasoftCostServerBase_1.NamirasoftCostServerBase {
15
15
  constructor(server) {
16
16
  super(server);
17
- this.Estimation = this.Estimation.bind(this);
18
- this._CreateFor = this._CreateFor.bind(this);
17
+ this.EstimateHourly = this.EstimateHourly.bind(this);
18
+ this._CreateForHourly = this._CreateForHourly.bind(this);
19
19
  }
20
- Estimation(body) {
20
+ EstimateHourly(body) {
21
21
  return __awaiter(this, void 0, void 0, function* () {
22
- let path = `/estimation/bill-watch/gcp`;
22
+ let path = `/estimation/bill-watch/gcp/hourly`;
23
23
  let { data } = yield this.server._post(path, {}, body);
24
24
  return data;
25
25
  });
26
26
  }
27
- _CreateFor(user_id, body) {
27
+ _CreateForHourly(user_id, body) {
28
28
  return __awaiter(this, void 0, void 0, function* () {
29
- let path = `/application/user/${user_id}/cost/bill-watch/gcp`;
29
+ let path = `/application/user/${user_id}/cost/bill-watch/gcp/hourly`;
30
30
  let { data } = yield this.server._post(path, {}, body);
31
31
  return data;
32
32
  });
@@ -1 +1 @@
1
- {"version":3,"file":"NamirasoftCostServerBillWatchGCP.js","sourceRoot":"","sources":["../src/NamirasoftCostServerBillWatchGCP.ts"],"names":[],"mappings":";;;;;;;;;;;;AAuBA,yEAAsE;AAGtE,MAAa,gCAAiC,SAAQ,mDAAwB;IAE1E,YAAY,MAA4B;QAEpC,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,UAAU,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AAI,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;YACnE,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;IACK,gBAAgB,CAAC,OAAe,EAAE,IAAgJ;;YAEpL,IAAI,IAAI,GAAG,qBAAqB,OAAO,6BAA6B,CAAC;YACrE,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAAU,IAAI,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;YAChE,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;CACJ;AApBD,4EAoBC;AAAA,CAAC"}
@@ -5,17 +5,17 @@ import { NamirasoftCostServerBase } from "./NamirasoftCostServerBase";
5
5
  import { Period } from "./type/Period";
6
6
  export declare class NamirasoftCostServerFieldCategory extends NamirasoftCostServerBase {
7
7
  constructor(server: NamirasoftCostServer);
8
- Estimation(body: {
8
+ EstimateHourly(body: {
9
9
  first_entity_created_at: (Date | null);
10
+ period: Period;
10
11
  row_number: number;
11
12
  active: boolean;
12
- period: Period;
13
13
  }): Promise<Estimation>;
14
- _CreateFor(user_id: string, body: {
14
+ _CreateForHourly(user_id: string, body: {
15
15
  first_entity_created_at: (Date | null);
16
+ period: Period;
16
17
  row_number: number;
17
18
  active: boolean;
18
- period: Period;
19
19
  workspace_id: string;
20
20
  resource_id: string;
21
21
  }): Promise<CostRow>;
@@ -14,19 +14,19 @@ const NamirasoftCostServerBase_1 = require("./NamirasoftCostServerBase");
14
14
  class NamirasoftCostServerFieldCategory extends NamirasoftCostServerBase_1.NamirasoftCostServerBase {
15
15
  constructor(server) {
16
16
  super(server);
17
- this.Estimation = this.Estimation.bind(this);
18
- this._CreateFor = this._CreateFor.bind(this);
17
+ this.EstimateHourly = this.EstimateHourly.bind(this);
18
+ this._CreateForHourly = this._CreateForHourly.bind(this);
19
19
  }
20
- Estimation(body) {
20
+ EstimateHourly(body) {
21
21
  return __awaiter(this, void 0, void 0, function* () {
22
- let path = `/estimation/field/category`;
22
+ let path = `/estimation/field/category/hourly`;
23
23
  let { data } = yield this.server._post(path, {}, body);
24
24
  return data;
25
25
  });
26
26
  }
27
- _CreateFor(user_id, body) {
27
+ _CreateForHourly(user_id, body) {
28
28
  return __awaiter(this, void 0, void 0, function* () {
29
- let path = `/application/user/${user_id}/cost/field/category`;
29
+ let path = `/application/user/${user_id}/cost/field/category/hourly`;
30
30
  let { data } = yield this.server._post(path, {}, body);
31
31
  return data;
32
32
  });
@@ -1 +1 @@
1
- {"version":3,"file":"NamirasoftCostServerFieldCategory.js","sourceRoot":"","sources":["../src/NamirasoftCostServerFieldCategory.ts"],"names":[],"mappings":";;;;;;;;;;;;AAuBA,yEAAsE;AAGtE,MAAa,iCAAkC,SAAQ,mDAAwB;IAE3E,YAAY,MAA4B;QAEpC,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC7C,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC;IACK,UAAU,CAAC,IAAqG;;YAElH,IAAI,IAAI,GAAG,4BAA4B,CAAC;YACxC,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAAa,IAAI,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;YACnE,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;IACK,UAAU,CAAC,OAAe,EAAE,IAAgJ;;YAE9K,IAAI,IAAI,GAAG,qBAAqB,OAAO,sBAAsB,CAAC;YAC9D,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAAU,IAAI,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;YAChE,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;CACJ;AApBD,8EAoBC;AAAA,CAAC"}
1
+ {"version":3,"file":"NamirasoftCostServerFieldCategory.js","sourceRoot":"","sources":["../src/NamirasoftCostServerFieldCategory.ts"],"names":[],"mappings":";;;;;;;;;;;;AAuBA,yEAAsE;AAGtE,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,IAAqG;;YAEtH,IAAI,IAAI,GAAG,mCAAmC,CAAC;YAC/C,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAAa,IAAI,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;YACnE,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;IACK,gBAAgB,CAAC,OAAe,EAAE,IAAgJ;;YAEpL,IAAI,IAAI,GAAG,qBAAqB,OAAO,6BAA6B,CAAC;YACrE,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAAU,IAAI,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;YAChE,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;CACJ;AApBD,8EAoBC;AAAA,CAAC"}
@@ -5,17 +5,17 @@ import { NamirasoftCostServerBase } from "./NamirasoftCostServerBase";
5
5
  import { Period } from "./type/Period";
6
6
  export declare class NamirasoftCostServerFieldField extends NamirasoftCostServerBase {
7
7
  constructor(server: NamirasoftCostServer);
8
- Estimation(body: {
8
+ EstimateHourly(body: {
9
9
  first_entity_created_at: (Date | null);
10
+ period: Period;
10
11
  row_number: number;
11
12
  active: boolean;
12
- period: Period;
13
13
  }): Promise<Estimation>;
14
- _CreateFor(user_id: string, body: {
14
+ _CreateForHourly(user_id: string, body: {
15
15
  first_entity_created_at: (Date | null);
16
+ period: Period;
16
17
  row_number: number;
17
18
  active: boolean;
18
- period: Period;
19
19
  workspace_id: string;
20
20
  resource_id: string;
21
21
  }): Promise<CostRow>;
@@ -14,19 +14,19 @@ const NamirasoftCostServerBase_1 = require("./NamirasoftCostServerBase");
14
14
  class NamirasoftCostServerFieldField extends NamirasoftCostServerBase_1.NamirasoftCostServerBase {
15
15
  constructor(server) {
16
16
  super(server);
17
- this.Estimation = this.Estimation.bind(this);
18
- this._CreateFor = this._CreateFor.bind(this);
17
+ this.EstimateHourly = this.EstimateHourly.bind(this);
18
+ this._CreateForHourly = this._CreateForHourly.bind(this);
19
19
  }
20
- Estimation(body) {
20
+ EstimateHourly(body) {
21
21
  return __awaiter(this, void 0, void 0, function* () {
22
- let path = `/estimation/field/field`;
22
+ let path = `/estimation/field/field/hourly`;
23
23
  let { data } = yield this.server._post(path, {}, body);
24
24
  return data;
25
25
  });
26
26
  }
27
- _CreateFor(user_id, body) {
27
+ _CreateForHourly(user_id, body) {
28
28
  return __awaiter(this, void 0, void 0, function* () {
29
- let path = `/application/user/${user_id}/cost/field/field`;
29
+ let path = `/application/user/${user_id}/cost/field/field/hourly`;
30
30
  let { data } = yield this.server._post(path, {}, body);
31
31
  return data;
32
32
  });
@@ -1 +1 @@
1
- {"version":3,"file":"NamirasoftCostServerFieldField.js","sourceRoot":"","sources":["../src/NamirasoftCostServerFieldField.ts"],"names":[],"mappings":";;;;;;;;;;;;AAuBA,yEAAsE;AAGtE,MAAa,8BAA+B,SAAQ,mDAAwB;IAExE,YAAY,MAA4B;QAEpC,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC7C,IAAI,CAAC,UAAU,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACjD,CAAC;IACK,UAAU,C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ClE,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAAU,IAAI,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;YAChE,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;CACJ;AApBD,wEAoBC;AAAA,CAAC"}
@@ -0,0 +1,36 @@
1
+ import { CostRow } from "./row/CostRow";
2
+ import { Estimation } from "./type/Estimation";
3
+ import { NamirasoftCostServer } from "./NamirasoftCostServer";
4
+ import { NamirasoftCostServerBase } from "./NamirasoftCostServerBase";
5
+ import { Period } from "./type/Period";
6
+ export declare class NamirasoftCostServerSecretSecret extends NamirasoftCostServerBase {
7
+ constructor(server: NamirasoftCostServer);
8
+ EstimateHourly(body: {
9
+ first_entity_created_at: (Date | null);
10
+ period: Period;
11
+ row_number: number;
12
+ active: boolean;
13
+ }): Promise<Estimation>;
14
+ _CreateForHourly(user_id: string, body: {
15
+ first_entity_created_at: (Date | null);
16
+ period: Period;
17
+ row_number: number;
18
+ active: boolean;
19
+ workspace_id: string;
20
+ resource_id: string;
21
+ }): Promise<CostRow>;
22
+ EstimateRead(body: {
23
+ first_entity_created_at: (Date | null);
24
+ period: Period;
25
+ total: number;
26
+ count: number;
27
+ }): Promise<Estimation>;
28
+ _CreateForRead(user_id: string, body: {
29
+ first_entity_created_at: (Date | null);
30
+ period: Period;
31
+ total: number;
32
+ count: number;
33
+ workspace_id: string;
34
+ resource_id: string;
35
+ }): Promise<CostRow>;
36
+ }
@@ -0,0 +1,53 @@
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.NamirasoftCostServerSecretSecret = void 0;
13
+ const NamirasoftCostServerBase_1 = require("./NamirasoftCostServerBase");
14
+ class NamirasoftCostServerSecretSecret extends NamirasoftCostServerBase_1.NamirasoftCostServerBase {
15
+ constructor(server) {
16
+ super(server);
17
+ this.EstimateHourly = this.EstimateHourly.bind(this);
18
+ this._CreateForHourly = this._CreateForHourly.bind(this);
19
+ this.EstimateRead = this.EstimateRead.bind(this);
20
+ this._CreateForRead = this._CreateForRead.bind(this);
21
+ }
22
+ EstimateHourly(body) {
23
+ return __awaiter(this, void 0, void 0, function* () {
24
+ let path = `/estimation/secret/secret/hourly`;
25
+ let { data } = yield this.server._post(path, {}, body);
26
+ return data;
27
+ });
28
+ }
29
+ _CreateForHourly(user_id, body) {
30
+ return __awaiter(this, void 0, void 0, function* () {
31
+ let path = `/application/user/${user_id}/cost/secret/secret/hourly`;
32
+ let { data } = yield this.server._post(path, {}, body);
33
+ return data;
34
+ });
35
+ }
36
+ EstimateRead(body) {
37
+ return __awaiter(this, void 0, void 0, function* () {
38
+ let path = `/estimation/secret/secret/read`;
39
+ let { data } = yield this.server._post(path, {}, body);
40
+ return data;
41
+ });
42
+ }
43
+ _CreateForRead(user_id, body) {
44
+ return __awaiter(this, void 0, void 0, function* () {
45
+ let path = `/application/user/${user_id}/cost/secret/secret/read`;
46
+ let { data } = yield this.server._post(path, {}, body);
47
+ return data;
48
+ });
49
+ }
50
+ }
51
+ exports.NamirasoftCostServerSecretSecret = NamirasoftCostServerSecretSecret;
52
+ ;
53
+ //# sourceMappingURL=NamirasoftCostServerSecretSecret.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"NamirasoftCostServerSecretSecret.js","sourceRoot":"","sources":["../src/NamirasoftCostServerSecretSecret.ts"],"names":[],"mappings":";;;;;;;;;;;;AAuBA,yEAAs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qB,OAAO,0BAA0B,CAAC;YAClE,IAAI,EAAE,IAAI,EAAE,GAAG,MAAM,IAAI,CAAC,MAAM,CAAC,KAAK,CAAU,IAAI,EAAE,EAAE,EAAE,IAAI,CAAC,CAAC;YAChE,OAAO,IAAI,CAAC;QAChB,CAAC;KAAA;CACJ;AAlCD,4EAkCC;AAAA,CAAC"}
@@ -2,13 +2,13 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.BillWatchAWSCommand = void 0;
4
4
  const namirasoft_node_cli_1 = require("namirasoft-node-cli");
5
- const BillWatchAWSEstimationCommand_1 = require("./BillWatchAWSEstimationCommand");
6
- const BillWatchAWS_CreateForCommand_1 = require("./BillWatchAWS_CreateForCommand");
5
+ const BillWatchAWSEstimateHourlyCommand_1 = require("./BillWatchAWSEstimateHourlyCommand");
6
+ const BillWatchAWS_CreateForHourlyCommand_1 = require("./BillWatchAWS_CreateForHourlyCommand");
7
7
  class BillWatchAWSCommand extends namirasoft_node_cli_1.BaseNavigatorCommand {
8
8
  constructor(argv) {
9
9
  super(argv, {
10
- "estimation": BillWatchAWSEstimationCommand_1.BillWatchAWSEstimationCommand,
11
- "_createfor": BillWatchAWS_CreateForCommand_1.BillWatchAWS_CreateForCommand,
10
+ "estimatehourly": BillWatchAWSEstimateHourlyCommand_1.BillWatchAWSEstimateHourlyCommand,
11
+ "_createforhourly": BillWatchAWS_CreateForHourlyCommand_1.BillWatchAWS_CreateForHourlyCommand,
12
12
  });
13
13
  }
14
14
  }
@@ -1 +1 @@
1
- {"version":3,"file":"BillWatchAWSCommand.js","sourceRoot":"","sources":["../../src/command/BillWatchAWSCommand.ts"],"names":[],"mappings":";;;AAoBA,6DAA2D;AAC3D,mFAAgF;AAChF,mFAAgF;AAEhF,MAAa,mBAAoB,SAAQ,0CAAoB;IAEzD,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE;YACR,YAAY,EAAE,6DAA6B;YAC3C,YAAY,EAAE,6DAA6B;SAC9C,CAAC,CAAC;IACP,CAAC;CACJ;AATD,kDASC;AAAA,CAAC"}
1
+ {"version":3,"file":"BillWatchAWSCommand.js","sourceRoot":"","sources":["../../src/command/BillWatchAWSCommand.ts"],"names":[],"mappings":";;;AAoBA,6DAA2D;AAC3D,2FAAwF;AACxF,+FAA4F;AAE5F,MAAa,mBAAoB,SAAQ,0CAAoB;IAEzD,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE;YACR,gBAAgB,EAAE,qEAAiC;YACnD,kBAAkB,EAAE,yEAAmC;SAC1D,CAAC,CAAC;IACP,CAAC;CACJ;AATD,kDASC;AAAA,CAAC"}
@@ -1,5 +1,5 @@
1
1
  import { BaseFinalCommand } from "namirasoft-node-cli";
2
- export declare class BillWatchAWSEstimationCommand extends BaseFinalCommand {
2
+ export declare class BillWatchAWSEstimateHourlyCommand extends BaseFinalCommand {
3
3
  constructor(argv: string[]);
4
4
  exec(): Promise<void>;
5
5
  }
@@ -9,12 +9,12 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, ge
9
9
  });
10
10
  };
11
11
  Object.defineProperty(exports, "__esModule", { value: true });
12
- exports.BillWatchAWSEstimationCommand = void 0;
12
+ exports.BillWatchAWSEstimateHourlyCommand = void 0;
13
13
  const namirasoft_node_cli_1 = require("namirasoft-node-cli");
14
14
  const namirasoft_core_1 = require("namirasoft-core");
15
15
  const NamirasoftCostServer_1 = require("../NamirasoftCostServer");
16
16
  const namirasoft_account_1 = require("namirasoft-account");
17
- class BillWatchAWSEstimationCommand extends namirasoft_node_cli_1.BaseFinalCommand {
17
+ class BillWatchAWSEstimateHourlyCommand extends namirasoft_node_cli_1.BaseFinalCommand {
18
18
  constructor(argv) {
19
19
  super(argv, [], [
20
20
  {
@@ -25,6 +25,14 @@ class BillWatchAWSEstimationCommand extends namirasoft_node_cli_1.BaseFinalComma
25
25
  args: ["first_entity_created_at"],
26
26
  defaults: [""]
27
27
  },
28
+ {
29
+ name: "period",
30
+ short: "",
31
+ description: "Provides the value of 'period' in body",
32
+ optional: false,
33
+ args: ["period"],
34
+ defaults: [""]
35
+ },
28
36
  {
29
37
  name: "row_number",
30
38
  short: "",
@@ -40,14 +48,6 @@ class BillWatchAWSEstimationCommand extends namirasoft_node_cli_1.BaseFinalComma
40
48
  optional: false,
41
49
  args: ["active"],
42
50
  defaults: [""]
43
- },
44
- {
45
- name: "period",
46
- short: "",
47
- description: "Provides the value of 'period' in body",
48
- optional: false,
49
- args: ["period"],
50
- defaults: [""]
51
51
  }
52
52
  ]);
53
53
  }
@@ -61,16 +61,16 @@ class BillWatchAWSEstimationCommand extends namirasoft_node_cli_1.BaseFinalComma
61
61
  manager.setValue(token, false);
62
62
  let url = this.app.storage.getItem("ns-cost-server-url");
63
63
  let server = new NamirasoftCostServer_1.NamirasoftCostServer(url, manager, e => this.app.logger.error(e.message));
64
- let ans = yield server.bill_watch_aws.Estimation({
64
+ let ans = yield server.bill_watch_aws.EstimateHourly({
65
65
  first_entity_created_at: this.option_values.first_entity_created_at,
66
+ period: this.option_values.period,
66
67
  row_number: this.option_values.row_number,
67
- active: this.option_values.active,
68
- period: this.option_values.period
68
+ active: this.option_values.active
69
69
  });
70
70
  this.app.logger.success(JSON.stringify(ans));
71
71
  });
72
72
  }
73
73
  }
74
- exports.BillWatchAWSEstimationCommand = BillWatchAWSEstimationCommand;
74
+ exports.BillWatchAWSEstimateHourlyCommand = BillWatchAWSEstimateHourlyCommand;
75
75
  ;
76
- //# sourceMappingURL=BillWatchAWSEstimationCommand.js.map
76
+ //# sourceMappingURL=BillWatchAWSEstimateHourlyCommand.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BillWatchAWSEstimateHourlyCommand.js","sourceRoot":"","sources":["../../src/command/BillWatchAWSEstimateHourlyCommand.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,6DAAuD;AACvD,qDAA0D;AAC1D,kEAA+D;AAC/D,2DAAkD;AAElD,MAAa,iCAAkC,SAAQ,sCAAgB;IAE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IAAI,GAAG,GAAG,IAAI,CAAC,GAAG,CAAC,OAAO,CAAC,OAAO,CAAC,oBAAoB,CAAC,CAAC;YACzD,IAAI,MAAM,GAAG,IAAI,2CAAoB,CAAC,GAAG,EAAE,OAAO,EAAE,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,KAAK,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;YAC3F,IAAI,GAAG,GAAG,MAAM,MAAM,CAAC,cAAc,CAAC,cAAc,CAAC;gBACjD,uBAAuB,EAAE,IAAI,CAAC,aAAa,CAAC,uBAAuB;gBACnE,MAAM,EAAE,IAAI,CAAC,aAAa,CAAC,MAAM;gBACjC,UAAU,EAAE,IAAI,CAAC,aAAa,CAAC,UAAU;gBACzC,MAAM,EAAE,IAAI,CAAC,aAAa,CAAC,MAAM;aACpC,CAAC,CAAC;YACH,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;QACjD,CAAC;KAAA;CACJ;AAzDD,8EAyDC;AAAA,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { BaseFinalCommand } from "namirasoft-node-cli";
2
+ export declare class BillWatchAWS_CreateForHourlyCommand extends BaseFinalCommand {
3
+ constructor(argv: string[]);
4
+ exec(): Promise<void>;
5
+ }