@uipath/maestro-builder-sdk 6.91.2 → 6.92.0

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 CHANGED
@@ -98,14 +98,14 @@ could hand you spans for a version you do not have.
98
98
  | `ContributionContext` | interface | `dist/core/node-classes.d.ts:68-79` | Supporting types | What the serializer tells a contributor before asking for its contribution. |
99
99
  | `ContributionDiagnostic` | interface | `dist/core/node-classes.d.ts:22-33` | Supporting types | A diagnostic a node contributes during `check` — surfaced alongside the built-in rules with the same severities. |
100
100
  | `ControlFormFieldType` | type | `dist/core/actions.d.ts:66-74` | Supporting types | The platform's choice-control spellings of a field type. |
101
- | `conversationalAgent` | function | `dist/nodes/agent/flow/factories.d.ts:59-83` | Actions | A CONVERSATIONAL agent (`uipath.agent.conversational`) — it answers one turn of a live chat, reading the transcript… |
101
+ | `conversationalAgent` | function | `dist/nodes/agent/flow/factories.d.ts:65-89` | Actions | A CONVERSATIONAL agent (`uipath.agent.conversational`) — it answers one turn of a live chat, reading the transcript… |
102
102
  | `ConversationalAgentInputs` | interface | `dist/nodes/agent/flow/spec.d.ts:45-102` | Option shapes | What `conversationalAgent()` takes: the agent's instructions and model, how it gets its turn, and the resources it… |
103
103
  | `ConversationalAgentSettings` | interface | `dist/nodes/agent/flow/spec.d.ts:13-37` | Supporting types | How a conversational agent gets its turn — the node's own `conversationalAgentSettings` sub-object. |
104
104
  | `ConversationAppearance` | interface | `dist/nodes/trigger/flow/spec.d.ts:55-71` | Supporting types | How the chat that starts a conversation-triggered flow looks: the conversation trigger's `appearance` (1.3), the same… |
105
105
  | `conversationContext` | function | `dist/nodes/conversation/flow/factories.d.ts:44-58` | Actions | READ a conversation's transcript so far without waiting (`uipath.conversational.get-conversation-context`) — the shape a… |
106
106
  | `ConversationContextInputs` | interface | `dist/nodes/conversation/flow/spec.d.ts:37-44` | Option shapes | 2 field(s) |
107
107
  | `conversationTrigger` | function | `dist/nodes/trigger/flow/factories.d.ts:61-103` | Actions | Start the flow when a new CONVERSATION is created (`core.trigger.conversation`) — the entry point for a chat-driven… |
108
- | `createOutgoingCall` | function | `dist/nodes/agent/flow/factories.d.ts:9-25` | Actions | Place an outgoing phone call (`uipath.conversational.voice.create-outgoing-call`) and get back the `callContext` every… |
108
+ | `createOutgoingCall` | function | `dist/nodes/agent/flow/factories.d.ts:9-31` | Actions | Place an outgoing phone call (`uipath.conversational.voice.create-outgoing-call`) and get back the `callContext` every… |
109
109
  | `CreateOutgoingCallInputs` | interface | `dist/nodes/agent/flow/spec.d.ts:103-112` | Option shapes | What `createOutgoingCall()` takes: the two numbers, in E.164. |
110
110
  | `CustomGuardrail` | interface | `dist/core/actions.d.ts:340-352` | Supporting types | A rule-based guardrail you author in place. |
111
111
  | `dataFabricCreate` | function | `dist/nodes/data-fabric/flow/factories.d.ts:56-79` | Actions | Create an entity record in Data Fabric (`core.datafabric.create`). |
@@ -134,7 +134,7 @@ could hand you spans for a version you do not have.
134
134
  | `dynamicExtract` | function | `dist/nodes/document/flow/factories.d.ts:20-30` | Actions | Extract fields from a document with an INLINE schema — Dynamic Extract (`uipath.ixp.extract-document-builder`), the… |
135
135
  | `DynamicExtractInputs` | interface | `dist/nodes/document/flow/spec.d.ts:56-91` | Option shapes | What `dynamicExtract()` takes: the document and the fields to extract from it. |
