@uipath/maestro-builder-sdk 6.66.6 → 6.66.8

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.
Files changed (41) hide show
  1. package/dist/bindings-v2.d.ts +15 -1
  2. package/dist/bindings-v2.js +29 -6
  3. package/dist/bpmn/check.js +16 -113
  4. package/dist/bpmn/serialize.d.ts +41 -0
  5. package/dist/bpmn/serialize.js +103 -1
  6. package/dist/bpmn/typed-node.d.ts +12 -0
  7. package/dist/bpmn/typed-node.js +24 -0
  8. package/dist/case/check.js +5 -40
  9. package/dist/case/serialize.js +6 -0
  10. package/dist/case/task-shape.d.ts +31 -0
  11. package/dist/case/task-shape.js +48 -0
  12. package/dist/check.js +7 -43
  13. package/dist/core/agent-sidecar.d.ts +13 -3
  14. package/dist/core/agent-sidecar.js +10 -0
  15. package/dist/core/compile-refusal.d.ts +25 -0
  16. package/dist/core/compile-refusal.js +19 -0
  17. package/dist/core/process-resource.d.ts +9 -0
  18. package/dist/core/process-resource.js +4 -0
  19. package/dist/core/refusals.d.ts +47 -44
  20. package/dist/core/refusals.js +47 -44
  21. package/dist/nodes/agent/flow/check.js +14 -42
  22. package/dist/nodes/agent/flow/inline-agent.js +62 -1
  23. package/dist/nodes/agent/flow/spec.d.ts +1 -1
  24. package/dist/nodes/connector/flow/node-type.js +5 -3
  25. package/dist/nodes/data-fabric/flow/check.js +2 -4
  26. package/dist/nodes/data-fabric/flow/shared.d.ts +9 -4
  27. package/dist/nodes/data-fabric/flow/shared.js +14 -4
  28. package/dist/nodes/document/flow/ixp.js +20 -9
  29. package/dist/nodes/hitl/flow/check.js +29 -110
  30. package/dist/nodes/hitl/flow/node-type.js +170 -3
  31. package/dist/nodes/process/flow/check.js +15 -80
  32. package/dist/nodes/process/flow/node-type.js +4 -0
  33. package/dist/nodes/process/flow/refusals.d.ts +8 -0
  34. package/dist/nodes/process/flow/refusals.js +92 -0
  35. package/dist/nodes/queue/flow/check.d.ts +25 -0
  36. package/dist/nodes/queue/flow/check.js +48 -18
  37. package/dist/nodes/queue/flow/node-type.js +13 -1
  38. package/dist/nodes/transform/flow/check.js +31 -43
  39. package/dist/nodes/transform/flow/node-type.js +35 -9
  40. package/dist/serialize.js +172 -20
  41. package/package.json +2 -2
