@uipath/maestro-builder-sdk 6.87.1 → 6.87.2

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
@@ -41,7 +41,7 @@ could hand you spans for a version you do not have.
41
41
 
42
42
  ## `@uipath/maestro-builder-sdk`
43
43
 
44
- 252 symbol(s). Import from `@uipath/maestro-builder-sdk`.
44
+ 254 symbol(s). Import from `@uipath/maestro-builder-sdk`.
45
45
 
46
46
  | Symbol | Kind | Declaration | Area | Summary |
47
47
  | --- | --- | --- | --- | --- |
@@ -81,6 +81,8 @@ could hand you spans for a version you do not have.
81
81
  | `CanonicalFormFieldType` | type | `dist/core/actions.d.ts:59-65` | Supporting types | The platform's 11 canonical quick-form field types (`@uipath/hitl-schema-types` `fieldType`), which the designer saves. |
82
82
  | `CaseValue` | type | `dist/flow-sdk.d.ts:182-183` | Supporting types | A value a `.switch` case compares the discriminant against. |
83
83
  | `ChildFlow` | type | `dist/flow-sdk.d.ts:62-65` | Supporting types | Anything `subflow()` accepts as the child: a builder, or an already-built flow. |
84
+ | `ClassificationClass` | interface | `dist/nodes/document/flow/spec.d.ts:47-55` | Supporting types | One document type in a ClassificationSchema. |
85
+ | `ClassificationSchema` | interface | `dist/nodes/document/flow/spec.d.ts:40-46` | Supporting types | The taxonomy of a `documentClassify()` step: what the classifier chooses between. |
84
86
  | `ClientSideToolRef` | interface | `dist/core/actions.d.ts:494-509` | Supporting types | A CLIENT-side tool: the agent asks the CALLING application to run it and hand the answer back… |
85
87
  | `connector` | function | `dist/core/actions.d.ts:886-909` | Actions | Declare an Integration Service connector action — the typed form, where a generated descriptor supplies the nodeType and… |
86
88
  | `connector` | function | `dist/core/actions.d.ts:910-926` | Actions | Stringly form, for a connector with no prepared module — `connector('uipath-salesforce-slack',… |
@@ -124,11 +126,11 @@ could hand you spans for a version you do not have.
124
126
  | `descriptor` | function | `dist/core/connectors.d.ts:111-123` | Generated descriptors | Brand a descriptor literal with its input/output types (zero runtime cost). |
125
127
  | `dim` | function | `dist/flow-sdk.d.ts:610-632` | Flow construction | A node's size on the canvas, in pixels — the third argument of at. |
126
128
  | `documentClassify` | function | `dist/nodes/document/flow/factories.d.ts:8-19` | Actions | Classify a document into a document type (`uipath.document.classify`). |
127
- | `DocumentClassifyInputs` | interface | `dist/nodes/document/flow/spec.d.ts:10-20` | Option shapes | What `documentClassify()` takes: the document, and how to split and classify it. |
129
+ | `DocumentClassifyInputs` | interface | `dist/nodes/document/flow/spec.d.ts:10-39` | Option shapes | What `documentClassify()` takes: the document, and how to split and classify it. |
128
130
  | `DocValidationInputs` | interface | `dist/nodes/hitl/flow/spec.d.ts:76-99` | Option shapes | The Document Validation task's subject — `variant: 'document-validation'` only. |
129
131
  | `DoWhileOptions` | interface | `dist/flow-sdk.d.ts:435-444` | Option shapes | Do-while options. |
130
132
  | `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… |
131
- | `DynamicExtractInputs` | interface | `dist/nodes/document/flow/spec.d.ts:21-56` | Option shapes | What `dynamicExtract()` takes: the document and the fields to extract from it. |
133
+ | `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. |
132
134
  | `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. |
133
135
  | `endCall` | function | `dist/nodes/agent/flow/factories.d.ts:26-33` | Actions | Hang up (`uipath.conversational.voice.end-call`). |
134
136
  | `EndCallInputs` | interface | `dist/nodes/agent/flow/spec.d.ts:96-104` | Option shapes | What `endCall()` takes: the call to hang up. |
@@ -189,7 +191,7 @@ could hand you spans for a version you do not have.
189
191
  | `input` | function | `dist/core/expr.d.ts:44-61` | Expressions and types | Reference a flow input by name → `$vars.<triggerId>.output.<name>`. |
190
192
  | `isLookupToken` | function | `dist/core/lookups.d.ts:53-54` | Generated descriptors | True when `v` is an unresolved LookupToken. |
191
193
  | `ixpExtract` | function | `dist/nodes/document/flow/factories.d.ts:31-85` | Actions | Extract fields from a document with a published IxP project — the platform's **Extract** node (`uipath.ixp.*`, service… |
