@uipath/rules-tool 1.204.0-preview.255 → 1.205.0-preview.256
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/README.md +7 -5
- package/dist/DmnFactory-L7MABUC6-98k17dkr.js +46 -0
- package/dist/{KieDmnMarshaller-6TTUU5B4-47q50gk4.js → KieDmnMarshaller-LGE63WDG-3vemswef.js} +2 -2
- package/dist/THIRD-PARTY-NOTICES.md +26 -9
- package/dist/{business-rules-bnr581tz.js → business-rules-pm96sefm.js} +4 -4
- package/dist/{constants-9pa118cj.js → constants-cnn0jfw6.js} +18 -17
- package/dist/{embedded-file-reader-rf2g1kfj.js → embedded-file-reader-z4becc02.js} +2 -2
- package/dist/hitPolicyResult-CGCR73CW-9bmc4nsr.js +36 -0
- package/dist/index-52h8rpew.js +21 -0
- package/dist/index-bhjt1h5c.js +227 -0
- package/dist/{index-2hzp9b97.js → index-cpm94vee.js} +21 -5
- package/dist/index-x9msn1dj.js +85 -0
- package/dist/{index-4c4exdzw.js → index-ybrgtfsg.js} +576 -285
- package/dist/index.js +2 -2
- package/dist/rule-catalog-10fhgevc.js +74 -0
- package/dist/{rules-command-error-20gp2dv9.js → rules-command-error-k6kxwfn7.js} +2 -2
- package/dist/{rules-debug-service-var52vfc.js → rules-debug-service-h0qma8db.js} +19 -13
- package/dist/{rules-init-service-0jgj6m9d.js → rules-init-service-yda3k6ea.js} +7 -7
- package/dist/{rules-refresh-service-jgk2kq9d.js → rules-refresh-service-jn6my893.js} +3 -3
- package/dist/{rules-validate-service-mr2fk58k.js → rules-validate-service-hfw8m3dm.js} +7 -7
- package/dist/{tool-pm3ewdxc.js → tool-1pccj6q3.js} +4 -3
- package/dist/tool-86f1xpxn.js +51 -0
- package/dist/{tool-qsgp0kzq.js → tool-cexyd4ff.js} +17 -7
- package/dist/tool-cfrcyxgm.js +26 -0
- package/dist/{tool-av4mmsef.js → tool-fbmxx07c.js} +2 -2
- package/dist/{tool-2cky8jwp.js → tool-fbxe48wd.js} +1071 -208
- package/dist/tool-fk8rznma.js +827 -0
- package/dist/{tool-mkn83w88.js → tool-gkbr01gc.js} +3 -3
- package/dist/{tool-8h4er38s.js → tool-h7gn1rar.js} +3 -3
- package/dist/{tool-8qy8pkp4.js → tool-t4k013ex.js} +8 -5
- package/dist/tool-tjcg2xje.js +4616 -0
- package/dist/{tool-eymjx05p.js → tool-txp5th7j.js} +760 -3395
- package/dist/{tool-tkcx6png.js → tool-wf2qkrye.js} +25 -5
- package/dist/{tool-wmh645tm.js → tool-yq5jph4h.js} +169 -119
- package/dist/tool-z1ay3csx.js +176 -0
- package/dist/{tool-6a672gmg.js → tool-z6x97pps.js} +103 -63
- package/dist/tool.js +2 -2
- package/package.json +2 -2
- package/dist/DmnFactory-VWZOSZHH-jkpbxz3n.js +0 -42
- package/dist/hitPolicyResult-4WDHTX4A-gk103w84.js +0 -33
- package/dist/index-34pj9f36.js +0 -48
- package/dist/index-fs1nd5ap.js +0 -200
- package/dist/index-t4mx1a5e.js +0 -17
- package/dist/rule-catalog-5gzpe93c.js +0 -46
- package/dist/tool-19b4ect0.js +0 -754
- package/dist/tool-4dfpdepw.js +0 -55
- package/dist/tool-m41px07w.js +0 -49
package/README.md
CHANGED
|
@@ -32,14 +32,16 @@ uip rules validate <project-path>
|
|
|
32
32
|
|
|
33
33
|
### `list`
|
|
34
34
|
|
|
35
|
-
List the business rules deployed to Orchestrator in a folder: key, name, folder, description and current version.
|
|
35
|
+
List the business rules deployed to Orchestrator in a folder: key, name, folder, description and current version. With `--all-folders`, list them across all accessible folders instead.
|
|
36
36
|
|
|
37
37
|
```bash
|
|
38
|
-
uip rules list (--folder-path <path> | --folder-key <key>) [--limit <number>] [--offset <number>]
|
|
38
|
+
uip rules list (--folder-path <path> | --folder-key <key> | --all-folders) [--limit <number>] [--offset <number>]
|
|
39
39
|
```
|
|
40
40
|
|
|
41
41
|
`--limit` and `--offset` count rows. An empty folder returns `Data: []`.
|
|
42
42
|
|
|
43
|
+
`--all-folders` returns one row per folder a rule is shared to, with its key, name, folder path, folder key and description, but no current version. It reads the resource catalog of the tenant you are logged in to, so it rejects `--tenant`; switch tenants with `uip login tenant set <tenant-name>`. Keep raising `--offset` while `Pagination.HasMore` is `true` to read every row.
|
|
44
|
+
|
|
43
45
|
### `get`
|
|
44
46
|
|
|
45
47
|
Get one deployed rule by name, with its tags and timestamps.
|
|
@@ -66,7 +68,7 @@ uip rules describe <rule-name> (--folder-path <path> | --folder-key <key>)
|
|
|
66
68
|
|
|
67
69
|
`describe` reads the rule from the resource catalog of the tenant you are logged in to, so it rejects `--tenant`; switch tenants with `uip login tenant set <tenant-name>`.
|
|
68
70
|
|
|
69
|
-
`
|
|
71
|
+
`get`, `versions` and `describe` each need exactly one of `--folder-path` or `--folder-key`; `list` takes one of those or `--all-folders`. A rule the folder does not hold is `not_found`.
|
|
70
72
|
|
|
71
73
|
`list`, `get`, `versions` and `describe` are in preview: they read rules from Orchestrator, and a later CLI version may be required to keep using them.
|
|
72
74
|
|
|
@@ -75,7 +77,7 @@ uip rules describe <rule-name> (--folder-path <path> | --folder-key <key>)
|
|
|
75
77
|
Upload the rules project's solution to Studio Web and evaluate it once through the rules engine, to check what a rule returns before shipping it.
|
|
76
78
|
|
|
77
79
|
```bash
|
|
78
|
-
uip rules debug <project-path> [--inputs <json|@file.json>] [--
|
|
80
|
+
uip rules debug <project-path> [--inputs <json|@file.json>] [--folder-path <path> | --folder-key <key>] [--timeout <seconds>] [--login-validity <minutes>]
|
|
79
81
|
```
|
|
80
82
|
|
|
81
|
-
The project must sit directly inside its solution folder, as `rules init` creates it. `--inputs` is one JSON object of input values (default `{}`). A newly assigned `SolutionId` is written to the `.uipx`, so later runs overwrite the same Studio Web solution. An input the engine fails to evaluate exits `1` with `ErrorCode: invalid_argument` and the engine's errors in `Data.
|
|
83
|
+
The project must sit directly inside its solution folder, as `rules init` creates it. `--inputs` is one JSON object of input values (default `{}`). A newly assigned `SolutionId` is written to the `.uipx`, so later runs overwrite the same Studio Web solution. An input the engine fails to evaluate exits `1` with `ErrorCode: invalid_argument` and the engine's errors in `Data.result`. The engine runs in your personal workspace, or in the folder given by `--folder-path` / `--folder-key`. The run's trace id is returned in `Data.traceId`; the trace is recorded in that folder and read with `uip traces spans get <trace-id>`. The engine call waits up to `--timeout` seconds (default 120), then fails with `ErrorCode: timeout`. `--login-validity` refreshes the session first when it has fewer than that many minutes left (default 10).
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Ce,
|
|
3
|
+
Ie,
|
|
4
|
+
J,
|
|
5
|
+
K,
|
|
6
|
+
Me,
|
|
7
|
+
Pe,
|
|
8
|
+
Re,
|
|
9
|
+
W,
|
|
10
|
+
X,
|
|
11
|
+
Y,
|
|
12
|
+
Z,
|
|
13
|
+
_e,
|
|
14
|
+
ee,
|
|
15
|
+
j,
|
|
16
|
+
ne,
|
|
17
|
+
re,
|
|
18
|
+
te,
|
|
19
|
+
z
|
|
20
|
+
} from "./tool-yq5jph4h.js";
|
|
21
|
+
import"./tool-qgqscsjc.js";
|
|
22
|
+
import"./tool-jd313s2x.js";
|
|
23
|
+
import"./tool-7haj67tr.js";
|
|
24
|
+
import"./tool-1de529jm.js";
|
|
25
|
+
export {
|
|
26
|
+
j as DEFAULT_ANNOTATION_CLAUSE_NAME,
|
|
27
|
+
W as DEFAULT_DECISION_NAME,
|
|
28
|
+
X as EMPTY_OUTPUT_TEXT,
|
|
29
|
+
Pe as FEEL_NAME_CHAR,
|
|
30
|
+
z as MAESTRO_EXPORTER,
|
|
31
|
+
K as createBusinessRuleIdentity,
|
|
32
|
+
Y as createNewBusinessRuleModel,
|
|
33
|
+
Ie as createSeededBusinessRuleModel,
|
|
34
|
+
Me as expressionRoot,
|
|
35
|
+
ne as inputDataIdentifier,
|
|
36
|
+
Re as isEmptyOutputText,
|
|
37
|
+
J as isFeelIdentifier,
|
|
38
|
+
_e as normalizeIdentifierPath,
|
|
39
|
+
ee as outputArgumentName,
|
|
40
|
+
Z as outputNameFromLabel,
|
|
41
|
+
re as reconcileInputData,
|
|
42
|
+
te as resolvedIdentifier,
|
|
43
|
+
Ce as resultIsKeyedByClause
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
//# debugId=3589D3858F0082AD64756E2164756E21
|
package/dist/{KieDmnMarshaller-6TTUU5B4-47q50gk4.js → KieDmnMarshaller-LGE63WDG-3vemswef.js}
RENAMED
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
Rs,
|
|
6
6
|
bs,
|
|
7
7
|
hs
|
|
8
|
-
} from "./tool-
|
|
8
|
+
} from "./tool-h7gn1rar.js";
|
|
9
9
|
import"./tool-7haj67tr.js";
|
|
10
10
|
import"./tool-1de529jm.js";
|
|
11
11
|
export {
|
|
@@ -17,4 +17,4 @@ export {
|
|
|
17
17
|
Is as refusalToWriteBack
|
|
18
18
|
};
|
|
19
19
|
|
|
20
|
-
//# debugId=
|
|
20
|
+
//# debugId=ABE94C41DA81468D64756E2164756E21
|
|
@@ -5,7 +5,7 @@ compiled into its `dist/` output rather than installed alongside it.
|
|
|
5
5
|
Their licences and copyright notices are reproduced here in full, as
|
|
6
6
|
those licences require.
|
|
7
7
|
|
|
8
|
-
|
|
8
|
+
41 bundled dependencies:
|
|
9
9
|
|
|
10
10
|
- @bpmn-io/dmn-migrate@0.5.0 — MIT
|
|
11
11
|
- @bpmn-io/feel-analyzer@0.5.1 — MIT
|
|
@@ -15,8 +15,8 @@ those licences require.
|
|
|
15
15
|
- @lezer/common@1.5.3 — MIT
|
|
16
16
|
- @lezer/highlight@1.2.5 — MIT
|
|
17
17
|
- @lezer/lr@1.4.10 — MIT
|
|
18
|
-
- @uipath/dmn-editor-utils@0.
|
|
19
|
-
- @uipath/resource-builder-sdk@2025.11.0-
|
|
18
|
+
- @uipath/dmn-editor-utils@0.1201.7 — SEE LICENSE IN LICENSE.txt
|
|
19
|
+
- @uipath/resource-builder-sdk@2025.11.0-alpha6584-4367 — ISC
|
|
20
20
|
- @xmldom/xmldom@0.9.12 — MIT
|
|
21
21
|
- bundle-name@4.1.0 — MIT
|
|
22
22
|
- commander@14.0.3 — MIT
|
|
@@ -33,9 +33,10 @@ those licences require.
|
|
|
33
33
|
- is-wsl@3.1.1 — MIT
|
|
34
34
|
- jmespath@0.16.0 — Apache-2.0
|
|
35
35
|
- js-yaml@4.3.2 — MIT
|
|
36
|
-
-
|
|
36
|
+
- luxon@3.7.2 — MIT
|
|
37
37
|
- min-dash@3.8.1 — MIT
|
|
38
38
|
- min-dash@4.2.3 — MIT
|
|
39
|
+
- min-dash@5.1.0 — MIT
|
|
39
40
|
- moddle@5.0.4 — MIT
|
|
40
41
|
- moddle-xml@9.0.6 — MIT
|
|
41
42
|
- open@11.0.0 — MIT
|
|
@@ -270,7 +271,7 @@ THE SOFTWARE.
|
|
|
270
271
|
|
|
271
272
|
---
|
|
272
273
|
|
|
273
|
-
## @uipath/dmn-editor-utils@0.
|
|
274
|
+
## @uipath/dmn-editor-utils@0.1201.7
|
|
274
275
|
|
|
275
276
|
SPDX: SEE LICENSE IN LICENSE.txt
|
|
276
277
|
|
|
@@ -282,7 +283,7 @@ Use of this product is subject (a) to the applicable licensing agreement availab
|
|
|
282
283
|
|
|
283
284
|
---
|
|
284
285
|
|
|
285
|
-
## @uipath/resource-builder-sdk@2025.11.0-
|
|
286
|
+
## @uipath/resource-builder-sdk@2025.11.0-alpha6584-4367
|
|
286
287
|
|
|
287
288
|
SPDX: ISC
|
|
288
289
|
|
|
@@ -656,7 +657,23 @@ THE SOFTWARE.
|
|
|
656
657
|
|
|
657
658
|
---
|
|
658
659
|
|
|
659
|
-
##
|
|
660
|
+
## luxon@3.7.2
|
|
661
|
+
|
|
662
|
+
SPDX: MIT
|
|
663
|
+
|
|
664
|
+
```
|
|
665
|
+
Copyright 2019 JS Foundation and other contributors
|
|
666
|
+
|
|
667
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
668
|
+
|
|
669
|
+
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
|
|
670
|
+
|
|
671
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|
672
|
+
```
|
|
673
|
+
|
|
674
|
+
---
|
|
675
|
+
|
|
676
|
+
## min-dash@3.8.1
|
|
660
677
|
|
|
661
678
|
SPDX: MIT
|
|
662
679
|
|
|
@@ -686,7 +703,7 @@ THE SOFTWARE.
|
|
|
686
703
|
|
|
687
704
|
---
|
|
688
705
|
|
|
689
|
-
## min-dash@
|
|
706
|
+
## min-dash@4.2.3
|
|
690
707
|
|
|
691
708
|
SPDX: MIT
|
|
692
709
|
|
|
@@ -716,7 +733,7 @@ THE SOFTWARE.
|
|
|
716
733
|
|
|
717
734
|
---
|
|
718
735
|
|
|
719
|
-
## min-dash@
|
|
736
|
+
## min-dash@5.1.0
|
|
720
737
|
|
|
721
738
|
SPDX: MIT
|
|
722
739
|
|
|
@@ -7,10 +7,10 @@ import {
|
|
|
7
7
|
formatVersion,
|
|
8
8
|
resolveRequiredFolder,
|
|
9
9
|
ruleNotFound
|
|
10
|
-
} from "./tool-
|
|
11
|
-
import"./tool-
|
|
12
|
-
import"./tool-
|
|
13
|
-
import"./tool-
|
|
10
|
+
} from "./tool-fbmxx07c.js";
|
|
11
|
+
import"./tool-txp5th7j.js";
|
|
12
|
+
import"./tool-t4k013ex.js";
|
|
13
|
+
import"./tool-wf2qkrye.js";
|
|
14
14
|
import"./tool-1de529jm.js";
|
|
15
15
|
export {
|
|
16
16
|
assertOneFolderOption,
|
|
@@ -1,29 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
} from "./tool-
|
|
7
|
-
import"./tool-
|
|
2
|
+
Fi,
|
|
3
|
+
Kt,
|
|
4
|
+
ji,
|
|
5
|
+
zi
|
|
6
|
+
} from "./tool-fk8rznma.js";
|
|
7
|
+
import"./tool-h7gn1rar.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./tool-
|
|
12
|
-
import"./tool-
|
|
13
|
-
import"./tool-jd313s2x.js";
|
|
9
|
+
Ie,
|
|
10
|
+
W
|
|
11
|
+
} from "./tool-yq5jph4h.js";
|
|
12
|
+
import"./tool-86f1xpxn.js";
|
|
14
13
|
import"./tool-qgqscsjc.js";
|
|
14
|
+
import"./tool-z1ay3csx.js";
|
|
15
|
+
import"./tool-jd313s2x.js";
|
|
15
16
|
import"./tool-7haj67tr.js";
|
|
16
17
|
import"./tool-1de529jm.js";
|
|
17
18
|
|
|
18
19
|
// ../../node_modules/@uipath/dmn-editor-utils/dist/constants.js
|
|
19
20
|
var m = { x: 32, y: 176 };
|
|
20
|
-
var
|
|
21
|
-
let n =
|
|
22
|
-
return e?.["dc:Bounds"] && (e["dc:Bounds"]["@_x"] = m.x, e["dc:Bounds"]["@_y"] = m.y),
|
|
21
|
+
var _ = (u = W, a = "decision-table") => {
|
|
22
|
+
let n = Ie(u), { document: t } = zi(n, Fi(), a), c = n.inputData[0]?.id, e = (t.definitions["dmndi:DMNDI"]?.["dmndi:DMNDiagram"]?.[0]?.["dmndi:DMNDiagramElement"] ?? []).find((D) => D["@_dmnElementRef"] === c);
|
|
23
|
+
return e?.["dc:Bounds"] && (e["dc:Bounds"]["@_x"] = m.x, e["dc:Bounds"]["@_y"] = m.y), ji(t);
|
|
23
24
|
};
|
|
24
25
|
export {
|
|
25
|
-
|
|
26
|
-
|
|
26
|
+
Kt as UNINITIALIZED_BUSINESS_RULE_DMN,
|
|
27
|
+
_ as createNewBusinessRuleDmn
|
|
27
28
|
};
|
|
28
29
|
|
|
29
|
-
//# debugId=
|
|
30
|
+
//# debugId=ACA56A1803162B6464756E2164756E21
|