namirasoft-bill-watch 1.4.7 → 1.4.8

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 (196) hide show
  1. package/.ns-sdkg-dir-deep +6 -6
  2. package/.ns-sdkg-file-keep +21 -20
  3. package/dist/formula/BaseFormula.d.ts +0 -2
  4. package/dist/formula/BaseFormula.js +0 -194
  5. package/dist/formula/BaseFormula.js.map +1 -1
  6. package/dist/formula/Formulas.d.ts +4 -0
  7. package/dist/formula/Formulas.js +201 -0
  8. package/dist/formula/Formulas.js.map +1 -0
  9. package/dist/index.d.ts +1 -0
  10. package/dist/index.js +1 -0
  11. package/dist/index.js.map +1 -1
  12. package/package.json +27 -27
  13. package/src/NamirasoftBillWatchServer.ts +83 -83
  14. package/src/NamirasoftBillWatchServerAWS.ts +70 -70
  15. package/src/NamirasoftBillWatchServerAWSCategory.ts +62 -62
  16. package/src/NamirasoftBillWatchServerAWSField.ts +69 -69
  17. package/src/NamirasoftBillWatchServerAWSTag.ts +69 -69
  18. package/src/NamirasoftBillWatchServerAzure.ts +70 -70
  19. package/src/NamirasoftBillWatchServerAzureCategory.ts +62 -62
  20. package/src/NamirasoftBillWatchServerAzureField.ts +69 -69
  21. package/src/NamirasoftBillWatchServerAzureTag.ts +69 -69
  22. package/src/NamirasoftBillWatchServerBase.ts +29 -29
  23. package/src/NamirasoftBillWatchServerGCP.ts +70 -70
  24. package/src/NamirasoftBillWatchServerGCPCategory.ts +62 -62
  25. package/src/NamirasoftBillWatchServerGCPField.ts +69 -69
  26. package/src/NamirasoftBillWatchServerGCPTag.ts +69 -69
  27. package/src/NamirasoftBillWatchServerHealthz.ts +35 -35
  28. package/src/NamirasoftBillWatchServerRule.ts +70 -70
  29. package/src/NamirasoftBillWatchServerRuleCategory.ts +62 -62
  30. package/src/NamirasoftBillWatchServerRuleField.ts +69 -69
  31. package/src/NamirasoftBillWatchServerRuleTag.ts +69 -69
  32. package/src/NamirasoftBillWatchServerValue.ts +36 -36
  33. package/src/command/AWSCategoryCommand.ts +37 -37
  34. package/src/command/AWSCategoryCreateCommand.ts +55 -55
  35. package/src/command/AWSCategoryDeleteCommand.ts +44 -44
  36. package/src/command/AWSCategoryGetCommand.ts +44 -44
  37. package/src/command/AWSCategoryListCommand.ts +44 -44
  38. package/src/command/AWSCommand.ts +39 -39
  39. package/src/command/AWSCreateCommand.ts +154 -154
  40. package/src/command/AWSDeleteCommand.ts +44 -44
  41. package/src/command/AWSFieldCommand.ts +39 -39
  42. package/src/command/AWSFieldCreateCommand.ts +64 -64
  43. package/src/command/AWSFieldDeleteCommand.ts +44 -44
  44. package/src/command/AWSFieldGetCommand.ts +44 -44
  45. package/src/command/AWSFieldListCommand.ts +44 -44
  46. package/src/command/AWSFieldUpdateCommand.ts +64 -64
  47. package/src/command/AWSGetCommand.ts +44 -44
  48. package/src/command/AWSListCommand.ts +44 -44
  49. package/src/command/AWSTagCommand.ts +39 -39
  50. package/src/command/AWSTagCreateCommand.ts +64 -64
  51. package/src/command/AWSTagDeleteCommand.ts +44 -44
  52. package/src/command/AWSTagGetCommand.ts +44 -44
  53. package/src/command/AWSTagListCommand.ts +44 -44
  54. package/src/command/AWSTagUpdateCommand.ts +64 -64
  55. package/src/command/AWSUpdateCommand.ts +154 -154
  56. package/src/command/AzureCategoryCommand.ts +37 -37
  57. package/src/command/AzureCategoryCreateCommand.ts +55 -55
  58. package/src/command/AzureCategoryDeleteCommand.ts +44 -44
  59. package/src/command/AzureCategoryGetCommand.ts +44 -44
  60. package/src/command/AzureCategoryListCommand.ts +44 -44
  61. package/src/command/AzureCommand.ts +39 -39
  62. package/src/command/AzureCreateCommand.ts +145 -145
  63. package/src/command/AzureDeleteCommand.ts +44 -44
  64. package/src/command/AzureFieldCommand.ts +39 -39
  65. package/src/command/AzureFieldCreateCommand.ts +64 -64
  66. package/src/command/AzureFieldDeleteCommand.ts +44 -44
  67. package/src/command/AzureFieldGetCommand.ts +44 -44
  68. package/src/command/AzureFieldListCommand.ts +44 -44
  69. package/src/command/AzureFieldUpdateCommand.ts +64 -64
  70. package/src/command/AzureGetCommand.ts +44 -44
  71. package/src/command/AzureListCommand.ts +44 -44
  72. package/src/command/AzureTagCommand.ts +39 -39
  73. package/src/command/AzureTagCreateCommand.ts +64 -64
  74. package/src/command/AzureTagDeleteCommand.ts +44 -44
  75. package/src/command/AzureTagGetCommand.ts +44 -44
  76. package/src/command/AzureTagListCommand.ts +44 -44
  77. package/src/command/AzureTagUpdateCommand.ts +64 -64
  78. package/src/command/AzureUpdateCommand.ts +145 -145
  79. package/src/command/GCPCategoryCommand.ts +37 -37
  80. package/src/command/GCPCategoryCreateCommand.ts +55 -55
  81. package/src/command/GCPCategoryDeleteCommand.ts +44 -44
  82. package/src/command/GCPCategoryGetCommand.ts +44 -44
  83. package/src/command/GCPCategoryListCommand.ts +44 -44
  84. package/src/command/GCPCommand.ts +39 -39
  85. package/src/command/GCPCreateCommand.ts +145 -145
  86. package/src/command/GCPDeleteCommand.ts +44 -44
  87. package/src/command/GCPFieldCommand.ts +39 -39
  88. package/src/command/GCPFieldCreateCommand.ts +64 -64
  89. package/src/command/GCPFieldDeleteCommand.ts +44 -44
  90. package/src/command/GCPFieldGetCommand.ts +44 -44
  91. package/src/command/GCPFieldListCommand.ts +44 -44
  92. package/src/command/GCPFieldUpdateCommand.ts +64 -64
  93. package/src/command/GCPGetCommand.ts +44 -44
  94. package/src/command/GCPListCommand.ts +44 -44
  95. package/src/command/GCPTagCommand.ts +39 -39
  96. package/src/command/GCPTagCreateCommand.ts +64 -64
  97. package/src/command/GCPTagDeleteCommand.ts +44 -44
  98. package/src/command/GCPTagGetCommand.ts +44 -44
  99. package/src/command/GCPTagListCommand.ts +44 -44
  100. package/src/command/GCPTagUpdateCommand.ts +64 -64
  101. package/src/command/GCPUpdateCommand.ts +145 -145
  102. package/src/command/HealthzCommand.ts +31 -31
  103. package/src/command/HealthzGetCommand.ts +44 -44
  104. package/src/command/RuleCategoryCommand.ts +37 -37
  105. package/src/command/RuleCategoryCreateCommand.ts +55 -55
  106. package/src/command/RuleCategoryDeleteCommand.ts +44 -44
  107. package/src/command/RuleCategoryGetCommand.ts +44 -44
  108. package/src/command/RuleCategoryListCommand.ts +44 -44
  109. package/src/command/RuleCommand.ts +39 -39
  110. package/src/command/RuleCreateCommand.ts +109 -109
  111. package/src/command/RuleDeleteCommand.ts +44 -44
  112. package/src/command/RuleFieldCommand.ts +39 -39
  113. package/src/command/RuleFieldCreateCommand.ts +64 -64
  114. package/src/command/RuleFieldDeleteCommand.ts +44 -44
  115. package/src/command/RuleFieldGetCommand.ts +44 -44
  116. package/src/command/RuleFieldListCommand.ts +44 -44
  117. package/src/command/RuleFieldUpdateCommand.ts +64 -64
  118. package/src/command/RuleGetCommand.ts +44 -44
  119. package/src/command/RuleListCommand.ts +44 -44
  120. package/src/command/RuleTagCommand.ts +39 -39
  121. package/src/command/RuleTagCreateCommand.ts +64 -64
  122. package/src/command/RuleTagDeleteCommand.ts +44 -44
  123. package/src/command/RuleTagGetCommand.ts +44 -44
  124. package/src/command/RuleTagListCommand.ts +44 -44
  125. package/src/command/RuleTagUpdateCommand.ts +64 -64
  126. package/src/command/RuleUpdateCommand.ts +109 -109
  127. package/src/command/ValueCommand.ts +31 -31
  128. package/src/command/ValueListCommand.ts +44 -44
  129. package/src/command/cli.ts +66 -66
  130. package/src/formula/BaseFormula.ts +48 -243
  131. package/src/formula/CalculationResult.ts +4 -4
  132. package/src/formula/ChangeType.ts +5 -5
  133. package/src/formula/FormulaDefinitionRow.ts +12 -12
  134. package/src/formula/FormulaRow.ts +6 -6
  135. package/src/formula/Formulas.ts +199 -0
  136. package/src/formula/statistical/Formula_InterquartileRange.ts +52 -52
  137. package/src/formula/statistical/amount/Formula_AmountByAverage.ts +24 -24
  138. package/src/formula/statistical/amount/Formula_AmountByLast.ts +24 -24
  139. package/src/formula/statistical/amount/Formula_AmountByMax.ts +24 -24
  140. package/src/formula/statistical/amount/Formula_AmountByMedian.ts +24 -24
  141. package/src/formula/statistical/amount/Formula_AmountByMin.ts +24 -24
  142. package/src/formula/statistical/percent/Formula_PercentageByAverage.ts +24 -24
  143. package/src/formula/statistical/percent/Formula_PercentageByLast.ts +24 -24
  144. package/src/formula/statistical/percent/Formula_PercentageByMax.ts +24 -24
  145. package/src/formula/statistical/percent/Formula_PercentageByMedian.ts +24 -24
  146. package/src/formula/statistical/percent/Formula_PercentageByMin.ts +24 -24
  147. package/src/formula/statistical/z_score/Formula_GrubbsTest.ts +64 -64
  148. package/src/formula/statistical/z_score/Formula_ModifiedZScore.ts +34 -34
  149. package/src/formula/statistical/z_score/Formula_ZScore.ts +34 -34
  150. package/src/formula/trend/Formula_RegressionResidual.ts +48 -48
  151. package/src/formula/trend/Formula_TrendDeviation.ts +44 -44
  152. package/src/index.ts +201 -200
  153. package/src/meta/AWSCategoryMetaTable.ts +57 -57
  154. package/src/meta/AWSFieldMetaTable.ts +59 -59
  155. package/src/meta/AWSMetaTable.ts +69 -69
  156. package/src/meta/AWSTagMetaTable.ts +59 -59
  157. package/src/meta/AzureCategoryMetaTable.ts +57 -57
  158. package/src/meta/AzureFieldMetaTable.ts +59 -59
  159. package/src/meta/AzureMetaTable.ts +67 -67
  160. package/src/meta/AzureTagMetaTable.ts +59 -59
  161. package/src/meta/GCPCategoryMetaTable.ts +57 -57
  162. package/src/meta/GCPFieldMetaTable.ts +59 -59
  163. package/src/meta/GCPMetaTable.ts +67 -67
  164. package/src/meta/GCPTagMetaTable.ts +59 -59
  165. package/src/meta/NamirasoftBillWatchMetaDatabase.ts +95 -95
  166. package/src/meta/RuleCategoryMetaTable.ts +57 -57
  167. package/src/meta/RuleFieldMetaTable.ts +59 -59
  168. package/src/meta/RuleMetaTable.ts +61 -61
  169. package/src/meta/RuleTagMetaTable.ts +59 -59
  170. package/src/row/AWSCategoryRow.ts +28 -28
  171. package/src/row/AWSFieldRow.ts +29 -29
  172. package/src/row/AWSFullRow.ts +42 -42
  173. package/src/row/AWSInputRow.ts +38 -38
  174. package/src/row/AWSRow.ts +34 -34
  175. package/src/row/AWSTagRow.ts +29 -29
  176. package/src/row/AzureCategoryRow.ts +28 -28
  177. package/src/row/AzureFieldRow.ts +29 -29
  178. package/src/row/AzureFullRow.ts +41 -41
  179. package/src/row/AzureInputRow.ts +37 -37
  180. package/src/row/AzureRow.ts +33 -33
  181. package/src/row/AzureTagRow.ts +29 -29
  182. package/src/row/EntityCategoryInputRow.ts +23 -23
  183. package/src/row/EntityFieldInputRow.ts +24 -24
  184. package/src/row/EntityTagInputRow.ts +24 -24
  185. package/src/row/GCPCategoryRow.ts +28 -28
  186. package/src/row/GCPFieldRow.ts +29 -29
  187. package/src/row/GCPFullRow.ts +41 -41
  188. package/src/row/GCPInputRow.ts +37 -37
  189. package/src/row/GCPRow.ts +33 -33
  190. package/src/row/GCPTagRow.ts +29 -29
  191. package/src/row/RuleCategoryRow.ts +28 -28
  192. package/src/row/RuleFieldRow.ts +29 -29
  193. package/src/row/RuleFullRow.ts +37 -37
  194. package/src/row/RuleInputRow.ts +33 -33
  195. package/src/row/RuleRow.ts +30 -30
  196. package/src/row/RuleTagRow.ts +29 -29
