@uipath/maestro-builder-sdk 6.85.4 → 6.85.5

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.
@@ -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": "=$vars.response",
2035
+ "source": "=vars.response",
2021
2036
  "var": "{nodeId}.output",
2022
2037
  "custom": true
2023
2038
  },
2024
2039
  {
2025
- "name": "error",
2040
+ "name": "Error",
2026
2041
  "type": "jsonSchema",
2027
- "source": "=$vars.error",
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:$vars.{nodeId}.error || $vars.{nodeId}.output?.statusCode >= 400",
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 Definition",
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 Method",
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 Headers",
2571
+ "label": "HTTP headers",
2568
2572
  "componentProps": {
2569
- "keyLabel": "Header Name",
2570
- "valueLabel": "Header Value",
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 Parameters",
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 Parameters",
2610
+ "label": "Query parameters",
2608
2611
  "componentProps": {
2609
- "keyLabel": "Parameter Name",
2610
- "valueLabel": "Parameter Value"
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 Type",
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": "json",
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 Branches",
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 Count",
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": "data-operations",
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": "data-operations",
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": "data-operations",
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.4",
3
+ "version": "6.85.5",
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": "04a7cb4ba4ed4854adb6e4838d4548e5851b2cc1"
106
+ "gitref": "a60a4c0ce7835f89af7abf7fdd2e6c05c0925789"
107
107
  }