namirasoft-log 1.3.28 → 1.3.30
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.
- package/dist/NamirasoftLogServer.d.ts +0 -8
- package/dist/NamirasoftLogServer.js +0 -8
- package/dist/NamirasoftLogServer.js.map +1 -1
- package/dist/NamirasoftLogServerBase.js +1 -1
- package/dist/command/cli.js +0 -8
- package/dist/command/cli.js.map +1 -1
- package/dist/index.d.ts +0 -37
- package/dist/index.js +0 -37
- package/dist/index.js.map +1 -1
- package/dist/meta/MetaDatabase.d.ts +0 -8
- package/dist/meta/MetaDatabase.js +0 -8
- package/dist/meta/MetaDatabase.js.map +1 -1
- package/package.json +1 -1
- package/src/NamirasoftLogServer.ts +0 -12
- package/src/NamirasoftLogServerBase.ts +1 -1
- package/src/command/cli.ts +0 -8
- package/src/index.ts +0 -37
- package/src/meta/MetaDatabase.ts +0 -12
- package/dist/NamirasoftLogServerAlarm.d.ts +0 -16
- package/dist/NamirasoftLogServerAlarm.js +0 -62
- package/dist/NamirasoftLogServerAlarm.js.map +0 -1
- package/dist/NamirasoftLogServerAlarmCategory.d.ts +0 -16
- package/dist/NamirasoftLogServerAlarmCategory.js +0 -62
- package/dist/NamirasoftLogServerAlarmCategory.js.map +0 -1
- package/dist/NamirasoftLogServerAlarmField.d.ts +0 -16
- package/dist/NamirasoftLogServerAlarmField.js +0 -62
- package/dist/NamirasoftLogServerAlarmField.js.map +0 -1
- package/dist/NamirasoftLogServerAlarmTag.d.ts +0 -16
- package/dist/NamirasoftLogServerAlarmTag.js +0 -62
- package/dist/NamirasoftLogServerAlarmTag.js.map +0 -1
- package/dist/command/AlarmCategoryCommand.d.ts +0 -4
- package/dist/command/AlarmCategoryCommand.js +0 -23
- package/dist/command/AlarmCategoryCommand.js.map +0 -1
- package/dist/command/AlarmCategoryCreateCommand.d.ts +0 -5
- package/dist/command/AlarmCategoryCreateCommand.js +0 -48
- package/dist/command/AlarmCategoryCreateCommand.js.map +0 -1
- package/dist/command/AlarmCategoryDeleteCommand.d.ts +0 -5
- package/dist/command/AlarmCategoryDeleteCommand.js +0 -37
- package/dist/command/AlarmCategoryDeleteCommand.js.map +0 -1
- package/dist/command/AlarmCategoryGetCommand.d.ts +0 -5
- package/dist/command/AlarmCategoryGetCommand.js +0 -37
- package/dist/command/AlarmCategoryGetCommand.js.map +0 -1
- package/dist/command/AlarmCategoryListCommand.d.ts +0 -5
- package/dist/command/AlarmCategoryListCommand.js +0 -37
- package/dist/command/AlarmCategoryListCommand.js.map +0 -1
- package/dist/command/AlarmCategoryUpdateCommand.d.ts +0 -5
- package/dist/command/AlarmCategoryUpdateCommand.js +0 -48
- package/dist/command/AlarmCategoryUpdateCommand.js.map +0 -1
- package/dist/command/AlarmCommand.d.ts +0 -4
- package/dist/command/AlarmCommand.js +0 -23
- package/dist/command/AlarmCommand.js.map +0 -1
- package/dist/command/AlarmCreateCommand.d.ts +0 -5
- package/dist/command/AlarmCreateCommand.js +0 -75
- package/dist/command/AlarmCreateCommand.js.map +0 -1
- package/dist/command/AlarmDeleteCommand.d.ts +0 -5
- package/dist/command/AlarmDeleteCommand.js +0 -37
- package/dist/command/AlarmDeleteCommand.js.map +0 -1
- package/dist/command/AlarmFieldCommand.d.ts +0 -4
- package/dist/command/AlarmFieldCommand.js +0 -23
- package/dist/command/AlarmFieldCommand.js.map +0 -1
- package/dist/command/AlarmFieldCreateCommand.d.ts +0 -5
- package/dist/command/AlarmFieldCreateCommand.js +0 -66
- package/dist/command/AlarmFieldCreateCommand.js.map +0 -1
- package/dist/command/AlarmFieldDeleteCommand.d.ts +0 -5
- package/dist/command/AlarmFieldDeleteCommand.js +0 -37
- package/dist/command/AlarmFieldDeleteCommand.js.map +0 -1
- package/dist/command/AlarmFieldGetCommand.d.ts +0 -5
- package/dist/command/AlarmFieldGetCommand.js +0 -37
- package/dist/command/AlarmFieldGetCommand.js.map +0 -1
- package/dist/command/AlarmFieldListCommand.d.ts +0 -5
- package/dist/command/AlarmFieldListCommand.js +0 -37
- package/dist/command/AlarmFieldListCommand.js.map +0 -1
- package/dist/command/AlarmFieldUpdateCommand.d.ts +0 -5
- package/dist/command/AlarmFieldUpdateCommand.js +0 -66
- package/dist/command/AlarmFieldUpdateCommand.js.map +0 -1
- package/dist/command/AlarmGetCommand.d.ts +0 -5
- package/dist/command/AlarmGetCommand.js +0 -37
- package/dist/command/AlarmGetCommand.js.map +0 -1
- package/dist/command/AlarmListCommand.d.ts +0 -5
- package/dist/command/AlarmListCommand.js +0 -37
- package/dist/command/AlarmListCommand.js.map +0 -1
- package/dist/command/AlarmTagCommand.d.ts +0 -4
- package/dist/command/AlarmTagCommand.js +0 -23
- package/dist/command/AlarmTagCommand.js.map +0 -1
- package/dist/command/AlarmTagCreateCommand.d.ts +0 -5
- package/dist/command/AlarmTagCreateCommand.js +0 -66
- package/dist/command/AlarmTagCreateCommand.js.map +0 -1
- package/dist/command/AlarmTagDeleteCommand.d.ts +0 -5
- package/dist/command/AlarmTagDeleteCommand.js +0 -37
- package/dist/command/AlarmTagDeleteCommand.js.map +0 -1
- package/dist/command/AlarmTagGetCommand.d.ts +0 -5
- package/dist/command/AlarmTagGetCommand.js +0 -37
- package/dist/command/AlarmTagGetCommand.js.map +0 -1
- package/dist/command/AlarmTagListCommand.d.ts +0 -5
- package/dist/command/AlarmTagListCommand.js +0 -37
- package/dist/command/AlarmTagListCommand.js.map +0 -1
- package/dist/command/AlarmTagUpdateCommand.d.ts +0 -5
- package/dist/command/AlarmTagUpdateCommand.js +0 -66
- package/dist/command/AlarmTagUpdateCommand.js.map +0 -1
- package/dist/command/AlarmUpdateCommand.d.ts +0 -5
- package/dist/command/AlarmUpdateCommand.js +0 -75
- package/dist/command/AlarmUpdateCommand.js.map +0 -1
- package/dist/meta/AlarmCategoryMetaTable.d.ts +0 -10
- package/dist/meta/AlarmCategoryMetaTable.js +0 -18
- package/dist/meta/AlarmCategoryMetaTable.js.map +0 -1
- package/dist/meta/AlarmFieldMetaTable.d.ts +0 -12
- package/dist/meta/AlarmFieldMetaTable.js +0 -20
- package/dist/meta/AlarmFieldMetaTable.js.map +0 -1
- package/dist/meta/AlarmMetaTable.d.ts +0 -12
- package/dist/meta/AlarmMetaTable.js +0 -20
- package/dist/meta/AlarmMetaTable.js.map +0 -1
- package/dist/meta/AlarmTagMetaTable.d.ts +0 -12
- package/dist/meta/AlarmTagMetaTable.js +0 -20
- package/dist/meta/AlarmTagMetaTable.js.map +0 -1
- package/dist/row/AlarmCategoryRow.d.ts +0 -6
- package/dist/row/AlarmCategoryRow.js +0 -3
- package/dist/row/AlarmCategoryRow.js.map +0 -1
- package/dist/row/AlarmFieldRow.d.ts +0 -8
- package/dist/row/AlarmFieldRow.js +0 -3
- package/dist/row/AlarmFieldRow.js.map +0 -1
- package/dist/row/AlarmInputRow.d.ts +0 -6
- package/dist/row/AlarmInputRow.js +0 -3
- package/dist/row/AlarmInputRow.js.map +0 -1
- package/dist/row/AlarmRow.d.ts +0 -8
- package/dist/row/AlarmRow.js +0 -3
- package/dist/row/AlarmRow.js.map +0 -1
- package/dist/row/AlarmTagRow.d.ts +0 -8
- package/dist/row/AlarmTagRow.js +0 -3
- package/dist/row/AlarmTagRow.js.map +0 -1
- package/src/NamirasoftLogServerAlarm.ts +0 -68
- package/src/NamirasoftLogServerAlarmCategory.ts +0 -68
- package/src/NamirasoftLogServerAlarmField.ts +0 -68
- package/src/NamirasoftLogServerAlarmTag.ts +0 -68
- package/src/command/AlarmCategoryCommand.ts +0 -40
- package/src/command/AlarmCategoryCreateCommand.ts +0 -55
- package/src/command/AlarmCategoryDeleteCommand.ts +0 -44
- package/src/command/AlarmCategoryGetCommand.ts +0 -44
- package/src/command/AlarmCategoryListCommand.ts +0 -44
- package/src/command/AlarmCategoryUpdateCommand.ts +0 -55
- package/src/command/AlarmCommand.ts +0 -40
- package/src/command/AlarmCreateCommand.ts +0 -82
- package/src/command/AlarmDeleteCommand.ts +0 -44
- package/src/command/AlarmFieldCommand.ts +0 -40
- package/src/command/AlarmFieldCreateCommand.ts +0 -73
- package/src/command/AlarmFieldDeleteCommand.ts +0 -44
- package/src/command/AlarmFieldGetCommand.ts +0 -44
- package/src/command/AlarmFieldListCommand.ts +0 -44
- package/src/command/AlarmFieldUpdateCommand.ts +0 -73
- package/src/command/AlarmGetCommand.ts +0 -44
- package/src/command/AlarmListCommand.ts +0 -44
- package/src/command/AlarmTagCommand.ts +0 -40
- package/src/command/AlarmTagCreateCommand.ts +0 -73
- package/src/command/AlarmTagDeleteCommand.ts +0 -44
- package/src/command/AlarmTagGetCommand.ts +0 -44
- package/src/command/AlarmTagListCommand.ts +0 -44
- package/src/command/AlarmTagUpdateCommand.ts +0 -73
- package/src/command/AlarmUpdateCommand.ts +0 -82
- package/src/meta/AlarmCategoryMetaTable.ts +0 -41
- package/src/meta/AlarmFieldMetaTable.ts +0 -45
- package/src/meta/AlarmMetaTable.ts +0 -45
- package/src/meta/AlarmTagMetaTable.ts +0 -45
- package/src/row/AlarmCategoryRow.ts +0 -27
- package/src/row/AlarmFieldRow.ts +0 -29
- package/src/row/AlarmInputRow.ts +0 -27
- package/src/row/AlarmRow.ts +0 -29
- package/src/row/AlarmTagRow.ts +0 -29
|
@@ -1,44 +0,0 @@
|
|
|
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 changed is reqired, 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 { IStorageMemory } from "namirasoft-core";
|
|
23
|
-
import { NamirasoftLogServer } from "../NamirasoftLogServer";
|
|
24
|
-
import { TokenManager } from "namirasoft-account";
|
|
25
|
-
|
|
26
|
-
export class AlarmTagListCommand extends BaseFinalCommand
|
|
27
|
-
{
|
|
28
|
-
constructor(argv: string[])
|
|
29
|
-
{
|
|
30
|
-
super(argv, ["filters", "page", "size"], []);
|
|
31
|
-
}
|
|
32
|
-
override async exec()
|
|
33
|
-
{
|
|
34
|
-
let token = this.app.storage.getNSAToken();
|
|
35
|
-
if (token == null)
|
|
36
|
-
throw new Error("Token is not available. Please login first using:\nns-log account config \nor \n{this.command} account login.");
|
|
37
|
-
let storage = new IStorageMemory();
|
|
38
|
-
let manager = new TokenManager(storage, () => { });
|
|
39
|
-
manager.setValue(token, false);
|
|
40
|
-
let server = new NamirasoftLogServer(manager, e => this.app.logger.error(e.message));
|
|
41
|
-
let ans = await server.alarmtag.List(this.arg_values[0], this.arg_values[1], this.arg_values[2]);
|
|
42
|
-
this.app.logger.success(JSON.stringify(ans));
|
|
43
|
-
}
|
|
44
|
-
};
|
|
@@ -1,73 +0,0 @@
|
|
|
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 changed is reqired, 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 { IStorageMemory } from "namirasoft-core";
|
|
23
|
-
import { NamirasoftLogServer } from "../NamirasoftLogServer";
|
|
24
|
-
import { TokenManager } from "namirasoft-account";
|
|
25
|
-
|
|
26
|
-
export class AlarmTagUpdateCommand extends BaseFinalCommand
|
|
27
|
-
{
|
|
28
|
-
constructor(argv: string[])
|
|
29
|
-
{
|
|
30
|
-
super(argv, ["id"], [
|
|
31
|
-
{
|
|
32
|
-
name: "name",
|
|
33
|
-
short: "",
|
|
34
|
-
description: "Provides the value of 'name' in body",
|
|
35
|
-
optional: false,
|
|
36
|
-
args: ["name"],
|
|
37
|
-
defaults: [""]
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
name: "value",
|
|
41
|
-
short: "",
|
|
42
|
-
description: "Provides the value of 'value' in body",
|
|
43
|
-
optional: false,
|
|
44
|
-
args: ["value"],
|
|
45
|
-
defaults: [""]
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
name: "description",
|
|
49
|
-
short: "",
|
|
50
|
-
description: "Provides the value of 'description' in body",
|
|
51
|
-
optional: true,
|
|
52
|
-
args: ["description"],
|
|
53
|
-
defaults: [""]
|
|
54
|
-
}
|
|
55
|
-
]);
|
|
56
|
-
}
|
|
57
|
-
override async exec()
|
|
58
|
-
{
|
|
59
|
-
let token = this.app.storage.getNSAToken();
|
|
60
|
-
if (token == null)
|
|
61
|
-
throw new Error("Token is not available. Please login first using:\nns-log account config \nor \n{this.command} account login.");
|
|
62
|
-
let storage = new IStorageMemory();
|
|
63
|
-
let manager = new TokenManager(storage, () => { });
|
|
64
|
-
manager.setValue(token, false);
|
|
65
|
-
let server = new NamirasoftLogServer(manager, e => this.app.logger.error(e.message));
|
|
66
|
-
let ans = await server.alarmtag.Update(this.arg_values[0], {
|
|
67
|
-
name: this.option_values.name,
|
|
68
|
-
value: this.option_values.value,
|
|
69
|
-
description: this.option_values.description
|
|
70
|
-
});
|
|
71
|
-
this.app.logger.success(JSON.stringify(ans));
|
|
72
|
-
}
|
|
73
|
-
};
|
|
@@ -1,82 +0,0 @@
|
|
|
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 changed is reqired, 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 { IStorageMemory } from "namirasoft-core";
|
|
23
|
-
import { NamirasoftLogServer } from "../NamirasoftLogServer";
|
|
24
|
-
import { TokenManager } from "namirasoft-account";
|
|
25
|
-
|
|
26
|
-
export class AlarmUpdateCommand extends BaseFinalCommand
|
|
27
|
-
{
|
|
28
|
-
constructor(argv: string[])
|
|
29
|
-
{
|
|
30
|
-
super(argv, ["id"], [
|
|
31
|
-
{
|
|
32
|
-
name: "name",
|
|
33
|
-
short: "",
|
|
34
|
-
description: "Provides the value of 'name' in body",
|
|
35
|
-
optional: true,
|
|
36
|
-
args: ["name"],
|
|
37
|
-
defaults: [""]
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
name: "filters",
|
|
41
|
-
short: "",
|
|
42
|
-
description: "Provides the value of 'filters' in body",
|
|
43
|
-
optional: true,
|
|
44
|
-
args: ["filters"],
|
|
45
|
-
defaults: [""]
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
name: "notification_sender_topic_id",
|
|
49
|
-
short: "",
|
|
50
|
-
description: "Provides the value of 'notification_sender_topic_id' in body",
|
|
51
|
-
optional: false,
|
|
52
|
-
args: ["notification_sender_topic_id"],
|
|
53
|
-
defaults: [""]
|
|
54
|
-
},
|
|
55
|
-
{
|
|
56
|
-
name: "description",
|
|
57
|
-
short: "",
|
|
58
|
-
description: "Provides the value of 'description' in body",
|
|
59
|
-
optional: true,
|
|
60
|
-
args: ["description"],
|
|
61
|
-
defaults: [""]
|
|
62
|
-
}
|
|
63
|
-
]);
|
|
64
|
-
}
|
|
65
|
-
override async exec()
|
|
66
|
-
{
|
|
67
|
-
let token = this.app.storage.getNSAToken();
|
|
68
|
-
if (token == null)
|
|
69
|
-
throw new Error("Token is not available. Please login first using:\nns-log account config \nor \n{this.command} account login.");
|
|
70
|
-
let storage = new IStorageMemory();
|
|
71
|
-
let manager = new TokenManager(storage, () => { });
|
|
72
|
-
manager.setValue(token, false);
|
|
73
|
-
let server = new NamirasoftLogServer(manager, e => this.app.logger.error(e.message));
|
|
74
|
-
let ans = await server.alarm.Update(this.arg_values[0], {
|
|
75
|
-
name: this.option_values.name,
|
|
76
|
-
filters: this.option_values.filters,
|
|
77
|
-
notification_sender_topic_id: this.option_values.notification_sender_topic_id,
|
|
78
|
-
description: this.option_values.description
|
|
79
|
-
});
|
|
80
|
-
this.app.logger.success(JSON.stringify(ans));
|
|
81
|
-
}
|
|
82
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
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 changed is reqired, ns-sdkg command must be used */
|
|
12
|
-
/* */
|
|
13
|
-
/****************************************************************/
|
|
14
|
-
/****************************************************************/
|
|
15
|
-
/* */
|
|
16
|
-
/* Namira Software Corporation */
|
|
17
|
-
/* https://namirasoft.com */
|
|
18
|
-
/* */
|
|
19
|
-
/****************************************************************/
|
|
20
|
-
|
|
21
|
-
import { BaseMetaColumn, BaseMetaTable } from "namirasoft-core";
|
|
22
|
-
|
|
23
|
-
export class AlarmCategoryMetaTable extends BaseMetaTable
|
|
24
|
-
{
|
|
25
|
-
public columns!: {
|
|
26
|
-
id: BaseMetaColumn;
|
|
27
|
-
user_id: BaseMetaColumn;
|
|
28
|
-
entity_id: BaseMetaColumn;
|
|
29
|
-
category_id: BaseMetaColumn;
|
|
30
|
-
}
|
|
31
|
-
constructor()
|
|
32
|
-
{
|
|
33
|
-
super("alarm_category", "Alarm Category");
|
|
34
|
-
this.columns = {
|
|
35
|
-
id: new BaseMetaColumn("id", "Id", "Integer", true),
|
|
36
|
-
user_id: new BaseMetaColumn("user_id", "User Id", "String", true),
|
|
37
|
-
entity_id: new BaseMetaColumn("entity_id", "Entity Id", "String", true),
|
|
38
|
-
category_id: new BaseMetaColumn("category_id", "Category Id", "String", true),
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
};
|
|
@@ -1,45 +0,0 @@
|
|
|
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 changed is reqired, ns-sdkg command must be used */
|
|
12
|
-
/* */
|
|
13
|
-
/****************************************************************/
|
|
14
|
-
/****************************************************************/
|
|
15
|
-
/* */
|
|
16
|
-
/* Namira Software Corporation */
|
|
17
|
-
/* https://namirasoft.com */
|
|
18
|
-
/* */
|
|
19
|
-
/****************************************************************/
|
|
20
|
-
|
|
21
|
-
import { BaseMetaColumn, BaseMetaTable } from "namirasoft-core";
|
|
22
|
-
|
|
23
|
-
export class AlarmFieldMetaTable extends BaseMetaTable
|
|
24
|
-
{
|
|
25
|
-
public columns!: {
|
|
26
|
-
id: BaseMetaColumn;
|
|
27
|
-
user_id: BaseMetaColumn;
|
|
28
|
-
entity_id: BaseMetaColumn;
|
|
29
|
-
field_id: BaseMetaColumn;
|
|
30
|
-
value: BaseMetaColumn;
|
|
31
|
-
description: BaseMetaColumn;
|
|
32
|
-
}
|
|
33
|
-
constructor()
|
|
34
|
-
{
|
|
35
|
-
super("alarm_field", "Alarm Field");
|
|
36
|
-
this.columns = {
|
|
37
|
-
id: new BaseMetaColumn("id", "Id", "Integer", true),
|
|
38
|
-
user_id: new BaseMetaColumn("user_id", "User Id", "String", true),
|
|
39
|
-
entity_id: new BaseMetaColumn("entity_id", "Entity Id", "String", true),
|
|
40
|
-
field_id: new BaseMetaColumn("field_id", "Field Id", "String", true),
|
|
41
|
-
value: new BaseMetaColumn("value", "Value", "String", true),
|
|
42
|
-
description: new BaseMetaColumn("description", "Description", "String", false),
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
};
|
|
@@ -1,45 +0,0 @@
|
|
|
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 changed is reqired, ns-sdkg command must be used */
|
|
12
|
-
/* */
|
|
13
|
-
/****************************************************************/
|
|
14
|
-
/****************************************************************/
|
|
15
|
-
/* */
|
|
16
|
-
/* Namira Software Corporation */
|
|
17
|
-
/* https://namirasoft.com */
|
|
18
|
-
/* */
|
|
19
|
-
/****************************************************************/
|
|
20
|
-
|
|
21
|
-
import { BaseMetaColumn, BaseMetaTable } from "namirasoft-core";
|
|
22
|
-
|
|
23
|
-
export class AlarmMetaTable extends BaseMetaTable
|
|
24
|
-
{
|
|
25
|
-
public columns!: {
|
|
26
|
-
id: BaseMetaColumn;
|
|
27
|
-
user_id: BaseMetaColumn;
|
|
28
|
-
name: BaseMetaColumn;
|
|
29
|
-
filters: BaseMetaColumn;
|
|
30
|
-
notification_sender_topic_id: BaseMetaColumn;
|
|
31
|
-
description: BaseMetaColumn;
|
|
32
|
-
}
|
|
33
|
-
constructor()
|
|
34
|
-
{
|
|
35
|
-
super("alarm", "Alarm");
|
|
36
|
-
this.columns = {
|
|
37
|
-
id: new BaseMetaColumn("id", "Id", "String", true),
|
|
38
|
-
user_id: new BaseMetaColumn("user_id", "User Id", "String", true),
|
|
39
|
-
name: new BaseMetaColumn("name", "Name", "String", false),
|
|
40
|
-
filters: new BaseMetaColumn("filters", "Filters", "String", false),
|
|
41
|
-
notification_sender_topic_id: new BaseMetaColumn("notification_sender_topic_id", "Notification Sender Topic Id", "String", true),
|
|
42
|
-
description: new BaseMetaColumn("description", "Description", "String", false),
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
};
|
|
@@ -1,45 +0,0 @@
|
|
|
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 changed is reqired, ns-sdkg command must be used */
|
|
12
|
-
/* */
|
|
13
|
-
/****************************************************************/
|
|
14
|
-
/****************************************************************/
|
|
15
|
-
/* */
|
|
16
|
-
/* Namira Software Corporation */
|
|
17
|
-
/* https://namirasoft.com */
|
|
18
|
-
/* */
|
|
19
|
-
/****************************************************************/
|
|
20
|
-
|
|
21
|
-
import { BaseMetaColumn, BaseMetaTable } from "namirasoft-core";
|
|
22
|
-
|
|
23
|
-
export class AlarmTagMetaTable extends BaseMetaTable
|
|
24
|
-
{
|
|
25
|
-
public columns!: {
|
|
26
|
-
id: BaseMetaColumn;
|
|
27
|
-
user_id: BaseMetaColumn;
|
|
28
|
-
entity_id: BaseMetaColumn;
|
|
29
|
-
name: BaseMetaColumn;
|
|
30
|
-
value: BaseMetaColumn;
|
|
31
|
-
description: BaseMetaColumn;
|
|
32
|
-
}
|
|
33
|
-
constructor()
|
|
34
|
-
{
|
|
35
|
-
super("alarm_tag", "Alarm Tag");
|
|
36
|
-
this.columns = {
|
|
37
|
-
id: new BaseMetaColumn("id", "Id", "Integer", true),
|
|
38
|
-
user_id: new BaseMetaColumn("user_id", "User Id", "String", true),
|
|
39
|
-
entity_id: new BaseMetaColumn("entity_id", "Entity Id", "String", true),
|
|
40
|
-
name: new BaseMetaColumn("name", "Name", "String", true),
|
|
41
|
-
value: new BaseMetaColumn("value", "Value", "String", true),
|
|
42
|
-
description: new BaseMetaColumn("description", "Description", "String", false),
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
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 changed is reqired, ns-sdkg command must be used */
|
|
12
|
-
/* */
|
|
13
|
-
/****************************************************************/
|
|
14
|
-
/****************************************************************/
|
|
15
|
-
/* */
|
|
16
|
-
/* Namira Software Corporation */
|
|
17
|
-
/* https://namirasoft.com */
|
|
18
|
-
/* */
|
|
19
|
-
/****************************************************************/
|
|
20
|
-
|
|
21
|
-
export type AlarmCategoryRow =
|
|
22
|
-
{
|
|
23
|
-
id: number;
|
|
24
|
-
user_id: string;
|
|
25
|
-
entity_id: string;
|
|
26
|
-
category_id: string;
|
|
27
|
-
}
|
package/src/row/AlarmFieldRow.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
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 changed is reqired, ns-sdkg command must be used */
|
|
12
|
-
/* */
|
|
13
|
-
/****************************************************************/
|
|
14
|
-
/****************************************************************/
|
|
15
|
-
/* */
|
|
16
|
-
/* Namira Software Corporation */
|
|
17
|
-
/* https://namirasoft.com */
|
|
18
|
-
/* */
|
|
19
|
-
/****************************************************************/
|
|
20
|
-
|
|
21
|
-
export type AlarmFieldRow =
|
|
22
|
-
{
|
|
23
|
-
id: number;
|
|
24
|
-
user_id: string;
|
|
25
|
-
entity_id: string;
|
|
26
|
-
field_id: string;
|
|
27
|
-
value: string;
|
|
28
|
-
description: (string | null);
|
|
29
|
-
}
|
package/src/row/AlarmInputRow.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
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 changed is reqired, ns-sdkg command must be used */
|
|
12
|
-
/* */
|
|
13
|
-
/****************************************************************/
|
|
14
|
-
/****************************************************************/
|
|
15
|
-
/* */
|
|
16
|
-
/* Namira Software Corporation */
|
|
17
|
-
/* https://namirasoft.com */
|
|
18
|
-
/* */
|
|
19
|
-
/****************************************************************/
|
|
20
|
-
|
|
21
|
-
export type AlarmInputRow =
|
|
22
|
-
{
|
|
23
|
-
name: (string | null);
|
|
24
|
-
filters: (string | null);
|
|
25
|
-
notification_sender_topic_id: string;
|
|
26
|
-
description: (string | null);
|
|
27
|
-
}
|
package/src/row/AlarmRow.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
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 changed is reqired, ns-sdkg command must be used */
|
|
12
|
-
/* */
|
|
13
|
-
/****************************************************************/
|
|
14
|
-
/****************************************************************/
|
|
15
|
-
/* */
|
|
16
|
-
/* Namira Software Corporation */
|
|
17
|
-
/* https://namirasoft.com */
|
|
18
|
-
/* */
|
|
19
|
-
/****************************************************************/
|
|
20
|
-
|
|
21
|
-
export type AlarmRow =
|
|
22
|
-
{
|
|
23
|
-
id: string;
|
|
24
|
-
user_id: string;
|
|
25
|
-
name: (string | null);
|
|
26
|
-
filters: (string | null);
|
|
27
|
-
notification_sender_topic_id: string;
|
|
28
|
-
description: (string | null);
|
|
29
|
-
}
|
package/src/row/AlarmTagRow.ts
DELETED
|
@@ -1,29 +0,0 @@
|
|
|
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 changed is reqired, ns-sdkg command must be used */
|
|
12
|
-
/* */
|
|
13
|
-
/****************************************************************/
|
|
14
|
-
/****************************************************************/
|
|
15
|
-
/* */
|
|
16
|
-
/* Namira Software Corporation */
|
|
17
|
-
/* https://namirasoft.com */
|
|
18
|
-
/* */
|
|
19
|
-
/****************************************************************/
|
|
20
|
-
|
|
21
|
-
export type AlarmTagRow =
|
|
22
|
-
{
|
|
23
|
-
id: number;
|
|
24
|
-
user_id: string;
|
|
25
|
-
entity_id: string;
|
|
26
|
-
name: string;
|
|
27
|
-
value: string;
|
|
28
|
-
description: (string | null);
|
|
29
|
-
}
|