namirasoft-cost 1.4.5 → 1.4.6

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 (37) hide show
  1. package/.ns-sdkg-dir-deep +2 -2
  2. package/.ns-sdkg-file-keep +6 -6
  3. package/package.json +27 -27
  4. package/src/NamirasoftCostServer.ts +47 -47
  5. package/src/NamirasoftCostServerBase.ts +29 -29
  6. package/src/NamirasoftCostServerBillWatchAWS.ts +38 -38
  7. package/src/NamirasoftCostServerBillWatchAzure.ts +38 -38
  8. package/src/NamirasoftCostServerBillWatchGCP.ts +38 -38
  9. package/src/NamirasoftCostServerCost.ts +49 -49
  10. package/src/NamirasoftCostServerHealthz.ts +35 -35
  11. package/src/NamirasoftCostServerValue.ts +36 -36
  12. package/src/TimeUtil.ts +52 -52
  13. package/src/command/BillWatchAWSCommand.ts +31 -31
  14. package/src/command/BillWatchAWSEstimationCommand.ts +64 -64
  15. package/src/command/BillWatchAzureCommand.ts +31 -31
  16. package/src/command/BillWatchAzureEstimationCommand.ts +64 -64
  17. package/src/command/BillWatchGCPCommand.ts +31 -31
  18. package/src/command/BillWatchGCPEstimationCommand.ts +64 -64
  19. package/src/command/CostCommand.ts +33 -33
  20. package/src/command/CostListCommand.ts +44 -44
  21. package/src/command/Cost_CreateForCommand.ts +172 -172
  22. package/src/command/HealthzCommand.ts +31 -31
  23. package/src/command/HealthzGetCommand.ts +44 -44
  24. package/src/command/ValueCommand.ts +31 -31
  25. package/src/command/ValueListCommand.ts +44 -44
  26. package/src/command/cli.ts +42 -42
  27. package/src/enum/TrialUnit.ts +5 -5
  28. package/src/index.ts +51 -51
  29. package/src/meta/CostMetaTable.ts +79 -79
  30. package/src/meta/NamirasoftCostMetaDatabase.ts +50 -50
  31. package/src/row/CostCreateRow.ts +36 -36
  32. package/src/row/CostRow.ts +39 -39
  33. package/src/type/Estimation.ts +6 -6
  34. package/src/type/EstimationRow.ts +6 -6
  35. package/src/type/Period.ts +4 -4
  36. package/src/type/Trial.ts +6 -6
  37. package/src/type/TrialDuration.ts +6 -6
