namirasoft-inference 1.5.18 → 1.5.19
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/NamirasoftInferenceServer.js +1 -1
- package/dist/command/ConditionCreateCommand.js +26 -8
- package/dist/command/ConditionCreateCommand.js.map +1 -1
- package/dist/command/ConditionUpdateCommand.js +26 -8
- package/dist/command/ConditionUpdateCommand.js.map +1 -1
- package/dist/meta/ConditionMetaTable.d.ts +4 -2
- package/dist/meta/ConditionMetaTable.js +4 -2
- package/dist/meta/ConditionMetaTable.js.map +1 -1
- package/dist/row/ConditionInputRow.d.ts +4 -2
- package/dist/row/ConditionRow.d.ts +4 -2
- package/package.json +1 -1
- package/src/NamirasoftInferenceServer.ts +1 -1
- package/src/command/ConditionCreateCommand.ts +26 -8
- package/src/command/ConditionUpdateCommand.ts +26 -8
- package/src/meta/ConditionMetaTable.ts +8 -4
- package/src/row/ConditionInputRow.ts +4 -2
- package/src/row/ConditionRow.ts +4 -2
|
@@ -77,7 +77,7 @@ const NamirasoftInferenceServerWiperField_1 = require("./NamirasoftInferenceServ
|
|
|
77
77
|
const NamirasoftInferenceServerWiperTag_1 = require("./NamirasoftInferenceServerWiperTag");
|
|
78
78
|
class NamirasoftInferenceServer extends namirasoft_account_1.NSABaseServer {
|
|
79
79
|
constructor(base_url, token_manager, onError) {
|
|
80
|
-
super(base_url, `1.5.
|
|
80
|
+
super(base_url, `1.5.19`, token_manager, onError);
|
|
81
81
|
this.health = new NamirasoftInferenceServerHealth_1.NamirasoftInferenceServerHealth(this);
|
|
82
82
|
this.metrics = new NamirasoftInferenceServerMetrics_1.NamirasoftInferenceServerMetrics(this);
|
|
83
83
|
this.value = new NamirasoftInferenceServerValue_1.NamirasoftInferenceServerValue(this);
|
|
@@ -50,11 +50,19 @@ class ConditionCreateCommand extends namirasoft_node_cli_1.BaseFinalCommand {
|
|
|
50
50
|
defaults: [""]
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
|
-
name: "
|
|
53
|
+
name: "if_text_contains_any_words",
|
|
54
54
|
short: "",
|
|
55
|
-
description: "Provides the value of '
|
|
55
|
+
description: "Provides the value of 'if_text_contains_any_words' in body",
|
|
56
56
|
optional: true,
|
|
57
|
-
args: ["
|
|
57
|
+
args: ["if_text_contains_any_words"],
|
|
58
|
+
defaults: [""]
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
name: "if_text_contains_all_words",
|
|
62
|
+
short: "",
|
|
63
|
+
description: "Provides the value of 'if_text_contains_all_words' in body",
|
|
64
|
+
optional: true,
|
|
65
|
+
args: ["if_text_contains_all_words"],
|
|
58
66
|
defaults: [""]
|
|
59
67
|
},
|
|
60
68
|
{
|
|
@@ -82,11 +90,19 @@ class ConditionCreateCommand extends namirasoft_node_cli_1.BaseFinalCommand {
|
|
|
82
90
|
defaults: [""]
|
|
83
91
|
},
|
|
84
92
|
{
|
|
85
|
-
name: "
|
|
93
|
+
name: "if_classifier_contains_any_classes",
|
|
94
|
+
short: "",
|
|
95
|
+
description: "Provides the value of 'if_classifier_contains_any_classes' in body",
|
|
96
|
+
optional: true,
|
|
97
|
+
args: ["if_classifier_contains_any_classes"],
|
|
98
|
+
defaults: [""]
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
name: "if_classifier_contains_all_classes",
|
|
86
102
|
short: "",
|
|
87
|
-
description: "Provides the value of '
|
|
103
|
+
description: "Provides the value of 'if_classifier_contains_all_classes' in body",
|
|
88
104
|
optional: true,
|
|
89
|
-
args: ["
|
|
105
|
+
args: ["if_classifier_contains_all_classes"],
|
|
90
106
|
defaults: [""]
|
|
91
107
|
},
|
|
92
108
|
{
|
|
@@ -162,11 +178,13 @@ class ConditionCreateCommand extends namirasoft_node_cli_1.BaseFinalCommand {
|
|
|
162
178
|
name: this.option_values.name,
|
|
163
179
|
not: this.option_values.not,
|
|
164
180
|
operator: this.option_values.operator,
|
|
165
|
-
|
|
181
|
+
if_text_contains_any_words: this.option_values.if_text_contains_any_words,
|
|
182
|
+
if_text_contains_all_words: this.option_values.if_text_contains_all_words,
|
|
166
183
|
if_length_greater_than: this.option_values.if_length_greater_than,
|
|
167
184
|
if_length_less_than: this.option_values.if_length_less_than,
|
|
168
185
|
if_classifier_id: this.option_values.if_classifier_id,
|
|
169
|
-
|
|
186
|
+
if_classifier_contains_any_classes: this.option_values.if_classifier_contains_any_classes,
|
|
187
|
+
if_classifier_contains_all_classes: this.option_values.if_classifier_contains_all_classes,
|
|
170
188
|
if_contains_any_tags: this.option_values.if_contains_any_tags,
|
|
171
189
|
if_contains_all_tags: this.option_values.if_contains_all_tags,
|
|
172
190
|
log_group_id: this.option_values.log_group_id,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConditionCreateCommand.js","sourceRoot":"","sources":["../../src/command/ConditionCreateCommand.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,6DAAuD;AACvD,qDAA0D;AAC1D,4EAAyE;AACzE,2DAAkD;AAElD,MAAa,sBAAuB,SAAQ,sCAAgB;IAExD,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE,EAAE,EAAE;YACZ;gBACI,IAAI,EAAE,cAAc;gBACpB,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,8CAA8C;gBAC3D,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE,CAAC,cAAc,CAAC;gBACtB,QAAQ,EAAE,CAAC,EAAE,CAAC;aACjB;YACD;gBACI,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,sCAAsC;gBACnD,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,CAAC,MAAM,CAAC;gBACd,QAAQ,EAAE,CAAC,EAAE,CAAC;aACjB;YACD;gBACI,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,qCAAqC;gBAClD,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,CAAC,KAAK,CAAC;gBACb,QAAQ,EAAE,CAAC,EAAE,CAAC;aACjB;YACD;gBACI,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,0CAA0C;gBACvD,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,CAAC,UAAU,CAAC;gBAClB,QAAQ,EAAE,CAAC,EAAE,CAAC;aACjB;YACD;gBACI,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"ConditionCreateCommand.js","sourceRoot":"","sources":["../../src/command/ConditionCreateCommand.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,6DAAuD;AACvD,qDAA0D;AAC1D,4EAAyE;AACzE,2DAAkD;AAElD,MAAa,sBAAuB,SAAQ,sCAAgB;IAExD,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE,EAAE,EAAE;YACZ;gBACI,IAAI,EAAE,cAAc;gBACpB,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,8CAA8C;gBAC3D,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE,CAAC,cAAc,CAAC;gBACtB,QAAQ,EAAE,CAAC,EAAE,CAAC;aACjB;YACD;gBACI,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,sCAAsC;gBACnD,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,CAAC,MAAM,CAAC;gBACd,QAAQ,EAAE,CAAC,EAAE,CAAC;aACjB;YACD;gBACI,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,qCAAqC;gBAClD,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,CAAC,KAAK,CAAC;gBACb,QAAQ,EAAE,CAAC,EAAE,CAAC;aACjB;YACD;gBACI,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,0CAA0C;gBACvD,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,CAAC,UAAU,CAAC;gBAClB,Q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A0B,EAAE,IAAI,CAAC,aAAa,CAAC,0BAA0B;gBACzE,0BAA0B,EAAE,IAAI,CAAC,aAAa,CAAC,0BAA0B;gBACzE,sBAAsB,EAAE,IAAI,CAAC,aAAa,CAAC,sBAAsB;gBACjE,mBAAmB,EAAE,IAAI,CAAC,aAAa,CAAC,mBAAmB;gBAC3D,gBAAgB,EAAE,IAAI,CAAC,aAAa,CAAC,gBAAgB;gBACrD,kCAAkC,EAAE,IAAI,CAAC,aAAa,CAAC,kCAAkC;gBACzF,kCAAkC,EAAE,IAAI,CAAC,aAAa,CAAC,kCAAkC;gBACzF,oBAAoB,EAAE,IAAI,CAAC,aAAa,CAAC,oBAAoB;gBAC7D,oBAAoB,EAAE,IAAI,CAAC,aAAa,CAAC,oBAAoB;gBAC7D,YAAY,EAAE,IAAI,CAAC,aAAa,CAAC,YAAY;gBAC7C,WAAW,EAAE,IAAI,CAAC,aAAa,CAAC,WAAW;gBAC3C,kBAAkB,EAAE,IAAI,CAAC,aAAa,CAAC,kBAAkB;gBACzD,eAAe,EAAE,IAAI,CAAC,aAAa,CAAC,eAAe;gBACnD,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC,aAAa;aAClD,CAAC,CAAC;YACH,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;QACjD,CAAC;KAAA;CACJ;AAvLD,wDAuLC;AAAA,CAAC"}
|
|
@@ -50,11 +50,19 @@ class ConditionUpdateCommand extends namirasoft_node_cli_1.BaseFinalCommand {
|
|
|
50
50
|
defaults: [""]
|
|
51
51
|
},
|
|
52
52
|
{
|
|
53
|
-
name: "
|
|
53
|
+
name: "if_text_contains_any_words",
|
|
54
54
|
short: "",
|
|
55
|
-
description: "Provides the value of '
|
|
55
|
+
description: "Provides the value of 'if_text_contains_any_words' in body",
|
|
56
56
|
optional: true,
|
|
57
|
-
args: ["
|
|
57
|
+
args: ["if_text_contains_any_words"],
|
|
58
|
+
defaults: [""]
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
name: "if_text_contains_all_words",
|
|
62
|
+
short: "",
|
|
63
|
+
description: "Provides the value of 'if_text_contains_all_words' in body",
|
|
64
|
+
optional: true,
|
|
65
|
+
args: ["if_text_contains_all_words"],
|
|
58
66
|
defaults: [""]
|
|
59
67
|
},
|
|
60
68
|
{
|
|
@@ -82,11 +90,19 @@ class ConditionUpdateCommand extends namirasoft_node_cli_1.BaseFinalCommand {
|
|
|
82
90
|
defaults: [""]
|
|
83
91
|
},
|
|
84
92
|
{
|
|
85
|
-
name: "
|
|
93
|
+
name: "if_classifier_contains_any_classes",
|
|
94
|
+
short: "",
|
|
95
|
+
description: "Provides the value of 'if_classifier_contains_any_classes' in body",
|
|
96
|
+
optional: true,
|
|
97
|
+
args: ["if_classifier_contains_any_classes"],
|
|
98
|
+
defaults: [""]
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
name: "if_classifier_contains_all_classes",
|
|
86
102
|
short: "",
|
|
87
|
-
description: "Provides the value of '
|
|
103
|
+
description: "Provides the value of 'if_classifier_contains_all_classes' in body",
|
|
88
104
|
optional: true,
|
|
89
|
-
args: ["
|
|
105
|
+
args: ["if_classifier_contains_all_classes"],
|
|
90
106
|
defaults: [""]
|
|
91
107
|
},
|
|
92
108
|
{
|
|
@@ -162,11 +178,13 @@ class ConditionUpdateCommand extends namirasoft_node_cli_1.BaseFinalCommand {
|
|
|
162
178
|
name: this.option_values.name,
|
|
163
179
|
not: this.option_values.not,
|
|
164
180
|
operator: this.option_values.operator,
|
|
165
|
-
|
|
181
|
+
if_text_contains_any_words: this.option_values.if_text_contains_any_words,
|
|
182
|
+
if_text_contains_all_words: this.option_values.if_text_contains_all_words,
|
|
166
183
|
if_length_greater_than: this.option_values.if_length_greater_than,
|
|
167
184
|
if_length_less_than: this.option_values.if_length_less_than,
|
|
168
185
|
if_classifier_id: this.option_values.if_classifier_id,
|
|
169
|
-
|
|
186
|
+
if_classifier_contains_any_classes: this.option_values.if_classifier_contains_any_classes,
|
|
187
|
+
if_classifier_contains_all_classes: this.option_values.if_classifier_contains_all_classes,
|
|
170
188
|
if_contains_any_tags: this.option_values.if_contains_any_tags,
|
|
171
189
|
if_contains_all_tags: this.option_values.if_contains_all_tags,
|
|
172
190
|
log_group_id: this.option_values.log_group_id,
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConditionUpdateCommand.js","sourceRoot":"","sources":["../../src/command/ConditionUpdateCommand.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,6DAAuD;AACvD,qDAA0D;AAC1D,4EAAyE;AACzE,2DAAkD;AAElD,MAAa,sBAAuB,SAAQ,sCAAgB;IAExD,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,EAAE;YAChB;gBACI,IAAI,EAAE,cAAc;gBACpB,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,8CAA8C;gBAC3D,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE,CAAC,cAAc,CAAC;gBACtB,QAAQ,EAAE,CAAC,EAAE,CAAC;aACjB;YACD;gBACI,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,sCAAsC;gBACnD,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,CAAC,MAAM,CAAC;gBACd,QAAQ,EAAE,CAAC,EAAE,CAAC;aACjB;YACD;gBACI,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,qCAAqC;gBAClD,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,CAAC,KAAK,CAAC;gBACb,QAAQ,EAAE,CAAC,EAAE,CAAC;aACjB;YACD;gBACI,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,0CAA0C;gBACvD,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,CAAC,UAAU,CAAC;gBAClB,QAAQ,EAAE,CAAC,EAAE,CAAC;aACjB;YACD;gBACI,IAAI,EAAE,
|
|
1
|
+
{"version":3,"file":"ConditionUpdateCommand.js","sourceRoot":"","sources":["../../src/command/ConditionUpdateCommand.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,6DAAuD;AACvD,qDAA0D;AAC1D,4EAAyE;AACzE,2DAAkD;AAElD,MAAa,sBAAuB,SAAQ,sCAAgB;IAExD,YAAY,IAAc;QAEtB,KAAK,CAAC,IAAI,EAAE,CAAC,IAAI,CAAC,EAAE;YAChB;gBACI,IAAI,EAAE,cAAc;gBACpB,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,8CAA8C;gBAC3D,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE,CAAC,cAAc,CAAC;gBACtB,QAAQ,EAAE,CAAC,EAAE,CAAC;aACjB;YACD;gBACI,IAAI,EAAE,MAAM;gBACZ,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,sCAAsC;gBACnD,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,CAAC,MAAM,CAAC;gBACd,QAAQ,EAAE,CAAC,EAAE,CAAC;aACjB;YACD;gBACI,IAAI,EAAE,KAAK;gBACX,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,qCAAqC;gBAClD,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,CAAC,KAAK,CAAC;gBACb,QAAQ,EAAE,CAAC,EAAE,CAAC;aACjB;YACD;gBACI,IAAI,EAAE,UAAU;gBAChB,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,0CAA0C;gBACvD,QAAQ,EAAE,KAAK;gBACf,IAAI,EAAE,CAAC,UAAU,CAAC;gBAClB,QAAQ,EAAE,CAAC,EAAE,CAAC;aACjB;YACD;gBACI,IAAI,EAAE,4BAA4B;gBAClC,KAAK,EAAE,EAAE;gBACT,WAAW,EAAE,4DAA4D;gBACzE,QAAQ,EAAE,IAAI;gBACd,IAAI,EAAE,CAAC,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AC,aAAa,CAAC,sBAAsB;gBACjE,mBAAmB,EAAE,IAAI,CAAC,aAAa,CAAC,mBAAmB;gBAC3D,gBAAgB,EAAE,IAAI,CAAC,aAAa,CAAC,gBAAgB;gBACrD,kCAAkC,EAAE,IAAI,CAAC,aAAa,CAAC,kCAAkC;gBACzF,kCAAkC,EAAE,IAAI,CAAC,aAAa,CAAC,kCAAkC;gBACzF,oBAAoB,EAAE,IAAI,CAAC,aAAa,CAAC,oBAAoB;gBAC7D,oBAAoB,EAAE,IAAI,CAAC,aAAa,CAAC,oBAAoB;gBAC7D,YAAY,EAAE,IAAI,CAAC,aAAa,CAAC,YAAY;gBAC7C,WAAW,EAAE,IAAI,CAAC,aAAa,CAAC,WAAW;gBAC3C,kBAAkB,EAAE,IAAI,CAAC,aAAa,CAAC,kBAAkB;gBACzD,eAAe,EAAE,IAAI,CAAC,aAAa,CAAC,eAAe;gBACnD,aAAa,EAAE,IAAI,CAAC,aAAa,CAAC,aAAa;aAClD,CAAC,CAAC;YACH,IAAI,CAAC,GAAG,CAAC,MAAM,CAAC,OAAO,CAAC,IAAI,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;QACjD,CAAC;KAAA;CACJ;AAvLD,wDAuLC;AAAA,CAAC"}
|
|
@@ -10,11 +10,13 @@ export declare class ConditionMetaTable extends NSBaseMetaTable<NamirasoftInfere
|
|
|
10
10
|
name: BaseMetaColumn;
|
|
11
11
|
not: BaseMetaColumn;
|
|
12
12
|
operator: BaseMetaColumn;
|
|
13
|
-
|
|
13
|
+
if_text_contains_any_words: BaseMetaColumn;
|
|
14
|
+
if_text_contains_all_words: BaseMetaColumn;
|
|
14
15
|
if_length_greater_than: BaseMetaColumn;
|
|
15
16
|
if_length_less_than: BaseMetaColumn;
|
|
16
17
|
if_classifier_id: BaseMetaColumn;
|
|
17
|
-
|
|
18
|
+
if_classifier_contains_any_classes: BaseMetaColumn;
|
|
19
|
+
if_classifier_contains_all_classes: BaseMetaColumn;
|
|
18
20
|
if_contains_any_tags: BaseMetaColumn;
|
|
19
21
|
if_contains_all_tags: BaseMetaColumn;
|
|
20
22
|
log_group_id: BaseMetaColumn;
|
|
@@ -22,11 +22,13 @@ class ConditionMetaTable extends namirasoft_site_1.NSBaseMetaTable {
|
|
|
22
22
|
name: new namirasoft_core_1.BaseMetaColumn(this, "name", "Name", "String", true),
|
|
23
23
|
not: new namirasoft_core_1.BaseMetaColumn(this, "not", "Not", "Boolean", true),
|
|
24
24
|
operator: new namirasoft_core_1.BaseMetaColumn(this, "operator", "Operator", "Enum", true),
|
|
25
|
-
|
|
25
|
+
if_text_contains_any_words: new namirasoft_core_1.BaseMetaColumn(this, "if_text_contains_any_words", "If Text Contains Any Words", "String", false),
|
|
26
|
+
if_text_contains_all_words: new namirasoft_core_1.BaseMetaColumn(this, "if_text_contains_all_words", "If Text Contains All Words", "String", false),
|
|
26
27
|
if_length_greater_than: new namirasoft_core_1.BaseMetaColumn(this, "if_length_greater_than", "If Length Greater Than", "Integer", false),
|
|
27
28
|
if_length_less_than: new namirasoft_core_1.BaseMetaColumn(this, "if_length_less_than", "If Length Less Than", "Integer", false),
|
|
28
29
|
if_classifier_id: new namirasoft_core_1.BaseMetaColumn(this, "if_classifier_id", "If Classifier ID", "String", false),
|
|
29
|
-
|
|
30
|
+
if_classifier_contains_any_classes: new namirasoft_core_1.BaseMetaColumn(this, "if_classifier_contains_any_classes", "If Classifier Contains Any Classes", "String", false),
|
|
31
|
+
if_classifier_contains_all_classes: new namirasoft_core_1.BaseMetaColumn(this, "if_classifier_contains_all_classes", "If Classifier Contains All Classes", "String", false),
|
|
30
32
|
if_contains_any_tags: new namirasoft_core_1.BaseMetaColumn(this, "if_contains_any_tags", "If Contains Any Tags", "String", false),
|
|
31
33
|
if_contains_all_tags: new namirasoft_core_1.BaseMetaColumn(this, "if_contains_all_tags", "If Contains All Tags", "String", false),
|
|
32
34
|
log_group_id: new namirasoft_core_1.BaseMetaColumn(this, "log_group_id", "Log Group ID", "String", false),
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ConditionMetaTable.js","sourceRoot":"","sources":["../../src/meta/ConditionMetaTable.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,qDAA2D;AAG3D,qDAAsE;AAGtE,MAAa,kBAAmB,SAAQ,iCAAwD;
|
|
1
|
+
{"version":3,"file":"ConditionMetaTable.js","sourceRoot":"","sources":["../../src/meta/ConditionMetaTable.ts"],"names":[],"mappings":";;;;;;;;;;;;AAoBA,qDAA2D;AAG3D,qDAAsE;AAGtE,MAAa,kBAAmB,SAAQ,iCAAwD;IAuB5F,YAAY,QAAuD;QAE/D,KAAK,CAAC,QAAQ,EAAE,WAAW,EAAE,WAAW,EAAE,IAAI,0BAAQ,CAAC,SAAS,CAAC,CAAC,CAAC;QACnE,IAAI,CAAC,OAAO,GAAG;YACX,EAAE,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,CAAC;YACxD,OAAO,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,SAAS,EAAE,SAAS,EAAE,QAAQ,EAAE,IAAI,CAAC;YACvE,YAAY,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,cAAc,EAAE,cAAc,EAAE,QAAQ,EAAE,IAAI,CAAC;YACtF,IAAI,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,IAAI,CAAC;YAC9D,GAAG,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,KAAK,EAAE,KAAK,EAAE,SAAS,EAAE,IAAI,CAAC;YAC5D,QAAQ,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,UAAU,EAAE,UAAU,EAAE,MAAM,EAAE,IAAI,CAAC;YACxE,0BAA0B,EAAE,IAAI,gCAAc,CAAC,IAAI,EAAE,4BAA4B,EAAE,4BAA4B,EAAE,QAAQ,EAAE,KAAK,CAAC;YACjI,0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AC;SACrF,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,GAAG,GAAG,CAAO,EAAU,EAAE,EAAE;YAErC,IAAI,MAAM,GAAG,IAAI,CAAC,QAAQ,CAAC,SAAS,EAAE,CAAC;YACvC,OAAO,MAAM,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;QAC1C,CAAC,CAAA,CAAC;QACF,IAAI,CAAC,QAAQ,CAAC,IAAI,GAAG,CAAO,OAA4B,EAAE,IAAqB,EAAE,IAAqB,EAAE,KAAiB,EAAE,cAAgC,EAAE,EAAE;YAE3J,IAAI,MAAM,GAAG,IAAI,CAAC,QAAQ,CAAC,SAAS,EAAE,CAAC;YACvC,OAAO,MAAM,MAAM,CAAC,SAAS,CAAC,IAAI,CAAC,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,KAAK,EAAE,cAAc,EAAE,EAAE,CAAC,CAAC;QACvF,CAAC,CAAA,CAAC;IACN,CAAC;CACJ;AA1DD,gDA0DC;AAAA,CAAC"}
|
|
@@ -7,11 +7,13 @@ export type ConditionInputRow = {
|
|
|
7
7
|
name: string;
|
|
8
8
|
not: boolean;
|
|
9
9
|
operator: ConditionOperator;
|
|
10
|
-
|
|
10
|
+
if_text_contains_any_words: (string | null);
|
|
11
|
+
if_text_contains_all_words: (string | null);
|
|
11
12
|
if_length_greater_than: (number | null);
|
|
12
13
|
if_length_less_than: (number | null);
|
|
13
14
|
if_classifier_id: (string | null);
|
|
14
|
-
|
|
15
|
+
if_classifier_contains_any_classes: (string | null);
|
|
16
|
+
if_classifier_contains_all_classes: (string | null);
|
|
15
17
|
if_contains_any_tags: (string | null);
|
|
16
18
|
if_contains_all_tags: (string | null);
|
|
17
19
|
log_group_id: (string | null);
|
|
@@ -6,11 +6,13 @@ export type ConditionRow = {
|
|
|
6
6
|
name: string;
|
|
7
7
|
not: boolean;
|
|
8
8
|
operator: ConditionOperator;
|
|
9
|
-
|
|
9
|
+
if_text_contains_any_words: (string | null);
|
|
10
|
+
if_text_contains_all_words: (string | null);
|
|
10
11
|
if_length_greater_than: (number | null);
|
|
11
12
|
if_length_less_than: (number | null);
|
|
12
13
|
if_classifier_id: (string | null);
|
|
13
|
-
|
|
14
|
+
if_classifier_contains_any_classes: (string | null);
|
|
15
|
+
if_classifier_contains_all_classes: (string | null);
|
|
14
16
|
if_contains_any_tags: (string | null);
|
|
15
17
|
if_contains_all_tags: (string | null);
|
|
16
18
|
log_group_id: (string | null);
|
package/package.json
CHANGED
|
@@ -171,7 +171,7 @@ export class NamirasoftInferenceServer extends NSABaseServer
|
|
|
171
171
|
usage: NamirasoftInferenceServerUsage;
|
|
172
172
|
constructor(base_url: string, token_manager: TokenManager, onError: (error: Error) => void)
|
|
173
173
|
{
|
|
174
|
-
super(base_url, `1.5.
|
|
174
|
+
super(base_url, `1.5.19`, token_manager, onError);
|
|
175
175
|
this.health = new NamirasoftInferenceServerHealth(this);
|
|
176
176
|
this.metrics = new NamirasoftInferenceServerMetrics(this);
|
|
177
177
|
this.value = new NamirasoftInferenceServerValue(this);
|
|
@@ -61,11 +61,19 @@ export class ConditionCreateCommand extends BaseFinalCommand
|
|
|
61
61
|
defaults: [""]
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
|
-
name: "
|
|
64
|
+
name: "if_text_contains_any_words",
|
|
65
65
|
short: "",
|
|
66
|
-
description: "Provides the value of '
|
|
66
|
+
description: "Provides the value of 'if_text_contains_any_words' in body",
|
|
67
67
|
optional: true,
|
|
68
|
-
args: ["
|
|
68
|
+
args: ["if_text_contains_any_words"],
|
|
69
|
+
defaults: [""]
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
name: "if_text_contains_all_words",
|
|
73
|
+
short: "",
|
|
74
|
+
description: "Provides the value of 'if_text_contains_all_words' in body",
|
|
75
|
+
optional: true,
|
|
76
|
+
args: ["if_text_contains_all_words"],
|
|
69
77
|
defaults: [""]
|
|
70
78
|
},
|
|
71
79
|
{
|
|
@@ -93,11 +101,19 @@ export class ConditionCreateCommand extends BaseFinalCommand
|
|
|
93
101
|
defaults: [""]
|
|
94
102
|
},
|
|
95
103
|
{
|
|
96
|
-
name: "
|
|
104
|
+
name: "if_classifier_contains_any_classes",
|
|
105
|
+
short: "",
|
|
106
|
+
description: "Provides the value of 'if_classifier_contains_any_classes' in body",
|
|
107
|
+
optional: true,
|
|
108
|
+
args: ["if_classifier_contains_any_classes"],
|
|
109
|
+
defaults: [""]
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
name: "if_classifier_contains_all_classes",
|
|
97
113
|
short: "",
|
|
98
|
-
description: "Provides the value of '
|
|
114
|
+
description: "Provides the value of 'if_classifier_contains_all_classes' in body",
|
|
99
115
|
optional: true,
|
|
100
|
-
args: ["
|
|
116
|
+
args: ["if_classifier_contains_all_classes"],
|
|
101
117
|
defaults: [""]
|
|
102
118
|
},
|
|
103
119
|
{
|
|
@@ -173,11 +189,13 @@ export class ConditionCreateCommand extends BaseFinalCommand
|
|
|
173
189
|
name: this.option_values.name,
|
|
174
190
|
not: this.option_values.not,
|
|
175
191
|
operator: this.option_values.operator,
|
|
176
|
-
|
|
192
|
+
if_text_contains_any_words: this.option_values.if_text_contains_any_words,
|
|
193
|
+
if_text_contains_all_words: this.option_values.if_text_contains_all_words,
|
|
177
194
|
if_length_greater_than: this.option_values.if_length_greater_than,
|
|
178
195
|
if_length_less_than: this.option_values.if_length_less_than,
|
|
179
196
|
if_classifier_id: this.option_values.if_classifier_id,
|
|
180
|
-
|
|
197
|
+
if_classifier_contains_any_classes: this.option_values.if_classifier_contains_any_classes,
|
|
198
|
+
if_classifier_contains_all_classes: this.option_values.if_classifier_contains_all_classes,
|
|
181
199
|
if_contains_any_tags: this.option_values.if_contains_any_tags,
|
|
182
200
|
if_contains_all_tags: this.option_values.if_contains_all_tags,
|
|
183
201
|
log_group_id: this.option_values.log_group_id,
|
|
@@ -61,11 +61,19 @@ export class ConditionUpdateCommand extends BaseFinalCommand
|
|
|
61
61
|
defaults: [""]
|
|
62
62
|
},
|
|
63
63
|
{
|
|
64
|
-
name: "
|
|
64
|
+
name: "if_text_contains_any_words",
|
|
65
65
|
short: "",
|
|
66
|
-
description: "Provides the value of '
|
|
66
|
+
description: "Provides the value of 'if_text_contains_any_words' in body",
|
|
67
67
|
optional: true,
|
|
68
|
-
args: ["
|
|
68
|
+
args: ["if_text_contains_any_words"],
|
|
69
|
+
defaults: [""]
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
name: "if_text_contains_all_words",
|
|
73
|
+
short: "",
|
|
74
|
+
description: "Provides the value of 'if_text_contains_all_words' in body",
|
|
75
|
+
optional: true,
|
|
76
|
+
args: ["if_text_contains_all_words"],
|
|
69
77
|
defaults: [""]
|
|
70
78
|
},
|
|
71
79
|
{
|
|
@@ -93,11 +101,19 @@ export class ConditionUpdateCommand extends BaseFinalCommand
|
|
|
93
101
|
defaults: [""]
|
|
94
102
|
},
|
|
95
103
|
{
|
|
96
|
-
name: "
|
|
104
|
+
name: "if_classifier_contains_any_classes",
|
|
105
|
+
short: "",
|
|
106
|
+
description: "Provides the value of 'if_classifier_contains_any_classes' in body",
|
|
107
|
+
optional: true,
|
|
108
|
+
args: ["if_classifier_contains_any_classes"],
|
|
109
|
+
defaults: [""]
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
name: "if_classifier_contains_all_classes",
|
|
97
113
|
short: "",
|
|
98
|
-
description: "Provides the value of '
|
|
114
|
+
description: "Provides the value of 'if_classifier_contains_all_classes' in body",
|
|
99
115
|
optional: true,
|
|
100
|
-
args: ["
|
|
116
|
+
args: ["if_classifier_contains_all_classes"],
|
|
101
117
|
defaults: [""]
|
|
102
118
|
},
|
|
103
119
|
{
|
|
@@ -173,11 +189,13 @@ export class ConditionUpdateCommand extends BaseFinalCommand
|
|
|
173
189
|
name: this.option_values.name,
|
|
174
190
|
not: this.option_values.not,
|
|
175
191
|
operator: this.option_values.operator,
|
|
176
|
-
|
|
192
|
+
if_text_contains_any_words: this.option_values.if_text_contains_any_words,
|
|
193
|
+
if_text_contains_all_words: this.option_values.if_text_contains_all_words,
|
|
177
194
|
if_length_greater_than: this.option_values.if_length_greater_than,
|
|
178
195
|
if_length_less_than: this.option_values.if_length_less_than,
|
|
179
196
|
if_classifier_id: this.option_values.if_classifier_id,
|
|
180
|
-
|
|
197
|
+
if_classifier_contains_any_classes: this.option_values.if_classifier_contains_any_classes,
|
|
198
|
+
if_classifier_contains_all_classes: this.option_values.if_classifier_contains_all_classes,
|
|
181
199
|
if_contains_any_tags: this.option_values.if_contains_any_tags,
|
|
182
200
|
if_contains_all_tags: this.option_values.if_contains_all_tags,
|
|
183
201
|
log_group_id: this.option_values.log_group_id,
|
|
@@ -33,11 +33,13 @@ export class ConditionMetaTable extends NSBaseMetaTable<NamirasoftInferenceServe
|
|
|
33
33
|
name: BaseMetaColumn;
|
|
34
34
|
not: BaseMetaColumn;
|
|
35
35
|
operator: BaseMetaColumn;
|
|
36
|
-
|
|
36
|
+
if_text_contains_any_words: BaseMetaColumn;
|
|
37
|
+
if_text_contains_all_words: BaseMetaColumn;
|
|
37
38
|
if_length_greater_than: BaseMetaColumn;
|
|
38
39
|
if_length_less_than: BaseMetaColumn;
|
|
39
40
|
if_classifier_id: BaseMetaColumn;
|
|
40
|
-
|
|
41
|
+
if_classifier_contains_any_classes: BaseMetaColumn;
|
|
42
|
+
if_classifier_contains_all_classes: BaseMetaColumn;
|
|
41
43
|
if_contains_any_tags: BaseMetaColumn;
|
|
42
44
|
if_contains_all_tags: BaseMetaColumn;
|
|
43
45
|
log_group_id: BaseMetaColumn;
|
|
@@ -55,11 +57,13 @@ export class ConditionMetaTable extends NSBaseMetaTable<NamirasoftInferenceServe
|
|
|
55
57
|
name: new BaseMetaColumn(this, "name", "Name", "String", true),
|
|
56
58
|
not: new BaseMetaColumn(this, "not", "Not", "Boolean", true),
|
|
57
59
|
operator: new BaseMetaColumn(this, "operator", "Operator", "Enum", true),
|
|
58
|
-
|
|
60
|
+
if_text_contains_any_words: new BaseMetaColumn(this, "if_text_contains_any_words", "If Text Contains Any Words", "String", false),
|
|
61
|
+
if_text_contains_all_words: new BaseMetaColumn(this, "if_text_contains_all_words", "If Text Contains All Words", "String", false),
|
|
59
62
|
if_length_greater_than: new BaseMetaColumn(this, "if_length_greater_than", "If Length Greater Than", "Integer", false),
|
|
60
63
|
if_length_less_than: new BaseMetaColumn(this, "if_length_less_than", "If Length Less Than", "Integer", false),
|
|
61
64
|
if_classifier_id: new BaseMetaColumn(this, "if_classifier_id", "If Classifier ID", "String", false),
|
|
62
|
-
|
|
65
|
+
if_classifier_contains_any_classes: new BaseMetaColumn(this, "if_classifier_contains_any_classes", "If Classifier Contains Any Classes", "String", false),
|
|
66
|
+
if_classifier_contains_all_classes: new BaseMetaColumn(this, "if_classifier_contains_all_classes", "If Classifier Contains All Classes", "String", false),
|
|
63
67
|
if_contains_any_tags: new BaseMetaColumn(this, "if_contains_any_tags", "If Contains Any Tags", "String", false),
|
|
64
68
|
if_contains_all_tags: new BaseMetaColumn(this, "if_contains_all_tags", "If Contains All Tags", "String", false),
|
|
65
69
|
log_group_id: new BaseMetaColumn(this, "log_group_id", "Log Group ID", "String", false),
|
|
@@ -29,11 +29,13 @@ export type ConditionInputRow =
|
|
|
29
29
|
name: string;
|
|
30
30
|
not: boolean;
|
|
31
31
|
operator: ConditionOperator;
|
|
32
|
-
|
|
32
|
+
if_text_contains_any_words: (string | null);
|
|
33
|
+
if_text_contains_all_words: (string | null);
|
|
33
34
|
if_length_greater_than: (number | null);
|
|
34
35
|
if_length_less_than: (number | null);
|
|
35
36
|
if_classifier_id: (string | null);
|
|
36
|
-
|
|
37
|
+
if_classifier_contains_any_classes: (string | null);
|
|
38
|
+
if_classifier_contains_all_classes: (string | null);
|
|
37
39
|
if_contains_any_tags: (string | null);
|
|
38
40
|
if_contains_all_tags: (string | null);
|
|
39
41
|
log_group_id: (string | null);
|
package/src/row/ConditionRow.ts
CHANGED
|
@@ -28,11 +28,13 @@ export type ConditionRow =
|
|
|
28
28
|
name: string;
|
|
29
29
|
not: boolean;
|
|
30
30
|
operator: ConditionOperator;
|
|
31
|
-
|
|
31
|
+
if_text_contains_any_words: (string | null);
|
|
32
|
+
if_text_contains_all_words: (string | null);
|
|
32
33
|
if_length_greater_than: (number | null);
|
|
33
34
|
if_length_less_than: (number | null);
|
|
34
35
|
if_classifier_id: (string | null);
|
|
35
|
-
|
|
36
|
+
if_classifier_contains_any_classes: (string | null);
|
|
37
|
+
if_classifier_contains_all_classes: (string | null);
|
|
36
38
|
if_contains_any_tags: (string | null);
|
|
37
39
|
if_contains_all_tags: (string | null);
|
|
38
40
|
log_group_id: (string | null);
|