@@ -0,0 +1,48 @@
1
+ /**
2
+ * Every key an `ActionField` takes. `compile` writes only these onto the form
3
+ * row. The `satisfies` keeps this list and the interface in step: a key added
4
+ * to one and not the other fails to type-check.
5
+ */
6
+ const ACTION_FIELD_KEYS = new Set(Object.keys({
7
+ name: true, type: true, subType: true, displayName: true, value: true, required: true, options: true,
8
+ }));
9
+ /**
10
+ * Every problem with `task`'s shape, in a fixed order: the timer first, then
11
+ * each action input field, then each output field.
12
+ *
13
+ * @param task - The task as the builder recorded it.
14
+ * @returns The problems, empty when the task is well formed.
15
+ */
16
+ export function taskShapeProblems(task) {
17
+ const problems = [];
18
+ if (task.kind === 'wait-for-timer') {
19
+ // Count every key that is set, blank or not: serialize writes the first
20
+ // truthy value, so `{ duration: ' ', date: '2027-…' }` would write the
21
+ // blank duration and drop the date.
22
+ const setValues = [task.timer?.duration, task.timer?.date, task.timer?.cycle]
23
+ .filter((value) => value !== undefined);
24
+ const [only] = setValues;
25
+ if (setValues.length !== 1 || typeof only !== 'string' || only.trim().length === 0)
26
+ problems.push({
27
+ code: 'TIMER_VALUE_REQUIRED',
28
+ message: `Timer task "${task.name}" needs exactly one of duration, date, or cycle, and it must not be blank. For a validating stand-in, use .waitForTimer({ duration: 'PT1M' }).`,
29
+ });
30
+ }
31
+ for (const [side, fields] of [['input', task.action?.inputs], ['output', task.action?.outputs]])
32
+ for (const field of fields ?? []) {
33
+ const unknown = Object.keys(field)
34
+ .filter((key) => !ACTION_FIELD_KEYS.has(key) && field[key] !== undefined);
35
+ if (!unknown.length)
36
+ continue;
37
+ problems.push({
38
+ code: 'ACTION_FIELD_UNKNOWN_KEY',
39
+ message: `Action ${side} field "${String(field.name)}" in task "${task.name}" has ${unknown.length === 1 ? 'a key' : 'keys'} ` +
40
+ `${unknown.map((key) => `"${key}"`).join(', ')} that an action field does not take. ` +
41
+ `An action field takes ${[...ACTION_FIELD_KEYS].join(', ')}. ` +
42
+ (side === 'output'
43
+ ? `To choose the case variable an output writes, set value: '<variable>'; compile writes the row's id, var, source and target from it.`
44
+ : `An input's value is the literal or =vars.<name> expression the assignee sees.`),
45
+ });
46
+ }
47
+ return problems;
48
+ }
package/dist/check.js CHANGED
@@ -622,22 +622,10 @@ function checkFlow(built, ancestors, opts = {}) {
622
622
  if (c.when)
623
623
  addExpr(c.when.js, s.name);
624
624
  switchNames.add(s.name);
625
+ // A malformed case form or case id is the serializer's SWITCH_CASE_FORM /
626
+ // SWITCH_CASE_ID (`refuseSwitchCases`).
625
627
  s.cases.forEach((c, i) => {
626
- const hasValue = c.value !== undefined;
627
- const hasWhen = c.when !== undefined;
628
- if (hasValue === hasWhen || (hasValue && !s.on)) {
629
- diags.push({
630
- level: 'error',
631
- code: 'SWITCH_CASE_FORM',
632
- message: hasValue && hasWhen
633
- ? `Switch "${s.name}" case ${i + 1} has both \`value\` and \`when\`. Give it one: \`value\` is compared with \`on\`, \`when\` is the case's own condition.`
634
- : hasValue
635
- ? `Switch "${s.name}" case ${i + 1} has a \`value\` but the switch has no \`on\` to compare it with. Pass \`on\`, or give the case a \`when\` condition.`
636
- : `Switch "${s.name}" case ${i + 1} has neither \`value\` nor \`when\`.`,
637
- step: s.name,
638
- });
639
- }
640
- if (hasWhen && c.when.literal) {
628
+ if (c.when !== undefined && c.when.literal) {
641
629
  diags.push({
642
630
  level: 'error',
643
631
  code: 'SWITCH_CONST_WHEN',
@@ -681,23 +669,6 @@ function checkFlow(built, ancestors, opts = {}) {
681
669
  // Two arms with the same value: the second can never be reached, since
682
670
  // the runtime takes the first matching case.
683
671
  const seenValues = new Set();
684
- // Two cases on one id share one `case-<id>` port (#1130: an explicit
685
- // `id` can collide with a positional `case_<n>`).
686
- const seenIds = new Set();
687
- s.cases.forEach((c, i) => {
688
- const caseId = c.id ?? `case_${i + 1}`;
689
- if (typeof caseId !== 'string' || caseId === '' || seenIds.has(caseId)) {
690
- diags.push({
691
- level: 'error',
692
- code: 'SWITCH_CASE_ID',
693
- message: typeof caseId !== 'string' || caseId === ''
694
- ? `Switch "${s.name}" case ${i + 1} has an id that is not a non-empty string. Leave \`id\` out for the positional case_<n>.`
695
- : `Switch "${s.name}" has two cases with the id "${caseId}", so both would leave from one 'case-${caseId}' port. Give one a different \`id\`.`,
696
- step: s.name,
697
- });
698
- }
699
- seenIds.add(String(caseId));
700
- });
701
672
  for (const c of s.cases) {
702
673
  const key = c.when !== undefined ? `when:${c.when.js}` : `${typeof c.value}:${String(c.value)}`;
703
674
  if (seenValues.has(key))
@@ -907,7 +878,8 @@ function checkFlow(built, ancestors, opts = {}) {
907
878
  checkRegisteredFamilies(registeredSteps, unresolvedSteps, stepNames, diags);
908
879
  checkPackageNodes(registeredSteps, diags);
909
880
  // Entry points: valid triggers. An id that collides with a step, the trigger
910
- // or another entry point is the serializer's ENTRY_POINT_DUP_ID.
881
+ // or another entry point (or is `start` while `.triggerId()` renames the
882
+ // trigger, #1518) is the serializer's ENTRY_POINT_DUP_ID.
911
883
  for (const ep of built.entryPoints ?? []) {
912
884
  const maybeCustomEp = ep.trigger;
913
885
  if (!('kind' in maybeCustomEp) && maybeCustomEp instanceof FlowNode) {
@@ -1571,16 +1543,8 @@ function checkSubflow(step, child, inputs, parent, ancestors, diags) {
1571
1543
  + `emitted file at every call site, so a cycle has no base case and cannot be expanded.`);
1572
1544
  return;
1573
1545
  }
1574
- // A subflow always starts manually — its caller is what starts it. Nothing
1575
- // schedules a subflow, so a schedule here is silently ignored. `manual()` is
1576
- // what the child gets anyway, so `.trigger(manual(), { label, version })` is
1577
- // allowed: it is how the child's start node is labelled (#1050), and the
1578
- // form decompile writes for a renamed one.
1579
- if (child.trigger !== undefined && child.trigger.kind !== 'manual') {
1580
- at('SUBFLOW_CHILD_TRIGGER', `Subflow "${step}" runs a flow with its own \`.trigger(…)\`. A subflow is started by its caller, never by a `
1581
- + `trigger of its own — the schedule would be dropped. Remove the .trigger() from "${child.id}" `
1582
- + `(\`.trigger(manual(), { label })\` is allowed, to name the child's start node).`);
1583
- }
1546
+ // A child's own `.trigger(…)` or `.entryPoint()` is the serializer's
1547
+ // SUBFLOW_CHILD_TRIGGER / SUBFLOW_CHILD_ENTRY_POINT (`refuseChildRoots`).
1584
1548
  // `{ shared }` merges one input across a flow's ROOTS (#924); a subflow has
1585
1549
  // one root, its caller: the serializer's SHARED_INPUT_IN_SUBFLOW.
1586
1550
  const declared = new Map(child.inputs.map((i) => [i.name, String(i.type)]));
@@ -17,9 +17,9 @@ export interface AgentInputPlan {
17
17
  * value is INLINED into the agent.json prompt instead.
18
18
  * - `expression` — a computed expression spanning zero or several references.
19
19
  * No single JobArgument can exist, so there is no honest name to emit, and
20
- * the author's placeholder has nothing to point at — `check`'s
21
- * `INLINE_AGENT_COMPOSITE_INPUT` says so and names the fix (compute it in a
22
- * script step first).
20
+ * the author's placeholder has nothing to point at. When a prompt references
21
+ * one, the inline agent's serialize refuses it (`INLINE_AGENT_COMPOSITE_INPUT`)
22
+ * and names the fix (compute it in a script step first).
23
23
  */
24
24
  export type AgentInputBinding = {
25
25
  kind: 'ref';
@@ -129,6 +129,16 @@ export declare function inlineAgentJson(spec: {
129
129
  /** The agent's display name (the step's label). */
130
130
  name: string;
131
131
  }): any;
132
+ /**
133
+ * The input names an agent's prompts reference as `{{input.<name>}}`, system
134
+ * prompt first, in order (repeats kept). Both prompts are searched, because
135
+ * flow-v1's pre-pass scans both. For instance `{ systemPrompt: 'Use {{input.a}}',
136
+ * userPrompt: '{{input.b}} and {{input.a}}' }` gives `['a', 'b', 'a']`.
137
+ */
138
+ export declare function promptPlaceholders(s: {
139
+ systemPrompt?: unknown;
140
+ userPrompt?: unknown;
141
+ }): string[];
132
142
  /** Which writer produced an `agent.json`: the inline, conversational or voice agent's. */
133
143
  export type AgentSidecarDialect = 'inline' | 'conversational' | 'voice';
134
144
  /**
@@ -263,6 +263,16 @@ export function inlineAgentJson(spec) {
263
263
  }
264
264
  /** `{{input.<name>}}` — the agent-template placeholder, in both prompt directions. */
265
265
  const INPUT_PLACEHOLDER = /\{\{\s*input\.([A-Za-z_$][A-Za-z0-9_$]*)\s*\}\}/g;
266
+ /**
267
+ * The input names an agent's prompts reference as `{{input.<name>}}`, system
268
+ * prompt first, in order (repeats kept). Both prompts are searched, because
269
+ * flow-v1's pre-pass scans both. For instance `{ systemPrompt: 'Use {{input.a}}',
270
+ * userPrompt: '{{input.b}} and {{input.a}}' }` gives `['a', 'b', 'a']`.
271
+ */
272
+ export function promptPlaceholders(s) {
273
+ const prompts = `${String(s.systemPrompt ?? '')}\n${String(s.userPrompt ?? '')}`;
274
+ return [...prompts.matchAll(INPUT_PLACEHOLDER)].map((m) => m[1]);
275
+ }
266
276
  /**
267
277
  * Split an agent prompt into the `contentTokens` the designer renders it from.
268
278
  *
@@ -25,3 +25,28 @@ export declare class CompileRefusal extends Error {
25
25
  readonly suggestion?: string;
26
26
  constructor(code: string, message: string, suggestion?: string);
27
27
  }
28
+ /**
29
+ * A node's use of a tenant connection, as the file-wide
30
+ * CONNECTION_CONNECTOR_CONFLICT rule reads it (`connectionConnectors`,
31
+ * bindings-v2.ts): the connector the connection must belong to, and the
32
+ * connection id (the resolved bindings.json key, else the label as written).
33
+ */
34
+ export interface ConnectionUse {
35
+ connector: string;
36
+ connection: string;
37
+ }
38
+ /**
39
+ * LIBRARY_REQUIRED for a node that calls Integration Service on a connection:
40
+ * a connector step, an event trigger or entry point, a `waitForEvent`.
41
+ *
42
+ * Without a library the node cannot be emitted, so collect mode (`check`)
43
+ * stands it in with no `detail`, and the file-wide connection rule would not
44
+ * see it. `connection` is what the node would have run on: the stand-in keeps
45
+ * it, so `check` with no library reports CONNECTION_CONNECTOR_CONFLICT as
46
+ * `compile --library` does (builder-sdk#1518). For instance a Slack step and an
47
+ * Outlook step both on label `slack`.
48
+ */
49
+ export declare class LibraryRequiredRefusal extends CompileRefusal {
50
+ readonly connection?: ConnectionUse;
51
+ constructor(message: string, connection?: ConnectionUse);
52
+ }
@@ -32,3 +32,22 @@ export class CompileRefusal extends Error {
32
32
  this.suggestion = suggestion;
33
33
  }
34
34
  }
35
+ /**
36
+ * LIBRARY_REQUIRED for a node that calls Integration Service on a connection:
37
+ * a connector step, an event trigger or entry point, a `waitForEvent`.
38
+ *
39
+ * Without a library the node cannot be emitted, so collect mode (`check`)
40
+ * stands it in with no `detail`, and the file-wide connection rule would not
41
+ * see it. `connection` is what the node would have run on: the stand-in keeps
42
+ * it, so `check` with no library reports CONNECTION_CONNECTOR_CONFLICT as
43
+ * `compile --library` does (builder-sdk#1518). For instance a Slack step and an
44
+ * Outlook step both on label `slack`.
45
+ */
46
+ export class LibraryRequiredRefusal extends CompileRefusal {
47
+ connection;
48
+ constructor(message, connection) {
49
+ super('LIBRARY_REQUIRED', message);
50
+ if (connection !== undefined)
51
+ this.connection = connection;
52
+ }
53
+ }
@@ -105,3 +105,12 @@ export declare function processResourceBindings(spec: {
105
105
  * value, say so and name the replacement.
106
106
  */
107
107
  export declare function renamedFieldMessage(label: string, step: string, oldField: string): string;
108
+ /**
109
+ * The process family's kinds — one per factory (`rpaWorkflow`, `apiWorkflow`,
110
+ * `publishedFunction`, `agenticProcess`, `agent`). The node types, the checks
111
+ * and the serializer's refusals all key on this one union, so a new kind added
112
+ * here reaches every table that is a `Record<ProcessKind, …>`.
113
+ */
114
+ export type ProcessKind = 'rpaWorkflow' | 'apiWorkflow' | 'publishedFunction' | 'agenticProcess' | 'agent';
115
+ /** A resource field the author left out: undefined, null, or a whitespace-only string. */
116
+ export declare function blank(v: unknown): boolean;
@@ -117,3 +117,7 @@ export function renamedFieldMessage(label, step, oldField) {
117
117
  `published-resource factories now take \`key\` — the GUID in the process's \`Key\` field ` +
118
118
  `(\`uip or processes list\`) — so they read the same way. Rename \`${oldField}:\` to \`key:\`.`);
119
119
  }
120
+ /** A resource field the author left out: undefined, null, or a whitespace-only string. */
121
+ export function blank(v) {
122
+ return v === undefined || v === null || (typeof v === 'string' && v.trim() === '');
123
+ }
@@ -8,21 +8,21 @@ export type RefusalClass = 'lint' | 'lowering' | 'draft';
8
8
  * code means the same condition in each.
9
9
  */
10
10
  export declare const REFUSALS: {
11
- readonly ACTION_FIELD_UNKNOWN_KEY: "lint";
11
+ readonly ACTION_FIELD_UNKNOWN_KEY: "lowering";
12
12
  readonly AGENTIC_EMPTY_RETURNS: "lint";
13
13
  readonly AGENTIC_KEY_NOT_KEY: "lint";
14
14
  readonly AGENTIC_LOCAL_FORM_UNVERIFIED: "lint";
15
- readonly AGENTIC_LOCAL_HAS_FOLDER: "lint";
15
+ readonly AGENTIC_LOCAL_HAS_FOLDER: "lowering";
16
16
  readonly AGENTIC_LOCAL_NO_PROJECT_ID: "lint";
17
17
  readonly AGENTIC_LOCAL_PROJECT_ID_NOT_GUID: "lint";
18
18
  readonly AGENTIC_NAME_IS_PATH: "lint";
19
19
  readonly AGENTIC_NO_FOLDER: "lint";
20
- readonly AGENTIC_NO_KEY: "lint";
20
+ readonly AGENTIC_NO_KEY: "lowering";
21
21
  readonly AGENTIC_NO_NAME: "lint";
22
22
  readonly AGENTIC_READ_NOT_OUTPUT: "lint";
23
23
  readonly AGENTIC_READ_UNKNOWN_FIELD: "lint";
24
24
  readonly AGENTIC_READ_WITHOUT_RETURNS: "lint";
25
- readonly AGENTIC_RESERVED_INPUT: "lint";
25
+ readonly AGENTIC_RESERVED_INPUT: "lowering";
26
26
  readonly AGENT_CONTEXT_NO_FOLDER_PATH: "lint";
27
27
  readonly AGENT_CONTEXT_NO_ID: "lowering";
28
28
  readonly AGENT_CONTEXT_QUERY_NOT_EXPRESSION: "lint";
@@ -35,7 +35,7 @@ export declare const REFUSALS: {
35
35
  readonly AGENT_MEMORY_VERSION_NO_HANDLE: "lowering";
36
36
  readonly AGENT_NAME_IS_PATH: "lint";
37
37
  readonly AGENT_NO_FOLDER: "lint";
38
- readonly AGENT_NO_KEY: "lint";
38
+ readonly AGENT_NO_KEY: "lowering";
39
39
  readonly AGENT_NO_NAME: "lint";
40
40
  readonly AGENT_READ_NOT_OUTPUT: "lint";
41
41
  readonly AGENT_READ_UNKNOWN_FIELD: "lint";
@@ -45,7 +45,7 @@ export declare const REFUSALS: {
45
45
  readonly APIWF_KEY_NOT_KEY: "lint";
46
46
  readonly APIWF_NAME_IS_PATH: "lint";
47
47
  readonly APIWF_NO_FOLDER: "lint";
48
- readonly APIWF_NO_KEY: "lint";
48
+ readonly APIWF_NO_KEY: "lowering";
49
49
  readonly APIWF_NO_NAME: "lint";
50
50
  readonly APIWF_READ_NOT_OUTPUT: "lint";
51
51
  readonly APIWF_READ_UNKNOWN_FIELD: "lint";
@@ -109,6 +109,7 @@ export declare const REFUSALS: {
109
109
  readonly BPMN_HUMAN_TASK_APP_XOR_FORM: "lowering";
110
110
  readonly BPMN_JSON_INPUT_CDATA_END: "lowering";
111
111
  readonly BPMN_NO_DEFAULT_EXPORT: "lowering";
112
+ readonly BPMN_NO_ID: "lowering";
112
113
  readonly BPMN_OUTPUT_VAR_NO_OUTPUT_ROW: "lowering";
113
114
  readonly BPMN_PATH_ALREADY_LEFT: "lowering";
114
115
  readonly BPMN_PATH_NOT_CONTINUED: "lowering";
@@ -160,7 +161,7 @@ export declare const REFUSALS: {
160
161
  readonly CONNECTION_STUB: "lint";
161
162
  readonly CONNECTOR_IMPORT_NOT_A_FILE: "lowering";
162
163
  readonly CONNECTOR_INPUT: "lowering";
163
- readonly CONNECTOR_INPUTS_SHADOWED: "lint";
164
+ readonly CONNECTOR_INPUTS_SHADOWED: "lowering";
164
165
  readonly CONNECTOR_INPUT_MISSING: "draft";
165
166
  readonly CONNECTOR_INPUT_ROW_NO_TARGET: "lint";
166
167
  readonly CONNECTOR_INPUT_ROW_TARGET_UNKNOWN: "lint";
@@ -197,7 +198,7 @@ export declare const REFUSALS: {
197
198
  readonly DATAFABRIC_NO_ENTITY: "lint";
198
199
  readonly DATAFABRIC_QUERY_OPTS_WITHOUT_MULTIPLE: "lint";
199
200
  readonly DATAFABRIC_RECORD_REF: "lowering";
200
- readonly DATAFABRIC_RESOURCE_KEY_NO_FOLDER: "lint";
201
+ readonly DATAFABRIC_RESOURCE_KEY_NO_FOLDER: "lowering";
201
202
  readonly DATAFABRIC_RESULT_MODE_VERSION: "lowering";
202
203
  readonly DATAFABRIC_SYSTEM_COLUMN: "lint";
203
204
  readonly DEAD_END: "lint";
@@ -212,18 +213,18 @@ export declare const REFUSALS: {
212
213
  readonly DELAY_NO_DURATION: "lint";
213
214
  readonly DELAY_UNTIL_NOT_ISO: "lint";
214
215
  readonly DELAY_ZERO: "lint";
215
- readonly DOCVAL_NO_EXTRACTION: "lint";
216
- readonly DOCVAL_RENDER_UNKNOWN: "lint";
217
- readonly DOCVAL_TAXONOMY_REQUIRED: "lint";
216
+ readonly DOCVAL_NO_EXTRACTION: "lowering";
217
+ readonly DOCVAL_RENDER_UNKNOWN: "lowering";
218
+ readonly DOCVAL_TAXONOMY_REQUIRED: "lowering";
218
219
  readonly DOC_NO_FILEREF: "lint";
219
220
  readonly DOWHILE_CONST_COND: "lint";
220
221
  readonly DOWHILE_LIMIT: "lint";
221
- readonly DUPLICATE_DOCUMENT_ID: "lint";
222
+ readonly DUPLICATE_DOCUMENT_ID: "lowering";
222
223
  readonly DUP_BUSINESS_EVENT: "lowering";
223
224
  readonly DUP_CASE: "lint";
224
225
  readonly DUP_END_NAME: "lowering";
225
226
  readonly DUP_EXIT_RULE: "lint";
226
- readonly DUP_ID: "lint";
227
+ readonly DUP_ID: "lowering";
227
228
  readonly DUP_RULE_NAME: "lint";
228
229
  readonly DUP_STAGE: "lowering";
229
230
  readonly DUP_STEP: "lowering";
@@ -259,6 +260,7 @@ export declare const REFUSALS: {
259
260
  readonly EVENT_SCOPE_NOT_TAKEN: "lint";
260
261
  readonly EVENT_UNKNOWN: "lowering";
261
262
  readonly EVENT_UNPREPARED: "lint";
263
+ readonly EVENT_WHERE_NOT_SCALAR: "lowering";
262
264
  readonly EXCEPTION_STAGE_REQUIRED: "lint";
263
265
  readonly EXPR_BARE_VAR_REF: "lowering";
264
266
  readonly EXPR_SYNTAX: "lowering";
@@ -286,12 +288,12 @@ export declare const REFUSALS: {
286
288
  readonly FORM_TRIGGER_NO_INPUTS: "lint";
287
289
  readonly FUNCTION_EMPTY_RETURNS: "lint";
288
290
  readonly FUNCTION_KEY_NOT_KEY: "lint";
289
- readonly FUNCTION_LOCAL_HAS_FOLDER: "lint";
291
+ readonly FUNCTION_LOCAL_HAS_FOLDER: "lowering";
290
292
  readonly FUNCTION_LOCAL_NO_PROJECT_ID: "lint";
291
293
  readonly FUNCTION_LOCAL_PROJECT_ID_NOT_GUID: "lint";
292
294
  readonly FUNCTION_NAME_IS_PATH: "lint";
293
295
  readonly FUNCTION_NO_FOLDER: "lint";
294
- readonly FUNCTION_NO_KEY: "lint";
296
+ readonly FUNCTION_NO_KEY: "lowering";
295
297
  readonly FUNCTION_NO_NAME: "lint";
296
298
  readonly FUNCTION_READ_NOT_OUTPUT: "lint";
297
299
  readonly FUNCTION_READ_UNKNOWN_FIELD: "lint";
@@ -303,19 +305,19 @@ export declare const REFUSALS: {
303
305
  readonly GUARDRAIL_NO_SCOPE: "lint";
304
306
  readonly GUARDRAIL_NO_VALIDATOR: "lint";
305
307
  readonly GUARDRAIL_TYPE_UNKNOWN: "lint";
306
- readonly HITL_APP_INCOMPLETE: "lint";
308
+ readonly HITL_APP_INCOMPLETE: "lowering";
307
309
  readonly HITL_APP_INPUT_REQUIRED: "lint";
308
310
  readonly HITL_APP_INPUT_UNKNOWN: "lint";
309
- readonly HITL_APP_LOCAL_HAS_FOLDER: "lint";
311
+ readonly HITL_APP_LOCAL_HAS_FOLDER: "lowering";
310
312
  readonly HITL_APP_MISSING: "lint";
311
313
  readonly HITL_APP_NO_SCHEMA: "lint";
312
- readonly HITL_APP_OUTCOME_UNKNOWN: "lint";
313
- readonly HITL_APP_SCHEMA_INVALID: "lint";
314
- readonly HITL_APP_WITHOUT_VARIANT: "lint";
314
+ readonly HITL_APP_OUTCOME_UNKNOWN: "lowering";
315
+ readonly HITL_APP_SCHEMA_INVALID: "lowering";
316
+ readonly HITL_APP_WITHOUT_VARIANT: "lowering";
315
317
  readonly HITL_APP_WITH_FIELDS: "lint";
316
318
  readonly HITL_CHANNEL_UNKNOWN: "lint";
317
319
  readonly HITL_COMPLETED_PORT_GONE: "lowering";
318
- readonly HITL_DOCUMENT_WITHOUT_VARIANT: "lint";
320
+ readonly HITL_DOCUMENT_WITHOUT_VARIANT: "lowering";
319
321
  readonly HITL_DOCVAL_NO_DOCUMENT: "lint";
320
322
  readonly HITL_DOCVAL_WITH_FIELDS: "lint";
321
323
  readonly HITL_DUP_FIELD: "lint";
@@ -325,16 +327,16 @@ export declare const REFUSALS: {
325
327
  readonly HITL_EXPOSE_ERROR_VERSION: "lowering";
326
328
  readonly HITL_FAN_OUT_INTO_JOIN: "lowering";
327
329
  readonly HITL_FIELD_DIRECTION: "lint";
328
- readonly HITL_FIELD_NO_ID: "lint";
330
+ readonly HITL_FIELD_NO_ID: "lowering";
329
331
  readonly HITL_FIELD_NO_VALUE: "lint";
330
332
  readonly HITL_FIELD_OPTIONS: "lint";
331
333
  readonly HITL_FIELD_OPTIONS_IGNORED: "lint";
332
334
  readonly HITL_FIELD_RESERVED_ID: "lint";
333
335
  readonly HITL_FIELD_SETTING_INVALID: "lint";
334
336
  readonly HITL_FIELD_TYPE_UNKNOWN: "lint";
335
- readonly HITL_FIELD_VALUE_NOT_PATH: "lint";
336
- readonly HITL_FIELD_VALUE_NOT_REF: "lint";
337
- readonly HITL_FIELD_VARIABLE: "lint";
337
+ readonly HITL_FIELD_VALUE_NOT_PATH: "lowering";
338
+ readonly HITL_FIELD_VALUE_NOT_REF: "lowering";
339
+ readonly HITL_FIELD_VARIABLE: "lowering";
338
340
  readonly HITL_LEGACY_COMPLETED: "lint";
339
341
  readonly HITL_LEGACY_COMPLETED_CONFLICT: "lowering";
340
342
  readonly HITL_LEGACY_COMPLETED_NO_EFFECT: "lint";
@@ -343,7 +345,7 @@ export declare const REFUSALS: {
343
345
  readonly HITL_NO_OUTCOMES: "lint";
344
346
  readonly HITL_OUTCOMES_UNREACHABLE: "lint";
345
347
  readonly HITL_OUTCOME_ACTION: "lint";
346
- readonly HITL_OUTCOME_BAD_ID: "lint";
348
+ readonly HITL_OUTCOME_BAD_ID: "lowering";
347
349
  readonly HITL_OUTCOME_NO_NAME: "lint";
348
350
  readonly HITL_OUTCOME_PORTS_NONE: "lowering";
349
351
  readonly HITL_OUTCOME_PORTS_OFF: "lowering";
@@ -359,7 +361,7 @@ export declare const REFUSALS: {
359
361
  readonly HITL_RECIPIENT_TYPE: "lint";
360
362
  readonly HITL_RECIPIENT_VALUE: "lint";
361
363
  readonly HITL_UNREACHABLE_AFTER: "lint";
362
- readonly HITL_VARIANT_UNKNOWN: "lint";
364
+ readonly HITL_VARIANT_UNKNOWN: "lowering";
363
365
  readonly HTTP_BINDING_REQUIRES_MANAGED: "lowering";
364
366
  readonly HTTP_BRANCH_CONST: "lint";
365
367
  readonly HTTP_BRANCH_DUP: "lint";
@@ -378,10 +380,10 @@ export declare const REFUSALS: {
378
380
  readonly HTTP_TIMEOUT_NOT_DURATION: "lint";
379
381
  readonly HTTP_V1_RETIRED: "lint";
380
382
  readonly IMPLICIT_SPLIT: "lint";
381
- readonly INLINE_AGENT_COMPOSITE_INPUT: "lint";
383
+ readonly INLINE_AGENT_COMPOSITE_INPUT: "lowering";
382
384
  readonly INLINE_AGENT_EMPTY_RETURNS: "lint";
383
385
  readonly INLINE_AGENT_ESCALATION_APP_KEY_NOT_GUID: "lint";
384
- readonly INLINE_AGENT_ESCALATION_APP_WITH_FIELDS: "lint";
386
+ readonly INLINE_AGENT_ESCALATION_APP_WITH_FIELDS: "lowering";
385
387
  readonly INLINE_AGENT_ESCALATION_FIELD_OPTIONS: "lint";
386
388
  readonly INLINE_AGENT_ESCALATION_FIELD_OPTIONS_IGNORED: "lint";
387
389
  readonly INLINE_AGENT_ESCALATION_FIELD_SETTING_INVALID: "lint";
@@ -389,8 +391,8 @@ export declare const REFUSALS: {
389
391
  readonly INLINE_AGENT_ESCALATION_NO_APP: "lint";
390
392
  readonly INLINE_AGENT_ESCALATION_NO_FIELDS: "lint";
391
393
  readonly INLINE_AGENT_ESCALATION_NO_NAME: "lint";
392
- readonly INLINE_AGENT_ESCALATION_QUICKFORM_WITH_APP: "lint";
393
- readonly INLINE_AGENT_ESCALATION_VARIANT: "lint";
394
+ readonly INLINE_AGENT_ESCALATION_QUICKFORM_WITH_APP: "lowering";
395
+ readonly INLINE_AGENT_ESCALATION_VARIANT: "lowering";
394
396
  readonly INLINE_AGENT_INPUT_NAME_AMBIGUOUS: "lint";
395
397
  readonly INLINE_AGENT_MEMORY_ID_NOT_GUID: "lint";
396
398
  readonly INLINE_AGENT_MEMORY_INCOMPLETE: "lint";
@@ -430,7 +432,7 @@ export declare const REFUSALS: {
430
432
  readonly INTSVC_OPERATION_NOT_IDENTIFIER: "lint";
431
433
  readonly INTSVC_PATH_NOT_ABSOLUTE: "lint";
432
434
  readonly INTSVC_PATH_PARAM_UNBOUND: "lint";
433
- readonly IXP_FORBIDDEN_INPUT: "lint";
435
+ readonly IXP_FORBIDDEN_INPUT: "lowering";
434
436
  readonly IXP_NO_FILE: "lint";
435
437
  readonly IXP_NO_FOLDER: "lint";
436
438
  readonly IXP_NO_MODEL_NAME: "lint";
@@ -509,7 +511,7 @@ export declare const REFUSALS: {
509
511
  readonly QUEUE_BAD_PRIORITY: "lint";
510
512
  readonly QUEUE_ITEM_EXPR_UNSUPPORTED: "lowering";
511
513
  readonly QUEUE_ITEM_FIELD_NOT_PRIMITIVE: "lint";
512
- readonly QUEUE_ITEM_NOT_OBJECT: "lint";
514
+ readonly QUEUE_ITEM_NOT_OBJECT: "lowering";
513
515
  readonly QUEUE_KEY_NOT_GUID: "lint";
514
516
  readonly QUEUE_NO_FOLDER: "lint";
515
517
  readonly QUEUE_NO_ITEM: "lint";
@@ -518,7 +520,7 @@ export declare const REFUSALS: {
518
520
  readonly QUEUE_READ_NOT_OUTPUT: "lint";
519
521
  readonly QUEUE_READ_UNKNOWN_FIELD: "lint";
520
522
  readonly QUEUE_READ_WITHOUT_RETURNS: "lint";
521
- readonly QUEUE_RETURNS_WITHOUT_WAIT: "lint";
523
+ readonly QUEUE_RETURNS_WITHOUT_WAIT: "lowering";
522
524
  readonly RAW_NODE_CONNECTOR: "lowering";
523
525
  readonly RAW_NODE_TYPED_FAMILY: "lint";
524
526
  readonly RAW_NODE_UNKNOWN_INPUT: "lowering";
@@ -540,12 +542,12 @@ export declare const REFUSALS: {
540
542
  readonly RETRY_INVALID_DURATION: "lint";
541
543
  readonly RETURN_UPDATES_SAME_VAR: "lowering";
542
544
  readonly RPA_KEY_NOT_KEY: "lint";
543
- readonly RPA_LOCAL_HAS_FOLDER: "lint";
545
+ readonly RPA_LOCAL_HAS_FOLDER: "lowering";
544
546
  readonly RPA_LOCAL_NO_PROJECT_ID: "lint";
545
547
  readonly RPA_LOCAL_PROJECT_ID_NOT_GUID: "lint";
546
548
  readonly RPA_NAME_IS_PATH: "lint";
547
549
  readonly RPA_NO_FOLDER: "lint";
548
- readonly RPA_NO_KEY: "lint";
550
+ readonly RPA_NO_KEY: "lowering";
549
551
  readonly RPA_NO_NAME: "lint";
550
552
  readonly RPA_READ_NOT_OUTPUT: "lint";
551
553
  readonly RPA_READ_UNKNOWN_FIELD: "lint";
@@ -602,7 +604,8 @@ export declare const REFUSALS: {
602
604
  readonly STICKY_NOTE_NO_CONTENT: "lowering";
603
605
  readonly STICKY_NOTE_POSITION: "lowering";
604
606
  readonly STICKY_NOTE_SIZE: "lowering";
605
- readonly SUBFLOW_CHILD_TRIGGER: "lint";
607
+ readonly SUBFLOW_CHILD_ENTRY_POINT: "lowering";
608
+ readonly SUBFLOW_CHILD_TRIGGER: "lowering";
606
609
  readonly SUBFLOW_CYCLE: "lint";
607
610
  readonly SUBFLOW_HAS_NO_OUTPUT: "lint";
608
611
  readonly SUBFLOW_MISSING_INPUT: "lint";
@@ -612,8 +615,8 @@ export declare const REFUSALS: {
612
615
  readonly SUBFLOW_UNKNOWN_INPUT: "lint";
613
616
  readonly SUBFLOW_UNKNOWN_OUTPUT: "lint";
614
617
  readonly SUPERFLUOUS_GATEWAY: "lint";
615
- readonly SWITCH_CASE_FORM: "lint";
616
- readonly SWITCH_CASE_ID: "lint";
618
+ readonly SWITCH_CASE_FORM: "lowering";
619
+ readonly SWITCH_CASE_ID: "lowering";
617
620
  readonly SWITCH_CASE_TYPE_MISMATCH: "lint";
618
621
  readonly SWITCH_CONST_ON: "lint";
619
622
  readonly SWITCH_CONST_WHEN: "lint";
@@ -639,13 +642,13 @@ export declare const REFUSALS: {
639
642
  readonly TIMER_DURATION_INVALID: "lint";
640
643
  readonly TIMER_DURATION_NOT_RUNTIME_PARSEABLE: "lint";
641
644
  readonly TIMER_MISSING_FIELD: "lint";
642
- readonly TIMER_VALUE_REQUIRED: "lint";
645
+ readonly TIMER_VALUE_REQUIRED: "lowering";
643
646
  readonly TRANSFORM_AGG_NO_ALIAS: "lint";
644
647
  readonly TRANSFORM_AGG_NO_FIELD: "lint";
645
648
  readonly TRANSFORM_BAD_VOCAB: "lint";
646
- readonly TRANSFORM_COLLECTION_LITERAL: "lint";
649
+ readonly TRANSFORM_COLLECTION_LITERAL: "lowering";
647
650
  readonly TRANSFORM_COLLECTION_NOT_PATH: "lint";
648
- readonly TRANSFORM_COLLECTION_NOT_REF: "lint";
651
+ readonly TRANSFORM_COLLECTION_NOT_REF: "lowering";
649
652
  readonly TRANSFORM_COLLECTION_SCALAR: "lint";
650
653
  readonly TRANSFORM_CONTAINS_ARRAY_VALUE: "lint";
651
654
  readonly TRANSFORM_EMPTY_FILTER: "lint";
@@ -653,10 +656,10 @@ export declare const REFUSALS: {
653
656
  readonly TRANSFORM_FILTER_NO_FIELD: "lint";
654
657
  readonly TRANSFORM_FILTER_VALUE_EXPR: "lint";
655
658
  readonly TRANSFORM_MAP_NO_FIELD: "lint";
656
- readonly TRANSFORM_NO_COLLECTION: "lint";
659
+ readonly TRANSFORM_NO_COLLECTION: "lowering";
657
660
  readonly TRANSFORM_NO_GROUP_FIELD: "lint";
658
661
  readonly TRANSFORM_NO_OPERATIONS: "lint";
659
- readonly TRANSFORM_UNKNOWN_OP: "lint";
662
+ readonly TRANSFORM_UNKNOWN_OP: "lowering";
660
663
  readonly TRANSFORM_VARIANT_ONE_OP: "lint";
661
664
  readonly TRANSFORM_VARIANT_OP_MISMATCH: "lint";
662
665
  readonly TRANSFORM_VARIANT_UNKNOWN: "lowering";