192
- | `IxpExtractInputs` | interface | `dist/nodes/document/flow/spec.d.ts:74-149` | Option shapes | What `ixpExtract()` takes: the IxP project's extractor, its identity on the tenant, and the document. |
194
+ | `IxpExtractInputs` | interface | `dist/nodes/document/flow/spec.d.ts:109-184` | Option shapes | What `ixpExtract()` takes: the IxP project's extractor, its identity on the tenant, and the document. |
193
195
  | `IxpToolRef` | interface | `dist/core/actions.d.ts:668-706` | Supporting types | A published IxP (Intelligent eXtraction Platform) project as a tool — the agent decides when to extract a document and… |
194
196
  | `js` | function | `dist/core/expr.d.ts:247-282` | Expressions and types | Build a raw JS *expression* (a condition or computation). |
195
197
  | `lit` | function | `dist/core/expr.d.ts:22-28` | Expressions and types | A constant value baked directly into a node input. |
@@ -5,13 +5,13 @@
5
5
 
6
6
  # Maestro Builder SDK — member index
7
7
 
8
- **A lookup table of 1303 rows — match one name in it, do not read it.**
8
+ **A lookup table of 1309 rows — match one name in it, do not read it.**
9
9
  Grep or search for the member you have; the row it lands on is the whole
10
10
  answer. Reading top to bottom costs ~20x what the one row does and tells you
11
11
  nothing you asked for.
12
12
 
13
- Every field and method of every exported shape — 1303 across
14
- 242 interfaces and classes — keyed by the MEMBER's own name.
13
+ Every field and method of every exported shape — 1309 across
14
+ 244 interfaces and classes — keyed by the MEMBER's own name.
15
15
 
16
16
  **Use this when the name you have is a field or a method**, which is usually
17
17
  the case: the reference pages are "one line per field", so you arrive holding
@@ -32,7 +32,7 @@ truncated summary would, for less. Read the span.
32
32
  Member names repeat across shapes (`name` is declared on 69 of them), so the
33
33
  `Declared on` column is what makes a match actionable. For the whole shape
34
34
  rather than the one field, look that name up in [`api-index.md`](api-index.md) —
35
- which is why its span is not repeated on all 1303 rows here.
35
+ which is why its span is not repeated on all 1309 rows here.
36
36
 
37
37
  **A name that misses both indexes is probably not part of the API.** The one
38
38
  that comes up is a RUNTIME output key — a human task's `Action`, a step's
@@ -144,6 +144,8 @@ not find it either.
144
144
  | `child` | property | `SubflowSpec` | `dist/flow-sdk.d.ts:55-56` |
145
145
  | `choose` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3137-3178` |
146
146
  | `citationMode` | property | `BuiltinToolRef` | `dist/core/actions.d.ts:583-584` |
147
+ | `classes` | property | `ClassificationSchema` | `dist/nodes/document/flow/spec.d.ts:44-45` |
148
+ | `classificationSchema` | property | `DocumentClassifyInputs` | `dist/nodes/document/flow/spec.d.ts:20-38` |
147
149
  | `code` | property | `ContributionDiagnostic` | `dist/core/node-classes.d.ts:27-28` |
148
150
  | `code` | property | `ErrorDecl` | `dist/bpmn/bpmn-sdk.d.ts:469-470` |
149
151
  | `code` | property | `ErrorMappingRow` | `dist/bpmn/bpmn-sdk.d.ts:329-337` |
@@ -267,7 +269,7 @@ not find it either.
267
269
  | `description` | method | `FlowBuilder` | `dist/flow-sdk.d.ts:1305-1312` |
268
270
  | `description` | property | `FormFieldSettings` | `dist/core/actions.d.ts:204-205` |
269
271
  | `description` | property | `HttpRequestToolRef` | `dist/core/actions.d.ts:520` |
270
- | `description` | property | `IxpExtractInputs` | `dist/nodes/document/flow/spec.d.ts:141-148` |
272
+ | `description` | property | `IxpExtractInputs` | `dist/nodes/document/flow/spec.d.ts:176-183` |
271
273
  | `description` | property | `IxpToolRef` | `dist/core/actions.d.ts:693-694` |
272
274
  | `description` | property | `ManualTriggerOpts` | `dist/case/case-sdk.d.ts:297` |
273
275
  | `description` | property | `McpToolRef` | `dist/core/actions.d.ts:456` |
@@ -308,7 +310,7 @@ not find it either.
308
310
  | `displayName` | property | `SlaOpts` | `dist/case/case-sdk.d.ts:255-260` |
309
311
  | `displayName` | property | `TriggerMeta` | `dist/core/connectors.d.ts:140-141` |
310
312
  | `document` | property | `HitlInputs` | `dist/nodes/hitl/flow/spec.d.ts:419-423` |
311
- | `documentClassify` | property | `FlowActionSpecs` | `dist/nodes/document/flow/spec.d.ts:152-155` |
313
+ | `documentClassify` | property | `FlowActionSpecs` | `dist/nodes/document/flow/spec.d.ts:187-190` |
312
314
  | `documentExtraction` | property | `BuiltTask` | `dist/case/case-sdk.d.ts:950-951` |
313
315
  | `documentExtraction` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:1464-1482` |