136
136
  | `EdgeRoute` | interface | `dist/flow-sdk.d.ts:633-647` | Supporting types | One edge's route: user-dragged bends and/or the auto-router's waypoints. |
137
- | `endCall` | function | `dist/nodes/agent/flow/factories.d.ts:26-33` | Actions | Hang up (`uipath.conversational.voice.end-call`). |
137
+ | `endCall` | function | `dist/nodes/agent/flow/factories.d.ts:32-39` | Actions | Hang up (`uipath.conversational.voice.end-call`). |
138
138
  | `EndCallInputs` | interface | `dist/nodes/agent/flow/spec.d.ts:113-121` | Option shapes | What `endCall()` takes: the call to hang up. |
139
139
  | `EntityRef` | interface | `dist/core/resource-resolution.d.ts:18-28` | Supporting types | A Data Fabric entity by name and folder path: a ResourceRef of kind `Entity`, spelled as the plain object a field that… |
140
140
  | `entryInput` | function | `dist/core/expr.d.ts:62-72` | Expressions and types | Reference an ENTRY POINT's scoped input: `entryInput('nightly', 'batchDate')` reads `$vars.nightly.output.batchDate` —… |
@@ -186,7 +186,7 @@ could hand you spans for a version you do not have.
186
186
  | `HttpInputs` | type | `dist/nodes/http/flow/spec.d.ts:126-143` | Option shapes | |
187
187
  | `HttpInputsBase` | interface | `dist/nodes/http/flow/spec.d.ts:24-125` | Option shapes | 11 field(s) |
188
188
  | `HttpRequestToolRef` | interface | `dist/core/actions.d.ts:524-553` | Supporting types | The built-in HTTP-request tool (`uipath.agent.resource.tool.builtin.httprequest`): the agent performs an HTTP call. |
189
- | `inlineAgent` | function | `dist/nodes/agent/flow/factories.d.ts:84-134` | Actions | Declare an INLINE AUTONOMOUS AGENT — an agent defined inside this flow's own project rather than published to… |
189
+ | `inlineAgent` | function | `dist/nodes/agent/flow/factories.d.ts:90-140` | Actions | Declare an INLINE AUTONOMOUS AGENT — an agent defined inside this flow's own project rather than published to… |
190
190
  | `InlineAgentFieldType` | type | `dist/core/actions.d.ts:268-269` | Supporting types | A JSON-schema-ish type for one field of an inline agent's input/output schema. |
191
191
  | `InlineAgentInputs` | interface | `dist/nodes/agent/flow/spec.d.ts:184-445` | Option shapes | What `inlineAgent()` takes: the model and prompts, the inputs and `returns`, the run settings, and the resources the… |