package/.ns-sdkg-dir-deep CHANGED
@@ -1,7 +1,7 @@
1
- /src
2
- /src/formula
3
- /src/formula/statistical
4
- /src/formula/statistical/amount
5
- /src/formula/statistical/percent
6
- /src/formula/statistical/z_score
1
+ /src
2
+ /src/formula
3
+ /src/formula/statistical
4
+ /src/formula/statistical/amount
5
+ /src/formula/statistical/percent
6
+ /src/formula/statistical/z_score
7
7
  /src/formula/trend
@@ -1,21 +1,22 @@
1
- src/formula/BaseFormula.ts
2
- src/formula/CalculationResult.ts
3
- src/formula/ChangeType.ts
4
- src/formula/FormulaDefinitionRow.ts
5
- src/formula/FormulaRow.ts
6
- src/formula/statistical/amount/Formula_AmountByMedian.ts
7
- src/formula/statistical/amount/Formula_AmountByMax.ts
8
- src/formula/statistical/amount/Formula_AmountByLast.ts
9
- src/formula/statistical/amount/Formula_AmountByAverage.ts
10
- src/formula/statistical/amount/Formula_AmountByMin.ts
11
- src/formula/statistical/percent/Formula_PercentageByMin.ts
12
- src/formula/statistical/percent/Formula_PercentageByMedian.ts
13
- src/formula/statistical/percent/Formula_PercentageByMax.ts
14
- src/formula/statistical/percent/Formula_PercentageByLast.ts
15
- src/formula/statistical/percent/Formula_PercentageByAverage.ts
16
- src/formula/statistical/z_score/Formula_GrubbsTest.ts
17
- src/formula/statistical/z_score/Formula_ModifiedZScore.ts
18
- src/formula/statistical/z_score/Formula_ZScore.ts
19
- src/formula/statistical/Formula_InterquartileRange.ts
20
- src/formula/trend/Formula_TrendDeviation.ts
1
+ src/formula/BaseFormula.ts
2
+ src/formula/CalculationResult.ts
3
+ src/formula/ChangeType.ts
4
+ src/formula/FormulaDefinitionRow.ts
5
+ src/formula/FormulaRow.ts
6
+ src/formula/Formulas.ts
7
+ src/formula/statistical/amount/Formula_AmountByMedian.ts
8
+ src/formula/statistical/amount/Formula_AmountByMax.ts
9
+ src/formula/statistical/amount/Formula_AmountByLast.ts
10
+ src/formula/statistical/amount/Formula_AmountByAverage.ts
11
+ src/formula/statistical/amount/Formula_AmountByMin.ts
12
+ src/formula/statistical/percent/Formula_PercentageByMin.ts
13
+ src/formula/statistical/percent/Formula_PercentageByMedian.ts
14
+ src/formula/statistical/percent/Formula_PercentageByMax.ts
15
+ src/formula/statistical/percent/Formula_PercentageByLast.ts
16
+ src/formula/statistical/percent/Formula_PercentageByAverage.ts
17
+ src/formula/statistical/z_score/Formula_GrubbsTest.ts
18
+ src/formula/statistical/z_score/Formula_ModifiedZScore.ts
19
+ src/formula/statistical/z_score/Formula_ZScore.ts
20
+ src/formula/statistical/Formula_InterquartileRange.ts
21
+ src/formula/trend/Formula_TrendDeviation.ts
21
22
  src/formula/trend/Formula_RegressionResidual.ts