314
316
  | `documentExtractionSaved` | property | `BuiltTask` | `dist/case/case-sdk.d.ts:952-953` |
@@ -318,7 +320,7 @@ not find it either.
318
320
  | `draft` | property | `StepOptions` | `dist/flow-sdk.d.ts:302-316` |
319
321
  | `dueDate` | property | `QueueItemInputs` | `dist/nodes/queue/flow/spec.d.ts:50-51` |
320
322
  | `duration` | property | `TimerSpec` | `dist/bpmn/bpmn-sdk.d.ts:35-36` |
321
- | `dynamicExtract` | property | `FlowActionSpecs` | `dist/nodes/document/flow/spec.d.ts:156-159` |
323
+ | `dynamicExtract` | property | `FlowActionSpecs` | `dist/nodes/document/flow/spec.d.ts:191-194` |
322
324
  | `dynamicFewShotLearning` | property | `AgentMemoryRef` | `dist/core/actions.d.ts:556-557` |
323
325
  | `edges` | property | `FlowLayout` | `dist/flow-sdk.d.ts:706-707` |
324
326
  | `effects` | property | `FormFieldRule` | `dist/core/actions.d.ts:161-162` |
@@ -420,8 +422,8 @@ not find it either.
420
422
  | `fileExtension` | property | `BuiltinToolRef` | `dist/core/actions.d.ts:581-582` |
421
423
  | `fileExtension` | property | `ContextIndexRef` | `dist/core/actions.d.ts:807-808` |
422
424
  | `fileRef` | property | `DocumentClassifyInputs` | `dist/nodes/document/flow/spec.d.ts:12-13` |
423
- | `fileRef` | property | `DynamicExtractInputs` | `dist/nodes/document/flow/spec.d.ts:23-24` |
424
- | `fileRef` | property | `IxpExtractInputs` | `dist/nodes/document/flow/spec.d.ts:115-129` |
425
+ | `fileRef` | property | `DynamicExtractInputs` | `dist/nodes/document/flow/spec.d.ts:58-59` |
426
+ | `fileRef` | property | `IxpExtractInputs` | `dist/nodes/document/flow/spec.d.ts:150-164` |
425
427
  | `filter` | property | `ConnectorEventOpts` | `dist/bpmn/bpmn-sdk.d.ts:1559-1574` |
426
428
  | `filters` | property | `ConnectorEventOpts` | `dist/bpmn/bpmn-sdk.d.ts:1575-1590` |
427
429
  | `filters` | property | `DataFabricReadInputs` | `dist/nodes/data-fabric/flow/spec.d.ts:85-86` |
@@ -462,7 +464,7 @@ not find it either.
462
464
  | `folderKey` | property | `OrchestratorOpts` | `dist/bpmn/bpmn-sdk.d.ts:1325-1333` |
463
465
  | `folderKey` | property | `RemoteA2aToolRef` | `dist/core/actions.d.ts:491` |
464
466
  | `FolderKey` | property | `FlowMetadata` | `dist/nodes/script/flow/spec.d.ts:85-86` |
465
- | `folderName` | property | `IxpExtractInputs` | `dist/nodes/document/flow/spec.d.ts:108-114` |
467
+ | `folderName` | property | `IxpExtractInputs` | `dist/nodes/document/flow/spec.d.ts:143-149` |
466
468
  | `folderPath` | property | `AgenticProcessInputsBase` | `dist/nodes/process/flow/spec.d.ts:214-221` |