192
192
  | `InOutField` | interface | `dist/core/actions.d.ts:243-260` | Supporting types | A value the reviewer READS **and can correct**: pre-filled from the flow, editable on the form, and the (possibly… |
@@ -295,7 +295,7 @@ could hand you spans for a version you do not have.
295
295
  | `v` | function | `dist/core/expr.d.ts:29-41` | Expressions and types | Reference a flow variable or output by name → `$vars.<name>`. |
296
296
  | `VarDecl` | interface | `dist/flow-sdk.d.ts:66-78` | Supporting types | 7 field(s) |
297
297
  | `VarSpec` | interface | `dist/flow-sdk.d.ts:79-134` | Supporting types | The rich spelling of a variable declaration: pass it instead of a bare `types.*` descriptor wherever `.input()` /… |
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. |
298
+ | `voiceAgent` | function | `dist/nodes/agent/flow/factories.d.ts:40-64` | 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
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`). |
@@ -14020,6 +14020,230 @@
14020
14020
  },
14021
14021
  "supportsErrorHandling": true
14022
14022
  },
14023
+ "uipath.conversational.voice.create-outgoing-call@1.1": {
14024
+ "nodeType": "uipath.conversational.voice.create-outgoing-call",
14025
+ "supportsErrorHandling": true,
14026
+ "version": "1.1",
14027
+ "category": "voice-tools",
14028
+ "description": "Dial an outbound phone call and wait until the media stream is open.",
14029
+ "tags": [
14030
+ "voice",
14031
+ "call",
14032
+ "outgoing",
14033
+ "phone",
14034
+ "dial"
14035
+ ],
14036
+ "sortOrder": 77,
14037
+ "display": {
14038
+ "label": "Create outgoing call",
14039
+ "icon": "phoneOutgoing"
14040
+ },
14041
+ "handleConfiguration": [
14042
+ {
14043
+ "position": "left",
14044
+ "handles": [
14045
+ {
14046
+ "id": "input",
14047
+ "type": "target",
14048
+ "handleType": "input"
14049
+ }
14050
+ ]
14051
+ },
14052
+ {
14053
+ "position": "right",
14054
+ "handles": [
14055
+ {
14056
+ "id": "success",
14057
+ "type": "source",
14058
+ "handleType": "output"
14059
+ },
14060
+ {
14061
+ "id": "error",
14062
+ "label": "Error",
14063
+ "type": "source",
14064
+ "handleType": "output",
14065
+ "visible": "{inputs.errorHandlingEnabled}",
14066
+ "constraints": {
14067
+ "maxConnections": 1
14068
+ }
14069
+ }
14070
+ ]
14071
+ }
14072
+ ],
14073
+ "model": {
14074
+ "type": "bpmn:ServiceTask",
14075
+ "serviceType": "ConversationalService.CreateOutgoingCall"
14076
+ },
14077
+ "inputDefinition": {
14078
+ "type": "object",
14079
+ "properties": {
14080
+ "from": {
14081
+ "type": "string",
14082
+ "minLength": 1,
14083
+ "errorMessage": "From number is required"
14084
+ },
14085
+ "to": {
14086
+ "type": "string",
14087
+ "minLength": 1,
14088
+ "errorMessage": "Destination phone number is required"
14089
+ }
14090
+ },
14091
+ "required": [
14092
+ "from",
14093
+ "to"
14094
+ ]
14095
+ },
14096
+ "inputDefaults": {
14097
+ "from": "",
14098
+ "to": ""
14099
+ },
14100
+ "outputDefinition": {
14101
+ "output": {
14102
+ "type": "object",
14103
+ "description": "The created call context.",
14104
+ "source": "=response",
14105
+ "var": "output",
14106
+ "schema": {
14107
+ "type": "object",
14108
+ "properties": {
14109
+ "callContext": {
14110
+ "type": "object",
14111
+ "description": "Identifies the live call. Pass to voice service tasks and conversational agents.",
14112
+ "properties": {
14113
+ "type": {
14114
+ "type": "string",
14115
+ "enum": [
14116
+ "phone",
14117
+ "web"
14118
+ ],
14119
+ "description": "Call medium"
14120
+ },
14121
+ "id": {
14122
+ "type": "string",
14123
+ "description": "Provider-side call identifier (e.g. Twilio call SID for phone)"
14124
+ },
14125
+ "conversationId": {
14126
+ "type": "string",
14127
+ "format": "uuid",
14128
+ "description": "Identifier of the conversation associated with this call"
14129
+ },
14130
+ "from": {
14131
+ "type": [
14132
+ "string",
14133
+ "null"
14134
+ ],
14135
+ "description": "Phone number the call was placed from: the caller on an incoming call, your number on an outgoing one."
14136
+ },
14137
+ "to": {
14138
+ "type": [
14139
+ "string",
14140
+ "null"
14141
+ ],
14142
+ "description": "Phone number the call was placed to: your number on an incoming call, the callee on an outgoing one."
14143
+ }
14144
+ },
14145
+ "required": [
14146
+ "type",
14147
+ "id",
14148
+ "conversationId"
14149
+ ]
14150
+ }
14151
+ },
14152
+ "required": [
14153
+ "callContext"
14154
+ ]
14155
+ }
14156
+ },
14157
+ "error": {
14158
+ "type": "object",
14159
+ "description": "Error information if the node fails",
14160
+ "source": "=Error",
14161
+ "var": "error",
14162
+ "schema": {
14163
+ "$schema": "http://json-schema.org/draft-07/schema#",
14164
+ "type": "object",
14165
+ "required": [
14166
+ "code",
14167
+ "message",
14168
+ "detail",
14169
+ "category",
14170
+ "status"
14171
+ ],
14172
+ "properties": {
14173
+ "code": {
14174
+ "type": "string",
14175
+ "description": "Error code as a string"
14176
+ },
14177
+ "message": {
14178
+ "type": "string",
14179
+ "description": "High-level error message"
14180
+ },
14181
+ "detail": {
14182
+ "type": "string",
14183
+ "description": "Detailed error description"
14184
+ },
14185
+ "category": {
14186
+ "type": "string",
14187
+ "description": "Error category"
14188
+ },
14189
+ "status": {
14190
+ "type": "integer",
14191
+ "description": "HTTP status code"
14192
+ }
14193
+ },
14194
+ "additionalProperties": false
14195
+ }
14196
+ }
14197
+ },
14198
+ "form": {
14199
+ "id": "create-outgoing-call-properties",
14200
+ "title": "Create outgoing call",
14201
+ "sections": [
14202
+ {
14203
+ "id": "configuration",
14204
+ "title": "Configuration",
14205
+ "collapsible": false,
14206
+ "defaultExpanded": true,
14207
+ "fields": [
14208
+ {
14209
+ "name": "inputs.from",
14210
+ "type": "custom",
14211
+ "component": "sip-trunk-picker",
14212
+ "label": "From",
14213
+ "description": "Outbound number to dial from. Connect numbers in Instance Management → Phone numbers.",
14214
+ "validation": {
14215
+ "required": true,
14216
+ "messages": {
14217
+ "required": "From number is required"
14218
+ }
14219
+ }
14220
+ },
14221
+ {
14222
+ "name": "inputs.to",
14223
+ "type": "custom",
14224
+ "component": "code-editor",
14225
+ "componentProps": {
14226
+ "singleLine": true,
14227
+ "showVariableButton": true,
14228
+ "showAiButton": false,
14229
+ "lineNumbers": false,
14230
+ "expectedType": "text",
14231
+ "defaultToLiteralMode": true
14232
+ },
14233
+ "label": "To",
14234
+ "description": "Destination phone number in E.164 format (e.g. +12025551234).",
14235
+ "validation": {
14236
+ "required": true,
14237
+ "messages": {
14238
+ "required": "Destination phone number is required"
14239
+ }
14240
+ }
14241
+ }
14242
+ ]
14243
+ }
14244
+ ]
14245
+ }
14246
+ },
14023
14247
  "uipath.conversational.voice.end-call@1.0": {
14024
14248
  "nodeType": "uipath.conversational.voice.end-call",
14025
14249
  "version": "1.0",
@@ -19,6 +19,12 @@ import type { ConversationalAgentInputs, CreateOutgoingCallInputs, EndCallInputs
19
19
  * }))
20
20
  * ```
21
21
  *
22
+ * Writes the node at 1.1, whose `callContext` output also declares the call's
23
+ * `from` and `to` numbers. Pass `{ version: '1.0' }` to `.step(...)` to keep an
24
+ * existing 1.0 node (decompile prints that pin). A source written against an
25
+ * earlier release with an unpinned `createOutgoingCall()` compiled to 1.0 and
26
+ * now compiles to 1.1; the node's inputs are the same.
27
+ *
22
28
  * @param inputs - The provisioned `from` number and the `to` number to dial.
23
29
  * @returns An action spec to pass to `.step(...)`.
24
30
  */
@@ -18,6 +18,12 @@ import { builtinActionSpec } from '../../../core/actions.js';
18
18
  * }))
