@uipath/maestro-builder-sdk 6.96.0 → 6.96.1

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.
@@ -627,6 +627,26 @@ export interface ExtensionPayload {
627
627
  type: string;
628
628
  /** `uipath:output` rows, emitted exactly as given — see {@link TypedOutputRow}. */
629
629
  outputRows: TypedOutputRow[];
630
+ /**
631
+ * The payload's own tag — `'uipath:activity'`, `'uipath:event'` or `'uipath:mapping'` —
632
+ * for a `type` the registry snapshot does not list.
633
+ *
634
+ * A decoration needs nothing from the registry but its tag, and a brownfield file
635
+ * already says which tag it used. Decompile writes this for an unlisted type, such
636
+ * as a case trigger's `None` (`{ type: 'None', tag: 'uipath:activity', outputRows }`),
637
+ * so the recompile writes the same element without a registry entry. Ignored for a
638
+ * type the snapshot lists: the snapshot's tag wins. Without it an unlisted type still
639
+ * refuses with `BPMN_TYPE_UNKNOWN`.
640
+ *
641
+ * With `tag` set, the `type` NAME is not checked against anything: a misspelled type
642
+ * compiles, and the platform only warns about it. That is the point for a type the
643
+ * file already carries, and a trap for a new node, so `check` warns
644
+ * (`PAYLOAD_TYPE_NOT_CHECKED`) on every payload that relies on it, naming the type.
645
+ * Do not copy `tag` from decompiled source onto a node you author.
646
+ */
647
+ tag?: 'uipath:activity' | 'uipath:event' | 'uipath:mapping';
648
+ /** The `uipath:type` `version` attribute, when it is not `v1` — see `ActivityNodeOpts.typeVersion`. */
649
+ typeVersion?: string;
630
650
  }
