namirasoft-cost 1.4.20 → 1.4.22

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 (237) hide show
  1. package/.ns-sdkg-dir-deep +3 -2
  2. package/.ns-sdkg-file-keep +21 -5
  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/bonus/BaseBonus.d.ts +13 -0
  25. package/dist/bonus/BaseBonus.js +11 -0
  26. package/dist/bonus/BaseBonus.js.map +1 -0
  27. package/dist/bonus/DeactiveBonus.d.ts +10 -0
  28. package/dist/bonus/DeactiveBonus.js +27 -0
  29. package/dist/bonus/DeactiveBonus.js.map +1 -0
  30. package/dist/bonus/FreeCountBonus.d.ts +10 -0
  31. package/dist/bonus/FreeCountBonus.js +27 -0
  32. package/dist/bonus/FreeCountBonus.js.map +1 -0
  33. package/dist/bonus/FreeTotalValueBonus.d.ts +33 -0
  34. package/dist/bonus/FreeTotalValueBonus.js +39 -0
  35. package/dist/bonus/FreeTotalValueBonus.js.map +1 -0
  36. package/dist/bonus/LowAmountBonus.d.ts +10 -0
  37. package/dist/bonus/LowAmountBonus.js +27 -0
  38. package/dist/bonus/LowAmountBonus.js.map +1 -0
  39. package/dist/bonus/LowSecondsBonus.d.ts +10 -0
  40. package/dist/bonus/LowSecondsBonus.js +27 -0
  41. package/dist/bonus/LowSecondsBonus.js.map +1 -0
  42. package/dist/bonus/LowTotalCountBonus.d.ts +10 -0
  43. package/dist/bonus/LowTotalCountBonus.js +27 -0
  44. package/dist/bonus/LowTotalCountBonus.js.map +1 -0
  45. package/dist/bonus/LowTotalValueBonus.d.ts +10 -0
  46. package/dist/bonus/LowTotalValueBonus.js +27 -0
  47. package/dist/bonus/LowTotalValueBonus.js.map +1 -0
  48. package/dist/bonus/TrialBonus.d.ts +12 -0
  49. package/dist/bonus/TrialBonus.js +32 -0
  50. package/dist/bonus/TrialBonus.js.map +1 -0
  51. package/dist/command/BillWatchAWSCommand.js +4 -4
  52. package/dist/command/BillWatchAWSCommand.js.map +1 -1
  53. package/dist/command/{BillWatchAWS_CreateForCommand.d.ts → BillWatchAWSEstimateHourlyCommand.d.ts} +1 -1
  54. package/dist/command/{BillWatchGCPEstimationCommand.js → BillWatchAWSEstimateHourlyCommand.js} +15 -15
  55. package/dist/command/BillWatchAWSEstimateHourlyCommand.js.map +1 -0
  56. package/dist/command/BillWatchAWS_CreateForHourlyCommand.d.ts +5 -0
  57. package/dist/command/{BillWatchAWS_CreateForCommand.js → BillWatchAWS_CreateForHourlyCommand.js} +14 -14
  58. package/dist/command/BillWatchAWS_CreateForHourlyCommand.js.map +1 -0
  59. package/dist/command/BillWatchAzureCommand.js +4 -4
  60. package/dist/command/BillWatchAzureCommand.js.map +1 -1
  61. package/dist/command/BillWatchAzureEstimateHourlyCommand.d.ts +5 -0
  62. package/dist/command/BillWatchAzureEstimateHourlyCommand.js +76 -0
  63. package/dist/command/BillWatchAzureEstimateHourlyCommand.js.map +1 -0
  64. package/dist/command/BillWatchAzure_CreateForHourlyCommand.d.ts +5 -0
  65. package/dist/command/BillWatchAzure_CreateForHourlyCommand.js +94 -0
  66. package/dist/command/BillWatchAzure_CreateForHourlyCommand.js.map +1 -0
  67. package/dist/command/BillWatchGCPCommand.js +4 -4
  68. package/dist/command/BillWatchGCPCommand.js.map +1 -1
  69. package/dist/command/{BillWatchAWSEstimationCommand.d.ts → BillWatchGCPEstimateHourlyCommand.d.ts} +1 -1
  70. package/dist/command/{FieldCategoryEstimationCommand.js → BillWatchGCPEstimateHourlyCommand.js} +15 -15
  71. package/dist/command/BillWatchGCPEstimateHourlyCommand.js.map +1 -0
  72. package/dist/command/BillWatchGCP_CreateForHourlyCommand.d.ts +5 -0
  73. package/dist/command/{FieldCategory_CreateForCommand.js → BillWatchGCP_CreateForHourlyCommand.js} +14 -14
  74. package/dist/command/BillWatchGCP_CreateForHourlyCommand.js.map +1 -0
  75. package/dist/command/FieldCategoryCommand.js +4 -4
  76. package/dist/command/FieldCategoryCommand.js.map +1 -1
  77. package/dist/command/FieldCategoryEstimateHourlyCommand.d.ts +5 -0
  78. package/dist/command/FieldCategoryEstimateHourlyCommand.js +76 -0
  79. package/dist/command/FieldCategoryEstimateHourlyCommand.js.map +1 -0
  80. package/dist/command/FieldCategory_CreateForHourlyCommand.d.ts +5 -0
  81. package/dist/command/FieldCategory_CreateForHourlyCommand.js +94 -0
  82. package/dist/command/FieldCategory_CreateForHourlyCommand.js.map +1 -0
  83. package/dist/command/FieldFieldCommand.js +4 -4
  84. package/dist/command/FieldFieldCommand.js.map +1 -1
  85. package/dist/command/{BillWatchAzure_CreateForCommand.d.ts → FieldFieldEstimateHourlyCommand.d.ts} +1 -1
  86. package/dist/command/{BillWatchAzureEstimationCommand.js → FieldFieldEstimateHourlyCommand.js} +15 -15
  87. package/dist/command/{BillWatchAzureEstimationCommand.js.map → FieldFieldEstimateHourlyCommand.js.map} +1 -1
  88. package/dist/command/FieldField_CreateForHourlyCommand.d.ts +5 -0
  89. package/dist/command/{BillWatchGCP_CreateForCommand.js → FieldField_CreateForHourlyCommand.js} +14 -14
  90. package/dist/command/FieldField_CreateForHourlyCommand.js.map +1 -0
  91. package/dist/command/SecretSecretCommand.d.ts +4 -0
  92. package/dist/command/SecretSecretCommand.js +21 -0
  93. package/dist/command/SecretSecretCommand.js.map +1 -0
  94. package/dist/command/SecretSecretEstimateHourlyCommand.d.ts +5 -0
  95. package/dist/command/{BillWatchAWSEstimationCommand.js → SecretSecretEstimateHourlyCommand.js} +15 -15
  96. package/dist/command/SecretSecretEstimateHourlyCommand.js.map +1 -0
  97. package/dist/command/{BillWatchAzureEstimationCommand.d.ts → SecretSecretEstimateReadCommand.d.ts} +1 -1
  98. package/dist/command/{FieldFieldEstimationCommand.js → SecretSecretEstimateReadCommand.js} +17 -17
  99. package/dist/command/SecretSecretEstimateReadCommand.js.map +1 -0
  100. package/dist/command/SecretSecret_CreateForHourlyCommand.d.ts +5 -0
  101. package/dist/command/{BillWatchAzure_CreateForCommand.js → SecretSecret_CreateForHourlyCommand.js} +14 -14
  102. package/dist/command/SecretSecret_CreateForHourlyCommand.js.map +1 -0
  103. package/dist/command/SecretSecret_CreateForReadCommand.d.ts +5 -0
  104. package/dist/command/{FieldField_CreateForCommand.js → SecretSecret_CreateForReadCommand.js} +16 -16
  105. package/dist/command/SecretSecret_CreateForReadCommand.js.map +1 -0
  106. package/dist/command/cli.js +2 -0
  107. package/dist/command/cli.js.map +1 -1
  108. package/dist/estimator/BaseEstimator.d.ts +15 -0
  109. package/dist/estimator/BaseEstimator.js +58 -0
  110. package/dist/estimator/BaseEstimator.js.map +1 -0
  111. package/dist/estimator/BillWatchAWSHourlyEstimator.d.ts +3 -0
  112. package/dist/estimator/BillWatchAWSHourlyEstimator.js +8 -0
  113. package/dist/estimator/BillWatchAWSHourlyEstimator.js.map +1 -0
  114. package/dist/estimator/BillWatchAzureHourlyEstimator.d.ts +3 -0
  115. package/dist/estimator/BillWatchAzureHourlyEstimator.js +8 -0
  116. package/dist/estimator/BillWatchAzureHourlyEstimator.js.map +1 -0
  117. package/dist/estimator/BillWatchBaseHourlyEstimator.d.ts +14 -0
  118. package/dist/estimator/BillWatchBaseHourlyEstimator.js +26 -0
  119. package/dist/estimator/BillWatchBaseHourlyEstimator.js.map +1 -0
  120. package/dist/estimator/BillWatchGCPHourlyEstimator.d.ts +3 -0
  121. package/dist/estimator/BillWatchGCPHourlyEstimator.js +8 -0
  122. package/dist/estimator/BillWatchGCPHourlyEstimator.js.map +1 -0
  123. package/dist/estimator/FieldBaseHourlyEstimator.d.ts +9 -0
  124. package/dist/estimator/FieldBaseHourlyEstimator.js +22 -0
  125. package/dist/estimator/FieldBaseHourlyEstimator.js.map +1 -0
  126. package/dist/estimator/FieldCategoryHourlyEstimator.d.ts +8 -0
  127. package/dist/estimator/FieldCategoryHourlyEstimator.js +12 -0
  128. package/dist/estimator/FieldCategoryHourlyEstimator.js.map +1 -0
  129. package/dist/estimator/FieldFieldHourlyEstimator.d.ts +8 -0
  130. package/dist/estimator/FieldFieldHourlyEstimator.js +12 -0
  131. package/dist/estimator/FieldFieldHourlyEstimator.js.map +1 -0
  132. package/dist/estimator/SecretSecretHourlyEstimator.d.ts +14 -0
  133. package/dist/estimator/SecretSecretHourlyEstimator.js +25 -0
  134. package/dist/estimator/SecretSecretHourlyEstimator.js.map +1 -0
  135. package/dist/estimator/SecretSecretReadEstimator.d.ts +14 -0
  136. package/dist/estimator/SecretSecretReadEstimator.js +25 -0
  137. package/dist/estimator/SecretSecretReadEstimator.js.map +1 -0
  138. package/dist/index.d.ts +16 -15
  139. package/dist/index.js +16 -15
  140. package/dist/index.js.map +1 -1
  141. package/dist/type/Estimation.d.ts +10 -3
  142. package/dist/type/EstimationOption.d.ts +10 -0
  143. package/dist/type/{EstimationRow.js → EstimationOption.js} +2 -1
  144. package/dist/type/EstimationOption.js.map +1 -0
  145. package/dist/type/Period.d.ts +20 -2
  146. package/dist/type/Period.js +61 -0
  147. package/dist/type/Period.js.map +1 -1
  148. package/dist/type/Usage.d.ts +24 -0
  149. package/dist/type/Usage.js +30 -0
  150. package/dist/type/Usage.js.map +1 -0
  151. package/package.json +2 -2
  152. package/src/NamirasoftCostServer.ts +4 -1
  153. package/src/NamirasoftCostServerBillWatchAWS.ts +6 -6
  154. package/src/NamirasoftCostServerBillWatchAzure.ts +6 -6
  155. package/src/NamirasoftCostServerBillWatchGCP.ts +6 -6
  156. package/src/NamirasoftCostServerFieldCategory.ts +6 -6
  157. package/src/NamirasoftCostServerFieldField.ts +6 -6
  158. package/src/NamirasoftCostServerSecretSecret.ts +61 -0
  159. package/src/bonus/BaseBonus.ts +14 -0
  160. package/src/bonus/DeactiveBonus.ts +15 -0
  161. package/src/bonus/FreeCountBonus.ts +15 -0
  162. package/src/bonus/FreeTotalValueBonus.ts +29 -0
  163. package/src/bonus/LowAmountBonus.ts +15 -0
  164. package/src/bonus/LowSecondsBonus.ts +15 -0
  165. package/src/bonus/LowTotalCountBonus.ts +15 -0
  166. package/src/bonus/LowTotalValueBonus.ts +15 -0
  167. package/src/bonus/TrialBonus.ts +19 -0
  168. package/src/command/BillWatchAWSCommand.ts +4 -4
  169. package/src/command/{FieldCategoryEstimationCommand.ts → BillWatchAWSEstimateHourlyCommand.ts} +12 -12
  170. package/src/command/{BillWatchAzure_CreateForCommand.ts → BillWatchAWS_CreateForHourlyCommand.ts} +11 -11
  171. package/src/command/BillWatchAzureCommand.ts +4 -4
  172. package/src/command/BillWatchAzureEstimateHourlyCommand.ts +83 -0
  173. package/src/command/BillWatchAzure_CreateForHourlyCommand.ts +101 -0
  174. package/src/command/BillWatchGCPCommand.ts +4 -4
  175. package/src/command/{BillWatchGCPEstimationCommand.ts → BillWatchGCPEstimateHourlyCommand.ts} +12 -12
  176. package/src/command/{FieldCategory_CreateForCommand.ts → BillWatchGCP_CreateForHourlyCommand.ts} +11 -11
  177. package/src/command/FieldCategoryCommand.ts +4 -4
  178. package/src/command/FieldCategoryEstimateHourlyCommand.ts +83 -0
  179. package/src/command/FieldCategory_CreateForHourlyCommand.ts +101 -0
  180. package/src/command/FieldFieldCommand.ts +4 -4
  181. package/src/command/{BillWatchAzureEstimationCommand.ts → FieldFieldEstimateHourlyCommand.ts} +12 -12
  182. package/src/command/{BillWatchGCP_CreateForCommand.ts → FieldField_CreateForHourlyCommand.ts} +11 -11
  183. package/src/command/SecretSecretCommand.ts +38 -0
  184. package/src/command/{BillWatchAWSEstimationCommand.ts → SecretSecretEstimateHourlyCommand.ts} +12 -12
  185. package/src/command/{FieldFieldEstimationCommand.ts → SecretSecretEstimateReadCommand.ts} +14 -14
  186. package/src/command/{BillWatchAWS_CreateForCommand.ts → SecretSecret_CreateForHourlyCommand.ts} +11 -11
  187. package/src/command/{FieldField_CreateForCommand.ts → SecretSecret_CreateForReadCommand.ts} +13 -13
  188. package/src/command/cli.ts +2 -0
  189. package/src/estimator/BaseEstimator.ts +63 -0
  190. package/src/estimator/BillWatchAWSHourlyEstimator.ts +5 -0
  191. package/src/estimator/BillWatchAzureHourlyEstimator.ts +5 -0
  192. package/src/estimator/BillWatchBaseHourlyEstimator.ts +26 -0
  193. package/src/estimator/BillWatchGCPHourlyEstimator.ts +5 -0
  194. package/src/estimator/FieldBaseHourlyEstimator.ts +21 -0
  195. package/src/estimator/FieldCategoryHourlyEstimator.ts +10 -0
  196. package/src/estimator/FieldFieldHourlyEstimator.ts +10 -0
  197. package/src/estimator/SecretSecretHourlyEstimator.ts +25 -0
  198. package/src/estimator/SecretSecretReadEstimator.ts +26 -0
  199. package/src/index.ts +17 -16
  200. package/src/type/Estimation.ts +10 -3
  201. package/src/type/EstimationOption.ts +12 -0
  202. package/src/type/Period.ts +72 -3
  203. package/src/type/Usage.ts +25 -0
  204. package/dist/TimeUtil.d.ts +0 -7
  205. package/dist/TimeUtil.js +0 -66
  206. package/dist/TimeUtil.js.map +0 -1
  207. package/dist/command/BillWatchAWSEstimationCommand.js.map +0 -1
  208. package/dist/command/BillWatchAWS_CreateForCommand.js.map +0 -1
  209. package/dist/command/BillWatchAzure_CreateForCommand.js.map +0 -1
  210. package/dist/command/BillWatchGCPEstimationCommand.d.ts +0 -5
  211. package/dist/command/BillWatchGCPEstimationCommand.js.map +0 -1
  212. package/dist/command/BillWatchGCP_CreateForCommand.d.ts +0 -5
  213. package/dist/command/BillWatchGCP_CreateForCommand.js.map +0 -1
  214. package/dist/command/FieldCategoryEstimationCommand.d.ts +0 -5
  215. package/dist/command/FieldCategoryEstimationCommand.js.map +0 -1
  216. package/dist/command/FieldCategory_CreateForCommand.d.ts +0 -5
  217. package/dist/command/FieldCategory_CreateForCommand.js.map +0 -1
  218. package/dist/command/FieldFieldEstimationCommand.d.ts +0 -5
  219. package/dist/command/FieldFieldEstimationCommand.js.map +0 -1
  220. package/dist/command/FieldField_CreateForCommand.d.ts +0 -5
  221. package/dist/command/FieldField_CreateForCommand.js.map +0 -1
  222. package/dist/enum/TrialUnit.d.ts +0 -5
  223. package/dist/enum/TrialUnit.js +0 -10
  224. package/dist/enum/TrialUnit.js.map +0 -1
  225. package/dist/type/EstimationRow.d.ts +0 -9
  226. package/dist/type/EstimationRow.js.map +0 -1
  227. package/dist/type/Trial.d.ts +0 -5
  228. package/dist/type/Trial.js +0 -3
  229. package/dist/type/Trial.js.map +0 -1
  230. package/dist/type/TrialDuration.d.ts +0 -5
  231. package/dist/type/TrialDuration.js +0 -3
  232. package/dist/type/TrialDuration.js.map +0 -1
  233. package/src/TimeUtil.ts +0 -67
  234. package/src/enum/TrialUnit.ts +0 -6
  235. package/src/type/EstimationRow.ts +0 -10
  236. package/src/type/Trial.ts +0 -7
  237. package/src/type/TrialDuration.ts +0 -7