467
469
  | `folderPath` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:317-328` |
468
470
  | `folderPath` | property | `ApiWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:92-99` |
@@ -470,7 +472,7 @@ not find it either.
470
472
  | `folderPath` | property | `ConnectorEventOpts` | `dist/bpmn/bpmn-sdk.d.ts:1540-1546` |
471
473
  | `folderPath` | property | `ContextIndexRef` | `dist/core/actions.d.ts:791-792` |
472
474
  | `folderPath` | property | `HitlConnection` | `dist/nodes/hitl/flow/spec.d.ts:30-31` |
473
- | `folderPath` | property | `IxpExtractInputs` | `dist/nodes/document/flow/spec.d.ts:134-140` |
475
+ | `folderPath` | property | `IxpExtractInputs` | `dist/nodes/document/flow/spec.d.ts:169-175` |
474
476
  | `folderPath` | property | `McpToolRef` | `dist/core/actions.d.ts:457-458` |
475
477
  | `folderPath` | property | `ProcessToolRef` | `dist/core/actions.d.ts:655-656` |
476
478
  | `folderPath` | property | `PublishedFunctionInputs` | `dist/nodes/process/flow/spec.d.ts:156-166` |
@@ -487,6 +489,7 @@ not find it either.
487
489
  | `from` | property | `CreateOutgoingCallInputs` | `dist/nodes/agent/flow/spec.d.ts:88-92` |
488
490
  | `fromFunction` | property | `CaseScriptSpec` | `dist/case/case-sdk.d.ts:563-564` |
489
491
  | `function` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:1321-1336` |
492
+ | `generalInstructions` | property | `ClassificationSchema` | `dist/nodes/document/flow/spec.d.ts:42-43` |
490
493
  | `goto` | method | `PathBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3447-3471` |
491
494
  | `guardrails` | property | `ConversationalAgentInputs` | `dist/nodes/agent/flow/spec.d.ts:77-78` |
492
495
  | `guardrails` | property | `InlineAgentInputs` | `dist/nodes/agent/flow/spec.d.ts:304-320` |
@@ -518,6 +521,7 @@ not find it either.
518
521
  | `id` | property | `BuiltFlow` | `dist/flow-sdk.d.ts:723` |
519
522
  | `id` | property | `BuiltInValidatorGuardrail` | `dist/core/actions.d.ts:355-356` |
520
523
  | `id` | property | `CaseAppSection` | `dist/case/case-sdk.d.ts:1052-1053` |
524
+ | `id` | property | `ClassificationClass` | `dist/nodes/document/flow/spec.d.ts:49-50` |
521
525
  | `id` | property | `ContextIndexRef` | `dist/core/actions.d.ts:785-790` |
522
526
  | `id` | property | `CustomGuardrail` | `dist/core/actions.d.ts:342-343` |
523
527
  | `id` | property | `ErrorDecl` | `dist/bpmn/bpmn-sdk.d.ts:465-466` |
@@ -585,6 +589,7 @@ not find it either.
585
589
  | `inputSchema` | property | `ScriptTaskOpts` | `dist/bpmn/bpmn-sdk.d.ts:975-986` |
586
590
  | `inputTarget` | property | `RegistryTypeSpec` | `dist/bpmn/typed-node.d.ts:93` |
587
591
  | `InstanceId` | property | `FlowMetadata` | `dist/nodes/script/flow/spec.d.ts:87-88` |
592
+ | `instructions` | property | `ClassificationClass` | `dist/nodes/document/flow/spec.d.ts:53-54` |
588
593
  | `intermediateCatchEvent` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2361-2368` |
589
594
  | `intermediateThrowEvent` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2369-2376` |
590
595
  | `internal` | property | `BpmnVarDecl` | `dist/bpmn/bpmn-sdk.d.ts:422-423` |
@@ -603,7 +608,7 @@ not find it either.
603
608
  | `item` | property | `QueueItemOpts` | `dist/bpmn/bpmn-sdk.d.ts:1374-1375` |
604
609
  | `items` | property | `ActionSchemaProperty` | `dist/nodes/hitl/flow/spec.d.ts:269-270` |
605
610
  | `itemVar` | property | `LoopSpec` | `dist/bpmn/bpmn-sdk.d.ts:83-84` |
606
- | `ixpExtract` | property | `FlowActionSpecs` | `dist/nodes/document/flow/spec.d.ts:160-163` |
611
+ | `ixpExtract` | property | `FlowActionSpecs` | `dist/nodes/document/flow/spec.d.ts:195-198` |
607
612
  | `join` | property | `ChooseOpts` | `dist/bpmn/bpmn-sdk.d.ts:1953-1954` |
608
613
  | `join` | property | `SplitOpts` | `dist/bpmn/bpmn-sdk.d.ts:1960-1961` |
609
614
  | `js` | property | `Expr` | `dist/core/expr.d.ts:17` |
@@ -716,15 +721,15 @@ not find it either.
716
721
  | `mode` | property | `InlineAgentInputs` | `dist/nodes/agent/flow/spec.d.ts:297-303` |
717
722
  | `model` | property | `CaseDocumentExtractionSpec` | `dist/case/case-sdk.d.ts:637-638` |
718
723
  | `model` | property | `ConversationalAgentInputs` | `dist/nodes/agent/flow/spec.d.ts:46-47` |
