namirasoft-cost 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 (75) hide show
  1. package/.ns-sdkg-dir-deep +2 -2
  2. package/.ns-sdkg-file-keep +6 -6
  3. package/dist/NamirasoftCostServer.js +1 -1
  4. package/dist/NamirasoftCostServerBillWatchAWS.d.ts +6 -0
  5. package/dist/NamirasoftCostServerBillWatchAWS.js +9 -1
  6. package/dist/NamirasoftCostServerBillWatchAWS.js.map +1 -1
  7. package/dist/NamirasoftCostServerBillWatchAzure.d.ts +6 -0
  8. package/dist/NamirasoftCostServerBillWatchAzure.js +9 -1
  9. package/dist/NamirasoftCostServerBillWatchAzure.js.map +1 -1
  10. package/dist/NamirasoftCostServerBillWatchGCP.d.ts +6 -0
  11. package/dist/NamirasoftCostServerBillWatchGCP.js +9 -1
  12. package/dist/NamirasoftCostServerBillWatchGCP.js.map +1 -1
  13. package/dist/command/BillWatchAWSCommand.js +2 -0
  14. package/dist/command/BillWatchAWSCommand.js.map +1 -1
  15. package/dist/command/BillWatchAWS_CreateForCommand.d.ts +5 -0
  16. package/dist/command/BillWatchAWS_CreateForCommand.js +67 -0
  17. package/dist/command/BillWatchAWS_CreateForCommand.js.map +1 -0
  18. package/dist/command/BillWatchAzureCommand.js +2 -0
  19. package/dist/command/BillWatchAzureCommand.js.map +1 -1
  20. package/dist/command/BillWatchAzure_CreateForCommand.d.ts +5 -0
  21. package/dist/command/BillWatchAzure_CreateForCommand.js +67 -0
  22. package/dist/command/BillWatchAzure_CreateForCommand.js.map +1 -0
  23. package/dist/command/BillWatchGCPCommand.js +2 -0
  24. package/dist/command/BillWatchGCPCommand.js.map +1 -1
  25. package/dist/command/BillWatchGCP_CreateForCommand.d.ts +5 -0
  26. package/dist/command/BillWatchGCP_CreateForCommand.js +67 -0
  27. package/dist/command/BillWatchGCP_CreateForCommand.js.map +1 -0
  28. package/dist/command/Cost_CreateForCommand.js +17 -17
  29. package/dist/command/Cost_CreateForCommand.js.map +1 -1
  30. package/dist/index.d.ts +3 -0
  31. package/dist/index.js +3 -0
  32. package/dist/index.js.map +1 -1
  33. package/dist/meta/CostMetaTable.d.ts +2 -2
  34. package/dist/meta/CostMetaTable.js +2 -2
  35. package/dist/meta/CostMetaTable.js.map +1 -1
  36. package/dist/row/CostCreateRow.d.ts +2 -2
  37. package/dist/row/CostRow.d.ts +2 -2
  38. package/package.json +27 -27
  39. package/src/NamirasoftCostServer.ts +47 -47
  40. package/src/NamirasoftCostServerBase.ts +29 -29
  41. package/src/NamirasoftCostServerBillWatchAWS.ts +46 -38
  42. package/src/NamirasoftCostServerBillWatchAzure.ts +46 -38
  43. package/src/NamirasoftCostServerBillWatchGCP.ts +46 -38
  44. package/src/NamirasoftCostServerCost.ts +49 -49
  45. package/src/NamirasoftCostServerHealthz.ts +35 -35
  46. package/src/NamirasoftCostServerValue.ts +36 -36
  47. package/src/TimeUtil.ts +52 -52
  48. package/src/command/BillWatchAWSCommand.ts +33 -31
  49. package/src/command/BillWatchAWSEstimationCommand.ts +73 -73
  50. package/src/command/BillWatchAWS_CreateForCommand.ts +74 -0
  51. package/src/command/BillWatchAzureCommand.ts +33 -31
  52. package/src/command/BillWatchAzureEstimationCommand.ts +73 -73
  53. package/src/command/BillWatchAzure_CreateForCommand.ts +74 -0
  54. package/src/command/BillWatchGCPCommand.ts +33 -31
  55. package/src/command/BillWatchGCPEstimationCommand.ts +73 -73
  56. package/src/command/BillWatchGCP_CreateForCommand.ts +74 -0
  57. package/src/command/CostCommand.ts +33 -33
  58. package/src/command/CostListCommand.ts +44 -44
  59. package/src/command/Cost_CreateForCommand.ts +172 -172
  60. package/src/command/HealthzCommand.ts +31 -31
  61. package/src/command/HealthzGetCommand.ts +44 -44
  62. package/src/command/ValueCommand.ts +31 -31
  63. package/src/command/ValueListCommand.ts +44 -44
  64. package/src/command/cli.ts +42 -42
  65. package/src/enum/TrialUnit.ts +5 -5
  66. package/src/index.ts +54 -51
  67. package/src/meta/CostMetaTable.ts +79 -79
  68. package/src/meta/NamirasoftCostMetaDatabase.ts +50 -50
  69. package/src/row/CostCreateRow.ts +36 -36
  70. package/src/row/CostRow.ts +39 -39
  71. package/src/type/Estimation.ts +6 -6
  72. package/src/type/EstimationRow.ts +6 -6
  73. package/src/type/Period.ts +4 -4
  74. package/src/type/Trial.ts +6 -6
  75. package/src/type/TrialDuration.ts +6 -6