package/.ns-sdkg-dir-deep CHANGED
@@ -1,3 +1,4 @@
1
1
  /src
2
- /src/type
3
- /src/enum
2
+ /src/bonus
3
+ /src/estimator
4
+ /src/type
@@ -1,8 +1,24 @@
1
- src/enum/TrialUnit.ts
1
+ src/bonus/BaseBonus.ts
2
+ src/bonus/DeactiveBonus.ts
3
+ src/bonus/FreeCountBonus.ts
4
+ src/bonus/FreeTotalValueBonus.ts
5
+ src/bonus/LowAmountBonus.ts
6
+ src/bonus/LowSecondsBonus.ts
7
+ src/bonus/LowTotalCountBonus.ts
8
+ src/bonus/LowTotalValueBonus.ts
9
+ src/bonus/TrialBonus.ts
10
+ src/bonus/BaseEstimator.ts
11
+ src/bonus/BillWatchAWSHourlyEstimator.ts
12
+ src/bonus/BillWatchAzureHourlyEstimator.ts
13
+ src/bonus/BillWatchBaseHourlyEstimator.ts
14
+ src/bonus/BillWatchGCPHourlyEstimator.ts
15
+ src/bonus/FieldBaseHourlyEstimator.ts
16
+ src/bonus/FieldCategoryHourlyEstimator.ts
17
+ src/bonus/FieldFieldHourlyEstimator.ts
18
+ src/bonus/SecretSecretHourlyEstimator.ts
19
+ src/bonus/SecretSecretReadEstimator.ts
2
20
  src/type/Estimation.ts