719
- | `model` | property | `DynamicExtractInputs` | `dist/nodes/document/flow/spec.d.ts:25-44` |
724
+ | `model` | property | `DynamicExtractInputs` | `dist/nodes/document/flow/spec.d.ts:60-79` |
720
725
  | `model` | property | `InlineAgentInputs` | `dist/nodes/agent/flow/spec.d.ts:165-172` |
721
726
  | `model` | property | `VoiceSettings` | `dist/nodes/agent/flow/spec.d.ts:117-118` |
722
727
  | `modelConfig` | property | `DocumentClassifyInputs` | `dist/nodes/document/flow/spec.d.ts:18-19` |
723
- | `modelConfig` | property | `DynamicExtractInputs` | `dist/nodes/document/flow/spec.d.ts:54-55` |
728
+ | `modelConfig` | property | `DynamicExtractInputs` | `dist/nodes/document/flow/spec.d.ts:89-90` |
724
729
  | `modelMaxTokens` | property | `ConversationalAgentInputs` | `dist/nodes/agent/flow/spec.d.ts:68-74` |
725
730
  | `modelMaxTokens` | property | `InlineAgentInputs` | `dist/nodes/agent/flow/spec.d.ts:287-294` |
726
731
  | `modelMaxTokens` | property | `VoiceSettings` | `dist/nodes/agent/flow/spec.d.ts:125-126` |
727
- | `modelName` | property | `IxpExtractInputs` | `dist/nodes/document/flow/spec.d.ts:90-101` |
732
+ | `modelName` | property | `IxpExtractInputs` | `dist/nodes/document/flow/spec.d.ts:125-136` |
728
733
  | `mustClose` | property | `ScopeStorage` | `dist/bpmn/bpmn-sdk.d.ts:2071-2075` |
729
734
  | `name` | property | `ActionAppRef` | `dist/case/case-sdk.d.ts:834-835` |
730
735
  | `name` | property | `ActionField` | `dist/case/case-sdk.d.ts:795-796` |
@@ -753,6 +758,7 @@ not find it either.
753
758
  | `name` | property | `CaseVarDecl` | `dist/case/case-sdk.d.ts:1020` |
754
759
  | `name` | property | `CatchOpts` | `dist/bpmn/bpmn-sdk.d.ts:761-762` |
755
760
  | `name` | property | `ChooseOpts` | `dist/bpmn/bpmn-sdk.d.ts:1946-1947` |
761
+ | `name` | property | `ClassificationClass` | `dist/nodes/document/flow/spec.d.ts:51-52` |
756
762
  | `name` | property | `ClientSideToolRef` | `dist/core/actions.d.ts:501-502` |
757
763
  | `name` | property | `ConnectorEventOpts` | `dist/bpmn/bpmn-sdk.d.ts:1534-1535` |
758
764
  | `name` | property | `ConnectorOutputRow` | `dist/bpmn/bpmn-sdk.d.ts:3351-3352` |
@@ -777,7 +783,7 @@ not find it either.
777
783
  | `name` | property | `HttpOpts` | `dist/bpmn/bpmn-sdk.d.ts:1198-1199` |
778
784
  | `name` | property | `HttpRequestToolRef` | `dist/core/actions.d.ts:518-519` |
779
785
  | `name` | property | `HumanTaskCommonOpts` | `dist/bpmn/bpmn-sdk.d.ts:1400-1401` |
780
- | `name` | property | `IxpExtractInputs` | `dist/nodes/document/flow/spec.d.ts:102-107` |
786
+ | `name` | property | `IxpExtractInputs` | `dist/nodes/document/flow/spec.d.ts:137-142` |
781
787
  | `name` | property | `IxpToolRef` | `dist/core/actions.d.ts:691-692` |
782
788
  | `name` | property | `JoinOpts` | `dist/bpmn/bpmn-sdk.d.ts:1941-1942` |
783
789
  | `name` | property | `ManualTriggerOpts` | `dist/case/case-sdk.d.ts:296` |
@@ -898,8 +904,8 @@ not find it either.
898
904
  | `outputVar` | property | `ReceiveMessageOpts` | `dist/bpmn/bpmn-sdk.d.ts:1503-1504` |
899
905
  | `pageRange` | property | `CaseDocumentExtractionSpec` | `dist/case/case-sdk.d.ts:663-664` |
900
906
  | `pageRange` | property | `DocumentClassifyInputs` | `dist/nodes/document/flow/spec.d.ts:14-15` |
