@uipath/maestro-builder-sdk 6.14.4 → 6.15.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 +129 -129
- package/dist/api-members.md +420 -416
- package/dist/bpmn/bpmn-sdk.d.ts +16 -0
- package/dist/bpmn/bpmn-sdk.js +2 -0
- package/dist/bpmn/check-cli.js +22 -5
- package/dist/bpmn/check.d.ts +15 -1
- package/dist/bpmn/check.js +69 -2
- package/dist/bpmn/compile-cli.js +24 -14
- package/dist/bpmn/connector.js +29 -14
- package/dist/bpmn/intsvc.js +5 -2
- package/dist/bpmn/serialize.d.ts +2 -0
- package/dist/bpmn/serialize.js +1 -1
- package/dist/case/compile-cli.js +6 -9
- package/dist/case/serialize.js +1 -1
- package/dist/check-cli.js +6 -35
- package/dist/check.d.ts +16 -148
- package/dist/check.js +53 -711
- package/dist/cli/commands/bpmn.js +15 -0
- package/dist/cli-library.d.ts +6 -25
- package/dist/cli-library.js +6 -73
- package/dist/compile-cli.js +14 -8
- package/dist/core/actions.d.ts +19 -0
- package/dist/core/cli-library.d.ts +47 -0
- package/dist/core/cli-library.js +150 -0
- package/dist/core/connector-checks.d.ts +226 -0
- package/dist/core/connector-checks.js +518 -0
- package/dist/core/connector-inputs.d.ts +80 -0
- package/dist/core/connector-inputs.js +453 -0
- package/dist/core/event-checks.d.ts +137 -0
- package/dist/core/event-checks.js +321 -0
- package/dist/decompile.js +1 -1
- package/dist/registry/generators/markdown/sections/example.d.ts +7 -1
- package/dist/registry/generators/markdown/sections/example.js +70 -5
- package/dist/registry/generators/markdown/sections/lookups.js +29 -8
- package/dist/registry/prepare/messages.js +6 -1
- package/dist/registry/prepare/source-import.d.ts +3 -3
- package/dist/registry/prepare/source-import.js +15 -4
- package/dist/registry/prepare/source-labels.js +31 -4
- package/dist/serialize.d.ts +11 -11
- package/dist/serialize.js +285 -428
- package/lib/README.md +1 -0
- package/lib/library-json.samples/index.json +9 -0
- package/lib/library-json.samples/uipath-uipath-airdk/web-search@1.0.0.json +118 -0
- package/lib/library-json.samples/uipath-uipath-airdk/web-search@1.0.0.v1def.json +258 -0
- package/package.json +2 -2
- /package/dist/{event-filters.d.ts → core/event-filters.d.ts} +0 -0
- /package/dist/{event-filters.js → core/event-filters.js} +0 -0
package/lib/README.md
CHANGED
|
@@ -90,6 +90,7 @@ points at the materialized `library-json/`. Until you unpack, only
|
|
|
90
90
|
| `uipath-atlassian-jira` | `create-issue` | `fields.project.key`, `fields.summary` |
|
|
91
91
|
| `uipath-salesforce-slack` | `send-message-to-user` | `channel`, `messageToSend` |
|
|
92
92
|
| `uipath-microsoft-outlook365` | `send-email` | `message.toRecipients` |
|
|
93
|
+
| `uipath-uipath-airdk` | `web-search` | `query` — the inline-agent connector-tool fixture (#867) |
|
|
93
94
|
|
|
94
95
|
## Refreshing the shipped library (needs an authenticated `uip`)
|
|
95
96
|
|
|
@@ -163,6 +163,15 @@
|
|
|
163
163
|
"objectName": "send_message_to_user_v2",
|
|
164
164
|
"path": "uipath-salesforce-slack/send-message-to-user@1.0.0.json"
|
|
165
165
|
},
|
|
166
|
+
{
|
|
167
|
+
"nodeType": "uipath.connector.uipath-uipath-airdk.web-search",
|
|
168
|
+
"version": "1.0.0",
|
|
169
|
+
"connectorKey": "uipath-uipath-airdk",
|
|
170
|
+
"label": "Web Search",
|
|
171
|
+
"activityType": "Curated",
|
|
172
|
+
"objectName": "v2::webSearch",
|
|
173
|
+
"path": "uipath-uipath-airdk/web-search@1.0.0.json"
|
|
174
|
+
},
|
|
166
175
|
{
|
|
167
176
|
"nodeType": "uipath.connector.uipath-uipath-dataservice.query-entity-records",
|
|
168
177
|
"version": "1.0.0",
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
{
|
|
2
|
+
"schemaVersion": "1",
|
|
3
|
+
"nodeType": "uipath.connector.uipath-uipath-airdk.web-search",
|
|
4
|
+
"version": "1.0.0",
|
|
5
|
+
"category": "connector.196640",
|
|
6
|
+
"tags": [
|
|
7
|
+
"connector",
|
|
8
|
+
"activity"
|
|
9
|
+
],
|
|
10
|
+
"connector": {
|
|
11
|
+
"key": "uipath-uipath-airdk",
|
|
12
|
+
"name": "UiPath GenAI Activities"
|
|
13
|
+
},
|
|
14
|
+
"operation": {
|
|
15
|
+
"name": "Create",
|
|
16
|
+
"objectName": "v2::webSearch",
|
|
17
|
+
"objectDisplayName": "Web Search",
|
|
18
|
+
"httpMethod": "POST",
|
|
19
|
+
"path": "/v2/webSearch",
|
|
20
|
+
"subType": "standard",
|
|
21
|
+
"supportsStreaming": false,
|
|
22
|
+
"activityType": "Curated",
|
|
23
|
+
"pathTemplate": "/v2/webSearch"
|
|
24
|
+
},
|
|
25
|
+
"display": {
|
|
26
|
+
"label": "Web Search",
|
|
27
|
+
"description": "(UiPath GenAI Activities) Web search executes a search of the public domain using a natural language search query. The search results are available in the output. Web search offers near-real time search results, but certain time sensitive data like stock prices or weather will not consistently be current. There could be a few days lag. Be sure to pass in date/time and/or location as arguments in the query if required.",
|
|
28
|
+
"icon": "https://alpha.uipath.com/bc2ddac5-57bc-40e6-93fe-3b319b60ce36/studio_/typecache/icons/d93eefff0af32b964a4ce6fe3823de1d4c7ed71962c6f878520b57ebf8f4497a.svg",
|
|
29
|
+
"iconBackground": "linear-gradient(225deg, #FAFAFB 0%, #ECEDEF 100%)",
|
|
30
|
+
"iconBackgroundDark": "linear-gradient(225deg, #526069 0%, rgba(50, 60, 66, 0.6) 100%)",
|
|
31
|
+
"operationLabel": "Web Search"
|
|
32
|
+
},
|
|
33
|
+
"runtime": {
|
|
34
|
+
"bpmnType": "bpmn:SendTask",
|
|
35
|
+
"serviceType": "Intsvc.ActivityExecution",
|
|
36
|
+
"activityConfigurationVersion": "v1",
|
|
37
|
+
"requiresConnection": true,
|
|
38
|
+
"requiresFolderKey": true,
|
|
39
|
+
"requiresConnectionForSchema": false
|
|
40
|
+
},
|
|
41
|
+
"inputSchema": {
|
|
42
|
+
"fields": [
|
|
43
|
+
{
|
|
44
|
+
"name": "provider",
|
|
45
|
+
"type": "string",
|
|
46
|
+
"displayName": "Search Engine",
|
|
47
|
+
"description": "The search engine to use",
|
|
48
|
+
"enum": [
|
|
49
|
+
"GoogleCustomSearch"
|
|
50
|
+
],
|
|
51
|
+
"required": true
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
"name": "query",
|
|
55
|
+
"type": "string",
|
|
56
|
+
"displayName": "Search",
|
|
57
|
+
"description": "The natural language query to search the web for",
|
|
58
|
+
"required": true
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"name": "num",
|
|
62
|
+
"type": "integer",
|
|
63
|
+
"displayName": "Number of results",
|
|
64
|
+
"description": "The number of results. Default to 10.",
|
|
65
|
+
"required": false
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"name": "start",
|
|
69
|
+
"type": "integer",
|
|
70
|
+
"displayName": "Start",
|
|
71
|
+
"description": "First result index (pagination).",
|
|
72
|
+
"required": false
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "siteSearch",
|
|
76
|
+
"type": "string",
|
|
77
|
+
"displayName": "Site Search",
|
|
78
|
+
"description": "Restrict or exclude results for a domain.",
|
|
79
|
+
"required": false
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
"name": "siteSearchFilter",
|
|
83
|
+
"type": "string",
|
|
84
|
+
"displayName": "Site Search Filter",
|
|
85
|
+
"description": "Either \"i\" (include) or \"e\" (exclude).",
|
|
86
|
+
"required": false
|
|
87
|
+
}
|
|
88
|
+
]
|
|
89
|
+
},
|
|
90
|
+
"outputSchema": {
|
|
91
|
+
"fields": [
|
|
92
|
+
{
|
|
93
|
+
"name": "formattedResults",
|
|
94
|
+
"type": "string",
|
|
95
|
+
"displayName": "FormattedResults",
|
|
96
|
+
"description": "The search results string containing title, URL, and snippet"
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
"name": "results[*].title",
|
|
100
|
+
"type": "string",
|
|
101
|
+
"displayName": "Result title",
|
|
102
|
+
"description": "The title of a search result item."
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
"name": "results[*].snippet",
|
|
106
|
+
"type": "string",
|
|
107
|
+
"displayName": "Result snippet",
|
|
108
|
+
"description": "A brief summary or excerpt of a search result item."
|
|
109
|
+
},
|
|
110
|
+
{
|
|
111
|
+
"name": "results[*].url",
|
|
112
|
+
"type": "string",
|
|
113
|
+
"displayName": "Result url",
|
|
114
|
+
"description": "The web address of the search result."
|
|
115
|
+
}
|
|
116
|
+
]
|
|
117
|
+
}
|
|
118
|
+
}
|
|
@@ -0,0 +1,258 @@
|
|
|
1
|
+
{
|
|
2
|
+
"nodeType": "uipath.connector.uipath-uipath-airdk.web-search",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"category": "connector.196640",
|
|
5
|
+
"tags": [
|
|
6
|
+
"connector",
|
|
7
|
+
"activity"
|
|
8
|
+
],
|
|
9
|
+
"sortOrder": 515,
|
|
10
|
+
"supportsErrorHandling": true,
|
|
11
|
+
"description": "(UiPath GenAI Activities) Web search executes a search of the public domain using a natural language search query. The search results are available in the output. Web search offers near-real time search results, but certain time sensitive data like stock prices or weather will not consistently be current. There could be a few days lag. Be sure to pass in date/time and/or location as arguments in the query if required.",
|
|
12
|
+
"display": {
|
|
13
|
+
"label": "Web Search",
|
|
14
|
+
"description": "(UiPath GenAI Activities) Web search executes a search of the public domain using a natural language search query. The search results are available in the output. Web search offers near-real time search results, but certain time sensitive data like stock prices or weather will not consistently be current. There could be a few days lag. Be sure to pass in date/time and/or location as arguments in the query if required.",
|
|
15
|
+
"icon": "https://alpha.uipath.com/bc2ddac5-57bc-40e6-93fe-3b319b60ce36/studio_/typecache/icons/d93eefff0af32b964a4ce6fe3823de1d4c7ed71962c6f878520b57ebf8f4497a.svg",
|
|
16
|
+
"iconBackground": "linear-gradient(225deg, #FAFAFB 0%, #ECEDEF 100%)",
|
|
17
|
+
"iconBackgroundDark": "linear-gradient(225deg, #526069 0%, rgba(50, 60, 66, 0.6) 100%)"
|
|
18
|
+
},
|
|
19
|
+
"handleConfiguration": [
|
|
20
|
+
{
|
|
21
|
+
"position": "left",
|
|
22
|
+
"handles": [
|
|
23
|
+
{
|
|
24
|
+
"id": "input",
|
|
25
|
+
"type": "target",
|
|
26
|
+
"handleType": "input",
|
|
27
|
+
"label": ""
|
|
28
|
+
}
|
|
29
|
+
]
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"position": "right",
|
|
33
|
+
"handles": [
|
|
34
|
+
{
|
|
35
|
+
"id": "output",
|
|
36
|
+
"type": "source",
|
|
37
|
+
"handleType": "output",
|
|
38
|
+
"label": ""
|
|
39
|
+
}
|
|
40
|
+
]
|
|
41
|
+
}
|
|
42
|
+
],
|
|
43
|
+
"model": {
|
|
44
|
+
"type": "bpmn:SendTask",
|
|
45
|
+
"serviceType": "Intsvc.ActivityExecution",
|
|
46
|
+
"debug": {
|
|
47
|
+
"runtime": "bpmnEngine"
|
|
48
|
+
},
|
|
49
|
+
"context": [
|
|
50
|
+
{
|
|
51
|
+
"name": "connectorKey",
|
|
52
|
+
"type": "string",
|
|
53
|
+
"value": "uipath-uipath-airdk"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
"name": "operation",
|
|
57
|
+
"type": "string"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
"name": "objectName",
|
|
61
|
+
"value": "v2::webSearch",
|
|
62
|
+
"type": "string"
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "method",
|
|
66
|
+
"type": "string",
|
|
67
|
+
"value": "POST"
|
|
68
|
+
},
|
|
69
|
+
{
|
|
70
|
+
"name": "connection",
|
|
71
|
+
"type": "string",
|
|
72
|
+
"value": "<bindings.uipath-uipath-airdk connection>"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
"name": "folderKey",
|
|
76
|
+
"type": "string",
|
|
77
|
+
"value": "<bindings.FolderKey>"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"name": "activityConfigurationVersion",
|
|
81
|
+
"type": "string",
|
|
82
|
+
"value": "v1"
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "metadata",
|
|
86
|
+
"body": {
|
|
87
|
+
"telemetryData": {
|
|
88
|
+
"connectorKey": "uipath-uipath-airdk",
|
|
89
|
+
"connectorName": "Web Search"
|
|
90
|
+
},
|
|
91
|
+
"inputMetadata": {},
|
|
92
|
+
"errorState": {
|
|
93
|
+
"hasError": true
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"type": "json"
|
|
97
|
+
}
|
|
98
|
+
],
|
|
99
|
+
"bindings": {
|
|
100
|
+
"resource": "connection",
|
|
101
|
+
"resourceKey": "",
|
|
102
|
+
"values": [
|
|
103
|
+
{
|
|
104
|
+
"name": "uipath-uipath-airdk connection",
|
|
105
|
+
"propertyAttribute": "ConnectionId"
|
|
106
|
+
},
|
|
107
|
+
{
|
|
108
|
+
"name": "FolderKey",
|
|
109
|
+
"propertyAttribute": "FolderKey"
|
|
110
|
+
}
|
|
111
|
+
]
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
"form": {
|
|
115
|
+
"id": "connector-properties",
|
|
116
|
+
"title": "Connector configuration",
|
|
117
|
+
"sections": [
|
|
118
|
+
{
|
|
119
|
+
"id": "connector",
|
|
120
|
+
"title": "Connector",
|
|
121
|
+
"collapsible": true,
|
|
122
|
+
"defaultExpanded": true,
|
|
123
|
+
"fields": [
|
|
124
|
+
{
|
|
125
|
+
"label": "",
|
|
126
|
+
"name": "inputs.detail",
|
|
127
|
+
"type": "custom",
|
|
128
|
+
"component": "dap-config",
|
|
129
|
+
"componentProps": {
|
|
130
|
+
"connectorDetail": {
|
|
131
|
+
"isAppActivity": false,
|
|
132
|
+
"packageId": 196640,
|
|
133
|
+
"svgIconUrl": "icons/d93eefff0af32b964a4ce6fe3823de1d4c7ed71962c6f878520b57ebf8f4497a.svg",
|
|
134
|
+
"displayName": "Web Search",
|
|
135
|
+
"assemblyQualifiedName": "UiPath.IntegrationService.Activities.Runtime.Activities.ConnectorActivity, UiPath.IntegrationService.Activities.Runtime, Version=1.26.0.0, Culture=neutral, PublicKeyToken=null",
|
|
136
|
+
"description": "Web search executes a search of the public domain using a natural language search query. The search results are available in the output. Web search offers near-real time search results, but certain time sensitive data like stock prices or weather will not consistently be current. There could be a few days lag. Be sure to pass in date/time and/or location as arguments in the query if required.",
|
|
137
|
+
"activityColor": "#E56D5C",
|
|
138
|
+
"configuration": "{\"connectorKey\":\"uipath-uipath-airdk\",\"objectName\":\"v2::webSearch\",\"httpMethod\":\"POST\",\"activityType\":\"Curated\",\"version\":\"1.0.0\",\"supportsStreaming\":false,\"subType\":\"standard\"}",
|
|
139
|
+
"uiPathActivityTypeId": "de237ff4-fac6-34dc-b4a5-8d0708c99e15",
|
|
140
|
+
"isExperimental": false,
|
|
141
|
+
"helpUrlTemplate": "https://docs.uipath.com/{0}/activities/other/latest/integration-service/uipath-uipath-airdk-Web-Search",
|
|
142
|
+
"isEnabled": true,
|
|
143
|
+
"targetPlatform": "CrossPlatform",
|
|
144
|
+
"isAdvanced": false,
|
|
145
|
+
"isRestricted": false,
|
|
146
|
+
"tags": []
|
|
147
|
+
}
|
|
148
|
+
}
|
|
149
|
+
}
|
|
150
|
+
]
|
|
151
|
+
}
|
|
152
|
+
]
|
|
153
|
+
},
|
|
154
|
+
"inputDefinition": {
|
|
155
|
+
"fields": [
|
|
156
|
+
{
|
|
157
|
+
"name": "provider",
|
|
158
|
+
"displayName": "Search Engine",
|
|
159
|
+
"type": "string",
|
|
160
|
+
"required": true,
|
|
161
|
+
"description": "The search engine to use",
|
|
162
|
+
"enum": [
|
|
163
|
+
{
|
|
164
|
+
"name": "GoogleCustomSearch",
|
|
165
|
+
"value": "GoogleCustomSearch"
|
|
166
|
+
}
|
|
167
|
+
]
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"name": "query",
|
|
171
|
+
"displayName": "Search",
|
|
172
|
+
"type": "string",
|
|
173
|
+
"required": true,
|
|
174
|
+
"description": "The natural language query to search the web for"
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"name": "num",
|
|
178
|
+
"displayName": "Number of results",
|
|
179
|
+
"type": "integer",
|
|
180
|
+
"required": false,
|
|
181
|
+
"description": "The number of results. Default to 10."
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"name": "start",
|
|
185
|
+
"displayName": "Start",
|
|
186
|
+
"type": "integer",
|
|
187
|
+
"required": false,
|
|
188
|
+
"description": "First result index (pagination)."
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"name": "siteSearch",
|
|
192
|
+
"displayName": "Site Search",
|
|
193
|
+
"type": "string",
|
|
194
|
+
"required": false,
|
|
195
|
+
"description": "Restrict or exclude results for a domain."
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"name": "siteSearchFilter",
|
|
199
|
+
"displayName": "Site Search Filter",
|
|
200
|
+
"type": "string",
|
|
201
|
+
"required": false,
|
|
202
|
+
"description": "Either \"i\" (include) or \"e\" (exclude)."
|
|
203
|
+
}
|
|
204
|
+
]
|
|
205
|
+
},
|
|
206
|
+
"inputDefaults": {},
|
|
207
|
+
"outputDefinition": {
|
|
208
|
+
"output": {
|
|
209
|
+
"type": "object",
|
|
210
|
+
"description": "The return value of the connector.",
|
|
211
|
+
"source": "=result.response",
|
|
212
|
+
"var": "output"
|
|
213
|
+
},
|
|
214
|
+
"error": {
|
|
215
|
+
"type": "object",
|
|
216
|
+
"description": "Error information if the node fails",
|
|
217
|
+
"source": "=Error",
|
|
218
|
+
"var": "error",
|
|
219
|
+
"schema": {
|
|
220
|
+
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
221
|
+
"type": "object",
|
|
222
|
+
"required": [
|
|
223
|
+
"code",
|
|
224
|
+
"message",
|
|
225
|
+
"detail",
|
|
226
|
+
"category",
|
|
227
|
+
"status"
|
|
228
|
+
],
|
|
229
|
+
"properties": {
|
|
230
|
+
"code": {
|
|
231
|
+
"type": "string",
|
|
232
|
+
"description": "Error code as a string"
|
|
233
|
+
},
|
|
234
|
+
"message": {
|
|
235
|
+
"type": "string",
|
|
236
|
+
"description": "High-level error message"
|
|
237
|
+
},
|
|
238
|
+
"detail": {
|
|
239
|
+
"type": "string",
|
|
240
|
+
"description": "Detailed error description"
|
|
241
|
+
},
|
|
242
|
+
"category": {
|
|
243
|
+
"type": "string",
|
|
244
|
+
"description": "Error category"
|
|
245
|
+
},
|
|
246
|
+
"status": {
|
|
247
|
+
"type": "integer",
|
|
248
|
+
"description": "HTTP status code"
|
|
249
|
+
}
|
|
250
|
+
},
|
|
251
|
+
"additionalProperties": false
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
},
|
|
255
|
+
"debug": {
|
|
256
|
+
"runtime": "bpmnEngine"
|
|
257
|
+
}
|
|
258
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uipath/maestro-builder-sdk",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.15.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",
|
|
@@ -92,5 +92,5 @@
|
|
|
92
92
|
"@types/node": "^22.7.0",
|
|
93
93
|
"esbuild": "^0.28.1"
|
|
94
94
|
},
|
|
95
|
-
"gitref": "
|
|
95
|
+
"gitref": "53decf03bc03a94d1e1ff7d17d07fcc195a16846"
|
|
96
96
|
}
|
|
File without changes
|
|
File without changes
|