631
651
  /**
632
652
  * Options for `.startEvent()`. At most one of `message` / `timer` picks the
@@ -22,7 +22,7 @@ import { refreshConnectionDiagnostics } from './refresh-connections.js';
22
22
  import { KNOWN_METHOD_SET } from './known-methods.js';
23
23
  import { EQUALS_EXPR_DIALECT, checkConnectorLookups, checkConnectorResources, checkConnectorSchema, } from '../core/connector-checks.js';
24
24
  import { checkEventResolution, checkEventSubscription, eventParamsFor, } from '../core/event-checks.js';
25
- import { bindingRequiredFields, CASE_RUNTIME_INTERNAL_TYPES, CONNECTOR_ACTIVITY_TYPES, missingRequiredContext, missingRequiredInputs, platformEnforcesRequired, REGISTRY_GAPS, registryType, } from './typed-node.js';
25
+ import { bindingRequiredFields, CASE_RUNTIME_INTERNAL_TYPES, CONNECTOR_ACTIVITY_TYPES, missingRequiredContext, missingRequiredInputs, platformEnforcesRequired, isSnapshotType, REGISTRY_GAPS, registryType, } from './typed-node.js';
26
26
  import { ownEntry } from '../core/own-entry.js';
27
27
  import { MANAGED_HTTP_TYPE, isManagedHttpV2, managedHttpAbsoluteUrl, managedHttpMissing } from './managed-http.js';
28
28
  import { connectorV2Missing, isConnectorV2 } from './connector.js';
@@ -129,6 +129,7 @@ export function check(built, opts = {}) {
129
129
  checkConnectorRows(built, diags);
130
130
  checkConnectors(built, opts, diags);
131
131
  checkConnectorEvents(built, opts, diags);
132
+ checkCarriedPayloadTags(built, diags);
132
133
  // A `.dataService()` entity's recorded row is the serializer's (`lowerDataServiceEntity`).
133
134
  const { refusals, definitions, stoodIn } = serializerRefusals(built, opts, diags);
134
135
  diags.push(...refusals);
@@ -1950,6 +1951,30 @@ inEventSubProcess = false) {
1950
1951
  checkScope(n.nodes, n.flows, `subProcess "${n.id}"`, diags, false, n.triggeredByEvent === true);
1951
1952
  }
1952
1953
  }
1954
+ /**
1955
+ * A decoration payload that names a type the snapshot does not list and carries its own
1956
+ * `tag` (`ExtensionPayload.tag`). Compile then writes it without checking the type name,
1957
+ * so a typo (`Orchestrator.QueueItemAded`) compiles and the platform only warns. A
1958
+ * warning, not an error: decompile writes exactly this for a brownfield type such as a
1959
+ * case trigger's `None`, and that file must keep compiling. The warning makes the
1960
+ * unchecked name visible, so a copied pattern does not hide a typo.
1961
+ */
1962
+ function checkCarriedPayloadTags(built, diags) {
1963
+ for (const n of allNodes(built.nodes)) {
1964
+ const payload = n.payload;
1965
+ if (!payload?.type || payload.tag === undefined || isSnapshotType(payload.type))
1966
+ continue;
1967
+ diags.push({
1968
+ level: 'warning',
1969
+ code: 'PAYLOAD_TYPE_NOT_CHECKED',
1970
+ message: `"${n.id}" carries extension type "${payload.type}" with its own tag ("${payload.tag}"); the registry snapshot ` +
1971
+ `does not list that type, so its name is not checked. That is expected for a type a brownfield file carries ` +
1972
+ `(decompile writes it); for a node you author, check the spelling with \`uip maestro bpmn registry search\` ` +
1973
+ `and drop \`tag\`.`,
1974
+ where: n.id,
1975
+ });
1976
+ }
1977
+ }
1953
1978
  /**
1954
1979
  * Whether this node serializes to a `bpmn:StartEvent`.
1955
1980
  *
@@ -56,7 +56,7 @@
56
56
  import BpmnModdle from 'bpmn-moddle';
57
57
  import { flattenConnectorBody } from '../core/connector-inputs.js';
58
58
  import { createRequire } from 'node:module';
59
- import { registryType, rowDeclaration } from './typed-node.js';
59
+ import { isSnapshotType, registryType, rowDeclaration } from './typed-node.js';
60
60
  import { errorSchema, errorSchemaWithResponse } from './bpmn-sdk.js';
61
61
  import { SCRIPT_ARGS_ENVELOPE, defaultScriptInputSchema } from './serialize.js';
62
62
  import { BPMN_SCHEMA_VERSIONS } from './format-profile.js';
@@ -1012,19 +1012,21 @@ function listedSpec(type) {
1012
1012
  * un-importable for a node the author may never touch.
1013
1013
  */
1014
1014
  function artifactSpec(el, payload) {
1015
- const tag = String(payload.$type);
1016
- const [ns, local] = tag.split(':');
1015
+ const def = (el.eventDefinitions ?? [])[0];
1017
1016
  return {
1018
1017
  element: el.$type,
1019
1018
  // `uipath:Activity` is the moddle type; the spec spells the XML tag, `uipath:activity`.
1020
- tag: `${ns}:${local.charAt(0).toLowerCase()}${local.slice(1)}`,
1019
+ tag: payloadTagOf(payload),
1021
1020
  inputPattern: 'separateInputs',
1022
1021
  inputName: null,
1023
1022
  inputTarget: null,
1024
1023
  context: [],
1025
1024
  inputs: [],
1026
1025
  output: null,
1027
- eventDefinition: null,
1026
+ // A carried trigger's own definition, which `carriesUnlistedTrigger` has already
1027
+ // required to be bare: `bpmn:MessageEventDefinition` → `bpmn:messageEventDefinition`,
1028
+ // the spelling the snapshot uses.
1029
+ eventDefinition: def ? payloadTagOf(def) : null,
1028
1030
  requiresDiscovery: false,
1029
1031
  bindingPattern: 'none',
1030
1032
  };
@@ -1040,18 +1042,43 @@ function emitSpec(spec) {
1040
1042
  ['context', '[]'],
1041
1043
  ['inputs', '[]'],
1042
1044
  ['output', 'null'],
1043
- ['eventDefinition', 'null'],
1045
+ ['eventDefinition', spec.eventDefinition === null ? 'null' : tsText(spec.eventDefinition)],
1044
1046
  ['requiresDiscovery', 'false'],
1045
1047
  ['bindingPattern', tsText(spec.bindingPattern)],
1046
1048
  ]);