901
- | `pageRange` | property | `DynamicExtractInputs` | `dist/nodes/document/flow/spec.d.ts:52-53` |
902
- | `pageRange` | property | `IxpExtractInputs` | `dist/nodes/document/flow/spec.d.ts:130-131` |
907
+ | `pageRange` | property | `DynamicExtractInputs` | `dist/nodes/document/flow/spec.d.ts:87-88` |
908
+ | `pageRange` | property | `IxpExtractInputs` | `dist/nodes/document/flow/spec.d.ts:165-166` |
903
909
  | `parallel` | property | `LoopOptions` | `dist/flow-sdk.d.ts:422-423` |
904
910
  | `parallel` | method | `StepList` | `dist/flow-sdk.d.ts:1034-1076` |
905
911
  | `parallelGateway` | method | `ScopeBuilder` | `dist/bpmn/bpmn-sdk.d.ts:2394-2403` |
@@ -936,7 +942,7 @@ not find it either.
936
942
  | `process` | method | `TaskBuilder` | `dist/case/case-sdk.d.ts:1231-1240` |
937
943
  | `processId` | property | `SugarRegistry` | `dist/bpmn/bpmn-sdk.d.ts:2095-2100` |
938
944
  | `ProcessKey` | property | `FlowMetadata` | `dist/nodes/script/flow/spec.d.ts:89-90` |
939
- | `project` | property | `IxpExtractInputs` | `dist/nodes/document/flow/spec.d.ts:76-89` |
945
+ | `project` | property | `IxpExtractInputs` | `dist/nodes/document/flow/spec.d.ts:111-124` |
940
946
  | `projectId` | property | `AgenticProcessInputsBase` | `dist/nodes/process/flow/spec.d.ts:222-229` |
941
947
  | `projectId` | property | `AgentInputs` | `dist/nodes/process/flow/spec.d.ts:329-334` |
942
948
  | `projectId` | property | `ApiWorkflowInputs` | `dist/nodes/process/flow/spec.d.ts:100-108` |
@@ -1056,7 +1062,7 @@ not find it either.
1056
1062
  | `schema` | method | `BpmnBuilder` | `dist/bpmn/bpmn-sdk.d.ts:3666-3691` |
1057
1063
  | `schema` | property | `BpmnVarDecl` | `dist/bpmn/bpmn-sdk.d.ts:416-417` |
1058
1064
  | `schema` | property | `DataServiceOpts` | `dist/bpmn/bpmn-sdk.d.ts:1180-1185` |
1059
- | `schema` | property | `DynamicExtractInputs` | `dist/nodes/document/flow/spec.d.ts:45-51` |
1065
+ | `schema` | property | `DynamicExtractInputs` | `dist/nodes/document/flow/spec.d.ts:80-86` |
1060
1066
  | `schema` | property | `TypedOutputRow` | `dist/bpmn/typed-node.d.ts:300-301` |
1061
1067
  | `schema` | property | `VarDecl` | `dist/flow-sdk.d.ts:74-75` |
1062
1068
  | `schema` | property | `VarOpts` | `dist/bpmn/bpmn-sdk.d.ts:1800-1813` |
@@ -1323,7 +1329,7 @@ not find it either.
1323
1329
  | `version` | property | `NodeOptions` | `dist/flow-sdk.d.ts:240-247` |
1324
1330
  | `version` | property | `TriggerMeta` | `dist/core/connectors.d.ts:139` |
1325
1331
  | `version` | property | `TriggerOptions` | `dist/core/actions.d.ts:1049-1050` |
1326
- | `versionTag` | property | `IxpExtractInputs` | `dist/nodes/document/flow/spec.d.ts:132-133` |
1332
+ | `versionTag` | property | `IxpExtractInputs` | `dist/nodes/document/flow/spec.d.ts:167-168` |
1327
1333
  | `versionTag` | property | `IxpToolRef` | `dist/core/actions.d.ts:695-696` |
1328
1334
  | `voice` | property | `VoiceAgentInputs` | `dist/nodes/agent/flow/spec.d.ts:148-149` |
1329
1335
  | `voiceAgent` | property | `FlowActionSpecs` | `dist/nodes/agent/flow/spec.d.ts:435-438` |