19
19
  * ```
20
20
  *
21
+ * Writes the node at 1.1, whose `callContext` output also declares the call's
22
+ * `from` and `to` numbers. Pass `{ version: '1.0' }` to `.step(...)` to keep an
23
+ * existing 1.0 node (decompile prints that pin). A source written against an
24
+ * earlier release with an unpinned `createOutgoingCall()` compiled to 1.0 and
25
+ * now compiles to 1.1; the node's inputs are the same.
26
+ *
21
27
  * @param inputs - The provisioned `from` number and the `to` number to dial.
22
28
  * @returns An action spec to pass to `.step(...)`.
23
29
  */
@@ -2,7 +2,8 @@
2
2
  * The agents family's node types: the text conversational agent
3
3
  * (`uipath.agent.conversational`, 1.6 and 1.7), the voice agent
4
4
  * (`uipath.agent.voice`, 1.0 and 1.1), and the two voice call steps
5
- * (`uipath.conversational.voice.create-outgoing-call` and `.end-call`, 1.0).
5
+ * (`uipath.conversational.voice.create-outgoing-call`, 1.0 and 1.1, and
6
+ * `.end-call`, 1.0).
6
7
  * Every one is bundled. The two agents are SHELL nodes: the node carries the
7
8
  * agent's folder (`source`) and its turn wiring, and the prompt, model and run
8
9
  * settings live in the `<source>/agent.json` sidecar it writes (#927). Moved
@@ -366,16 +367,27 @@ function printShellAgent(spec, ctx) {
366
367
  };
367
368
  }
368
369
  // ─── the node types ─────────────────────────────────────────────────────────
369
- const createOutgoingCall10 = {
370
- kind: 'createOutgoingCall', typeName: CREATE_OUTGOING_CALL, version: '1.0', factory: 'createOutgoingCall', definition: 'bundled',
371
- rawNode: { factory: 'createOutgoingCall()' },
372
- serialize: (spec, ctx) => serializeCall(spec, ctx, CREATE_OUTGOING_CALL),
373
- deserialize: (node) => liftCall(node, 'createOutgoingCall'),
374
- print: (spec, ctx) => printCall(spec, ctx),
375
- check: (spec, ctx) => checkVoice('createOutgoingCall', spec.inputs, ctx),
376
- // check collected no expressions for a voice step before the port; unchanged by it.
377
- expressions: () => [],
378
- output: opaque,
370
+ function createOutgoingCallAt(version) {
371
+ return {
372
+ kind: 'createOutgoingCall', typeName: CREATE_OUTGOING_CALL, version, factory: 'createOutgoingCall', definition: 'bundled',
373
+ rawNode: { factory: 'createOutgoingCall()' },
374
+ serialize: (spec, ctx) => serializeCall(spec, ctx, CREATE_OUTGOING_CALL),
375
+ deserialize: (node) => liftCall(node, 'createOutgoingCall'),
376
+ print: (spec, ctx) => printCall(spec, ctx),
377
+ check: (spec, ctx) => checkVoice('createOutgoingCall', spec.inputs, ctx),
378
+ // check collected no expressions for a voice step before the port; unchanged by it.
379
+ expressions: () => [],
380
+ output: opaque,
381
+ };
382
+ }
383
+ const createOutgoingCall = {
384
+ kind: 'createOutgoingCall', typeName: CREATE_OUTGOING_CALL, factory: 'createOutgoingCall',
385
+ // 1.1 is definition-only: its output's `callContext` also declares `from` and
386
+ // `to` (the two numbers). The node itself is the same at both versions. An
387
+ // unpinned step writes 1.1; `{ version: '1.0' }`, which decompile prints for
388
+ // an existing 1.0 node, keeps writing 1.0.
389
+ defaultVersion: '1.1',
390
+ versions: { '1.0': createOutgoingCallAt('1.0'), '1.1': createOutgoingCallAt('1.1') },
379
391
  };
380
392
  const endCall10 = {
381
393
  kind: 'endCall', typeName: END_CALL, version: '1.0', factory: 'endCall', definition: 'bundled',
@@ -457,4 +469,4 @@ const inlineAgent = {
457
469
  defaultVersion: INLINE_AGENT_DEFAULT_VERSION,
458
470
  versions: Object.fromEntries(INLINE_AGENT_VERSIONS.map((v) => [v, inlineAgentAt(v)])),
459
471
  };
460
- export const agentNodeTypes = [createOutgoingCall10, endCall10, voiceAgent, conversationalAgent, inlineAgent];
472
+ export const agentNodeTypes = [createOutgoingCall, endCall10, voiceAgent, conversationalAgent, inlineAgent];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/maestro-builder-sdk",
3
- "version": "6.91.2",
3
+ "version": "6.92.0",
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": "a6c4e085c2066018e9c0e4d3b87257130920440a"
114
+ "gitref": "e5295f39727d20f6487ed154e5aec1b67a850888"
115
115
  }