@@ -1,8 +1,6 @@
1
1
  import { CalculationResult } from "./CalculationResult";
2
2
  import { ChangeType } from "./ChangeType";
3
- import { FormulaDefinitionRow } from "./FormulaDefinitionRow";
4
3
  export declare abstract class BaseFormula {
5
- static ALL: FormulaDefinitionRow[];
6
4
  checkLength(data: number[], min_length: number): CalculationResult | null;
7
5
  checkChnage(change: ChangeType, difference: number, values: {
8
6
  [name: string]: any;
@@ -2,22 +2,6 @@
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.BaseFormula = void 0;
4
4
  const ChangeType_1 = require("./ChangeType");
5
- const Formula_AmountByAverage_1 = require("./statistical/amount/Formula_AmountByAverage");
6
- const Formula_AmountByLast_1 = require("./statistical/amount/Formula_AmountByLast");
7
- const Formula_AmountByMax_1 = require("./statistical/amount/Formula_AmountByMax");
8
- const Formula_AmountByMedian_1 = require("./statistical/amount/Formula_AmountByMedian");
9
- const Formula_AmountByMin_1 = require("./statistical/amount/Formula_AmountByMin");
10
- const Formula_InterquartileRange_1 = require("./statistical/Formula_InterquartileRange");
11
- const Formula_PercentageByAverage_1 = require("./statistical/percent/Formula_PercentageByAverage");
12
- const Formula_PercentageByLast_1 = require("./statistical/percent/Formula_PercentageByLast");
13
- const Formula_PercentageByMax_1 = require("./statistical/percent/Formula_PercentageByMax");
14
- const Formula_PercentageByMedian_1 = require("./statistical/percent/Formula_PercentageByMedian");
15
- const Formula_PercentageByMin_1 = require("./statistical/percent/Formula_PercentageByMin");
16
- const Formula_GrubbsTest_1 = require("./statistical/z_score/Formula_GrubbsTest");
17
- const Formula_ModifiedZScore_1 = require("./statistical/z_score/Formula_ModifiedZScore");
18
- const Formula_ZScore_1 = require("./statistical/z_score/Formula_ZScore");
19
- const Formula_RegressionResidual_1 = require("./trend/Formula_RegressionResidual");
20
- const Formula_TrendDeviation_1 = require("./trend/Formula_TrendDeviation");
21
5
  class BaseFormula {
22
6
  checkLength(data, min_length) {
23
7
  if (data.length < min_length)
@@ -56,182 +40,4 @@ class BaseFormula {
56
40
  }
57
41
  }
58
42
  exports.BaseFormula = BaseFormula;
59
- BaseFormula.ALL = [
60
- {
61
- name: "AmountByLast",
62
- parameters: {
63
- amount: {
64
- default: 2,
65
- min: 1,
66
- max: 10000
67
- }
68
- },
69
- getCalculator: () => new Formula_AmountByLast_1.Formula_AmountByLast()
70
- },
71
- {
72
- name: "AmountByMin",
73
- parameters: {
74
- amount: {
75
- default: 2,
76
- min: 1,
77
- max: 10000
78
- }
79
- },
80
- getCalculator: () => new Formula_AmountByMin_1.Formula_AmountByMin()
81
- },
82
- {
83
- name: "AmountByMax",
84
- parameters: {
85
- amount: {
86
- default: 2,
87
- min: 1,
88
- max: 10000
89
- }
90
- },
91
- getCalculator: () => new Formula_AmountByMax_1.Formula_AmountByMax()
92
- },
93
- {
94
- name: "AmountByAverage",
95
- parameters: {
96
- amount: {
97
- default: 2,
98
- min: 1,
99
- max: 10000
100
- }
101
- },
102
- getCalculator: () => new Formula_AmountByAverage_1.Formula_AmountByAverage()
103
- },
104
- {
105
- name: "AmountByMedian",
106
- parameters: {
107
- amount: {
108
- default: 2,
109
- min: 1,
110
- max: 10000
111
- }
112
- },
113
- getCalculator: () => new Formula_AmountByMedian_1.Formula_AmountByMedian()
114
- },
115
- {
116
- name: "PercentageByLast",
117
- parameters: {
118
- percent: {
119
- default: 5,
120
- min: 1,
121
- max: 100
122
- }
123
- },
124
- getCalculator: () => new Formula_PercentageByLast_1.Formula_PercentageByLast()
125
- },
126
- {
127
- name: "PercentageByMin",
128
- parameters: {
129
- percent: {
130
- default: 5,
131
- min: 1,
132
- max: 100
133
- }
134
- },
135
- getCalculator: () => new Formula_PercentageByMin_1.Formula_PercentageByMin()
136
- },
137
- {
138
- name: "PercentageByMax",
139
- parameters: {
140
- percent: {
141
- default: 5,
142
- min: 1,
143
- max: 100
144
- }
145
- },
146
- getCalculator: () => new Formula_PercentageByMax_1.Formula_PercentageByMax()
147
- },
148
- {
149
- name: "PercentageByAverage",
150
- parameters: {
151
- percent: {
152
- default: 5,
153
- min: 1,
154
- max: 100
155
- }
156
- },
157
- getCalculator: () => new Formula_PercentageByAverage_1.Formula_PercentageByAverage()
158
- },
159
- {
160
- name: "PercentageByMedian",
161
- parameters: {
162
- percent: {
163
- default: 5,
164
- min: 1,
165
- max: 100
166
- }
167
- },
168
- getCalculator: () => new Formula_PercentageByMedian_1.Formula_PercentageByMedian()
169
- },
170
- {
171
- name: "ZScore",
172
- parameters: {
173
- threshold: {
174
- default: 2,
175
- min: 1,
176
- max: 5
177
- }
178
- },
179
- getCalculator: () => new Formula_ZScore_1.Formula_ZScore()
180
- },
181
- {
182
- name: "ModifiedZScore",
183
- parameters: {
184
- threshold: {
185
- default: 3.5,
186
- min: 2,
187
- max: 5
188
- }
189
- },
190
- getCalculator: () => new Formula_ModifiedZScore_1.Formula_ModifiedZScore()
191
- },
192
- {
193
- name: "GrubbsTest",
194
- parameters: {
195
- rough_threshold: {
196
- default: 0.05,
197
- min: 0.001,
198
- max: 0.1
199
- }
200
- },
201
- getCalculator: () => new Formula_GrubbsTest_1.Formula_GrubbsTest()
202
- },
203
- {
204
- name: "InterquartileRange",
205
- parameters: {
206
- multiplier: {
207
- default: 1.5,
208
- min: 1,
209
- max: 3
210
- }
211
- },
212
- getCalculator: () => new Formula_InterquartileRange_1.Formula_InterquartileRange()
213
- },
214
- {
215
- name: "RegressionResidual",
216
- parameters: {
217
- threshold: {
218
- default: 2,
219
- min: 1,
220
- max: 5
221
- }
222
- },
223
- getCalculator: () => new Formula_RegressionResidual_1.Formula_RegressionResidual()
224
- },
225
- {
226
- name: "TrendDeviation",
227
- parameters: {
228
- threshold: {
229
- default: 1,
230
- min: 0.1,
231
- max: 2
232
- }
233
- },
234
- getCalculator: () => new Formula_TrendDeviation_1.Formula_TrendDeviation()
235
- },
236
- ];
237
43
  //# sourceMappingURL=BaseFormula.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"BaseFormula.js","sourceRoot":"","sources":["../../src/formula/BaseFormula.ts"],"names":[],"mappings":";;;AACA,6CAA0C;AAE1C,0FAAuF;AACvF,oFAAiF;AACjF,kFAA+E;AAC/E,wFAAqF;AACrF,kF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,GAAG,EAAE,CAAC;aACT;SACJ;QACD,aAAa,EAAE,GAAG,EAAE,CAAC,IAAI,+BAAc,EAAE;KAC5C;IACD;QACI,IAAI,EAAE,gBAAgB;QACtB,UAAU,EAAE;YACR,SAAS,EAAE;gBACP,OAAO,EAAE,GAAG;gBACZ,GAAG,EAAE,CAAC;gBACN,GAAG,EAAE,CAAC;aACT;SACJ;QACD,aAAa,EAAE,GAAG,EAAE,CAAC,IAAI,+CAAsB,EAAE;KACpD;IACD;QACI,IAAI,EAAE,YAAY;QAClB,UAAU,EAAE;YACR,eAAe,EAAE;gBACb,OAAO,EAAE,IAAI;gBACb,GAAG,EAAE,KAAK;gBACV,GAAG,EAAE,GAAG;aACX;SACJ;QACD,aAAa,EAAE,GAAG,EAAE,CAAC,IAAI,uCAAkB,EAAE;KAChD;IACD;QACI,IAAI,EAAE,oBAAoB;QAC1B,UAAU,EAAE;YACR,UAAU,EAAE;gBACR,OAAO,EAAE,GAAG;gBACZ,GAAG,EAAE,CAAC;gBACN,GAAG,EAAE,CAAC;aACT;SACJ;QACD,aAAa,EAAE,GAAG,EAAE,CAAC,IAAI,uDAA0B,EAAE;KACxD;IACD;QACI,IAAI,EAAE,oBAAoB;QAC1B,UAAU,EAAE;YACR,SAAS,EAAE;gBACP,OAAO,EAAE,CAAC;gBACV,GAAG,EAAE,CAAC;gBACN,GAAG,EAAE,CAAC;aACT;SACJ;QACD,aAAa,EAAE,GAAG,EAAE,CAAC,IAAI,uDAA0B,EAAE;KACxD;IACD;QACI,IAAI,EAAE,gBAAgB;QACtB,UAAU,EAAE;YACR,SAAS,EAAE;gBACP,OAAO,EAAE,CAAC;gBACV,GAAG,EAAE,GAAG;gBACR,GAAG,EAAE,CAAC;aACT;SACJ;QACD,aAAa,EAAE,GAAG,EAAE,CAAC,IAAI,+CAAsB,EAAE;KACpD;CACJ,CAAC"}
1
+ {"version":3,"file":"BaseFormula.js","sourceRoot":"","sources":["../../src/formula/BaseFormula.ts"],"names":[],"mappings":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,CAAC;QAC/C,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC;IACvB,CAAC;CAEJ;AA7CD,kCA6CC"}
@@ -0,0 +1,4 @@
1
+ import { FormulaDefinitionRow } from "./FormulaDefinitionRow";
2
+ export declare class Formulas {
3
+ static ALL: FormulaDefinitionRow[];
4
+ }
@@ -0,0 +1,201 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Formulas = void 0;
4
+ const Formula_AmountByAverage_1 = require("./statistical/amount/Formula_AmountByAverage");
5
+ const Formula_AmountByLast_1 = require("./statistical/amount/Formula_AmountByLast");
6
+ const Formula_AmountByMax_1 = require("./statistical/amount/Formula_AmountByMax");
7
+ const Formula_AmountByMedian_1 = require("./statistical/amount/Formula_AmountByMedian");
8
+ const Formula_AmountByMin_1 = require("./statistical/amount/Formula_AmountByMin");
9
+ const Formula_InterquartileRange_1 = require("./statistical/Formula_InterquartileRange");
10
+ const Formula_PercentageByAverage_1 = require("./statistical/percent/Formula_PercentageByAverage");
11
+ const Formula_PercentageByLast_1 = require("./statistical/percent/Formula_PercentageByLast");
12
+ const Formula_PercentageByMax_1 = require("./statistical/percent/Formula_PercentageByMax");
13
+ const Formula_PercentageByMedian_1 = require("./statistical/percent/Formula_PercentageByMedian");
14
+ const Formula_PercentageByMin_1 = require("./statistical/percent/Formula_PercentageByMin");
15
+ const Formula_GrubbsTest_1 = require("./statistical/z_score/Formula_GrubbsTest");
16
+ const Formula_ModifiedZScore_1 = require("./statistical/z_score/Formula_ModifiedZScore");
17
+ const Formula_ZScore_1 = require("./statistical/z_score/Formula_ZScore");
18
+ const Formula_RegressionResidual_1 = require("./trend/Formula_RegressionResidual");
19
+ const Formula_TrendDeviation_1 = require("./trend/Formula_TrendDeviation");
20
+ class Formulas {
21
+ }
22
+ exports.Formulas = Formulas;
23
+ Formulas.ALL = [
24
+ {
25
+ name: "AmountByLast",
26
+ parameters: {
27
+ amount: {
28
+ default: 2,
29
+ min: 1,
30
+ max: 10000
31
+ }
32
+ },
33
+ getCalculator: () => new Formula_AmountByLast_1.Formula_AmountByLast()
34
+ },
35
+ {
36
+ name: "AmountByMin",
37
+ parameters: {
38
+ amount: {
39
+ default: 2,
40
+ min: 1,
41
+ max: 10000
42
+ }
43
+ },
44
+ getCalculator: () => new Formula_AmountByMin_1.Formula_AmountByMin()
45
+ },
46
+ {
47
+ name: "AmountByMax",
48
+ parameters: {
49
+ amount: {
50
+ default: 2,
51
+ min: 1,
52
+ max: 10000
53
+ }
54
+ },
55
+ getCalculator: () => new Formula_AmountByMax_1.Formula_AmountByMax()
56
+ },
57
+ {
58
+ name: "AmountByAverage",
59
+ parameters: {
60
+ amount: {
61
+ default: 2,
62
+ min: 1,
63
+ max: 10000
64
+ }
65
+ },
66
+ getCalculator: () => new Formula_AmountByAverage_1.Formula_AmountByAverage()
67
+ },
68
+ {
69
+ name: "AmountByMedian",
70
+ parameters: {
71
+ amount: {
72
+ default: 2,
73
+ min: 1,
74
+ max: 10000
75
+ }
76
+ },
77
+ getCalculator: () => new Formula_AmountByMedian_1.Formula_AmountByMedian()
78
+ },
79
+ {
80
+ name: "PercentageByLast",
81
+ parameters: {
82
+ percent: {
83
+ default: 5,
84
+ min: 1,
85
+ max: 100
86
+ }
87
+ },
88
+ getCalculator: () => new Formula_PercentageByLast_1.Formula_PercentageByLast()
89
+ },
90
+ {
91
+ name: "PercentageByMin",
92
+ parameters: {
93
+ percent: {
94
+ default: 5,
95
+ min: 1,
96
+ max: 100
97
+ }
98
+ },
99
+ getCalculator: () => new Formula_PercentageByMin_1.Formula_PercentageByMin()
100
+ },
101
+ {
102
+ name: "PercentageByMax",
103
+ parameters: {
104
+ percent: {
105
+ default: 5,
106
+ min: 1,
107
+ max: 100
108
+ }
109
+ },
110
+ getCalculator: () => new Formula_PercentageByMax_1.Formula_PercentageByMax()
111
+ },
112
+ {
113
+ name: "PercentageByAverage",
114
+ parameters: {
115
+ percent: {
116
+ default: 5,
117
+ min: 1,
118
+ max: 100
119
+ }
120
+ },
121
+ getCalculator: () => new Formula_PercentageByAverage_1.Formula_PercentageByAverage()
122
+ },
123
+ {
124
+ name: "PercentageByMedian",
125
+ parameters: {
126
+ percent: {
127
+ default: 5,
128
+ min: 1,
129
+ max: 100
130
+ }
131
+ },
132
+ getCalculator: () => new Formula_PercentageByMedian_1.Formula_PercentageByMedian()
133
+ },
134
+ {
135
+ name: "ZScore",
136
+ parameters: {
137
+ threshold: {
138
+ default: 2,
139
+ min: 1,
140
+ max: 5
141
+ }
142
+ },
143
+ getCalculator: () => new Formula_ZScore_1.Formula_ZScore()
144
+ },
145
+ {
146
+ name: "ModifiedZScore",
147
+ parameters: {
148
+ threshold: {
149
+ default: 3.5,
150
+ min: 2,
151
+ max: 5
152
+ }
153
+ },
154
+ getCalculator: () => new Formula_ModifiedZScore_1.Formula_ModifiedZScore()
155
+ },
156
+ {
157
+ name: "GrubbsTest",
158
+ parameters: {
159
+ rough_threshold: {
160
+ default: 0.05,
161
+ min: 0.001,
162
+ max: 0.1
163
+ }
164
+ },
165
+ getCalculator: () => new Formula_GrubbsTest_1.Formula_GrubbsTest()
166
+ },
167
+ {
168
+ name: "InterquartileRange",
169
+ parameters: {
170
+ multiplier: {
171
+ default: 1.5,
172
+ min: 1,
173
+ max: 3
174
+ }
175
+ },
176
+ getCalculator: () => new Formula_InterquartileRange_1.Formula_InterquartileRange()
177
+ },
178
+ {
179
+ name: "RegressionResidual",
180
+ parameters: {
181
+ threshold: {
182
+ default: 2,
183
+ min: 1,
184
+ max: 5
185
+ }
186
+ },
187
+ getCalculator: () => new Formula_RegressionResidual_1.Formula_RegressionResidual()
188
+ },
189
+ {
190
+ name: "TrendDeviation",
191
+ parameters: {
192
+ threshold: {
193
+ default: 1,
194
+ min: 0.1,
195
+ max: 2
196
+ }
197
+ },
198
+ getCalculator: () => new Formula_TrendDeviation_1.Formula_TrendDeviation()
199
+ },
200
+ ];
201
+ //# sourceMappingURL=Formulas.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Formulas.js","sourceRoot":"","sources":["../../src/formula/Formulas.ts"],"names":[],"mappings":";;;AACA,0FAAuF;AACvF,oFAAiF;AACjF,kFAA+E;AAC/E,wFAAqF;AACrF,kFAA+E;AAC/E,yFAAsF;AACtF,mGAAgG;AAChG,6FAA0F;AAC1F,2FAAwF;AACxF,iGAA8F;AAC9F,2FAAwF;AACxF,iFAA8E;AAC9E,yFAAsF;AACtF,yEAAsE;AACtE,mFAAgF;AAChF,2EAAwE;AAExE,MAAa,QAAQ;;AAArB,4BAoLC;AAlLU,YAAG,GAA2B;IACjC;QACI,IAAI,EAAE,cAAc;QACpB,UAAU,EAAE;YACR,MAAM,EAAE;gBACJ,OAAO,EAAE,CAAC;gBACV,GAAG,EAAE,CAAC;gBACN,GAAG,EAAE,KAAK;aACb;SACJ;QACD,aAAa,EAAE,GAAG,EAAE,CAAC,IAAI,2CAAoB,EAAE;KAClD;IACD;QACI,IAAI,EAAE,aAAa;QACnB,UAAU,EAAE;YACR,MAAM,EAAE;gBACJ,OAAO,EAAE,CAAC;gBACV,GAAG,EAAE,CAAC;gBACN,GAAG,EAAE,KAAK;aACb;SACJ;QACD,aAAa,EAAE,GAAG,EAAE,CAAC,IAAI,yCAAmB,EAAE;KACjD;IACD;QACI,IAAI,EAAE,aAAa;QACnB,UAAU,EAAE;YACR,MAAM,EAAE;gBACJ,OAAO,EAAE,CAAC;gBACV,GAAG,EAAE,CAAC;gBACN,GAAG,EAAE,KAAK;aACb;SACJ;QACD,aAAa,EAAE,GAAG,EAAE,CAAC,IAAI,yCAAmB,EAAE;KACjD;IACD;QACI,IAAI,EAAE,iBAAiB;QACvB,UAAU,EAAE;YACR,MAAM,EAAE;gBACJ,OAAO,EAAE,CAAC;gBACV,GAAG,EAAE,CAAC;gBACN,GAAG,EAAE,KAAK;aACb;SACJ;QACD,aAAa,EAAE,GAAG,EAAE,CAAC,IAAI,iDAAuB,EAAE;KACrD;IACD;QACI,IAAI,EAAE,gBAAgB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I,+CAAsB,EAAE;KACpD;CACJ,CAAC"}
package/dist/index.d.ts CHANGED
@@ -119,6 +119,7 @@ export * from "./formula/CalculationResult";
119
119
  export * from "./formula/ChangeType";
120
120
  export * from "./formula/FormulaDefinitionRow";
121
121
  export * from "./formula/FormulaRow";
122
+ export * from "./formula/Formulas";
122
123
  export * from "./formula/statistical/Formula_InterquartileRange";
123
124
  export * from "./formula/statistical/amount/Formula_AmountByAverage";
124
125
  export * from "./formula/statistical/amount/Formula_AmountByLast";
package/dist/index.js CHANGED
@@ -135,6 +135,7 @@ __exportStar(require("./formula/CalculationResult"), exports);
135
135
  __exportStar(require("./formula/ChangeType"), exports);
136
136
  __exportStar(require("./formula/FormulaDefinitionRow"), exports);
137
137
  __exportStar(require("./formula/FormulaRow"), exports);
138
+ __exportStar(require("./formula/Formulas"), exports);
138
139
  __exportStar(require("./formula/statistical/Formula_InterquartileRange"), exports);
139
140
  __exportStar(require("./formula/statistical/amount/Formula_AmountByAverage"), exports);
140
141
  __exportStar(require("./formula/statistical/amount/Formula_AmountByLast"), exports);
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAoBA,8DAA4C;AAC5C,iEAA+C;AAC/C,yEAAuD;AACvD,sEAAoD;AACpD,oEAAkD;AAClD,mEAAiD;AACjD,2EAAyD;AACzD,wEAAsD;AACtD,sEAAoD;AACpD,kEAAgD;AAChD,iEAA+C;AAC/C,yEAAuD;AACvD,sEAAoD;AACpD,oEAAkD;AAClD,qEAAmD;AACnD,kEAAgD;AAChD,0EAAwD;AACxD,uEAAqD;AACrD,qEAAmD;AACnD,mEAAiD;AACjD,+DAA6C;AAC7C,qEAAmD;AACnD,qEAAmD;AACnD,kEAAgD;AAChD,mEAAiD;AACjD,uDAAqC;AACrC,6DAA2C;AAC3C,6DAA2C;AAC3C,4DAA0C;AAC1C,kEAAgD;AAChD,kEAAgD;A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C;AAC/C,8DAA4C;AAC5C,yDAAuC;AACvC,6DAA2C;AAC3C,wDAAsC;AACtC,8DAA4C;AAC5C,uDAAqC;AACrC,iEAA+C;AAC/C,uDAAqC;AACrC,mFAAiE;AACjE,uFAAqE;AACrE,oFAAkE;AAClE,mFAAiE;AACjE,sFAAoE;AACpE,mFAAiE;AACjE,4FAA0E;AAC1E,yFAAuE;AACvE,wFAAsE;AACtE,2FAAyE;AACzE,wFAAsE;AACtE,mFAAiE;AACjE,uFAAqE;AACrE,+EAA6D;AAC7D,6EAA2D;AAC3D,yEAAuD;AACvD,8DAA4C;AAC5C,2DAAyC;AACzC,sDAAoC;AACpC,yDAAuC;AACvC,gEAA8C;AAC9C,6DAA2C;AAC3C,wDAAsC;AACtC,2DAAyC;AACzC,8DAA4C;AAC5C,2DAAyC;AACzC,sDAAoC;AACpC,yDAAuC;AACvC,yEAAuD;AACvD,+DAA6C;AAC7C,4DAA0C;AAC1C,uDAAqC;AACrC,0DAAwC;AACxC,uDAAqC;AACrC,oDAAkC;AAClC,mDAAiC;AACjC,oDAAkC;AAClC,+CAA6B;AAC7B,kDAAgC;AAChC,yDAAuC;AACvC,sDAAoC;AACpC,qDAAmC;AACnC,sDAAoC;AACpC,iDAA+B;AAC/B,oDAAkC;AAClC,+DAA6C;AAC7C,4DAA0C;AAC1C,0DAAwC;AACxC,uDAAqC;AACrC,oDAAkC;AAClC,mDAAiC;AACjC,oDAAkC;AAClC,+CAA6B;AAC7B,kDAAgC;AAChC,wDAAsC;AACtC,qDAAmC;AACnC,oDAAkC;AAClC,qDAAmC;AACnC,gDAA8B;AAC9B,mDAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAoBA,8DAA4C;AAC5C,iEAA+C;AAC/C,yEAAuD;AACvD,sEAAoD;AACpD,oEAAkD;AAClD,mEAAiD;AACjD,2EAAyD;AACzD,wEAAsD;AACtD,sEAAoD;AACpD,kE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6B;AAC7B,kDAAgC;AAChC,wDAAsC;AACtC,qDAAmC;AACnC,oDAAkC;AAClC,qDAAmC;AACnC,gDAA8B;AAC9B,mDAAiC"}
package/package.json CHANGED
@@ -1,28 +1,28 @@
1
- {
2
- "name": "namirasoft-bill-watch",
3
- "title": "Namirasoft Bill Watch NPM Package",
4
- "description": "Namira Software Corporation Bill Watch NPM Package",
5
- "icon": "logo.png",
6
- "logo": "https://static.namirasoft.com/image/namirasoft/bill-watch/logo/base.png",
7
- "language": "ts",
8
- "framework": "npm",
9
- "application": "package",
10
- "private": false,
11
- "version": "1.4.7",
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.70",
21
- "namirasoft-site": "^1.4.36",
22
- "namirasoft-node-cli": "^1.4.7",
23
- "namirasoft-account": "^1.4.71"
24
- },
25
- "bin": {
26
- "ns-bill-watch": "./dist/command/cli.js"
27
- }
1
+ {
2
+ "name": "namirasoft-bill-watch",
3
+ "title": "Namirasoft Bill Watch NPM Package",
4
+ "description": "Namira Software Corporation Bill Watch NPM Package",
5
+ "icon": "logo.png",
6
+ "logo": "https://static.namirasoft.com/image/namirasoft/bill-watch/logo/base.png",
7
+ "language": "ts",
8
+ "framework": "npm",
9
+ "application": "package",
10
+ "private": false,
11
+ "version": "1.4.8",
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.70",
21
+ "namirasoft-site": "^1.4.36",
22
+ "namirasoft-node-cli": "^1.4.7",
23
+ "namirasoft-account": "^1.4.71"
24
+ },
25
+ "bin": {
26
+ "ns-bill-watch": "./dist/command/cli.js"
27
+ }
28
28
  }