1047
1049
  }
1050
+ /** The XML tag a moddle payload was written under: `uipath:Activity` → `uipath:activity`. */
1051
+ function payloadTagOf(payload) {
1052
+ const [ns, local] = String(payload.$type).split(':');
1053
+ return `${ns}:${local.charAt(0).toLowerCase()}${local.slice(1)}`;
1054
+ }
1055
+ /**
1056
+ * A payload that DECORATES its element, as the `payload` option (`ExtensionPayload`).
1057
+ *
1058
+ * For a type the registry does not list, the payload's own tag rides along (`tag`),
1059
+ * because that tag is the one thing the builder would otherwise ask the registry for.
1060
+ * A listed type leaves it out and keeps the snapshot's. The type version is written
1061
+ * only when it is not the builder's `v1`.
1062
+ */
1063
+ function emitDecorationPayload(payload, type) {
1064
+ if (!payload || !type)
1065
+ return undefined;
1066
+ const version = payload.type?.version;
1067
+ return opts([
1068
+ ['type', tsText(type)],
1069
+ ['tag', isSnapshotType(type) ? undefined : tsText(payloadTagOf(payload))],
1070
+ ['typeVersion', version && version !== 'v1' ? tsText(version) : undefined],
1071
+ ['outputRows', emitOutputRows(payload) ?? '[]'],
1072
+ ]);
1073
+ }
1048
1074
  /**
1049
1075
  * A node whose extension type the registry does not list — carried verbatim.
1050
1076
  *
1051
1077
  * Written as `.activity()` with the spec read off the artifact ({@link artifactSpec})
1052
1078
  * and every row spelled out, so the recompile reproduces the element exactly and the
1053
- * rest of the process stays editable. Event elements never reach here: an unlisted type
1054
- * cannot describe one (`typeDescribesElement`), so the event emitter keeps the element.
1079
+ * rest of the process stays editable. An event reaches here only when its payload holds
1080
+ * rows a decoration cannot carry, with a bare definition the spec reproduces
1081
+ * (`carriesUnlistedTrigger`); any other event keeps its own emitter.
1055
1082
  */
1056
1083
  function emitUnlistedTypedNode(chain, el, payload, type) {
1057
1084
  const id = el.id;
@@ -1692,7 +1719,7 @@ function renderHandler(plan, h, depth, indent) {
1692
1719
  ['id', b.id !== `${host}_${method}` ? tsText(b.id) : undefined],
1693
1720
  ['name', b.name !== undefined ? tsText(b.name) : undefined],
1694
1721
  ['interrupting', def !== 'error' && b.cancelActivity === false ? 'false' : undefined],
1695
- ['payload', payload && type ? opts([['type', tsText(type)], ['outputRows', emitOutputRows(payload) ?? '[]']]) : undefined],
1722
+ ['payload', emitDecorationPayload(payload, type)],
1696
1723
  ]);
1697
1724
  const body = renderArmBody(plan, h.arm, depth, indent);
1698
1725
  const args = [defExpr, ...(optsText !== EMPTY_OPTS ? [optsText] : []), ...(body ? [body] : [])];
@@ -1827,9 +1854,9 @@ function renderEventSubProcess(plan, sp, depth, indent) {
1827
1854
  ['startId', start.id !== `${sp.id}_start` ? tsText(start.id) : undefined],
1828
1855
  ['startName', start.name !== undefined ? tsText(start.name) : undefined],
1829
1856
  ['startEntryPointId', entryPointOption(start)],
1830
- ['startPayload', payload && type && capture === undefined ? opts([['type', tsText(type)], ['outputRows', emitOutputRows(payload) ?? '[]']]) : undefined],
1857
+ ['startPayload', capture === undefined ? emitDecorationPayload(payload, type) : undefined],
1831
1858
  ['tags', tagsOf(sp)],
1832
- ['payload', spPayload && spType ? opts([['type', tsText(spType)], ['outputRows', emitOutputRows(spPayload) ?? '[]']]) : undefined],
1859
+ ['payload', emitDecorationPayload(spPayload, spType)],
1833
1860
  ]);