package/dist/decompile.js CHANGED
@@ -2936,7 +2936,9 @@ function canonicalJson(v) {
2936
2936
  * a script body, a decision or switch `expression`, a loop's `condition` and
2937
2937
  * `completionCondition`, an HTTP branch's `conditionExpression`, a transform's
2938
2938
  * `collection`. `serialize` renames `$vars` reads in exactly these and in
2939
- * `=js:` values.
2939
+ * `=js:` values. A loop's `completionCondition` is listed for files written
2940
+ * before #1763: the SDK now writes it as a jsExpression envelope, because the
2941
+ * runtime ignores the bare string.
2940
2942
  */
2941
2943
  const RAW_JS_FIELDS = new Set(['script', 'expression', 'condition', 'completionCondition', 'conditionExpression', 'collection']);
2942
2944
  /**
@@ -34,6 +34,68 @@ function liftPageRange(node) {
34
34
  const p = node.inputs?.pageRange;
35
35
  return typeof p === 'string' && p !== '' ? p : undefined;
36
36
  }
37
+ /**
38
+ * An object input of the node when it differs from the definition's default for
39
+ * it, as the lift keeps it: the designer writes the default on every node, and
40
+ * an author who leaves the field out gets that default back from serialize.
41
+ * Absent: undefined. Present but not a plain object (an expression such as
42
+ * `=js:vars.taxonomy`): reported as lossy, since the option takes an object only.
43
+ */
44
+ function liftObjectInput(node, key, ctx) {
45
+ const value = node.inputs?.[key];
46
+ if (value === undefined)
47
+ return undefined;
48
+ const raw = ctx.plainValue(value);
49
+ // sourceText is defined for a string and for an expression envelope.
50
+ const text = ctx.sourceText(raw);
51
+ if (text !== undefined || raw === null || typeof raw !== 'object' || Array.isArray(raw)) {
52
+ ctx.lossy(classifyLoss(ctx, key, `is ${JSON.stringify(text ?? raw)}, not an object`));
53
+ return undefined;
54
+ }
55
+ const fallback = ctx.definition()?.inputDefaults?.[key];
56
+ return JSON.stringify(raw) === JSON.stringify(fallback) ? undefined : raw;
57
+ }
58
+ function classifyLoss(ctx, key, what) {
59
+ return `classify step ${JSON.stringify(ctx.nodeId)}: ${key} ${what}, which documentClassify() cannot express, `
60
+ + `so compile writes the definition's default instead.`;
61
+ }
62
+ const SCHEMA_KEYS = new Set(['generalInstructions', 'classes']);
63
+ const CLASS_KEYS = new Set(['id', 'name', 'instructions']);
64
+ const optionalString = (v) => v === undefined || typeof v === 'string';
65
+ /** Why a lifted `classificationSchema` does not fit {@link ClassificationSchema}; undefined when it does. */
66
+ function classificationSchemaMismatch(raw) {
67
+ const extra = Object.keys(raw).filter((k) => !SCHEMA_KEYS.has(k));
68
+ if (extra.length > 0)
69
+ return `has key(s) ${extra.join(', ')}`;
70
+ if (!optionalString(raw.generalInstructions))
71
+ return 'has a generalInstructions that is not a string';
72
+ if (!Array.isArray(raw.classes))
73
+ return 'has no classes array';
74
+ for (const [i, c] of raw.classes.entries()) {
75
+ if (c === null || typeof c !== 'object' || Array.isArray(c))
76
+ return `has a classes[${i}] that is not an object`;
77
+ const cls = c;
78
+ const extraC = Object.keys(cls).filter((k) => !CLASS_KEYS.has(k));
79
+ if (extraC.length > 0)
80
+ return `has classes[${i}] key(s) ${extraC.join(', ')}`;
81
+ if (typeof cls.id !== 'string' || typeof cls.name !== 'string' || !optionalString(cls.instructions)) {
82
+ return `has a classes[${i}] whose id, name or instructions is not a string`;
83
+ }
84
+ }
85
+ return undefined;
86
+ }
87
+ /** `classificationSchema` as the lift keeps it: only a value that type-checks as {@link ClassificationSchema}. */
88
+ function liftClassificationSchema(node, ctx) {
89
+ const raw = liftObjectInput(node, 'classificationSchema', ctx);
90
+ if (raw === undefined)
91
+ return undefined;
92
+ const mismatch = classificationSchemaMismatch(raw);
93
+ if (mismatch !== undefined) {
94
+ ctx.lossy(classifyLoss(ctx, 'classificationSchema', mismatch));
95
+ return undefined;
96
+ }
97
+ return raw;
98
+ }
37
99
  export const documentClassifyNodeType = {
38
100
  kind: 'documentClassify', typeName: 'uipath.document.classify', version: '1.0', factory: 'documentClassify',
39
101
  definition: 'bundled', rawNode: { factory: 'documentClassify()' },
@@ -50,18 +112,23 @@ export const documentClassifyNodeType = {
50
112
  ...(inputs.modelConfig !== undefined
51
113
  ? { modelConfig: { ...(d.modelConfig ?? {}), ...inputs.modelConfig } }
52
114
  : {}),
115
+ ...(inputs.classificationSchema !== undefined ? { classificationSchema: jsonClone(inputs.classificationSchema) } : {}),
53
116
  },
54
117
  };
55
118
  },
