@uipath/maestro-builder-sdk 6.90.4 → 6.91.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.
- package/dist/api-index.md +1 -1
- package/dist/case/check-rule-semantics.d.ts +4 -2
- package/dist/case/check-rule-semantics.js +85 -0
- package/dist/case/task-sets.d.ts +9 -1
- package/dist/case/task-sets.js +9 -1
- package/dist/core/refusals.d.ts +1 -0
- package/dist/core/refusals.js +1 -0
- package/dist/core-definitions.json +112 -0
- package/dist/nodes/trigger/flow/factories.d.ts +8 -2
- package/dist/nodes/trigger/flow/factories.js +8 -2
- package/dist/nodes/trigger/flow/node-type.js +9 -2
- package/package.json +2 -2
package/dist/api-index.md
CHANGED
|
@@ -298,7 +298,7 @@ could hand you spans for a version you do not have.
|
|
|
298
298
|
| `voiceAgent` | function | `dist/nodes/agent/flow/factories.d.ts:34-58` | Actions | Put a VOICE agent on a live call (`uipath.agent.voice`) — it speaks and listens for one turn, then the flow continues. |
|
|
299
299
|
| `VoiceAgentInputs` | interface | `dist/nodes/agent/flow/spec.d.ts:145-183` | Option shapes | What `voiceAgent()` takes: the agent's instructions, the call it joins, how it sounds, and the resources it attaches… |
|
|
300
300
|
| `VoiceSettings` | interface | `dist/nodes/agent/flow/spec.d.ts:122-144` | Supporting types | The audio settings a voice agent speaks with. |
|
|
301
|
-
| `voiceTrigger` | function | `dist/nodes/trigger/flow/factories.d.ts:104-
|
|
301
|
+
| `voiceTrigger` | function | `dist/nodes/trigger/flow/factories.d.ts:104-134` | Actions | Start the flow when a phone call comes IN (`core.trigger.voice`). |
|
|
302
302
|
| `waitForEvent` | function | `dist/core/actions.d.ts:1150-1185` | Actions | Wait mid-flow until a connector event fires, then continue with its payload — the typed form, where a generated trigger… |
|
|
303
303
|
| `waitForEvent` | function | `dist/core/actions.d.ts:1186-1193` | Actions | Stringly form, for an event with no prepared module. |
|
|
304
304
|
| `waitForMessage` | function | `dist/nodes/conversation/flow/factories.d.ts:27-43` | Actions | PAUSE until the person sends their next message (`uipath.conversational.wait-for-message`) — a catch event, like… |
|
|
@@ -7,9 +7,11 @@
|
|
|
7
7
|
* `references/implementation.md` Check 13, `references/case-schema.md`,
|
|
8
8
|
* `references/sla-response-shapes.md` §5).
|
|
9
9
|
*
|
|
10
|
-
* All
|
|
10
|
+
* All six are `lint`: compile still writes the plan as authored, so a
|
|
11
11
|
* decompiled source keeps the condition and `check` reports it again. Each is a
|
|
12
|
-
* warning wherever `validate --strict` accepts the plan as a working design
|
|
12
|
+
* warning wherever `validate --strict` accepts the plan as a working design,
|
|
13
|
+
* and an error where the platform cannot run it as written
|
|
14
|
+
* (RUNS_SEQUENTIALLY_MIXED: the converter discards part of the entry).
|
|
13
15
|
*
|
|
14
16
|
* Not ported, on evidence: the skill's "a breach rule must not carry
|
|
15
17
|
* `escalationId`". The converter derives a `sla-status-change` rule's status
|
|
@@ -237,6 +237,90 @@ function anyEscalationWithoutAtRisk(built, decls, diags) {
|
|
|
237
237
|
});
|
|
238
238
|
}
|
|
239
239
|
}
|
|
240
|
+
/**
|
|
241
|
+
* A task entry that mixes `runs-sequentially` with any other rule, in any
|
|
242
|
+
* group or condition. `validate` accepts it; the converter
|
|
243
|
+
* (`CaseManagementGenerateTaskEntryConditionsJSON.ts`, vendored in
|
|
244
|
+
* `local-engine/vendor/case-to-bpmn.mjs`) does not run it as written:
|
|
245
|
+
*
|
|
246
|
+
* - a task is sequential only when every rule of every entry condition is
|
|
247
|
+
* `runs-sequentially` (`taskOnlyRunsSequentiallyInStage`);
|
|
248
|
+
* - for any other task it drops each condition whose first rule is
|
|
249
|
+
* `runs-sequentially`, and writes nothing for that rule elsewhere.
|
|
250
|
+
*
|
|
251
|
+
* `[[rs, stc]]` and `[[rs], [stc]]` give the task no entry condition, so it
|
|
252
|
+
* never starts; `[[stc, rs]]` or two conditions lose the `runs-sequentially`.
|
|
253
|
+
*
|
|
254
|
+
* Sequential sets are built only from sequential tasks, so "the lane after X"
|
|
255
|
+
* waits for X only when X is sequential itself; otherwise the task starts at
|
|
256
|
+
* stage entry. The suggestion offers the lane only then.
|
|
257
|
+
*
|
|
258
|
+
* Stage and case conditions are not checked: there the converter ignores
|
|
259
|
+
* `runs-sequentially` and keeps the other rules.
|
|
260
|
+
*/
|
|
261
|
+
function runsSequentiallyMixed(built, diags) {
|
|
262
|
+
const sequential = (task) => {
|
|
263
|
+
const rules = rulesOf(task.entry);
|
|
264
|
+
return rules.length > 0 && rules.every((r) => r.rule === 'runs-sequentially');
|
|
265
|
+
};
|
|
266
|
+
for (const stage of built.stages) {
|
|
267
|
+
// Every key a `selected-tasks-completed` rule names a task of this stage by (`taskIdByKey`).
|
|
268
|
+
const own = new Map();
|
|
269
|
+
stage.lanes.forEach((lane, index) => {
|
|
270
|
+
for (const task of lane) {
|
|
271
|
+
own.set(task.name, { lane: index, task });
|
|
272
|
+
own.set(`${stage.label}/${task.name}`, { lane: index, task });
|
|
273
|
+
}
|
|
274
|
+
});
|
|
275
|
+
for (const lane of stage.lanes)
|
|
276
|
+
for (const task of lane) {
|
|
277
|
+
const rules = rulesOf(task.entry);
|
|
278
|
+
if (!rules.some((r) => r.rule === 'runs-sequentially') || rules.every((r) => r.rule === 'runs-sequentially'))
|
|
279
|
+
continue;
|
|
280
|
+
const others = [...new Set(rules.filter((r) => r.rule !== 'runs-sequentially').map((r) => r.rule))];
|
|
281
|
+
const dropped = task.entry.filter((c) => c.rules[0]?.[0]?.rule === 'runs-sequentially');
|
|
282
|
+
const effect = dropped.length > 0
|
|
283
|
+
? `It drops ${dropped.length === task.entry.length ? 'every entry condition of this task, so the task never starts' : 'each entry condition whose first rule is `runs-sequentially`, with the other rules in it'}`
|
|
284
|
+
: 'It ignores the `runs-sequentially` rule, so the task does not wait for the set before it';
|
|
285
|
+
const predecessors = [...new Set(rules.filter((r) => r.rule === 'selected-tasks-completed').flatMap((r) => r.tasks ?? []))];
|
|
286
|
+
const resolved = predecessors.map((key) => own.get(key));
|
|
287
|
+
const laneOk = others.length === 1 && others[0] === 'selected-tasks-completed' && predecessors.length > 0
|
|
288
|
+
&& resolved.every((p) => p !== undefined && sequential(p.task));
|
|
289
|
+
const keep = others.map((r) => (r === 'selected-tasks-completed' && predecessors.length > 0
|
|
290
|
+
? `rule('selected-tasks-completed', { tasks: [${predecessors.map((n) => `'${n}'`).join(', ')}] })`
|
|
291
|
+
: `rule('${r}'${r === 'adhoc' || r === 'current-stage-entered' ? '' : ', { … }'})`));
|
|
292
|
+
const keepCall = `.entryWhen(${keep.length === 1 ? keep[0] : `[${keep.join(', ')}]`})`;
|
|
293
|
+
const parts = [`Remove "runs-sequentially" and keep the other rule${others.length > 1 ? 's' : ''}: ${keepCall}.`];
|
|
294
|
+
if (laneOk) {
|
|
295
|
+
const next = Math.max(...resolved.map((p) => p.lane)) + 1;
|
|
296
|
+
parts.push(`Or, since ${predecessors.map((n) => `"${n}"`).join(', ')} ${predecessors.length > 1 ? 'run' : 'runs'} sequentially, `
|
|
297
|
+
+ `keep "runs-sequentially" alone and put the task in the next lane: .entryWhen(rule('runs-sequentially')) with { lane: ${next} }.`);
|
|
298
|
+
}
|
|
299
|
+
else {
|
|
300
|
+
const notSequential = predecessors.filter((_, i) => resolved[i] !== undefined && !sequential(resolved[i].task));
|
|
301
|
+
const why = resolved.some((p) => p === undefined)
|
|
302
|
+
? 'a task it names is in another stage'
|
|
303
|
+
: notSequential.length > 0
|
|
304
|
+
? `${notSequential.map((n) => `"${n}"`).join(', ')} ${notSequential.length > 1 ? 'are' : 'is'} not`
|
|
305
|
+
: undefined;
|
|
306
|
+
if (why)
|
|
307
|
+
parts.push(`Do not use "runs-sequentially" in a later lane instead: it waits only for tasks that are themselves "runs-sequentially" in this stage, `
|
|
308
|
+
+ `and ${why}, so the task would start at stage entry.`);
|
|
309
|
+
else if (predecessors.length === 0 && !others.includes('adhoc'))
|
|
310
|
+
parts.push(`To start it after a task, add rule('selected-tasks-completed', { tasks: ['<task>'] }) to the same AND-group.`);
|
|
311
|
+
}
|
|
312
|
+
diags.push({
|
|
313
|
+
level: 'error',
|
|
314
|
+
code: 'RUNS_SEQUENTIALLY_MIXED',
|
|
315
|
+
message: `Task "${task.name}" mixes rule "runs-sequentially" with ${others.map((r) => `"${r}"`).join(', ')} in its entry. `
|
|
316
|
+
+ 'The platform runs a task sequentially only when every rule of every entry condition is "runs-sequentially". '
|
|
317
|
+
+ `${effect}. \`uip maestro case validate\` accepts this; the task just does not run as written.`,
|
|
318
|
+
suggestion: parts.join(' '),
|
|
319
|
+
where: `task "${task.name}" entry`,
|
|
320
|
+
});
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
}
|
|
240
324
|
/** The rules above, in the order `check` reports them. */
|
|
241
325
|
export function checkRuleSemantics(built, diags) {
|
|
242
326
|
adhocSelections(built, diags);
|
|
@@ -245,4 +329,5 @@ export function checkRuleSemantics(built, diags) {
|
|
|
245
329
|
slaReentry(built, decls, diags);
|
|
246
330
|
slaNameDuplicates(built, decls, diags);
|
|
247
331
|
anyEscalationWithoutAtRisk(built, decls, diags);
|
|
332
|
+
runsSequentiallyMixed(built, diags);
|
|
248
333
|
}
|
package/dist/case/task-sets.d.ts
CHANGED
|
@@ -22,7 +22,15 @@
|
|
|
22
22
|
* (emitted JSON) apply the one rule.
|
|
23
23
|
*/
|
|
24
24
|
export declare function v31TaskSets<T>(sets: readonly (readonly T[])[], runsSequentially: (task: T) => boolean): T[][];
|
|
25
|
-
/**
|
|
25
|
+
/**
|
|
26
|
+
* The V30→V31 migration's own test, on emitted task JSON: any rule of any entry condition is `runs-sequentially`.
|
|
27
|
+
*
|
|
28
|
+
* The converter's test is stricter (EVERY rule of every condition,
|
|
29
|
+
* `taskOnlyRunsSequentiallyInStage`). The two differ only on a task that mixes
|
|
30
|
+
* `runs-sequentially` with another rule, which `check` reports as
|
|
31
|
+
* RUNS_SEQUENTIALLY_MIXED because the converter drops part of it; on every
|
|
32
|
+
* task `check` passes they agree.
|
|
33
|
+
*/
|
|
26
34
|
export declare function taskJsonRunsSequentially(task: {
|
|
27
35
|
entryConditions?: Array<{
|
|
28
36
|
rules?: Array<Array<{
|
package/dist/case/task-sets.js
CHANGED
|
@@ -37,7 +37,15 @@ export function v31TaskSets(sets, runsSequentially) {
|
|
|
37
37
|
}
|
|
38
38
|
return out;
|
|
39
39
|
}
|
|
40
|
-
/**
|
|
40
|
+
/**
|
|
41
|
+
* The V30→V31 migration's own test, on emitted task JSON: any rule of any entry condition is `runs-sequentially`.
|
|
42
|
+
*
|
|
43
|
+
* The converter's test is stricter (EVERY rule of every condition,
|
|
44
|
+
* `taskOnlyRunsSequentiallyInStage`). The two differ only on a task that mixes
|
|
45
|
+
* `runs-sequentially` with another rule, which `check` reports as
|
|
46
|
+
* RUNS_SEQUENTIALLY_MIXED because the converter drops part of it; on every
|
|
47
|
+
* task `check` passes they agree.
|
|
48
|
+
*/
|
|
41
49
|
export function taskJsonRunsSequentially(task) {
|
|
42
50
|
return (task.entryConditions ?? []).some((condition) => (condition.rules ?? []).some((group) => group.some((r) => r?.rule === 'runs-sequentially')));
|
|
43
51
|
}
|
package/dist/core/refusals.d.ts
CHANGED
|
@@ -188,6 +188,7 @@ export declare const REFUSALS: {
|
|
|
188
188
|
readonly SLA_RESPONSE_REENTERS_STAGE: "lint";
|
|
189
189
|
readonly SLA_NAME_DUPLICATE: "lint";
|
|
190
190
|
readonly ANY_ESCALATION_NO_AT_RISK: "lint";
|
|
191
|
+
readonly RUNS_SEQUENTIALLY_MIXED: "lint";
|
|
191
192
|
readonly CASE_MGMT_BINDING_KEY_MISMATCH: "lint";
|
|
192
193
|
readonly CASE_MGMT_NODE_ID_DUPLICATE: "lint";
|
|
193
194
|
readonly CASE_MGMT_OUTPUT_ID_DUPLICATE: "lint";
|
package/dist/core/refusals.js
CHANGED
|
@@ -253,6 +253,7 @@ export const REFUSALS = {
|
|
|
253
253
|
SLA_RESPONSE_REENTERS_STAGE: 'lint',
|
|
254
254
|
SLA_NAME_DUPLICATE: 'lint',
|
|
255
255
|
ANY_ESCALATION_NO_AT_RISK: 'lint',
|
|
256
|
+
RUNS_SEQUENTIALLY_MIXED: 'lint',
|
|
256
257
|
// `uip maestro case validate`'s own codes, ported to case/plan-check/. All
|
|
257
258
|
// `lint` for now: only `check` reports them. The four on fields compile writes
|
|
258
259
|
// (ids, binding keys) are also carried from a decompiled plan's preserved
|
|
@@ -13294,6 +13294,118 @@
|
|
|
13294
13294
|
}
|
|
13295
13295
|
}
|
|
13296
13296
|
},
|
|
13297
|
+
"core.trigger.voice@1.1": {
|
|
13298
|
+
"nodeType": "core.trigger.voice",
|
|
13299
|
+
"version": "1.1",
|
|
13300
|
+
"category": "trigger",
|
|
13301
|
+
"description": "Start this process when a phone call arrives on a bound number",
|
|
13302
|
+
"tags": [
|
|
13303
|
+
"trigger",
|
|
13304
|
+
"voice",
|
|
13305
|
+
"call",
|
|
13306
|
+
"phone",
|
|
13307
|
+
"incoming",
|
|
13308
|
+
"start"
|
|
13309
|
+
],
|
|
13310
|
+
"sortOrder": 87,
|
|
13311
|
+
"display": {
|
|
13312
|
+
"label": "Incoming call",
|
|
13313
|
+
"icon": "phoneIncoming",
|
|
13314
|
+
"shape": "circle"
|
|
13315
|
+
},
|
|
13316
|
+
"handleConfiguration": [
|
|
13317
|
+
{
|
|
13318
|
+
"position": "right",
|
|
13319
|
+
"handles": [
|
|
13320
|
+
{
|
|
13321
|
+
"id": "output",
|
|
13322
|
+
"type": "source",
|
|
13323
|
+
"handleType": "output",
|
|
13324
|
+
"showButton": true,
|
|
13325
|
+
"constraints": {
|
|
13326
|
+
"forbiddenTargetCategories": [
|
|
13327
|
+
"trigger"
|
|
13328
|
+
]
|
|
13329
|
+
}
|
|
13330
|
+
}
|
|
13331
|
+
],
|
|
13332
|
+
"visible": true
|
|
13333
|
+
}
|
|
13334
|
+
],
|
|
13335
|
+
"model": {
|
|
13336
|
+
"type": "bpmn:StartEvent",
|
|
13337
|
+
"entryPointId": true
|
|
13338
|
+
},
|
|
13339
|
+
"outputDefinition": {
|
|
13340
|
+
"output": {
|
|
13341
|
+
"type": "object",
|
|
13342
|
+
"description": "Data passed when this incoming-call trigger starts the process.",
|
|
13343
|
+
"source": "null",
|
|
13344
|
+
"var": "output",
|
|
13345
|
+
"schema": {
|
|
13346
|
+
"type": "object",
|
|
13347
|
+
"properties": {
|
|
13348
|
+
"callContext": {
|
|
13349
|
+
"type": "object",
|
|
13350
|
+
"description": "Identifies the live call. Pass to voice service tasks and conversational agents.",
|
|
13351
|
+
"properties": {
|
|
13352
|
+
"type": {
|
|
13353
|
+
"type": "string",
|
|
13354
|
+
"enum": [
|
|
13355
|
+
"phone",
|
|
13356
|
+
"web"
|
|
13357
|
+
],
|
|
13358
|
+
"description": "Call medium"
|
|
13359
|
+
},
|
|
13360
|
+
"id": {
|
|
13361
|
+
"type": "string",
|
|
13362
|
+
"description": "Provider-side call identifier (e.g. Twilio call SID for phone)"
|
|
13363
|
+
},
|
|
13364
|
+
"conversationId": {
|
|
13365
|
+
"type": "string",
|
|
13366
|
+
"format": "uuid",
|
|
13367
|
+
"description": "Identifier of the conversation associated with this call"
|
|
13368
|
+
},
|
|
13369
|
+
"from": {
|
|
13370
|
+
"type": [
|
|
13371
|
+
"string",
|
|
13372
|
+
"null"
|
|
13373
|
+
],
|
|
13374
|
+
"description": "Phone number the call was placed from: the caller on an incoming call, your number on an outgoing one."
|
|
13375
|
+
},
|
|
13376
|
+
"to": {
|
|
13377
|
+
"type": [
|
|
13378
|
+
"string",
|
|
13379
|
+
"null"
|
|
13380
|
+
],
|
|
13381
|
+
"description": "Phone number the call was placed to: your number on an incoming call, the callee on an outgoing one."
|
|
13382
|
+
}
|
|
13383
|
+
},
|
|
13384
|
+
"required": [
|
|
13385
|
+
"type",
|
|
13386
|
+
"id",
|
|
13387
|
+
"conversationId"
|
|
13388
|
+
]
|
|
13389
|
+
}
|
|
13390
|
+
},
|
|
13391
|
+
"required": [
|
|
13392
|
+
"callContext"
|
|
13393
|
+
]
|
|
13394
|
+
}
|
|
13395
|
+
}
|
|
13396
|
+
},
|
|
13397
|
+
"toolbarExtensions": {
|
|
13398
|
+
"design": {
|
|
13399
|
+
"actions": [
|
|
13400
|
+
{
|
|
13401
|
+
"id": "change-trigger-type",
|
|
13402
|
+
"icon": "square-mouse-pointer",
|
|
13403
|
+
"label": "Change trigger type"
|
|
13404
|
+
}
|
|
13405
|
+
]
|
|
13406
|
+
}
|
|
13407
|
+
}
|
|
13408
|
+
},
|
|
13297
13409
|
"uipath.agent.voice@1.0": {
|
|
13298
13410
|
"nodeType": "uipath.agent.voice",
|
|
13299
13411
|
"version": "1.0",
|
|
@@ -117,11 +117,17 @@ export declare function conversationTrigger(appearance?: ConversationAppearance)
|
|
|
117
117
|
* ```
|
|
118
118
|
*
|
|
119
119
|
* The trigger publishes the live call as `out('start', 'callContext')` — the
|
|
120
|
-
* object (`{ type, id, conversationId,
|
|
120
|
+
* object (`{ type, id, conversationId, from, to }`) every voice step is keyed
|
|
121
|
+
* by. `from` and `to` are the call's phone numbers: absent, or `null`, when
|
|
122
|
+
* unknown, so test them with `== null` or `??`.
|
|
121
123
|
* Nothing else is authored on it.
|
|
122
124
|
*
|
|
123
125
|
* The definition is BUNDLED from the workbench manifest: the family is
|
|
124
|
-
* `AvailableOnTenant: false` today (the do-while precedent).
|
|
126
|
+
* `AvailableOnTenant: false` today (the do-while precedent). The trigger is
|
|
127
|
+
* written at 1.1, the version whose `callContext` has `from` and `to`. Pin
|
|
128
|
+
* `{ version: '1.0' }` to keep a 1.0 node: a source written against an
|
|
129
|
+
* earlier release with an unpinned `voiceTrigger()` compiled to 1.0 and now
|
|
130
|
+
* compiles to 1.1.
|
|
125
131
|
*
|
|
126
132
|
* @returns A trigger spec to pass to `.trigger(...)`.
|
|
127
133
|
*/
|
|
@@ -130,11 +130,17 @@ export function conversationTrigger(appearance) {
|
|
|
130
130
|
* ```
|
|
131
131
|
*
|
|
132
132
|
* The trigger publishes the live call as `out('start', 'callContext')` — the
|
|
133
|
-
* object (`{ type, id, conversationId,
|
|
133
|
+
* object (`{ type, id, conversationId, from, to }`) every voice step is keyed
|
|
134
|
+
* by. `from` and `to` are the call's phone numbers: absent, or `null`, when
|
|
135
|
+
* unknown, so test them with `== null` or `??`.
|
|
134
136
|
* Nothing else is authored on it.
|
|
135
137
|
*
|
|
136
138
|
* The definition is BUNDLED from the workbench manifest: the family is
|
|
137
|
-
* `AvailableOnTenant: false` today (the do-while precedent).
|
|
139
|
+
* `AvailableOnTenant: false` today (the do-while precedent). The trigger is
|
|
140
|
+
* written at 1.1, the version whose `callContext` has `from` and `to`. Pin
|
|
141
|
+
* `{ version: '1.0' }` to keep a 1.0 node: a source written against an
|
|
142
|
+
* earlier release with an unpinned `voiceTrigger()` compiled to 1.0 and now
|
|
143
|
+
* compiles to 1.1.
|
|
138
144
|
*
|
|
139
145
|
* @returns A trigger spec to pass to `.trigger(...)`.
|
|
140
146
|
*/
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
* The five built-in start triggers, one node type each: `manual()`
|
|
3
3
|
* (`core.trigger.manual`, the default), `scheduled()`, `formTrigger()`,
|
|
4
4
|
* `conversationTrigger()` and `voiceTrigger()`. All are bundled.
|
|
5
|
-
* A schedule and a
|
|
5
|
+
* A schedule, a conversation and a call pick their version when the author pinned none.
|
|
6
6
|
*
|
|
7
7
|
* A trigger type owns its node's `inputs` and how it reads back. The pipeline
|
|
8
8
|
* owns the root: the node's id and label, the version it resolves, the edge to
|
|
@@ -314,9 +314,16 @@ export const conversationTriggerType = {
|
|
|
314
314
|
checkStartingPrompts(spec.appearance?.startingPrompts, ctx);
|
|
315
315
|
},
|
|
316
316
|
};
|
|
317
|
+
/**
|
|
318
|
+
* The voice-trigger version an unpinned `voiceTrigger()` writes: the platform's
|
|
319
|
+
* current one. 1.1 only adds `callContext.from` and `callContext.to` (the call's
|
|
320
|
+
* phone numbers) to the output schema; its inputs are 1.0's. A `{ version: '1.0' }`
|
|
321
|
+
* pin, which decompile prints for an existing 1.0 node, keeps 1.0.
|
|
322
|
+
*/
|
|
323
|
+
const VOICE_DEFAULT_VERSION = '1.1';
|
|
317
324
|
export const voiceTriggerType = {
|
|
318
325
|
kind: 'voice', typeName: 'core.trigger.voice', factory: 'voiceTrigger',
|
|
319
|
-
serialize: (_spec, ctx) => platformStartedInputs(ctx),
|
|
326
|
+
serialize: (_spec, ctx) => ({ version: ctx.version ?? VOICE_DEFAULT_VERSION, ...platformStartedInputs(ctx) }),
|
|
320
327
|
deserialize: () => ({ kind: 'voice' }),
|
|
321
328
|
print: () => ({ factory: 'voiceTrigger' }),
|
|
322
329
|
check: (_spec, ctx) => inputsIgnored('voice', 'callContext', ctx),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/maestro-builder-sdk",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.91.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",
|
|
@@ -111,5 +111,5 @@
|
|
|
111
111
|
"@types/node": "^22.7.0",
|
|
112
112
|
"esbuild": "^0.28.1"
|
|
113
113
|
},
|
|
114
|
-
"gitref": "
|
|
114
|
+
"gitref": "1a23673ee955694372b97478f0e031bdf861f6f1"
|
|
115
115
|
}
|