@uipath/maestro-builder-sdk 6.85.4 → 6.85.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.
- package/dist/bpmn/check.js +15 -5
- package/dist/bpmn/typed-node.d.ts +28 -0
- package/dist/bpmn/typed-node.js +45 -14
- package/dist/core-definitions.json +158 -96
- package/package.json +2 -2
package/dist/bpmn/check.js
CHANGED
|
@@ -2,7 +2,7 @@ import { allNodes, collectSerializerRefusals, folderCompanionKeys, implicitNodeV
|
|
|
2
2
|
import { KNOWN_METHOD_SET } from './known-methods.js';
|
|
3
3
|
import { EQUALS_EXPR_DIALECT, checkConnectorLookups, checkConnectorResources, checkConnectorSchema, } from '../core/connector-checks.js';
|
|
4
4
|
import { checkEventResolution, checkEventSubscription, eventParamsFor, } from '../core/event-checks.js';
|
|
5
|
-
import { bindingRequiredFields, CASE_RUNTIME_INTERNAL_TYPES, CONNECTOR_ACTIVITY_TYPES, missingRequiredContext, missingRequiredInputs, REGISTRY_GAPS, registryType, } from './typed-node.js';
|
|
5
|
+
import { bindingRequiredFields, CASE_RUNTIME_INTERNAL_TYPES, CONNECTOR_ACTIVITY_TYPES, missingRequiredContext, missingRequiredInputs, platformEnforcesRequired, REGISTRY_GAPS, registryType, } from './typed-node.js';
|
|
6
6
|
import { ownEntry } from '../core/own-entry.js';
|
|
7
7
|
import { isManagedHttpV2, managedHttpAbsoluteUrl, managedHttpMissing } from './managed-http.js';
|
|
8
8
|
import { connectorV2Missing, isConnectorV2 } from './connector.js';
|
|
@@ -1499,11 +1499,21 @@ inEventSubProcess = false) {
|
|
|
1499
1499
|
: connectorV2
|
|
1500
1500
|
? connectorV2Missing(n.type, contextNames)
|
|
1501
1501
|
: missingRequiredContext(n.type, contextNames, n.spec);
|
|
1502
|
+
// ERROR only where `uip maestro bpmn validate` holds the node to the field; a WARNING
|
|
1503
|
+
// where only the registry calls it required. For a type whose payload the canvas
|
|
1504
|
+
// owns (dynamic, or a discovered `Intsvc.*` type) the CLI skips the required check,
|
|
1505
|
+
// so an error here refused files the platform accepts: Studio Web's own triggers
|
|
1506
|
+
// (no `connectionId` input, they write a `connection` context row) and its
|
|
1507
|
+
// `Intsvc.*Execution` nodes (#1679). See `platformEnforcesRequired`. A V2 connector
|
|
1508
|
+
// node is judged by its own contract (`connectorV2Missing`), which stays an error.
|
|
1509
|
+
const enforced = platformEnforcesRequired(n.type, contextNames, n.spec);
|
|
1510
|
+
const notEnforcedNote = ' `uip maestro bpmn validate` does not require it for this type, so check only warns.';
|
|
1502
1511
|
for (const field of requiredContext) {
|
|
1512
|
+
const gate = managedHttp || connectorV2 || enforced.context;
|
|
1503
1513
|
diags.push({
|
|
1504
|
-
level: 'error',
|
|
1514
|
+
level: gate ? 'error' : 'warning',
|
|
1505
1515
|
code: 'EMPTY_REQUIRED_FIELD',
|
|
1506
|
-
message: `"${n.id}" (${n.type}) is missing required field "${field}"
|
|
1516
|
+
message: `"${n.id}" (${n.type}) is missing required field "${field}".${gate ? '' : notEnforcedNote}`,
|
|
1507
1517
|
where: n.id,
|
|
1508
1518
|
});
|
|
1509
1519
|
}
|
|
@@ -1527,9 +1537,9 @@ inEventSubProcess = false) {
|
|
|
1527
1537
|
inputView[row.name] = row.value ?? row.body ?? '';
|
|
1528
1538
|
for (const field of connectorV2 ? [] : missingRequiredInputs(n.type, inputView, contextNames, n.spec)) {
|
|
1529
1539
|
diags.push({
|
|
1530
|
-
level: 'error',
|
|
1540
|
+
level: enforced.inputs ? 'error' : 'warning',
|
|
1531
1541
|
code: 'EMPTY_REQUIRED_FIELD',
|
|
1532
|
-
message: `"${n.id}" (${n.type}) is missing required input "${field}"
|
|
1542
|
+
message: `"${n.id}" (${n.type}) is missing required input "${field}".${enforced.inputs ? '' : notEnforcedNote}`,
|
|
1533
1543
|
where: n.id,
|
|
1534
1544
|
});
|
|
1535
1545
|
}
|
|
@@ -472,6 +472,34 @@ export declare function createExtensionPayload(m: BpmnModdle, type: string, rows
|
|
|
472
472
|
* @returns Its fields that must be bound, with the target each binding needs.
|
|
473
473
|
*/
|
|
474
474
|
export declare function bindingRequiredFields(type: string, inline?: RegistryTypeSpec): RegistryContextField[];
|
|
475
|
+
/**
|
|
476
|
+
* Whether `uip maestro bpmn validate` holds a node to the registry's required fields.
|
|
477
|
+
*
|
|
478
|
+
* The CLI's contract half (`validateContext` / `validateInputs`) skips the required
|
|
479
|
+
* check for a type whose payload the canvas owns: one the registry marks `isDynamic`,
|
|
480
|
+
* or an `Intsvc.*` type that `requiresDiscovery` (its fields are discovered from the
|
|
481
|
+
* connector at design time). The one exception is a V1 `Intsvc.ActivityExecution`
|
|
482
|
+
* (`activityConfigurationVersion` absent or `v1`), whose context IS held to the
|
|
483
|
+
* contract. `check` reads the same two flags from the snapshot, so it errors exactly
|
|
484
|
+
* where the CLI refuses, and warns where only the registry says "required".
|
|
485
|
+
*
|
|
486
|
+
* Known limit: the CLI also reads a process-level `uipath:intsvcActivityConfig`
|
|
487
|
+
* version for an unversioned node. The built model does not carry that marker, so an
|
|
488
|
+
* unversioned node here counts as V1, which is the stricter reading (#1691).
|
|
489
|
+
*
|
|
490
|
+
* @param type - The extension type.
|
|
491
|
+
* @param context - The node's context values (for `activityConfigurationVersion`).
|
|
492
|
+
* @returns `context` and `inputs`: whether each half's required fields are enforced.
|
|
493
|
+
*/
|
|
494
|
+
export declare function platformEnforcesRequired(type: string, context?: Record<string, unknown>, inline?: RegistryTypeSpec): {
|
|
495
|
+
context: boolean;
|
|
496
|
+
inputs: boolean;
|
|
497
|
+
};
|
|
498
|
+
/**
|
|
499
|
+
* True for an `Intsvc.ActivityExecution` whose own version is V1 — absent or `v1`, as
|
|
500
|
+
* the CLI's `isIntsvcActivityExecutionV1` reads it.
|
|
501
|
+
*/
|
|
502
|
+
export declare function isActivityExecutionV1(type: string, context?: Record<string, unknown>): boolean;
|
|
475
503
|
/**
|
|
476
504
|
* Required context fields the author left unset and the registry cannot default.
|
|
477
505
|
*
|
package/dist/bpmn/typed-node.js
CHANGED
|
@@ -123,21 +123,18 @@ export const REGISTRY_GAPS = {
|
|
|
123
123
|
// that they are undeclared and wrong that they are invalid — recorded here rather
|
|
124
124
|
// than by loosening the guard, which is what catches an author's typo.
|
|
125
125
|
// `requiredContext` — context fields the PLATFORM requires and the registry
|
|
126
|
-
// snapshot does not mark required (or
|
|
126
|
+
// snapshot does not mark required (or does not declare at all). Empty today.
|
|
127
127
|
//
|
|
128
|
-
// `Intsvc.ActivityExecution`
|
|
129
|
-
//
|
|
130
|
-
//
|
|
131
|
-
//
|
|
132
|
-
//
|
|
133
|
-
//
|
|
134
|
-
//
|
|
135
|
-
//
|
|
136
|
-
//
|
|
137
|
-
|
|
138
|
-
// required-field set the canvas validator carries against the snapshot's, over every
|
|
139
|
-
// type both know, and asserts the only difference is what this table records.
|
|
140
|
-
'Intsvc.ActivityExecution': { extraContext: ['activity', 'resourceKey'], requiredContext: ['activity'] },
|
|
128
|
+
// `Intsvc.ActivityExecution`'s `activity` used to be recorded here, on a 2026-09-28
|
|
129
|
+
// measurement (`EMPTY_REQUIRED_FIELD: The field 'activity' … is required`). It no
|
|
130
|
+
// longer holds: on uip 1.205.0, and on the `@uipath/maestro-validation` the tests
|
|
131
|
+
// pin, a node with `activity` blank or absent validates. The canvas rule now reads
|
|
132
|
+
// `required` off the XML row, not the design schema, and the CLI's contract half
|
|
133
|
+
// does not list `activity` at all. 380 Studio Web-written nodes in the production
|
|
134
|
+
// corpus carry no `activity` and validate; `check` refused every one (#1679). The
|
|
135
|
+
// SDK still WRITES it (`.activity()` fills it from `operation`); it just does not
|
|
136
|
+
// demand it of a file that lacks it.
|
|
137
|
+
'Intsvc.ActivityExecution': { extraContext: ['activity', 'resourceKey'] },
|
|
141
138
|
// `outputRowsFixed` — the type permits EXACTLY the output row its spec declares.
|
|
142
139
|
// A mapped second row is refused:
|
|
143
140
|
//
|
|
@@ -715,6 +712,40 @@ function moddleElementOf(element) {
|
|
|
715
712
|
export function bindingRequiredFields(type, inline) {
|
|
716
713
|
return registryType(type, inline).context.filter((f) => f.bindingInfo !== null && f.required);
|
|
717
714
|
}
|
|
715
|
+
/**
|
|
716
|
+
* Whether `uip maestro bpmn validate` holds a node to the registry's required fields.
|
|
717
|
+
*
|
|
718
|
+
* The CLI's contract half (`validateContext` / `validateInputs`) skips the required
|
|
719
|
+
* check for a type whose payload the canvas owns: one the registry marks `isDynamic`,
|
|
720
|
+
* or an `Intsvc.*` type that `requiresDiscovery` (its fields are discovered from the
|
|
721
|
+
* connector at design time). The one exception is a V1 `Intsvc.ActivityExecution`
|
|
722
|
+
* (`activityConfigurationVersion` absent or `v1`), whose context IS held to the
|
|
723
|
+
* contract. `check` reads the same two flags from the snapshot, so it errors exactly
|
|
724
|
+
* where the CLI refuses, and warns where only the registry says "required".
|
|
725
|
+
*
|
|
726
|
+
* Known limit: the CLI also reads a process-level `uipath:intsvcActivityConfig`
|
|
727
|
+
* version for an unversioned node. The built model does not carry that marker, so an
|
|
728
|
+
* unversioned node here counts as V1, which is the stricter reading (#1691).
|
|
729
|
+
*
|
|
730
|
+
* @param type - The extension type.
|
|
731
|
+
* @param context - The node's context values (for `activityConfigurationVersion`).
|
|
732
|
+
* @returns `context` and `inputs`: whether each half's required fields are enforced.
|
|
733
|
+
*/
|
|
734
|
+
export function platformEnforcesRequired(type, context = {}, inline) {
|
|
735
|
+
const spec = registryType(type, inline);
|
|
736
|
+
const canvasOwned = spec.isDynamic === true || (type.startsWith('Intsvc.') && spec.requiresDiscovery);
|
|
737
|
+
return { context: !canvasOwned || isActivityExecutionV1(type, context), inputs: !canvasOwned };
|
|
738
|
+
}
|
|
739
|
+
/**
|
|
740
|
+
* True for an `Intsvc.ActivityExecution` whose own version is V1 — absent or `v1`, as
|
|
741
|
+
* the CLI's `isIntsvcActivityExecutionV1` reads it.
|
|
742
|
+
*/
|
|
743
|
+
export function isActivityExecutionV1(type, context = {}) {
|
|
744
|
+
if (type !== 'Intsvc.ActivityExecution')
|
|
745
|
+
return false;
|
|
746
|
+
const version = context.activityConfigurationVersion;
|
|
747
|
+
return version === undefined || version === null || version === '' || version === 'v1';
|
|
748
|
+
}
|
|
718
749
|
/**
|
|
719
750
|
* Required context fields the author left unset and the registry cannot default.
|
|
720
751
|
*
|
|
@@ -1985,6 +1985,21 @@
|
|
|
1985
1985
|
"type": "jsonSchema",
|
|
1986
1986
|
"elementId": "{nodeId}",
|
|
1987
1987
|
"custom": true
|
|
1988
|
+
},
|
|
1989
|
+
{
|
|
1990
|
+
"condition": "hasEdgeFromHandle('error')",
|
|
1991
|
+
"id": "{nodeId}.error",
|
|
1992
|
+
"name": "error",
|
|
1993
|
+
"type": "jsonSchema",
|
|
1994
|
+
"elementId": "{nodeId}",
|
|
1995
|
+
"custom": true
|
|
1996
|
+
},
|
|
1997
|
+
{
|
|
1998
|
+
"condition": "!hasEdgeFromHandle('error')",
|
|
1999
|
+
"id": "{nodeId}.boundaryError",
|
|
2000
|
+
"name": "Error",
|
|
2001
|
+
"type": "jsonSchema",
|
|
2002
|
+
"elementId": "_Implicit_SubprocessBoundaryError_{nodeId}"
|
|
1988
2003
|
}
|
|
1989
2004
|
],
|
|
1990
2005
|
"nodes": [
|
|
@@ -2017,14 +2032,14 @@
|
|
|
2017
2032
|
{
|
|
2018
2033
|
"name": "output",
|
|
2019
2034
|
"type": "jsonSchema",
|
|
2020
|
-
"source": "
|
|
2035
|
+
"source": "=vars.response",
|
|
2021
2036
|
"var": "{nodeId}.output",
|
|
2022
2037
|
"custom": true
|
|
2023
2038
|
},
|
|
2024
2039
|
{
|
|
2025
|
-
"name": "
|
|
2040
|
+
"name": "Error",
|
|
2026
2041
|
"type": "jsonSchema",
|
|
2027
|
-
"source": "
|
|
2042
|
+
"source": "=vars.error",
|
|
2028
2043
|
"var": "{nodeId}.error",
|
|
2029
2044
|
"custom": true
|
|
2030
2045
|
}
|
|
@@ -2114,33 +2129,6 @@
|
|
|
2114
2129
|
}
|
|
2115
2130
|
}
|
|
2116
2131
|
},
|
|
2117
|
-
{
|
|
2118
|
-
"id": "_Implicit_Gateway_{nodeId}",
|
|
2119
|
-
"type": "bpmn:ExclusiveGateway",
|
|
2120
|
-
"parentId": "{nodeId}",
|
|
2121
|
-
"position": {
|
|
2122
|
-
"x": 0,
|
|
2123
|
-
"y": 0
|
|
2124
|
-
},
|
|
2125
|
-
"condition": "node.data.inputs.branches.length > 0",
|
|
2126
|
-
"data": {
|
|
2127
|
-
"label": "Response Branch",
|
|
2128
|
-
"defaultFlowId": "_Implicit_Edge__Implicit_Gateway_{nodeId}__Implicit_EndEvent_Default_{nodeId}"
|
|
2129
|
-
}
|
|
2130
|
-
},
|
|
2131
|
-
{
|
|
2132
|
-
"forEach": "node.data.inputs.branches",
|
|
2133
|
-
"id": "_Implicit_EndEvent_{branchName}_{nodeId}",
|
|
2134
|
-
"type": "bpmn:EndEvent",
|
|
2135
|
-
"parentId": "{nodeId}",
|
|
2136
|
-
"position": {
|
|
2137
|
-
"x": 0,
|
|
2138
|
-
"y": 0
|
|
2139
|
-
},
|
|
2140
|
-
"data": {
|
|
2141
|
-
"label": "{branch.name}"
|
|
2142
|
-
}
|
|
2143
|
-
},
|
|
2144
2132
|
{
|
|
2145
2133
|
"id": "_Implicit_EndEvent_Default_{nodeId}",
|
|
2146
2134
|
"type": "bpmn:EndEvent",
|
|
@@ -2163,19 +2151,7 @@
|
|
|
2163
2151
|
"y": 0
|
|
2164
2152
|
},
|
|
2165
2153
|
"data": {
|
|
2166
|
-
"label": "Failure"
|
|
2167
|
-
"model": {
|
|
2168
|
-
"serviceType": "BPMN.Variables",
|
|
2169
|
-
"outputs": [
|
|
2170
|
-
{
|
|
2171
|
-
"name": "error",
|
|
2172
|
-
"type": "boolean",
|
|
2173
|
-
"source": "=true",
|
|
2174
|
-
"var": "error",
|
|
2175
|
-
"internal": true
|
|
2176
|
-
}
|
|
2177
|
-
]
|
|
2178
|
-
}
|
|
2154
|
+
"label": "Failure"
|
|
2179
2155
|
}
|
|
2180
2156
|
},
|
|
2181
2157
|
{
|
|
@@ -2189,11 +2165,21 @@
|
|
|
2189
2165
|
},
|
|
2190
2166
|
"data": {
|
|
2191
2167
|
"label": "Error",
|
|
2192
|
-
"cancelActivity": false,
|
|
2193
2168
|
"attachedToId": "_Implicit_HttpTask_{nodeId}",
|
|
2194
2169
|
"eventDefinition": {
|
|
2195
2170
|
"type": "bpmn:ErrorEventDefinition",
|
|
2196
2171
|
"id": "_Implicit_BoundaryError_{nodeId}_Error"
|
|
2172
|
+
},
|
|
2173
|
+
"model": {
|
|
2174
|
+
"outputs": [
|
|
2175
|
+
{
|
|
2176
|
+
"name": "Error",
|
|
2177
|
+
"type": "jsonSchema",
|
|
2178
|
+
"source": "=Error",
|
|
2179
|
+
"var": "error",
|
|
2180
|
+
"internal": true
|
|
2181
|
+
}
|
|
2182
|
+
]
|
|
2197
2183
|
}
|
|
2198
2184
|
}
|
|
2199
2185
|
}
|
|
@@ -2207,43 +2193,12 @@
|
|
|
2207
2193
|
"data": {}
|
|
2208
2194
|
},
|
|
2209
2195
|
{
|
|
2210
|
-
"condition": "node.data.inputs.branches.length === 0",
|
|
2211
2196
|
"id": "_Implicit_Edge__Implicit_HttpTask_{nodeId}__Implicit_EndEvent_Default_{nodeId}",
|
|
2212
2197
|
"source": "_Implicit_HttpTask_{nodeId}",
|
|
2213
2198
|
"target": "_Implicit_EndEvent_Default_{nodeId}",
|
|
2214
2199
|
"type": "bpmn:SequenceFlow",
|
|
2215
2200
|
"data": {}
|
|
2216
2201
|
},
|
|
2217
|
-
{
|
|
2218
|
-
"condition": "node.data.inputs.branches.length > 0",
|
|
2219
|
-
"id": "_Implicit_Edge__Implicit_HttpTask_{nodeId}__Implicit_Gateway_{nodeId}",
|
|
2220
|
-
"source": "_Implicit_HttpTask_{nodeId}",
|
|
2221
|
-
"target": "_Implicit_Gateway_{nodeId}",
|
|
2222
|
-
"type": "bpmn:SequenceFlow",
|
|
2223
|
-
"data": {}
|
|
2224
|
-
},
|
|
2225
|
-
{
|
|
2226
|
-
"forEach": "node.data.inputs.branches",
|
|
2227
|
-
"condition": "node.data.inputs.branches.length > 0",
|
|
2228
|
-
"id": "_Implicit_Edge__Implicit_Gateway_{nodeId}__Implicit_EndEvent_{branchName}_{nodeId}",
|
|
2229
|
-
"source": "_Implicit_Gateway_{nodeId}",
|
|
2230
|
-
"target": "_Implicit_EndEvent_{branchName}_{nodeId}",
|
|
2231
|
-
"type": "bpmn:SequenceFlow",
|
|
2232
|
-
"data": {
|
|
2233
|
-
"conditionExpression": "{branch.conditionExpression}",
|
|
2234
|
-
"label": "{branch.name}"
|
|
2235
|
-
}
|
|
2236
|
-
},
|
|
2237
|
-
{
|
|
2238
|
-
"condition": "node.data.inputs.branches.length > 0",
|
|
2239
|
-
"id": "_Implicit_Edge__Implicit_Gateway_{nodeId}__Implicit_EndEvent_Default_{nodeId}",
|
|
2240
|
-
"source": "_Implicit_Gateway_{nodeId}",
|
|
2241
|
-
"target": "_Implicit_EndEvent_Default_{nodeId}",
|
|
2242
|
-
"type": "bpmn:SequenceFlow",
|
|
2243
|
-
"data": {
|
|
2244
|
-
"label": "Default"
|
|
2245
|
-
}
|
|
2246
|
-
},
|
|
2247
2202
|
{
|
|
2248
2203
|
"condition": "hasEdgeFromHandle('error')",
|
|
2249
2204
|
"id": "_Implicit_Edge__Implicit_BoundaryError_{nodeId}__Implicit_EndEvent_Failure_{nodeId}",
|
|
@@ -2254,6 +2209,34 @@
|
|
|
2254
2209
|
}
|
|
2255
2210
|
]
|
|
2256
2211
|
},
|
|
2212
|
+
{
|
|
2213
|
+
"condition": "!hasEdgeFromHandle('error')",
|
|
2214
|
+
"id": "_Implicit_SubprocessBoundaryError_{nodeId}",
|
|
2215
|
+
"type": "bpmn:BoundaryEvent",
|
|
2216
|
+
"parentId": null,
|
|
2217
|
+
"position": {
|
|
2218
|
+
"x": 0,
|
|
2219
|
+
"y": 0
|
|
2220
|
+
},
|
|
2221
|
+
"data": {
|
|
2222
|
+
"label": "",
|
|
2223
|
+
"attachedToId": "{nodeId}",
|
|
2224
|
+
"eventDefinition": {
|
|
2225
|
+
"type": "bpmn:ErrorEventDefinition",
|
|
2226
|
+
"id": "_Implicit_SubprocessBoundaryError_{nodeId}_Error"
|
|
2227
|
+
},
|
|
2228
|
+
"model": {
|
|
2229
|
+
"outputs": [
|
|
2230
|
+
{
|
|
2231
|
+
"name": "Error",
|
|
2232
|
+
"type": "jsonSchema",
|
|
2233
|
+
"source": "=Error",
|
|
2234
|
+
"var": "{nodeId}.boundaryError"
|
|
2235
|
+
}
|
|
2236
|
+
]
|
|
2237
|
+
}
|
|
2238
|
+
}
|
|
2239
|
+
},
|
|
2257
2240
|
{
|
|
2258
2241
|
"id": "_Implicit_PostSubprocessGateway_{nodeId}",
|
|
2259
2242
|
"type": "bpmn:ExclusiveGateway",
|
|
@@ -2306,7 +2289,7 @@
|
|
|
2306
2289
|
"source": "_Implicit_PostSubprocessGateway_{nodeId}",
|
|
2307
2290
|
"type": "bpmn:SequenceFlow",
|
|
2308
2291
|
"data": {
|
|
2309
|
-
"conditionExpression": "=js
|
|
2292
|
+
"conditionExpression": "=js:vars.{nodeId}.error != null || (vars.{nodeId}.output != null && vars.{nodeId}.output.statusCode >= 400)",
|
|
2310
2293
|
"label": "Error"
|
|
2311
2294
|
}
|
|
2312
2295
|
},
|
|
@@ -2508,7 +2491,7 @@
|
|
|
2508
2491
|
"value": "manual"
|
|
2509
2492
|
},
|
|
2510
2493
|
{
|
|
2511
|
-
"label": "API
|
|
2494
|
+
"label": "API definition",
|
|
2512
2495
|
"value": "apiDefinition"
|
|
2513
2496
|
}
|
|
2514
2497
|
]
|
|
@@ -2517,12 +2500,26 @@
|
|
|
2517
2500
|
"name": "inputs.swaggerDefinition",
|
|
2518
2501
|
"type": "custom",
|
|
2519
2502
|
"component": "http-swagger-section",
|
|
2520
|
-
"label": ""
|
|
2503
|
+
"label": "",
|
|
2504
|
+
"rules": [
|
|
2505
|
+
{
|
|
2506
|
+
"id": "show-swagger",
|
|
2507
|
+
"conditions": [
|
|
2508
|
+
{
|
|
2509
|
+
"when": "inputs.mode",
|
|
2510
|
+
"is": "apiDefinition"
|
|
2511
|
+
}
|
|
2512
|
+
],
|
|
2513
|
+
"effects": {
|
|
2514
|
+
"visible": true
|
|
2515
|
+
}
|
|
2516
|
+
}
|
|
2517
|
+
]
|
|
2521
2518
|
},
|
|
2522
2519
|
{
|
|
2523
2520
|
"name": "inputs.method",
|
|
2524
2521
|
"type": "select",
|
|
2525
|
-
"label": "HTTP
|
|
2522
|
+
"label": "HTTP method",
|
|
2526
2523
|
"options": [
|
|
2527
2524
|
{
|
|
2528
2525
|
"label": "GET",
|
|
@@ -2550,7 +2547,14 @@
|
|
|
2550
2547
|
"name": "inputs.url",
|
|
2551
2548
|
"type": "custom",
|
|
2552
2549
|
"component": "http-url-field",
|
|
2553
|
-
"label": "URL"
|
|
2550
|
+
"label": "URL",
|
|
2551
|
+
"componentProps": {
|
|
2552
|
+
"expressionValidationFields": [
|
|
2553
|
+
{
|
|
2554
|
+
"expectedType": "string"
|
|
2555
|
+
}
|
|
2556
|
+
]
|
|
2557
|
+
}
|
|
2554
2558
|
}
|
|
2555
2559
|
]
|
|
2556
2560
|
},
|
|
@@ -2564,11 +2568,10 @@
|
|
|
2564
2568
|
"name": "inputs.headers",
|
|
2565
2569
|
"type": "custom",
|
|
2566
2570
|
"component": "key-value-editor",
|
|
2567
|
-
"label": "HTTP
|
|
2571
|
+
"label": "HTTP headers",
|
|
2568
2572
|
"componentProps": {
|
|
2569
|
-
"keyLabel": "Header
|
|
2570
|
-
"valueLabel": "Header
|
|
2571
|
-
"keyDefault": "Content-Type",
|
|
2573
|
+
"keyLabel": "Header name",
|
|
2574
|
+
"valueLabel": "Header value",
|
|
2572
2575
|
"keyOptions": [
|
|
2573
2576
|
"Accept",
|
|
2574
2577
|
"Accept-Encoding",
|
|
@@ -2596,7 +2599,7 @@
|
|
|
2596
2599
|
},
|
|
2597
2600
|
{
|
|
2598
2601
|
"id": "parameters",
|
|
2599
|
-
"title": "Query
|
|
2602
|
+
"title": "Query parameters",
|
|
2600
2603
|
"collapsible": true,
|
|
2601
2604
|
"defaultExpanded": false,
|
|
2602
2605
|
"fields": [
|
|
@@ -2604,10 +2607,10 @@
|
|
|
2604
2607
|
"name": "inputs.queryParams",
|
|
2605
2608
|
"type": "custom",
|
|
2606
2609
|
"component": "key-value-editor",
|
|
2607
|
-
"label": "Query
|
|
2610
|
+
"label": "Query parameters",
|
|
2608
2611
|
"componentProps": {
|
|
2609
|
-
"keyLabel": "Parameter
|
|
2610
|
-
"valueLabel": "Parameter
|
|
2612
|
+
"keyLabel": "Parameter name",
|
|
2613
|
+
"valueLabel": "Parameter value"
|
|
2611
2614
|
}
|
|
2612
2615
|
}
|
|
2613
2616
|
]
|
|
@@ -2621,7 +2624,7 @@
|
|
|
2621
2624
|
{
|
|
2622
2625
|
"name": "inputs.contentType",
|
|
2623
2626
|
"type": "select",
|
|
2624
|
-
"label": "Content
|
|
2627
|
+
"label": "Content type",
|
|
2625
2628
|
"options": [
|
|
2626
2629
|
{
|
|
2627
2630
|
"label": "application/json",
|
|
@@ -2647,7 +2650,9 @@
|
|
|
2647
2650
|
"component": "code-editor",
|
|
2648
2651
|
"label": "Body",
|
|
2649
2652
|
"componentProps": {
|
|
2650
|
-
"language": "
|
|
2653
|
+
"language": "javascript",
|
|
2654
|
+
"mode": "expression",
|
|
2655
|
+
"expectedType": "any",
|
|
2651
2656
|
"minHeight": 150,
|
|
2652
2657
|
"placeholder": "{\n \"key\": \"value\"\n}"
|
|
2653
2658
|
}
|
|
@@ -2664,8 +2669,17 @@
|
|
|
2664
2669
|
"name": "inputs.branches",
|
|
2665
2670
|
"type": "custom",
|
|
2666
2671
|
"component": "http-branch-editor",
|
|
2667
|
-
"label": "Response
|
|
2668
|
-
"description": "Define conditional branches based on response status or properties"
|
|
2672
|
+
"label": "Response branches",
|
|
2673
|
+
"description": "Define conditional branches based on response status or properties",
|
|
2674
|
+
"componentProps": {
|
|
2675
|
+
"expressionValidationFields": [
|
|
2676
|
+
{
|
|
2677
|
+
"subPath": "conditionExpression",
|
|
2678
|
+
"validationMode": "expression",
|
|
2679
|
+
"expectedType": "boolean"
|
|
2680
|
+
}
|
|
2681
|
+
]
|
|
2682
|
+
}
|
|
2669
2683
|
}
|
|
2670
2684
|
]
|
|
2671
2685
|
},
|
|
@@ -2684,7 +2698,7 @@
|
|
|
2684
2698
|
{
|
|
2685
2699
|
"name": "inputs.retryCount",
|
|
2686
2700
|
"type": "number",
|
|
2687
|
-
"label": "Retry
|
|
2701
|
+
"label": "Retry count",
|
|
2688
2702
|
"description": "Number of times to retry on failure"
|
|
2689
2703
|
}
|
|
2690
2704
|
]
|
|
@@ -2695,7 +2709,7 @@
|
|
|
2695
2709
|
"core.action.http.v2@2.3": {
|
|
2696
2710
|
"nodeType": "core.action.http.v2",
|
|
2697
2711
|
"version": "2.3",
|
|
2698
|
-
"category": "
|
|
2712
|
+
"category": "connector",
|
|
2699
2713
|
"description": "HTTP request with managed authentication",
|
|
2700
2714
|
"tags": [
|
|
2701
2715
|
"connector",
|
|
@@ -3255,6 +3269,20 @@
|
|
|
3255
3269
|
"form": {
|
|
3256
3270
|
"id": "http-v2-properties",
|
|
3257
3271
|
"title": "HTTP Request",
|
|
3272
|
+
"metadata": {
|
|
3273
|
+
"propertyPanel": {
|
|
3274
|
+
"tabs": [
|
|
3275
|
+
{
|
|
3276
|
+
"id": "branching",
|
|
3277
|
+
"title": "Branching"
|
|
3278
|
+
}
|
|
3279
|
+
],
|
|
3280
|
+
"sectionTabs": {
|
|
3281
|
+
"branches": "branching",
|
|
3282
|
+
"advanced": "advanced"
|
|
3283
|
+
}
|
|
3284
|
+
}
|
|
3285
|
+
},
|
|
3258
3286
|
"sections": [
|
|
3259
3287
|
{
|
|
3260
3288
|
"id": "http-config",
|
|
@@ -4406,7 +4434,7 @@
|
|
|
4406
4434
|
"core.action.queue.create@1.2": {
|
|
4407
4435
|
"nodeType": "core.action.queue.create",
|
|
4408
4436
|
"version": "1.2",
|
|
4409
|
-
"category": "
|
|
4437
|
+
"category": "queue-tools",
|
|
4410
4438
|
"description": "Add an item to an Orchestrator queue",
|
|
4411
4439
|
"tags": [
|
|
4412
4440
|
"queue",
|
|
@@ -4438,6 +4466,16 @@
|
|
|
4438
4466
|
"id": "success",
|
|
4439
4467
|
"type": "source",
|
|
4440
4468
|
"handleType": "output"
|
|
4469
|
+
},
|
|
4470
|
+
{
|
|
4471
|
+
"id": "error",
|
|
4472
|
+
"label": "Error",
|
|
4473
|
+
"type": "source",
|
|
4474
|
+
"handleType": "output",
|
|
4475
|
+
"visible": "{inputs.errorHandlingEnabled}",
|
|
4476
|
+
"constraints": {
|
|
4477
|
+
"maxConnections": 1
|
|
4478
|
+
}
|
|
4441
4479
|
}
|
|
4442
4480
|
]
|
|
4443
4481
|
}
|
|
@@ -4571,6 +4609,13 @@
|
|
|
4571
4609
|
"form": {
|
|
4572
4610
|
"id": "create-queue-item-properties",
|
|
4573
4611
|
"title": "Create queue item",
|
|
4612
|
+
"metadata": {
|
|
4613
|
+
"propertyPanel": {
|
|
4614
|
+
"sectionTabs": {
|
|
4615
|
+
"advanced": "advanced"
|
|
4616
|
+
}
|
|
4617
|
+
}
|
|
4618
|
+
},
|
|
4574
4619
|
"sections": [
|
|
4575
4620
|
{
|
|
4576
4621
|
"id": "queue-selection",
|
|
@@ -4675,7 +4720,7 @@
|
|
|
4675
4720
|
"core.action.queue.create-and-wait@1.2": {
|
|
4676
4721
|
"nodeType": "core.action.queue.create-and-wait",
|
|
4677
4722
|
"version": "1.2",
|
|
4678
|
-
"category": "
|
|
4723
|
+
"category": "queue-tools",
|
|
4679
4724
|
"description": "Add a queue item and wait for it to complete",
|
|
4680
4725
|
"tags": [
|
|
4681
4726
|
"queue",
|
|
@@ -4708,6 +4753,16 @@
|
|
|
4708
4753
|
"id": "success",
|
|
4709
4754
|
"type": "source",
|
|
4710
4755
|
"handleType": "output"
|
|
4756
|
+
},
|
|
4757
|
+
{
|
|
4758
|
+
"id": "error",
|
|
4759
|
+
"label": "Error",
|
|
4760
|
+
"type": "source",
|
|
4761
|
+
"handleType": "output",
|
|
4762
|
+
"visible": "{inputs.errorHandlingEnabled}",
|
|
4763
|
+
"constraints": {
|
|
4764
|
+
"maxConnections": 1
|
|
4765
|
+
}
|
|
4711
4766
|
}
|
|
4712
4767
|
]
|
|
4713
4768
|
}
|
|
@@ -4841,6 +4896,13 @@
|
|
|
4841
4896
|
"form": {
|
|
4842
4897
|
"id": "create-and-wait-queue-item-properties",
|
|
4843
4898
|
"title": "Create and wait for queue item",
|
|
4899
|
+
"metadata": {
|
|
4900
|
+
"propertyPanel": {
|
|
4901
|
+
"sectionTabs": {
|
|
4902
|
+
"advanced": "advanced"
|
|
4903
|
+
}
|
|
4904
|
+
}
|
|
4905
|
+
},
|
|
4844
4906
|
"sections": [
|
|
4845
4907
|
{
|
|
4846
4908
|
"id": "queue-selection",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/maestro-builder-sdk",
|
|
3
|
-
"version": "6.85.
|
|
3
|
+
"version": "6.85.6",
|
|
4
4
|
"description": "Build UiPath Flow, Case, and BPMN artifacts by writing TypeScript.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"homepage": "https://docs.uipath.com/maestro",
|
|
@@ -103,5 +103,5 @@
|
|
|
103
103
|
"@types/node": "^22.7.0",
|
|
104
104
|
"esbuild": "^0.28.1"
|
|
105
105
|
},
|
|
106
|
-
"gitref": "
|
|
106
|
+
"gitref": "0b12c6420738a7e9b8170c19e47771a100040214"
|
|
107
107
|
}
|