56
119
  deserialize: (node, ctx) => {
57
120
  const pageRange = liftPageRange(node);
58
121
  const split = ctx.plainValue(node.inputs?.splitPages);
122
+ const modelConfig = liftObjectInput(node, 'modelConfig', ctx);
123
+ const classificationSchema = liftClassificationSchema(node, ctx);
59
124
  return {
60
125
  kind: 'documentClassify',
61
126
  inputs: {
62
127
  fileRef: liftFileRef(node, ctx),
63
128
  ...(pageRange !== undefined ? { pageRange } : {}),
64
129
  ...(split === true ? { splitPages: true } : {}),
130
+ ...(modelConfig !== undefined ? { modelConfig } : {}),
131
+ ...(classificationSchema !== undefined ? { classificationSchema } : {}),
65
132
  },
66
133
  };
67
134
  },
@@ -71,6 +138,8 @@ export const documentClassifyNodeType = {
71
138
  ['fileRef', ctx.value(inputs.fileRef)],
72
139
  ['pageRange', inputs.pageRange !== undefined ? ctx.string(inputs.pageRange) : undefined],
73
140
  ['splitPages', inputs.splitPages === true ? 'true' : undefined],
141
+ ['modelConfig', inputs.modelConfig !== undefined ? ctx.json(inputs.modelConfig) : undefined],
142
+ ['classificationSchema', inputs.classificationSchema !== undefined ? ctx.json(inputs.classificationSchema) : undefined],
74
143
  ],
75
144
  }),
76
145
  check: ({ inputs }, ctx) => checkFileRef(inputs, 'classify', ctx),
@@ -17,6 +17,41 @@ export interface DocumentClassifyInputs {
17
17
  splitPages?: boolean;
18
18
  /** Model configuration overrides; omit for the platform defaults (gemini_2_5_flash). */
19
19
  modelConfig?: Record<string, unknown>;
20
+ /**
21
+ * The document types to classify into (the node's taxonomy), as the
22
+ * designer's Classes editor writes it. Omit for the definition's default.
23
+ *
24
+ * @example
25
+ * ```ts
26
+ * documentClassify({
27
+ * fileRef: input('file'),
28
+ * classificationSchema: {
29
+ * generalInstructions: 'Classify supplier paperwork.',
30
+ * classes: [
31
+ * { id: 'c1', name: 'invoice', instructions: 'A bill asking for payment.' },
32
+ * { id: 'c2', name: 'receipt', instructions: 'Proof that a payment was made.' },
33
+ * ],
34
+ * },
35
+ * })
36
+ * ```
37
+ */
38
+ classificationSchema?: ClassificationSchema;
39
+ }
40
+ /** The taxonomy of a `documentClassify()` step: what the classifier chooses between. */
41
+ export interface ClassificationSchema {
42
+ /** Instructions that apply to every class. */
43
+ generalInstructions?: string;
44
+ /** One entry per document type, in the order the designer lists them. */
45
+ classes: ClassificationClass[];
46
+ }
47
+ /** One document type in a {@link ClassificationSchema}. */
48
+ export interface ClassificationClass {
49
+ /** The class's id, unique in the schema (the designer mints a UUID). */
50
+ id: string;
51
+ /** The document type's name, which the classifier answers with, e.g. `'invoice'`. */
52
+ name: string;
53
+ /** What makes a document this type. */
54
+ instructions?: string;
20
55
  }
21
56
  /** What `dynamicExtract()` takes: the document and the fields to extract from it. */
22
57
  export interface DynamicExtractInputs {
package/dist/serialize.js CHANGED
@@ -3254,7 +3254,8 @@ function serializeFlow(built, opts) {
3254
3254
  collection: renderValue(step.collection, scope.rename),
3255
3255
  parallel: o.parallel ?? false,
3256
3256
  ...(o.completionCondition !== undefined && (v24 || 'completionCondition' in declared)
3257
- ? { completionCondition: renameRefs(o.completionCondition.js, scope.rename) }
3257
+ // =js: so migrate writes the envelope; a bare string reaches the BPMN condition as text and never fires (#1763).
3258
+ ? { completionCondition: '=js:' + renameRefs(o.completionCondition.js, scope.rename) }
3258
3259
  : {}),
3259
3260
  ...(v24 || 'breakEnabled' in declared ? { breakEnabled: (o.breakEnabled ?? false) || usesBreak } : {}),
3260
3261
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/maestro-builder-sdk",
3
- "version": "6.87.1",
3
+ "version": "6.87.2",
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",
@@ -110,5 +110,5 @@
110
110
  "@types/node": "^22.7.0",
111
111
  "esbuild": "^0.28.1"
112
112
  },
113
- "gitref": "0f035f2ff693d92e026d4287d7993fef4959f7d9"
113
+ "gitref": "bac06e6a74bed3582399978cf4180a49d9946def"
114
114
  }