1834
1861
  const vars = new Chain('');
1835
1862
  emitVariablesInto(vars, sp, sp.id, capture !== undefined && captureDeclLooksDerived(sp, capture, start.id) ? new Set([capture]) : undefined);
@@ -2054,6 +2081,67 @@ function typeDescribesElement(kind, type) {
2054
2081
  }
2055
2082
  return !!element && localName(element).toLowerCase() === kind.toLowerCase();
2056
2083
  }
2084
+ /**
2085
+ * Whether an event carries an extension type the registry does not list, with rows
2086
+ * only a typed node can hold — so it is emitted as `.activity()` with the spec read
2087
+ * off the element (`emitUnlistedTypedNode`) rather than as a decorated event.
2088
+ *
2089
+ * The case that forced it: a queue trigger, `Orchestrator.QueueItemAdded`, on a start
2090
+ * event of deployed processes. Neither the snapshot nor `uip maestro bpmn registry
2091
+ * search` lists it, yet `bpmn validate` accepts the file and it runs:
2092
+ *
2093
+ * <bpmn:startEvent id="s">
2094
+ * <uipath:event version="v1"><uipath:type value="Orchestrator.QueueItemAdded" version="v2" />
2095
+ * <uipath:context><uipath:input name="queueName" type="string" value="=bindings.q" /></uipath:context>
2096
+ * <uipath:output name="TransactionItem" type="jsonSchema" source="=response" var="item" />
2097
+ * </uipath:event>
2098
+ * <bpmn:messageEventDefinition />
2099
+ * </bpmn:startEvent>
2100
+ *
2101
+ * The decoration form (`payload: { type, outputRows }`) has no room for the context
2102
+ * rows, and the typed form needs the element, the tag and the definition — all of
2103
+ * which the file states. The typed form writes a definition with nothing in it, so
2104
+ * only a bare one (no reference, no body; an `id` is fine) is carried; anything else, and an
2105
+ * attribute `.activity()` cannot write (a boundary's host, a non-interrupting start),
2106
+ * refuses here instead of losing it.
2107
+ *
2108
+ * A payload with output rows alone stays a decoration, so the element keeps every
2109
+ * event option it has (`emitDecorationPayload` carries the tag).
2110
+ */
2111
+ function carriesUnlistedTrigger(el, kind, payload, type) {
2112
+ if (!EVENT_KINDS.has(kind) || listedSpec(type))
2113
+ return false;
2114
+ const describes = (payload.context?.input?.length ?? 0) > 0 || payload.context?.inputSchema !== undefined || (payload.input?.length ?? 0) > 0;
2115
+ if (!describes)
2116
+ return false;
2117
+ const defs = el.eventDefinitions ?? [];
2118
+ // An `id` alone still counts as bare: the builder writes no definition id for any
2119
+ // event (`.startEvent({ message })` neither), and `bpmn merge` keeps the original's.
2120
+ const bare = defs.length === 0 || (defs.length === 1 && definitionIsBare(defs[0]));
2121
+ if (kind === 'boundaryEvent' || !bare || el.isInterrupting === false) {
2122
+ throw new Error(`${kind} "${el.id}" carries extension type "${type}", which the registry does not list, with context or input rows; ` +
2123
+ 'only a non-boundary event with at most one bare event definition can carry them, so it is refused rather than written without them.');
2124
+ }
2125
+ return true;
2126
+ }
2127
+ /**
2128
+ * Whether an event definition says nothing but its kind (and, at most, its own id):
2129
+ * no reference (`messageRef`), no body (a timer's schedule), no foreign attribute.
2130
+ * Read through the moddle descriptor, because a resolved reference such as
2131
+ * `messageRef` is not an own key of the element.
2132
+ */
2133
+ function definitionIsBare(def) {
2134
+ if (Object.keys(def.$attrs ?? {}).length)
2135
+ return false;
2136
+ for (const p of def.$descriptor?.properties ?? []) {
2137
+ if (p.name === 'id')
2138
+ continue;
2139
+ const v = def.get ? def.get(p.name) : def[p.name];
2140
+ if (v !== undefined && v !== null && !(Array.isArray(v) && v.length === 0))
2141
+ return false;
2142
+ }
2143
+ return true;
2144
+ }
2057
2145
  /**
2058
2146
  * An event element, with whatever payload it carries as an option on it.
2059
2147
  *
@@ -2064,12 +2152,7 @@ function emitEvent(chain, el, kind, payload, type) {
2064
2152
  // `outputRows` is the only payload shape an event carries in the corpus. A
2065
2153
  // `context` or `input` row on one would mean the registry describes the element
2066
2154
  // after all, which is the branch this function is not on.
2067
- const eventPayload = payload && type
2068
- ? opts([
2069
- ['type', tsText(type)],
2070
- ['outputRows', emitOutputRows(payload) ?? '[]'],
2071
- ])
2072
- : undefined;
2155
+ const eventPayload = emitDecorationPayload(payload, type);
2073
2156
  if (kind === 'boundaryEvent') {
2074
2157
  chain.add(`.boundaryEvent(${tsText(el.id)}, ${opts([
2075
2158
  ['name', el.name !== undefined ? tsText(el.name) : undefined],
@@ -2139,6 +2222,11 @@ function emitElement(chain, el, depth, indent) {
2139
2222
  // ARE start events in the registry, so they keep the typed path and their context.
2140
2223
  const elementWins = ELEMENT_OWNS.has(kind) && !typeDescribesElement(kind, type);
2141
2224
  if (elementWins) {
2225
+ // An unlisted type whose payload carries context or input rows is not a
2226
+ // decoration: it describes the event (a queue trigger). Its rows and its bare
2227
+ // definition are all in the file, so it is carried like an unlisted task.
2228
+ if (payload && type && carriesUnlistedTrigger(el, kind, payload, type))
2229
+ return emitUnlistedTypedNode(chain, el, payload, type);
2142
2230
  if (EVENT_KINDS.has(kind))
2143
2231
  return emitEvent(chain, el, kind, payload, type);
2144
2232
  if (kind === 'scriptTask')
@@ -2262,12 +2350,7 @@ function emitElement(chain, el, depth, indent) {
2262
2350
  ['name', el.name !== undefined ? tsText(el.name) : undefined],
2263
2351
  [
2264
2352
  'payload',
2265
- spPayload && spType
2266
- ? opts([
2267
- ['type', tsText(spType)],
2268
- ['outputRows', emitOutputRows(spPayload) ?? '[]'],
2269
- ])
2270
- : undefined,
2353
+ emitDecorationPayload(spPayload, spType),
2271
2354
  ],
2272
2355
  ['triggeredByEvent', el.triggeredByEvent ? 'true' : undefined],
2273
2356
  ['loop', emitLoop(el)],
@@ -2789,7 +2872,8 @@ lifted = new Set()) {
2789
2872
  // spelled out (`emitUnlistedTypedNode`), and those rows declare their variables on
2790
2873
  // the way back in like any typed node's — so they are candidates too, wherever the
2791
2874
  // typed path is the one that writes the element.
2792
- const unlistedTyped = !!payload && !!type && type !== 'BPMN.Variables' && !ELEMENT_OWNS.has(localName(el.$type)) && !listedSpec(type);
2875
+ const unlistedTyped = !!payload && !!type && type !== 'BPMN.Variables' && !listedSpec(type)
2876
+ && (!ELEMENT_OWNS.has(localName(el.$type)) || carriesUnlistedTrigger(el, localName(el.$type), payload, type));
2793
2877
  if (payload && type && (spelledOutScriptRows || unlistedTyped || (type !== 'BPMN.Variables' && typeDescribesElement(localName(el.$type), type)))) {
2794
2878
  for (const row of payload.output ?? []) {
2795
2879
  if (!row.var)
@@ -872,7 +872,7 @@ function attachExtensionPayload(ctx, el, payload) {
872
872
  if (!payload)
873
873
  return;
874
874
  const ext = (el.extensionElements ??= ctx.m.create('bpmn:ExtensionElements', { values: [] }));
875
- (ext.values ??= []).unshift(createExtensionPayload(ctx.m, payload.type, payload.outputRows));
875
+ (ext.values ??= []).unshift(createExtensionPayload(ctx.m, payload.type, payload.outputRows, { tag: payload.tag, typeVersion: payload.typeVersion }));
876
876
  }
877
877
  /**
878
878
  * Attach what every ACTIVITY can carry — a retry policy and a multi-instance loop
@@ -451,7 +451,10 @@ export declare function verbatimOutputRows(m: BpmnModdle, rows: TypedOutputRow[]
451
451
  * @param rows - Output rows, emitted verbatim.
452
452
  * @returns The payload element, ready to go inside a `bpmn:ExtensionElements`.
453
453
  */
