@docmana/sdk 0.38.0 → 0.39.0
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/CHANGELOG.md +4 -0
- package/README.md +3 -0
- package/dist/authoring.d.ts +20 -0
- package/dist/cli.mjs +14 -0
- package/dist/cli.mjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +14 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +14 -0
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -133,6 +133,20 @@ var FormulaAuthoring = class {
|
|
|
133
133
|
get(id, options) {
|
|
134
134
|
return this.request("GET", `flows/${identity(id)}`, options);
|
|
135
135
|
}
|
|
136
|
+
registrySnapshot(id, options) {
|
|
137
|
+
return this.request("GET", `flows/${identity(id)}/rule-registry`, options);
|
|
138
|
+
}
|
|
139
|
+
ruleImpact(id, ruleId, options) {
|
|
140
|
+
return this.request("POST", `flows/${identity(id)}/rules/${identity(ruleId)}/impact`, options);
|
|
141
|
+
}
|
|
142
|
+
setRuleAssignment(id, ruleId, nodeId, body, options) {
|
|
143
|
+
return this.request(
|
|
144
|
+
"PATCH",
|
|
145
|
+
`flows/${identity(id)}/rules/${identity(ruleId)}/assignments/${identity(nodeId)}`,
|
|
146
|
+
options,
|
|
147
|
+
body
|
|
148
|
+
);
|
|
149
|
+
}
|
|
136
150
|
create(body, options) {
|
|
137
151
|
return this.request("POST", "flows", options, body);
|
|
138
152
|
}
|