@@ -1,36 +1,36 @@
1
- /****************************************************************/
2
- /* */
3
- /* This is an Auto-Generated File */
4
- /* Made By */
5
- /* Namirasoft SDK Generator NPM Package */
6
- /* */
7
- /****************************************************************/
8
- /****************************************************************/
9
- /* */
10
- /* Please do not make any change to this file */
11
- /* If any change is required, ns-sdkg command must be used */
12
- /* */
13
- /****************************************************************/
14
- /****************************************************************/
15
- /* */
16
- /* Namira Software Corporation */
17
- /* https://namirasoft.com */
18
- /* */
19
- /****************************************************************/
20
-
21
- import { NamirasoftCostServer } from "./NamirasoftCostServer";
22
- import { NamirasoftCostServerBase } from "./NamirasoftCostServerBase";
23
-
24
- export class NamirasoftCostServerHealthz extends NamirasoftCostServerBase
25
- {
26
- constructor(server: NamirasoftCostServer)
27
- {
28
- super(server);
29
- this.Get = this.Get.bind(this);
30
- }
31
- async Get(): Promise<void>
32
- {
33
- let path = `/healthz`;
34
- await this.server._get<void>(path, {});
35
- }
1
+ /****************************************************************/
2
+ /* */
3
+ /* This is an Auto-Generated File */
4
+ /* Made By */
5
+ /* Namirasoft SDK Generator NPM Package */
6
+ /* */
7
+ /****************************************************************/
8
+ /****************************************************************/
9
+ /* */
10
+ /* Please do not make any change to this file */
11
+ /* If any change is required, ns-sdkg command must be used */
12
+ /* */
13
+ /****************************************************************/
14
+ /****************************************************************/
15
+ /* */
16
+ /* Namira Software Corporation */
17
+ /* https://namirasoft.com */
18
+ /* */
19
+ /****************************************************************/
20
+
21
+ import { NamirasoftCostServer } from "./NamirasoftCostServer";
22
+ import { NamirasoftCostServerBase } from "./NamirasoftCostServerBase";
23
+
24
+ export class NamirasoftCostServerHealthz extends NamirasoftCostServerBase
25
+ {
26
+ constructor(server: NamirasoftCostServer)
27
+ {
28
+ super(server);
29
+ this.Get = this.Get.bind(this);
30
+ }
31
+ async Get(): Promise<void>
32
+ {
33
+ let path = `/healthz`;
34
+ await this.server._get<void>(path, {});
35
+ }
36
36
  };
@@ -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
- import { NamirasoftCostServer } from "./NamirasoftCostServer";
22
- import { NamirasoftCostServerBase } from "./NamirasoftCostServerBase";
23
-
24
- export class NamirasoftCostServerValue extends NamirasoftCostServerBase
25
- {
26
- constructor(server: NamirasoftCostServer)
27
- {
28
- super(server);
29
- this.List = this.List.bind(this);
30
- }
31
- async List(table: string, column: string, search: (string | null), field_id: (string | null), limit: (number | null)): Promise<string[]>
32
- {
33
- let path = `/value/list/${table}/${column}`;
34
- let { data } = await this.server._get<string[]>(path, { search, field_id, limit });
35
- return data;
36
- }
1
+ /****************************************************************/
2
+ /* */
3
+ /* This is an Auto-Generated File */
4
+ /* Made By */
5
+ /* Namirasoft SDK Generator NPM Package */
6
+ /* */
7
+ /****************************************************************/
8
+ /****************************************************************/
9
+ /* */
10
+ /* Please do not make any change to this file */
11
+ /* If any change is required, ns-sdkg command must be used */
12
+ /* */
13
+ /****************************************************************/
14
+ /****************************************************************/
15
+ /* */
16
+ /* Namira Software Corporation */
17
+ /* https://namirasoft.com */
18
+ /* */
19
+ /****************************************************************/
20
+
21
+ import { NamirasoftCostServer } from "./NamirasoftCostServer";
22
+ import { NamirasoftCostServerBase } from "./NamirasoftCostServerBase";
23
+
24
+ export class NamirasoftCostServerValue extends NamirasoftCostServerBase
25
+ {
26
+ constructor(server: NamirasoftCostServer)
27
+ {
28
+ super(server);
29
+ this.List = this.List.bind(this);
30
+ }
31
+ async List(table: string, column: string, search: (string | null), field_id: (string | null), limit: (number | null)): Promise<string[]>
32
+ {
33
+ let path = `/value/list/${table}/${column}`;
34
+ let { data } = await this.server._get<string[]>(path, { search, field_id, limit });
35
+ return data;
36
+ }
37
37
  };
package/src/TimeUtil.ts CHANGED
@@ -1,53 +1,53 @@
1
- import { TimeOperation } from "namirasoft-core";
2
- import { Trial } from "./type/Trial";
3
- import { Period } from "./type/Period";
4
- import { TrialUnit } from "./enum/TrialUnit";
5
-
6
- export class TimeUtil
7
- {
8
- static trialEndsAt(trial: Trial)
9
- {
10
- if (trial.duration.unit == TrialUnit.Day)
11
- return TimeOperation.daysLater(trial.duration.value, trial.started_at);
12
- if (trial.duration.unit == TrialUnit.Week)
13
- return TimeOperation.daysLater(trial.duration.value * 7, trial.started_at);
14
- if (trial.duration.unit == TrialUnit.Month)
15
- return TimeOperation.monthsLater(trial.duration.value, trial.started_at);
16
- return trial.started_at;
17
- }
18
- static isTrial(trial: Trial, date: Date)
19
- {
20
- return date <= TimeUtil.trialEndsAt(trial);
21
- }
22
- static loopHourly(trial: Trial | null, period: Period, estimate_hour: (period: Period) => void)
23
- {
24
- if (period.end <= period.start)
25
- return;
26
-
27
- if (trial)
28
- {
29
- let ends_at = TimeUtil.trialEndsAt(trial);
30
- if (period.end <= ends_at)
31
- return;
32
- if (period.start <= ends_at)
33
- period.start = ends_at;
34
- }
35
-
36
- let start = period.start;
37
- let end = null;
38
-
39
- do
40
- {
41
- end = TimeOperation.hoursLater(1, start);
42
- end.setMilliseconds(0);
43
- end.setSeconds(0);
44
- end.setMinutes(0);
45
- if (period.end < end)
46
- end = period.end;
47
-
48
- estimate_hour({ start, end });
49
- start = end;
50
- }
51
- while (end < period.end)
52
- }
1
+ import { TimeOperation } from "namirasoft-core";
2
+ import { Trial } from "./type/Trial";
3
+ import { Period } from "./type/Period";
4
+ import { TrialUnit } from "./enum/TrialUnit";
5
+
6
+ export class TimeUtil
7
+ {
8
+ static trialEndsAt(trial: Trial)
9
+ {
10
+ if (trial.duration.unit == TrialUnit.Day)
11
+ return TimeOperation.daysLater(trial.duration.value, trial.started_at);
12
+ if (trial.duration.unit == TrialUnit.Week)
13
+ return TimeOperation.daysLater(trial.duration.value * 7, trial.started_at);
14
+ if (trial.duration.unit == TrialUnit.Month)
15
+ return TimeOperation.monthsLater(trial.duration.value, trial.started_at);
16
+ return trial.started_at;
17
+ }
18
+ static isTrial(trial: Trial, date: Date)
19
+ {
20
+ return date <= TimeUtil.trialEndsAt(trial);
21
+ }
22
+ static loopHourly(trial: Trial | null, period: Period, estimate_hour: (period: Period) => void)
23
+ {
24
+ if (period.end <= period.start)
25
+ return;
26
+
27
+ if (trial)
28
+ {
29
+ let ends_at = TimeUtil.trialEndsAt(trial);
30
+ if (period.end <= ends_at)
31
+ return;
32
+ if (period.start <= ends_at)
33
+ period.start = ends_at;
34
+ }
35
+
36
+ let start = period.start;
37
+ let end = null;
38
+
39
+ do
40
+ {
41
+ end = TimeOperation.hoursLater(1, start);
42
+ end.setMilliseconds(0);
43
+ end.setSeconds(0);
44
+ end.setMinutes(0);
45
+ if (period.end < end)
46
+ end = period.end;
47
+
48
+ estimate_hour({ start, end });
49
+ start = end;
50
+ }
51
+ while (end < period.end)
52
+ }
53
53
  }
@@ -1,32 +1,32 @@
1
- /****************************************************************/
2
- /* */
3
- /* This is an Auto-Generated File */
4
- /* Made By */
5
- /* Namirasoft SDK Generator NPM Package */
6
- /* */
7
- /****************************************************************/
8
- /****************************************************************/
9
- /* */
10
- /* Please do not make any change to this file */
11
- /* If any change is required, ns-sdkg command must be used */
12
- /* */
13
- /****************************************************************/
14
- /****************************************************************/
15
- /* */
16
- /* Namira Software Corporation */
17
- /* https://namirasoft.com */
18
- /* */
19
- /****************************************************************/
20
-
21
- import { BaseNavigatorCommand } from "namirasoft-node-cli";
22
- import { BillWatchAWSEstimationCommand } from "./BillWatchAWSEstimationCommand";
23
-
24
- export class BillWatchAWSCommand extends BaseNavigatorCommand
25
- {
26
- constructor(argv: string[])
27
- {
28
- super(argv, {
29
- "estimation": BillWatchAWSEstimationCommand,
30
- });
31
- }
1
+ /****************************************************************/
2
+ /* */
3
+ /* This is an Auto-Generated File */
4
+ /* Made By */
5
+ /* Namirasoft SDK Generator NPM Package */
6
+ /* */
7
+ /****************************************************************/
8
+ /****************************************************************/
9
+ /* */
10
+ /* Please do not make any change to this file */
11
+ /* If any change is required, ns-sdkg command must be used */
12
+ /* */
13
+ /****************************************************************/
14
+ /****************************************************************/
15
+ /* */
16
+ /* Namira Software Corporation */
17
+ /* https://namirasoft.com */
18
+ /* */
19
+ /****************************************************************/
20
+
21
+ import { BaseNavigatorCommand } from "namirasoft-node-cli";
22
+ import { BillWatchAWSEstimationCommand } from "./BillWatchAWSEstimationCommand";
23
+
24
+ export class BillWatchAWSCommand extends BaseNavigatorCommand
25
+ {
26
+ constructor(argv: string[])
27
+ {
28
+ super(argv, {
29
+ "estimation": BillWatchAWSEstimationCommand,
30
+ });
31
+ }
32
32
  };
@@ -1,65 +1,65 @@
1
- /****************************************************************/
2
- /* */
3
- /* This is an Auto-Generated File */
4
- /* Made By */
5
- /* Namirasoft SDK Generator NPM Package */
6
- /* */
7
- /****************************************************************/
8
- /****************************************************************/
9
- /* */
10
- /* Please do not make any change to this file */
11
- /* If any change is required, ns-sdkg command must be used */
12
- /* */
13
- /****************************************************************/
14
- /****************************************************************/
15
- /* */
16
- /* Namira Software Corporation */
17
- /* https://namirasoft.com */
18
- /* */
19
- /****************************************************************/
20
-
21
- import { BaseFinalCommand } from "namirasoft-node-cli";
22
- import { IStorageMemoryDedicated } from "namirasoft-core";
23
- import { NamirasoftCostServer } from "../NamirasoftCostServer";
24
- import { TokenManager } from "namirasoft-account";
25
-
26
- export class BillWatchAWSEstimationCommand extends BaseFinalCommand
27
- {
28
- constructor(argv: string[])
29
- {
30
- super(argv, [], [
31
- {
32
- name: "period",
33
- short: "",
34
- description: "Provides the value of 'period' in body",
35
- optional: false,
36
- args: ["period"],
37
- defaults: [""]
38
- },
39
- {
40
- name: "active",
41
- short: "",
42
- description: "Provides the value of 'active' in body",
43
- optional: false,
44
- args: ["active"],
45
- defaults: [""]
46
- }
47
- ]);
48
- }
49
- override async exec()
50
- {
51
- let token = this.app.storage.getNSAToken();
52
- if (token == null)
53
- throw new Error("Token is not available. Please login first using:\nns-cost account config \nor \nns-cost account login.");
54
- let storage = new IStorageMemoryDedicated();
55
- let manager = new TokenManager(storage, () => { });
56
- manager.setValue(token, false);
57
- let url = this.app.storage.getItem("ns-cost-server-url");
58
- let server = new NamirasoftCostServer(url, manager, e => this.app.logger.error(e.message));
59
- let ans = await server.bill_watch_a_w_s.Estimation({
60
- period: this.option_values.period,
61
- active: this.option_values.active
62
- });
63
- this.app.logger.success(JSON.stringify(ans));
64
- }
1
+ /****************************************************************/
2
+ /* */
3
+ /* This is an Auto-Generated File */
4
+ /* Made By */
5
+ /* Namirasoft SDK Generator NPM Package */
6
+ /* */
7
+ /****************************************************************/
8
+ /****************************************************************/
9
+ /* */
10
+ /* Please do not make any change to this file */
11
+ /* If any change is required, ns-sdkg command must be used */
12
+ /* */
13
+ /****************************************************************/
14
+ /****************************************************************/
15
+ /* */
16
+ /* Namira Software Corporation */
17
+ /* https://namirasoft.com */
18
+ /* */
19
+ /****************************************************************/
20
+
21
+ import { BaseFinalCommand } from "namirasoft-node-cli";
22
+ import { IStorageMemoryDedicated } from "namirasoft-core";
23
+ import { NamirasoftCostServer } from "../NamirasoftCostServer";
24
+ import { TokenManager } from "namirasoft-account";
25
+
26
+ export class BillWatchAWSEstimationCommand extends BaseFinalCommand
27
+ {
28
+ constructor(argv: string[])
29
+ {
30
+ super(argv, [], [
31
+ {
32
+ name: "period",
33
+ short: "",
34
+ description: "Provides the value of 'period' in body",
35
+ optional: false,
36
+ args: ["period"],
37
+ defaults: [""]
38
+ },
39
+ {
40
+ name: "active",
41
+ short: "",
42
+ description: "Provides the value of 'active' in body",
43
+ optional: false,
44
+ args: ["active"],
45
+ defaults: [""]
46
+ }
47
+ ]);
48
+ }
49
+ override async exec()
50
+ {
51
+ let token = this.app.storage.getNSAToken();
52
+ if (token == null)
53
+ throw new Error("Token is not available. Please login first using:\nns-cost account config \nor \nns-cost account login.");
54
+ let storage = new IStorageMemoryDedicated();
55
+ let manager = new TokenManager(storage, () => { });
56
+ manager.setValue(token, false);
57
+ let url = this.app.storage.getItem("ns-cost-server-url");
58
+ let server = new NamirasoftCostServer(url, manager, e => this.app.logger.error(e.message));
59
+ let ans = await server.bill_watch_a_w_s.Estimation({
60
+ period: this.option_values.period,
61
+ active: this.option_values.active
62
+ });
63
+ this.app.logger.success(JSON.stringify(ans));
64
+ }
65
65
  };
@@ -1,32 +1,32 @@
1
- /****************************************************************/
2
- /* */
3
- /* This is an Auto-Generated File */
4
- /* Made By */
5
- /* Namirasoft SDK Generator NPM Package */
6
- /* */
7
- /****************************************************************/
8
- /****************************************************************/
9
- /* */
10
- /* Please do not make any change to this file */
11
- /* If any change is required, ns-sdkg command must be used */
12
- /* */
13
- /****************************************************************/
14
- /****************************************************************/
15
- /* */
16
- /* Namira Software Corporation */
17
- /* https://namirasoft.com */
18
- /* */
19
- /****************************************************************/
20
-
21
- import { BaseNavigatorCommand } from "namirasoft-node-cli";
22
- import { BillWatchAzureEstimationCommand } from "./BillWatchAzureEstimationCommand";
23
-
24
- export class BillWatchAzureCommand extends BaseNavigatorCommand
25
- {
26
- constructor(argv: string[])
27
- {
28
- super(argv, {
29
- "estimation": BillWatchAzureEstimationCommand,
30
- });
31
- }
1
+ /****************************************************************/
2
+ /* */
3
+ /* This is an Auto-Generated File */
4
+ /* Made By */
5
+ /* Namirasoft SDK Generator NPM Package */
6
+ /* */
7
+ /****************************************************************/
8
+ /****************************************************************/
9
+ /* */
10
+ /* Please do not make any change to this file */
11
+ /* If any change is required, ns-sdkg command must be used */
12
+ /* */
13
+ /****************************************************************/
14
+ /****************************************************************/
15
+ /* */
16
+ /* Namira Software Corporation */
17
+ /* https://namirasoft.com */
18
+ /* */
19
+ /****************************************************************/
20
+
21
+ import { BaseNavigatorCommand } from "namirasoft-node-cli";
22
+ import { BillWatchAzureEstimationCommand } from "./BillWatchAzureEstimationCommand";
23
+
24
+ export class BillWatchAzureCommand extends BaseNavigatorCommand
25
+ {
26
+ constructor(argv: string[])
27
+ {
28
+ super(argv, {
29
+ "estimation": BillWatchAzureEstimationCommand,
30
+ });
31
+ }
32
32
  };
@@ -1,65 +1,65 @@
1
- /****************************************************************/
2
- /* */
3
- /* This is an Auto-Generated File */
4
- /* Made By */
5
- /* Namirasoft SDK Generator NPM Package */
6
- /* */
7
- /****************************************************************/
8
- /****************************************************************/
9
- /* */
10
- /* Please do not make any change to this file */
11
- /* If any change is required, ns-sdkg command must be used */
12
- /* */
13
- /****************************************************************/
14
- /****************************************************************/
15
- /* */
16
- /* Namira Software Corporation */
17
- /* https://namirasoft.com */
18
- /* */
19
- /****************************************************************/
20
-
21
- import { BaseFinalCommand } from "namirasoft-node-cli";
22
- import { IStorageMemoryDedicated } from "namirasoft-core";
23
- import { NamirasoftCostServer } from "../NamirasoftCostServer";
24
- import { TokenManager } from "namirasoft-account";
25
-
26
- export class BillWatchAzureEstimationCommand extends BaseFinalCommand
27
- {
28
- constructor(argv: string[])
29
- {
30
- super(argv, [], [
31
- {
32
- name: "period",
33
- short: "",
34
- description: "Provides the value of 'period' in body",
35
- optional: false,
36
- args: ["period"],
37
- defaults: [""]
38
- },
39
- {
40
- name: "active",
41
- short: "",
42
- description: "Provides the value of 'active' in body",
43
- optional: false,
44
- args: ["active"],
45
- defaults: [""]
46
- }
47
- ]);
48
- }
49
- override async exec()
50
- {
51
- let token = this.app.storage.getNSAToken();
52
- if (token == null)
53
- throw new Error("Token is not available. Please login first using:\nns-cost account config \nor \nns-cost account login.");
54
- let storage = new IStorageMemoryDedicated();
55
- let manager = new TokenManager(storage, () => { });
56
- manager.setValue(token, false);
57
- let url = this.app.storage.getItem("ns-cost-server-url");
58
- let server = new NamirasoftCostServer(url, manager, e => this.app.logger.error(e.message));
59
- let ans = await server.bill_watch_azure.Estimation({
60
- period: this.option_values.period,
61
- active: this.option_values.active
62
- });
63
- this.app.logger.success(JSON.stringify(ans));
64
- }
1
+ /****************************************************************/
2
+ /* */
3
+ /* This is an Auto-Generated File */
4
+ /* Made By */
5
+ /* Namirasoft SDK Generator NPM Package */
6
+ /* */
7
+ /****************************************************************/
8
+ /****************************************************************/
9
+ /* */
10
+ /* Please do not make any change to this file */
11
+ /* If any change is required, ns-sdkg command must be used */
12
+ /* */
13
+ /****************************************************************/
14
+ /****************************************************************/
15
+ /* */
16
+ /* Namira Software Corporation */
17
+ /* https://namirasoft.com */
18
+ /* */
19
+ /****************************************************************/
20
+
21
+ import { BaseFinalCommand } from "namirasoft-node-cli";
22
+ import { IStorageMemoryDedicated } from "namirasoft-core";
23
+ import { NamirasoftCostServer } from "../NamirasoftCostServer";
24
+ import { TokenManager } from "namirasoft-account";
25
+
26
+ export class BillWatchAzureEstimationCommand extends BaseFinalCommand
27
+ {
28
+ constructor(argv: string[])
29
+ {
30
+ super(argv, [], [
31
+ {
32
+ name: "period",
33
+ short: "",
34
+ description: "Provides the value of 'period' in body",
35
+ optional: false,
36
+ args: ["period"],
37
+ defaults: [""]
38
+ },
39
+ {
40
+ name: "active",
41
+ short: "",
42
+ description: "Provides the value of 'active' in body",
43
+ optional: false,
44
+ args: ["active"],
45
+ defaults: [""]
46
+ }
47
+ ]);
48
+ }
49
+ override async exec()
50
+ {
51
+ let token = this.app.storage.getNSAToken();
52
+ if (token == null)
53
+ throw new Error("Token is not available. Please login first using:\nns-cost account config \nor \nns-cost account login.");
54
+ let storage = new IStorageMemoryDedicated();
55
+ let manager = new TokenManager(storage, () => { });
56
+ manager.setValue(token, false);
57
+ let url = this.app.storage.getItem("ns-cost-server-url");
58
+ let server = new NamirasoftCostServer(url, manager, e => this.app.logger.error(e.message));
59
+ let ans = await server.bill_watch_azure.Estimation({
60
+ period: this.option_values.period,
61
+ active: this.option_values.active
62
+ });
63
+ this.app.logger.success(JSON.stringify(ans));
64
+ }
65
65
  };