3
- src/type/EstimationRow.ts
21
+ src/type/EstimationOption.ts
4
22
  src/type/EstimationUsage.ts
5
23
  src/type/Period.ts
6
- src/type/Trial.ts
7
- src/type/TrialDuration.ts
8
- src/TimeUtil.ts
24
+ src/type/Usage.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,mDAAwB;IAE1E,YAAY,MAA4B;QAEpC,KAAK,CAAC,MAAM,CAAC,CAAC;QACd,I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AC,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,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;QAC7C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AChB,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,CAAC,IAAqG;;YAElH,IAAI,IAAI,GAAG,yBAAyB,CAAC;YACrC,IAAI,EA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AK,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,yEAAsE;AAGtE,MAAa,gCAAiC,SAAQ,mDAAwB;IAE1E,YAAY,MAA4B;QAEpC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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"}
@@ -0,0 +1,13 @@
1
+ import { Estimation } from "../type/Estimation";
2
+ import { EstimationOption } from "../type/EstimationOption";
3
+ export declare abstract class BaseBonus {
4
+ name: string;
5
+ constructor(name: string);
6
+ abstract isFree(option: EstimationOption, estimation: Estimation): Promise<{
7
+ free: boolean;
8
+ split?: {
9
+ free: EstimationOption;
10
+ paids: EstimationOption[];
11
+ };
12
+ }>;
13
+ }
@@ -0,0 +1,11 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BaseBonus = void 0;
4
+ class BaseBonus {
5
+ constructor(name) {
6
+ this.name = name;
7
+ }
8
+ }
9
+ exports.BaseBonus = BaseBonus;
10
+ ;
11
+ //# sourceMappingURL=BaseBonus.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"BaseBonus.js","sourceRoot":"","sources":["../../src/bonus/BaseBonus.ts"],"names":[],"mappings":";;;AAGA,MAAsB,SAAS;IAE3B,YAAmB,IAAY;QAAZ,SAAI,GAAJ,IAAI,CAAQ;IAC7B,CAAC;CAON;AAVD,8BAUC;AAAA,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { Estimation } from "../type/Estimation";
2
+ import { EstimationOption } from "../type/EstimationOption";
3
+ import { BaseBonus } from "./BaseBonus";
4
+ export declare class DeactiveBonus extends BaseBonus {
5
+ count: number;
6
+ constructor(count: number);
7
+ isFree(option: EstimationOption, _: Estimation): Promise<{
8
+ free: boolean;
9
+ }>;
10
+ }
@@ -0,0 +1,27 @@
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.DeactiveBonus = void 0;
13
+ const BaseBonus_1 = require("./BaseBonus");
14
+ class DeactiveBonus extends BaseBonus_1.BaseBonus {
15
+ constructor(count) {
16
+ super("Deactive");
17
+ this.count = count;
18
+ }
19
+ isFree(option, _) {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ return { free: !option.active };
22
+ });
23
+ }
24
+ }
25
+ exports.DeactiveBonus = DeactiveBonus;
26
+ ;
27
+ //# sourceMappingURL=DeactiveBonus.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DeactiveBonus.js","sourceRoot":"","sources":["../../src/bonus/DeactiveBonus.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,2CAAwC;AAExC,MAAa,aAAc,SAAQ,qBAAS;IAExC,YAAmB,KAAa;QAE5B,KAAK,CAAC,UAAU,CAAC,CAAC;QAFH,UAAK,GAAL,KAAK,CAAQ;IAGhC,CAAC;IACK,MAAM,CAAC,MAAwB,EAAE,CAAa;;YAEhD,OAAO,EAAE,IAAI,EAAE,CAAC,MAAM,CAAC,MAAM,EAAE,CAAC;QACpC,CAAC;KAAA;CACJ;AAVD,sCAUC;AAAA,CAAC"}
@@ -0,0 +1,10 @@
1
+ import { Estimation } from "../type/Estimation";
2
+ import { EstimationOption } from "../type/EstimationOption";
3
+ import { BaseBonus } from "./BaseBonus";
4
+ export declare class FreeCountBonus extends BaseBonus {
5
+ count: number;
6
+ constructor(count: number);
7
+ isFree(option: EstimationOption, _: Estimation): Promise<{
8
+ free: boolean;
9
+ }>;
10
+ }
@@ -0,0 +1,27 @@
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.FreeCountBonus = void 0;
13
+ const BaseBonus_1 = require("./BaseBonus");
14
+ class FreeCountBonus extends BaseBonus_1.BaseBonus {
15
+ constructor(count) {
16
+ super("Free Count");
17
+ this.count = count;
18
+ }
19
+ isFree(option, _) {
20
+ return __awaiter(this, void 0, void 0, function* () {
21
+ return { free: option.number <= this.count };
22
+ });
23
+ }
24
+ }
25
+ exports.FreeCountBonus = FreeCountBonus;
26
+ ;
27
+ //# sourceMappingURL=FreeCountBonus.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"FreeCountBonus.js","sourceRoot":"","sources":["../../src/bonus/FreeCountBonus.ts"],"names":[],"mappings":";;;;;;;;;;;;AAEA,2CAAwC;AAExC,MAAa,cAAe,SAAQ,qBAAS;IAEzC,YAAmB,KAAa;QAE5B,KAAK,CAAC,YAAY,CAAC,CAAC;QAFL,UAAK,GAAL,KAAK,CAAQ;IAGhC,CAAC;IACK,MAAM,CAAC,MAAwB,EAAE,CAAa;;YAEhD,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,IAAI,IAAI,CAAC,KAAK,EAAE,CAAC;QACjD,CAAC;KAAA;CACJ;AAVD,wCAUC;AAAA,CAAC"}
@@ -0,0 +1,33 @@
1
+ import { Estimation } from "../type/Estimation";
2
+ import { EstimationOption } from "../type/EstimationOption";
3
+ import { BaseBonus } from "./BaseBonus";
4
+ export declare class FreeTotalValueBonus extends BaseBonus {
5
+ value: number;
6
+ constructor(value: number);
7
+ isFree(option: EstimationOption, _: Estimation): Promise<{
8
+ free: boolean;
9
+ split: {
10
+ free: {
11
+ total_value: number;
12
+ value: number;
13
+ period: import("..").Period;
14
+ total_count: number;
15
+ number: number;
16
+ active: boolean;
17
+ trial_started_at: Date | null;
18
+ };
19
+ paids: {
20
+ value: number;
21
+ period: import("..").Period;
22
+ total_count: number;
23
+ number: number;
24
+ total_value: number;
25
+ active: boolean;
26
+ trial_started_at: Date | null;
27
+ }[];
28
+ };
29
+ } | {
30
+ free: boolean;
31
+ split?: undefined;
32
+ }>;
33
+ }