@uipath/maestro-builder-sdk 6.122.8 → 6.122.9

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-api.md CHANGED
@@ -160,6 +160,8 @@ What every boundary handler on an ActivityBuilder accepts — `.onError()`, `.on
160
160
 
161
161
  Options for `.startEvent()`.
162
162
 
163
+ Extends `VariableUpdatesOpts` — its fields and methods apply here too.
164
+
163
165
  - `StartOpts.name?: string` — Display name the designer shows on the event.
164
166
  - `StartOpts.message?: MessageLike` — Start when this message arrives — declares/reuses a definitions-level `bpmn:message`; `NO_MESSAGE` for none — see…
165
167
  - `StartOpts.error?: ErrorLike` — Catch an error — an INTERRUPTING error start event (`bpmn:errorEventDefinition`), declaring/reusing a definitions-level…
@@ -173,6 +175,8 @@ Options for `.startEvent()`.
173
175
 
174
176
  Options for `.endEvent()`.
175
177
 
178
+ Extends `VariableUpdatesOpts` — its fields and methods apply here too.
179
+
176
180
  - `EndOpts.name?: string` — Display name the designer shows on the event.
177
181
  - `EndOpts.terminate?: boolean` — End as a TERMINATE event — abort the whole process instance, not just this path.
178
182
  - `EndOpts.message?: MessageLike` — End by throwing this message — declares/reuses a definitions-level `bpmn:message`; `NO_MESSAGE` for none — see…
@@ -399,6 +403,7 @@ Extends `ActivityOpts` — its fields and methods apply here too.
399
403
  - `ActivityNodeOpts.inputs?: Record<string, unknown>` — The payload, shaped by the type's `inputPattern`.
400
404
  - `ActivityNodeOpts.inputRows?: TypedInputRow[]` — The payload rows spelled out, replacing `inputs` — see TypedInputRow.
401
405
  - `ActivityNodeOpts.spec?: RegistryTypeSpec` — The type's emission spec, supplied inline — the escape hatch for a registry type the committed snapshot does not carry…
406
+ - `ActivityNodeOpts.element?: PlainTaskElement` — The task element to write instead of the registry's, spelled as the XML is (`bpmn:serviceTask`).
402
407
  - `ActivityNodeOpts.outputVar?: string` — Variable the type's own output lands in.
403
408
  - `ActivityNodeOpts.outputs?: Record<string, string>` — Extra output rows: variable id → `=`-expression against the node's result.
404
409
  - `ActivityNodeOpts.outputRows?: TypedOutputRow[]` — The output rows spelled out, replacing `outputVar` and `outputs`.
@@ -471,10 +476,19 @@ Options for `.var()` / `.input()` / `.output()`.
471
476
  - `VarOpts.internal?: boolean` — The product's `internal="true"` flag: the platform owns this declaration, not the author — `internalCustomInstanceId`…
472
477
  - `VarOpts.subType?: string` — A refinement of `type` the designer carries, e.g. `subType="object"` on a `jsonSchema` variable that holds an object…
473
478
 
479
+ ### `VariableUpdatesOpts`
480
+
481
+ Variable updates on a node: the product's trailing `uipath:mapping` (`BPMN.Variables`, every row `custom="true"`) that…
482
+
483
+ - `VariableUpdatesOpts.updates?: Record<string, string>` — variable id -> the `=`-expression assigned to it after the node runs.
484
+ - `VariableUpdatesOpts.updateRows?: TypedOutputRow[]` — The update rows spelled out, in document order: what an import writes, so each row's own `type` and attributes survive.
485
+
474
486
  ### `ActivityOpts`
475
487
 
476
488
  What every ACTIVITY accepts, on top of its own options — a script task, a variable task, a connector task, a…
477
489
 
490
+ Extends `VariableUpdatesOpts` — its fields and methods apply here too.
491
+
478
492
  - `ActivityOpts.tags?: Record<string, string>` — `uipath:tags` on the activity — key/value pairs the designer carries alongside the node, as a SIBLING of its payload.
479
493
  - `ActivityOpts.retry?: RetrySpec` — Retry the activity when it fails — see RetrySpec.
480
494
  - `ActivityOpts.loop?: LoopSpec` — Run it once per item of a collection — see LoopSpec.
@@ -611,7 +625,7 @@ The built in-memory process graph `.build()` returns — the IR `serialize()` wa
611
625
 
612
626
  One node in the built graph — a discriminated union with one arm per BPMN element kind, which the serializer walks into…
613
627
 
614
- - `type BpmnNode` — 2732 characters; read it in the declaration ([`api-index.md`](api-index.md) has the span).
628
+ - `type BpmnNode` — 2799 characters; read it in the declaration ([`api-index.md`](api-index.md) has the span).
615
629
 
616
630
  ### `BpmnFlow`
617
631
 
@@ -878,6 +892,8 @@ The five gateway element kinds a BpmnNode can be.
878
892
 
879
893
  The fields every activity arm of BpmnNode carries — the built form of ActivityOpts.
880
894
 
895
+ Extends `VariableUpdatesOpts` — its fields and methods apply here too.
896
+
881
897
  - `ActivityNodeFields.tags?: Record<string, string>` — `uipath:tags` on the node — see ActivityOpts.tags.
882
898
  - `ActivityNodeFields.retry?: RetrySpec` — Retry policy (`uipath:retry`).
883
899
  - `ActivityNodeFields.loop?: LoopSpec` — Multi-instance loop (`bpmn:multiInstanceLoopCharacteristics` + `uipath:loopCharacteristics`).
@@ -952,6 +968,12 @@ One extension type's emission spec.
952
968
  - `RegistryTypeSpec.bindingPattern: string`
953
969
  - `RegistryTypeSpec.placements?: Record<string, { element: string | null; eventDefinition: string | null }>` — The registry's `Placements`: where the canvas offers the type, by placement name (`Activity`, `StartEvent`,…
954
970
 
971
+ ### `PlainTaskElement`
972
+
973
+ The BPMN activity elements the builder can write with NO `uipath:*` payload.
974
+
975
+ - `type PlainTaskElement` — 181 characters; read it in the declaration ([`api-index.md`](api-index.md) has the span).
976
+
955
977
  ### `EventFilter`
956
978
 
957
979
  One filter condition on the event payload.
@@ -960,12 +982,6 @@ Also takes every field of `({ contains: string; } | { startsWith: string; } | {
960
982
 
961
983
  - `EventFilter.field: string`
962
984
 
963
- ### `PlainTaskElement`
964
-
965
- The BPMN activity elements the builder can write with NO `uipath:*` payload.
966
-
967
- - `type PlainTaskElement` — 181 characters; read it in the declaration ([`api-index.md`](api-index.md) has the span).
968
-
969
985
  ### `VarDirection`
970
986
 
971
987
  How a variable is exposed: `'input'` (read-only entry input), `'output'` (a return value), or `'inputOutput'` (a mutable…
@@ -66,6 +66,7 @@ export declare const REFUSALS: {
66
66
  readonly BINDING_UNDECLARED: "draft";
67
67
  readonly BOUNDARY_NOT_ACTIVITY: "lint";
68
68
  readonly BOUNDARY_UNATTACHED: "lowering";
69
+ readonly BPMN_ACTIVITY_ELEMENT_INVALID: "lowering";
69
70
  readonly BPMN_ACTIVITY_SCRIPT_TASK_TYPE: "lowering";
70
71
  readonly BPMN_BINDING_READ_BEFORE_DECLARED: "lowering";
71
72
  readonly BPMN_BINDING_RESOURCE_KEY_CONFLICT: "lowering";
@@ -115,6 +115,7 @@ export const REFUSALS = {
115
115
  BINDING_UNDECLARED: 'draft',
116
116
  BOUNDARY_NOT_ACTIVITY: 'lint',
117
117
  BOUNDARY_UNATTACHED: 'lowering',
118
+ BPMN_ACTIVITY_ELEMENT_INVALID: 'lowering',
118
119
  BPMN_ACTIVITY_SCRIPT_TASK_TYPE: 'lowering',
119
120
  BPMN_BINDING_READ_BEFORE_DECLARED: 'lowering',
120
121
  BPMN_BINDING_RESOURCE_KEY_CONFLICT: 'lowering',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/maestro-builder-sdk",
3
- "version": "6.122.8",
3
+ "version": "6.122.9",
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",
@@ -126,5 +126,5 @@
126
126
  "@types/node": "^22.7.0",
127
127
  "esbuild": "^0.28.1"
128
128
  },
129
- "gitref": "a368d51e857af55e2abf26df247744a12bfcd983"
129
+ "gitref": "76511fd23b518ce60d8bfeb9c76573a12c33a3f3"
130
130
  }