@@ -1,37 +1,37 @@
1
- /****************************************************************/
2
- /* */
3
- /* This is an Auto-Generated File */
4
- /* Made By */
5
- /* Namirasoft SDK Generator NPM Package */
6
- /* */
7
- /****************************************************************/
8
- /****************************************************************/
9
- /* */
10
- /* Please do not make any change to this file */
11
- /* If any change is required, ns-sdkg command must be used */
12
- /* */
13
- /****************************************************************/
14
- /****************************************************************/
15
- /* */
16
- /* Namira Software Corporation */
17
- /* https://namirasoft.com */
18
- /* */
19
- /****************************************************************/
20
-
21
- export type CostCreateRow =
22
- {
23
- sales_item_id: string;
24
- offer_id: string;
25
- offer_item_id: string;
26
- workspace_id: string;
27
- product_id: string;
28
- resource_entity: string;
29
- resource_id: string;
30
- usage_name: string;
31
- usage_value: number;
32
- usage_unit: string;
33
- period_start: Date;
34
- period_end: Date;
35
- amount: number;
36
- currency: string;
1
+ /****************************************************************/
2
+ /* */
3
+ /* This is an Auto-Generated File */
4
+ /* Made By */
5
+ /* Namirasoft SDK Generator NPM Package */
6
+ /* */
7
+ /****************************************************************/
8
+ /****************************************************************/
9
+ /* */
10
+ /* Please do not make any change to this file */
11
+ /* If any change is required, ns-sdkg command must be used */
12
+ /* */
13
+ /****************************************************************/
14
+ /****************************************************************/
15
+ /* */
16
+ /* Namira Software Corporation */
17
+ /* https://namirasoft.com */
18
+ /* */
19
+ /****************************************************************/
20
+
21
+ export type CostCreateRow =
22
+ {
23
+ workspace_id: string;
24
+ product_id: string;
25
+ sales_item_id: string;
26
+ offer_id: string;
27
+ offer_item_id: string;
28
+ resource_entity: string;
29
+ resource_id: string;
30
+ usage_name: string;
31
+ usage_value: number;
32
+ usage_unit: string;
33
+ period_start: Date;
34
+ period_end: Date;
35
+ amount: number;
36
+ currency: string;
37
37
  }
@@ -1,40 +1,40 @@
1
- /****************************************************************/
2
- /* */
3
- /* This is an Auto-Generated File */
4
- /* Made By */
5
- /* Namirasoft SDK Generator NPM Package */
6
- /* */
7
- /****************************************************************/
8
- /****************************************************************/
9
- /* */
10
- /* Please do not make any change to this file */
11
- /* If any change is required, ns-sdkg command must be used */
12
- /* */
13
- /****************************************************************/
14
- /****************************************************************/
15
- /* */
16
- /* Namira Software Corporation */
17
- /* https://namirasoft.com */
18
- /* */
19
- /****************************************************************/
20
-
21
- export type CostRow =
22
- {
23
- id: string;
24
- user_id: string;
25
- sales_item_id: string;
26
- offer_id: string;
27
- offer_item_id: string;
28
- workspace_id: string;
29
- product_id: string;
30
- resource_entity: string;
31
- resource_id: string;
32
- usage_name: string;
33
- usage_value: number;
34
- usage_unit: string;
35
- period_start: Date;
36
- period_end: Date;
37
- amount: number;
38
- currency: string;
39
- created_at: Date;
1
+ /****************************************************************/
2
+ /* */
3
+ /* This is an Auto-Generated File */
4
+ /* Made By */
5
+ /* Namirasoft SDK Generator NPM Package */
6
+ /* */
7
+ /****************************************************************/
8
+ /****************************************************************/
9
+ /* */
10
+ /* Please do not make any change to this file */
11
+ /* If any change is required, ns-sdkg command must be used */
12
+ /* */
13
+ /****************************************************************/
14
+ /****************************************************************/
15
+ /* */
16
+ /* Namira Software Corporation */
17
+ /* https://namirasoft.com */
18
+ /* */
19
+ /****************************************************************/
20
+
21
+ export type CostRow =
22
+ {
23
+ id: string;
24
+ user_id: string;
25
+ workspace_id: string;
26
+ product_id: string;
27
+ sales_item_id: string;
28
+ offer_id: string;
29
+ offer_item_id: string;
30
+ resource_entity: string;
31
+ resource_id: string;
32
+ usage_name: string;
33
+ usage_value: number;
34
+ usage_unit: string;
35
+ period_start: Date;
36
+ period_end: Date;
37
+ amount: number;
38
+ currency: string;
39
+ created_at: Date;
40
40
  }
@@ -1,7 +1,7 @@
1
- import { EstimationRow } from "./EstimationRow";
2
-
3
- export type Estimation =
4
- {
5
- sum: number;
6
- rows: EstimationRow[];
1
+ import { EstimationRow } from "./EstimationRow";
2
+
3
+ export type Estimation =
4
+ {
5
+ sum: number;
6
+ rows: EstimationRow[];
7
7
  };
@@ -1,7 +1,7 @@
1
- import { Period } from "./Period";
2
-
3
- export type EstimationRow =
4
- {
5
- period: Period;
6
- amount: number;
1
+ import { Period } from "./Period";
2
+
3
+ export type EstimationRow =
4
+ {
5
+ period: Period;
6
+ amount: number;
7
7
  };
@@ -1,5 +1,5 @@
1
- export type Period =
2
- {
3
- start: Date;
4
- end: Date;
1
+ export type Period =
2
+ {
3
+ start: Date;
4
+ end: Date;
5
5
  };
package/src/type/Trial.ts CHANGED
@@ -1,7 +1,7 @@
1
- import { TrialDuration } from "./TrialDuration";
2
-
3
- export type Trial =
4
- {
5
- started_at: Date;
6
- duration: TrialDuration;
1
+ import { TrialDuration } from "./TrialDuration";
2
+
3
+ export type Trial =
4
+ {
5
+ started_at: Date;
6
+ duration: TrialDuration;
7
7
  };
@@ -1,7 +1,7 @@
1
- import { TrialUnit } from "../enum/TrialUnit";
2
-
3
- export type TrialDuration =
4
- {
5
- value: number;
6
- unit: TrialUnit;
1
+ import { TrialUnit } from "../enum/TrialUnit";
2
+
3
+ export type TrialDuration =
4
+ {
5
+ value: number;
6
+ unit: TrialUnit;
7
7
  };