454
- export declare function createExtensionPayload(m: BpmnModdle, type: string, rows: TypedOutputRow[]): El;
454
+ export declare function createExtensionPayload(m: BpmnModdle, type: string, rows: TypedOutputRow[], carried?: {
455
+ tag?: string;
456
+ typeVersion?: string;
457
+ }): El;
455
458
  /**
456
459
  * The context fields this type requires to be a `=bindings.<id>` reference rather
457
460
  * than a literal.
@@ -655,19 +655,44 @@ export function verbatimOutputRows(m, rows) {
655
655
  * @param rows - Output rows, emitted verbatim.
656
656
  * @returns The payload element, ready to go inside a `bpmn:ExtensionElements`.
657
657
  */
658
- export function createExtensionPayload(m, type, rows) {
659
- const spec = registryType(type);
660
- if (!spec.tag) {
661
- throw new CompileRefusal('BPMN_TYPE_NOT_AUTHORABLE', `extension type "${type}" has no tag in the registry snapshot; it cannot be authored.`);
662
- }
658
+ export function createExtensionPayload(m, type, rows, carried) {
659
+ const tag = payloadTag(type, carried?.tag);
663
660
  const payload = {
664
661
  version: 'v1',
665
- type: m.create('uipath:Type', { value: type, version: 'v1' }),
662
+ type: m.create('uipath:Type', { value: type, version: carried?.typeVersion ?? 'v1' }),
666
663
  };
667
664
  const out = verbatimOutputRows(m, rows);
668
665
  if (out.length)
669
666
  payload.output = out;
670
- return m.create(moddleTypeOf(spec.tag), payload);
667
+ return m.create(moddleTypeOf(tag), payload);
668
+ }
669
+ /** The three tags an extension payload is written under. */
670
+ const PAYLOAD_TAGS = new Set(['uipath:activity', 'uipath:event', 'uipath:mapping']);
671
+ /**
672
+ * The tag a decoration payload is written under: the snapshot's for a type it lists,
673
+ * else the tag the file carried, else whatever the registry says (which refuses an
674
+ * unknown type with `BPMN_TYPE_UNKNOWN`).
675
+ *
676
+ * A decoration needs nothing from the spec but its tag, so a type the snapshot lacks
677
+ * is fully described by the tag the file wrote it under — `uipath:type value="None"`
678
+ * inside a `uipath:activity` on a case trigger. The carried tag is the third source,
679
+ * after the snapshot and before the tenant: accepted, never demanded, and never
680
+ * allowed to override a type the snapshot knows. It is checked against the three
681
+ * tags that exist, so a typo still refuses instead of writing an element no reader
682
+ * knows.
683
+ */
684
+ function payloadTag(type, carried) {
685
+ if (carried !== undefined && !isSnapshotType(type)) {
686
+ if (!PAYLOAD_TAGS.has(carried)) {
687
+ throw new CompileRefusal('BPMN_PAYLOAD_TAG_INVALID', `extension payload "${type}" carries tag "${carried}"; expected one of ${[...PAYLOAD_TAGS].join(', ')}.`);
688
+ }
689
+ return carried;
690
+ }
691
+ const spec = registryType(type);
692
+ if (!spec.tag) {
693
+ throw new CompileRefusal('BPMN_TYPE_NOT_AUTHORABLE', `extension type "${type}" has no tag in the registry snapshot; it cannot be authored.`);
694
+ }
695
+ return spec.tag;
671
696
  }
672
697
  /** Wrap a finished payload in its BPMN element. */
673
698
  function finish(m, spec, id, name, payload) {
package/dist/bpmn-api.md CHANGED
@@ -833,6 +833,8 @@ An extension payload carried by an element the payload does not describe.
833
833
 
834
834
  - `ExtensionPayload.type: string` — The extension type, e.g. `'BPMN.Variables'` or `'uipath:Activity'`.
835
835
  - `ExtensionPayload.outputRows: TypedOutputRow[]` — `uipath:output` rows, emitted exactly as given — see TypedOutputRow.
836
+ - `ExtensionPayload.tag?: 'uipath:activity' | 'uipath:event' | 'uipath:mapping'` — The payload's own tag — `'uipath:activity'`, `'uipath:event'` or `'uipath:mapping'` — for a `type` the registry snapshot…
837
+ - `ExtensionPayload.typeVersion?: string` — The `uipath:type` `version` attribute, when it is not `v1` — see `ActivityNodeOpts.typeVersion`.
836
838
 
837
839
  ### `GatewayKind`
838
840
 
@@ -122,6 +122,7 @@ export declare const REFUSALS: {
122
122
  readonly BPMN_OUTPUT_VAR_NO_OUTPUT_ROW: "lowering";
123
123
  readonly BPMN_PATH_ALREADY_LEFT: "lowering";
124
124
  readonly BPMN_PATH_NOT_CONTINUED: "lowering";
125
+ readonly BPMN_PAYLOAD_TAG_INVALID: "lowering";
125
126
  readonly BPMN_PLAIN_TASK_ELEMENT_INVALID: "lowering";
126
127
  readonly BPMN_RACE_ARM_NOT_WAIT: "lowering";
127
128
  readonly BPMN_SCRIPT_TASK_TYPE_INVALID: "lowering";
@@ -602,6 +603,7 @@ export declare const REFUSALS: {
602
603
  readonly PARALLEL_TOO_FEW_ARMS: "lint";
603
604
  readonly PATTERN_NO_ATTACHMENT: "lint";
604
605
  readonly PATTERN_NO_PROMPT: "lint";
606
+ readonly PAYLOAD_TYPE_NOT_CHECKED: "lint";
605
607
  readonly PORT_ALREADY_ROUTED: "lowering";
606
608
  readonly PORT_EMPTY_PATH: "lowering";
607
609
  readonly PORT_NO_SOURCE_STEP: "lowering";
@@ -171,6 +171,7 @@ export const REFUSALS = {
171
171
  BPMN_OUTPUT_VAR_NO_OUTPUT_ROW: 'lowering',
172
172
  BPMN_PATH_ALREADY_LEFT: 'lowering',
173
173
  BPMN_PATH_NOT_CONTINUED: 'lowering',
174
+ BPMN_PAYLOAD_TAG_INVALID: 'lowering',
174
175
  BPMN_PLAIN_TASK_ELEMENT_INVALID: 'lowering',
175
176
  BPMN_RACE_ARM_NOT_WAIT: 'lowering',
176
177
  BPMN_SCRIPT_TASK_TYPE_INVALID: 'lowering',
@@ -676,6 +677,7 @@ export const REFUSALS = {
676
677
  PARALLEL_TOO_FEW_ARMS: 'lint',
677
678
  PATTERN_NO_ATTACHMENT: 'lint',
678
679
  PATTERN_NO_PROMPT: 'lint',
680
+ PAYLOAD_TYPE_NOT_CHECKED: 'lint',
679
681
  PORT_ALREADY_ROUTED: 'lowering',
680
682
  PORT_EMPTY_PATH: 'lowering',
681
683
  PORT_NO_SOURCE_STEP: 'lowering',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/maestro-builder-sdk",
3
- "version": "6.96.0",
3
+ "version": "6.96.1",
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",
@@ -113,5 +113,5 @@
113
113
  "@types/node": "^22.7.0",
114
114
  "esbuild": "^0.28.1"
115
115
  },
116
- "gitref": "4ab5fdcad1df35a5da9707a80b571ca2c336e8be"
116
+ "gitref": "8e43949aa536978e4bba34b4441dda320958a195"
117
117
  }