@uipath/maestro-builder-sdk 6.122.4 → 6.122.6
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 +92 -90
- package/dist/api-members.md +401 -396
- package/dist/bpmn/bpmn-sdk.d.ts +54 -19
- package/dist/bpmn/bpmn-sdk.js +42 -9
- package/dist/bpmn/decompile.js +46 -5
- package/dist/bpmn/merge.js +7 -3
- package/dist/bpmn/serialize.js +5 -1
- package/dist/bpmn-api.md +38 -9
- package/dist/core/refusals.d.ts +3 -0
- package/dist/core/refusals.js +3 -0
- package/dist/nodes/process/flow/check.js +42 -1
- package/dist/nodes/process/flow/contract.d.ts +8 -0
- package/dist/nodes/process/flow/contract.js +4 -4
- package/dist/nodes/process/flow/input-schema.d.ts +50 -0
- package/dist/nodes/process/flow/input-schema.js +113 -0
- package/dist/nodes/process/flow/node-type.js +31 -38
- package/dist/nodes/process/flow/refusals.js +12 -0
- package/dist/nodes/process/flow/spec.d.ts +105 -0
- package/package.json +2 -2
|
@@ -80,6 +80,27 @@ export interface RpaWorkflowInputs {
|
|
|
80
80
|
* and only the deployed process knows them.
|
|
81
81
|
*/
|
|
82
82
|
inputs?: Record<string, unknown>;
|
|
83
|
+
/**
|
|
84
|
+
* The process's input arguments as a JSON Schema, written verbatim as the
|
|
85
|
+
* definition's `inputDefinition`. Optional: left out, compile declares one
|
|
86
|
+
* property per entry of `inputs`, typed from the value passed (a number,
|
|
87
|
+
* boolean, array or object literal by its shape; an expression as a string).
|
|
88
|
+
*
|
|
89
|
+
* Write it when that guess is wrong — for example an argument the process
|
|
90
|
+
* types as an object that the step fills from an expression, or one the step
|
|
91
|
+
* does not pass at all:
|
|
92
|
+
*
|
|
93
|
+
* ```ts
|
|
94
|
+
* inputSchema: { type: 'object', properties: { payload: { type: 'object' }, mode: { type: 'string', enum: ['a', 'b'] } } }
|
|
95
|
+
* ```
|
|
96
|
+
*
|
|
97
|
+
* Decompile writes it from the saved definition whenever compile would not
|
|
98
|
+
* reproduce that definition from `inputs` alone, so a round trip keeps the
|
|
99
|
+
* titles, descriptions, enums and types the platform wrote.
|
|
100
|
+
*
|
|
101
|
+
* @enforcedBy PROCESS_INPUT_SCHEMA_TYPE A literal input fits the type its property declares.
|
|
102
|
+
*/
|
|
103
|
+
inputSchema?: Readonly<Record<string, unknown>>;
|
|
83
104
|
/**
|
|
84
105
|
* The process's OUTPUT arguments — the fields it returns, and their types
|
|
85
106
|
* (e.g. `{ title: 'string' }`). Required if anything reads the step's output.
|
|
@@ -174,6 +195,27 @@ export interface ApiWorkflowInputs {
|
|
|
174
195
|
* `{ name: 'tomasz' }`). Not a fixed schema — every workflow declares its own.
|
|
175
196
|
*/
|
|
176
197
|
inputs?: Record<string, unknown>;
|
|
198
|
+
/**
|
|
199
|
+
* The process's input arguments as a JSON Schema, written verbatim as the
|
|
200
|
+
* definition's `inputDefinition`. Optional: left out, compile declares one
|
|
201
|
+
* property per entry of `inputs`, typed from the value passed (a number,
|
|
202
|
+
* boolean, array or object literal by its shape; an expression as a string).
|
|
203
|
+
*
|
|
204
|
+
* Write it when that guess is wrong — for example an argument the process
|
|
205
|
+
* types as an object that the step fills from an expression, or one the step
|
|
206
|
+
* does not pass at all:
|
|
207
|
+
*
|
|
208
|
+
* ```ts
|
|
209
|
+
* inputSchema: { type: 'object', properties: { payload: { type: 'object' }, mode: { type: 'string', enum: ['a', 'b'] } } }
|
|
210
|
+
* ```
|
|
211
|
+
*
|
|
212
|
+
* Decompile writes it from the saved definition whenever compile would not
|
|
213
|
+
* reproduce that definition from `inputs` alone, so a round trip keeps the
|
|
214
|
+
* titles, descriptions, enums and types the platform wrote.
|
|
215
|
+
*
|
|
216
|
+
* @enforcedBy PROCESS_INPUT_SCHEMA_TYPE A literal input fits the type its property declares.
|
|
217
|
+
*/
|
|
218
|
+
inputSchema?: Readonly<Record<string, unknown>>;
|
|
177
219
|
/**
|
|
178
220
|
* The workflow's OUTPUT arguments — the fields it returns, and their types
|
|
179
221
|
* (e.g. `{ EstimatedAge: 'integer' }`). Required if anything reads the step's
|
|
@@ -271,6 +313,27 @@ export interface PublishedFunctionInputs {
|
|
|
271
313
|
projectId?: string;
|
|
272
314
|
/** The function's own input arguments, by its own names. */
|
|
273
315
|
inputs?: Record<string, unknown>;
|
|
316
|
+
/**
|
|
317
|
+
* The process's input arguments as a JSON Schema, written verbatim as the
|
|
318
|
+
* definition's `inputDefinition`. Optional: left out, compile declares one
|
|
319
|
+
* property per entry of `inputs`, typed from the value passed (a number,
|
|
320
|
+
* boolean, array or object literal by its shape; an expression as a string).
|
|
321
|
+
*
|
|
322
|
+
* Write it when that guess is wrong — for example an argument the process
|
|
323
|
+
* types as an object that the step fills from an expression, or one the step
|
|
324
|
+
* does not pass at all:
|
|
325
|
+
*
|
|
326
|
+
* ```ts
|
|
327
|
+
* inputSchema: { type: 'object', properties: { payload: { type: 'object' }, mode: { type: 'string', enum: ['a', 'b'] } } }
|
|
328
|
+
* ```
|
|
329
|
+
*
|
|
330
|
+
* Decompile writes it from the saved definition whenever compile would not
|
|
331
|
+
* reproduce that definition from `inputs` alone, so a round trip keeps the
|
|
332
|
+
* titles, descriptions, enums and types the platform wrote.
|
|
333
|
+
*
|
|
334
|
+
* @enforcedBy PROCESS_INPUT_SCHEMA_TYPE A literal input fits the type its property declares.
|
|
335
|
+
*/
|
|
336
|
+
inputSchema?: Readonly<Record<string, unknown>>;
|
|
274
337
|
/**
|
|
275
338
|
* The function's OUTPUT arguments — the fields it returns, and their types.
|
|
276
339
|
* Required if anything reads the step's output: the schema lives on the
|
|
@@ -361,6 +424,27 @@ interface AgenticProcessInputsBase {
|
|
|
361
424
|
* own, and only the deployed process knows them.
|
|
362
425
|
*/
|
|
363
426
|
inputs?: Record<string, unknown>;
|
|
427
|
+
/**
|
|
428
|
+
* The process's input arguments as a JSON Schema, written verbatim as the
|
|
429
|
+
* definition's `inputDefinition`. Optional: left out, compile declares one
|
|
430
|
+
* property per entry of `inputs`, typed from the value passed (a number,
|
|
431
|
+
* boolean, array or object literal by its shape; an expression as a string).
|
|
432
|
+
*
|
|
433
|
+
* Write it when that guess is wrong — for example an argument the process
|
|
434
|
+
* types as an object that the step fills from an expression, or one the step
|
|
435
|
+
* does not pass at all:
|
|
436
|
+
*
|
|
437
|
+
* ```ts
|
|
438
|
+
* inputSchema: { type: 'object', properties: { payload: { type: 'object' }, mode: { type: 'string', enum: ['a', 'b'] } } }
|
|
439
|
+
* ```
|
|
440
|
+
*
|
|
441
|
+
* Decompile writes it from the saved definition whenever compile would not
|
|
442
|
+
* reproduce that definition from `inputs` alone, so a round trip keeps the
|
|
443
|
+
* titles, descriptions, enums and types the platform wrote.
|
|
444
|
+
*
|
|
445
|
+
* @enforcedBy PROCESS_INPUT_SCHEMA_TYPE A literal input fits the type its property declares.
|
|
446
|
+
*/
|
|
447
|
+
inputSchema?: Readonly<Record<string, unknown>>;
|
|
364
448
|
/**
|
|
365
449
|
* Which published form this Agentic Process is: the three forms
|
|
366
450
|
* share one public concept and differ only in wire identity. `'bpmn'` (the
|
|
@@ -509,6 +593,27 @@ export interface AgentInputs {
|
|
|
509
593
|
* tell you what the platform will do with it.
|
|
510
594
|
*/
|
|
511
595
|
inputs: Record<string, unknown>;
|
|
596
|
+
/**
|
|
597
|
+
* The process's input arguments as a JSON Schema, written verbatim as the
|
|
598
|
+
* definition's `inputDefinition`. Optional: left out, compile declares one
|
|
599
|
+
* property per entry of `inputs`, typed from the value passed (a number,
|
|
600
|
+
* boolean, array or object literal by its shape; an expression as a string).
|
|
601
|
+
*
|
|
602
|
+
* Write it when that guess is wrong — for example an argument the process
|
|
603
|
+
* types as an object that the step fills from an expression, or one the step
|
|
604
|
+
* does not pass at all:
|
|
605
|
+
*
|
|
606
|
+
* ```ts
|
|
607
|
+
* inputSchema: { type: 'object', properties: { payload: { type: 'object' }, mode: { type: 'string', enum: ['a', 'b'] } } }
|
|
608
|
+
* ```
|
|
609
|
+
*
|
|
610
|
+
* Decompile writes it from the saved definition whenever compile would not
|
|
611
|
+
* reproduce that definition from `inputs` alone, so a round trip keeps the
|
|
612
|
+
* titles, descriptions, enums and types the platform wrote.
|
|
613
|
+
*
|
|
614
|
+
* @enforcedBy PROCESS_INPUT_SCHEMA_TYPE A literal input fits the type its property declares.
|
|
615
|
+
*/
|
|
616
|
+
inputSchema?: Readonly<Record<string, unknown>>;
|
|
512
617
|
/**
|
|
513
618
|
* The agent's OUTPUT fields and their types (e.g.
|
|
514
619
|
* `{ count: 'integer', inputString: 'string' }`). Required if anything reads the
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/maestro-builder-sdk",
|
|
3
|
-
"version": "6.122.
|
|
3
|
+
"version": "6.122.6",
|
|
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",
|
|
@@ -126,5 +126,5 @@
|
|
|
126
126
|
"@types/node": "^22.7.0",
|
|
127
127
|
"esbuild": "^0.28.1"
|
|
128
128
|
},
|
|
129
|
-
"gitref": "
|
|
129
|
+
"gitref": "f11a5901d050fbca10cffe4229d30be9ab1a4eb6"
|
|
130
130
|
}
|