@uipath/tasks-tool 1.203.0-preview.203 → 1.204.0-preview.206
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/{folder-picker-interactive-g7r2c8ct.js → folder-picker-interactive-gmbtq8na.js} +2 -2
- package/dist/{folder-resolver-v3hx6eqb.js → folder-resolver-xyd1pa57.js} +2 -2
- package/dist/index.js +2 -2
- package/dist/{tool-pbamehqj.js → tool-cfbjw574.js} +584 -96
- package/dist/{tool-6ykqbeks.js → tool-egmxm08f.js} +260 -4
- package/dist/{tool-gpt5pnt2.js → tool-qkz03qyt.js} +8 -8
- package/dist/tool.js +2 -2
- package/package.json +2 -2
|
@@ -3,10 +3,10 @@ import {
|
|
|
3
3
|
getAuthContext,
|
|
4
4
|
getSdkUserAgentToken,
|
|
5
5
|
installSdkUserAgentHeader
|
|
6
|
-
} from "./tool-
|
|
6
|
+
} from "./tool-cfbjw574.js";
|
|
7
7
|
|
|
8
8
|
// ../orchestrator-sdk/generated/src/runtime.ts
|
|
9
|
-
var BASE_PATH = "https://alpha.uipath.com/
|
|
9
|
+
var BASE_PATH = "https://alpha.uipath.com/Ada/byoa/orchestrator_".replace(/\/+$/, "");
|
|
10
10
|
|
|
11
11
|
class Configuration {
|
|
12
12
|
configuration;
|
|
@@ -305,6 +305,97 @@ function BaseRoleDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
305
305
|
id: json["Id"] == null ? undefined : json["Id"]
|
|
306
306
|
};
|
|
307
307
|
}
|
|
308
|
+
// ../orchestrator-sdk/generated/src/models/CredentialStoreAssignmentsDto.ts
|
|
309
|
+
function CredentialStoreAssignmentsDtoToJSON(json) {
|
|
310
|
+
return CredentialStoreAssignmentsDtoToJSONTyped(json, false);
|
|
311
|
+
}
|
|
312
|
+
function CredentialStoreAssignmentsDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
313
|
+
if (value == null) {
|
|
314
|
+
return value;
|
|
315
|
+
}
|
|
316
|
+
return {
|
|
317
|
+
CredentialStoreIds: value["credentialStoreIds"],
|
|
318
|
+
FolderIds: value["folderIds"]
|
|
319
|
+
};
|
|
320
|
+
}
|
|
321
|
+
// ../orchestrator-sdk/generated/src/models/CredentialStoreDetailsDto.ts
|
|
322
|
+
function CredentialStoreDetailsDtoFromJSON(json) {
|
|
323
|
+
return CredentialStoreDetailsDtoFromJSONTyped(json, false);
|
|
324
|
+
}
|
|
325
|
+
function CredentialStoreDetailsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
326
|
+
if (json == null) {
|
|
327
|
+
return json;
|
|
328
|
+
}
|
|
329
|
+
return {
|
|
330
|
+
isReadOnly: json["IsReadOnly"] == null ? undefined : json["IsReadOnly"]
|
|
331
|
+
};
|
|
332
|
+
}
|
|
333
|
+
// ../orchestrator-sdk/generated/src/models/DefaultCredentialStoreDto.ts
|
|
334
|
+
function DefaultCredentialStoreDtoFromJSON(json) {
|
|
335
|
+
return DefaultCredentialStoreDtoFromJSONTyped(json, false);
|
|
336
|
+
}
|
|
337
|
+
function DefaultCredentialStoreDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
338
|
+
if (json == null) {
|
|
339
|
+
return json;
|
|
340
|
+
}
|
|
341
|
+
return {
|
|
342
|
+
resourceType: json["ResourceType"],
|
|
343
|
+
id: json["Id"] == null ? undefined : json["Id"]
|
|
344
|
+
};
|
|
345
|
+
}
|
|
346
|
+
// ../orchestrator-sdk/generated/src/models/CredentialStoreFolderAccessDto.ts
|
|
347
|
+
function CredentialStoreFolderAccessDtoFromJSON(json) {
|
|
348
|
+
return CredentialStoreFolderAccessDtoFromJSONTyped(json, false);
|
|
349
|
+
}
|
|
350
|
+
function CredentialStoreFolderAccessDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
351
|
+
if (json == null) {
|
|
352
|
+
return json;
|
|
353
|
+
}
|
|
354
|
+
return {
|
|
355
|
+
isAssignedToFolder: json["isAssignedToFolder"] == null ? undefined : json["isAssignedToFolder"],
|
|
356
|
+
isInherited: json["isInherited"] == null ? undefined : json["isInherited"],
|
|
357
|
+
isAccessibleFromTenant: json["isAccessibleFromTenant"] == null ? undefined : json["isAccessibleFromTenant"],
|
|
358
|
+
inheritedFromFolderName: json["inheritedFromFolderName"] == null ? undefined : json["inheritedFromFolderName"]
|
|
359
|
+
};
|
|
360
|
+
}
|
|
361
|
+
// ../orchestrator-sdk/generated/src/models/CredentialStoreFolderDto.ts
|
|
362
|
+
function CredentialStoreFolderDtoFromJSON(json) {
|
|
363
|
+
return CredentialStoreFolderDtoFromJSONTyped(json, false);
|
|
364
|
+
}
|
|
365
|
+
function CredentialStoreFolderDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
366
|
+
if (json == null) {
|
|
367
|
+
return json;
|
|
368
|
+
}
|
|
369
|
+
return {
|
|
370
|
+
folderId: json["FolderId"] == null ? undefined : json["FolderId"],
|
|
371
|
+
accessSources: json["AccessSources"] == null ? undefined : json["AccessSources"].map(CredentialStoreFolderAccessDtoFromJSON),
|
|
372
|
+
key: json["Key"] == null ? undefined : json["Key"],
|
|
373
|
+
proxyId: json["ProxyId"] == null ? undefined : json["ProxyId"],
|
|
374
|
+
proxyType: json["ProxyType"] == null ? undefined : json["ProxyType"],
|
|
375
|
+
hostName: json["HostName"] == null ? undefined : json["HostName"],
|
|
376
|
+
name: json["Name"],
|
|
377
|
+
type: json["Type"],
|
|
378
|
+
additionalConfiguration: json["AdditionalConfiguration"] == null ? undefined : json["AdditionalConfiguration"],
|
|
379
|
+
details: json["Details"] == null ? undefined : CredentialStoreDetailsDtoFromJSON(json["Details"]),
|
|
380
|
+
defaultCredentialStores: json["DefaultCredentialStores"] == null ? undefined : json["DefaultCredentialStores"].map(DefaultCredentialStoreDtoFromJSON),
|
|
381
|
+
restrictToFolders: json["RestrictToFolders"] == null ? undefined : json["RestrictToFolders"],
|
|
382
|
+
id: json["Id"] == null ? undefined : json["Id"]
|
|
383
|
+
};
|
|
384
|
+
}
|
|
385
|
+
// ../orchestrator-sdk/generated/src/models/CredentialStoresFolderAssociationsDto.ts
|
|
386
|
+
function CredentialStoresFolderAssociationsDtoToJSON(json) {
|
|
387
|
+
return CredentialStoresFolderAssociationsDtoToJSONTyped(json, false);
|
|
388
|
+
}
|
|
389
|
+
function CredentialStoresFolderAssociationsDtoToJSONTyped(value, ignoreDiscriminator = false) {
|
|
390
|
+
if (value == null) {
|
|
391
|
+
return value;
|
|
392
|
+
}
|
|
393
|
+
return {
|
|
394
|
+
FolderId: value["folderId"],
|
|
395
|
+
AddedCredentialStoreIds: value["addedCredentialStoreIds"],
|
|
396
|
+
RemovedCredentialStoreIds: value["removedCredentialStoreIds"]
|
|
397
|
+
};
|
|
398
|
+
}
|
|
308
399
|
// ../orchestrator-sdk/generated/src/models/CurrentUserFolderDto.ts
|
|
309
400
|
function CurrentUserFolderDtoFromJSON(json) {
|
|
310
401
|
return CurrentUserFolderDtoFromJSONTyped(json, false);
|
|
@@ -581,6 +672,18 @@ function FolderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
581
672
|
isDeleted: json["isDeleted"] == null ? undefined : json["isDeleted"]
|
|
582
673
|
};
|
|
583
674
|
}
|
|
675
|
+
// ../orchestrator-sdk/generated/src/models/FolderAssignCredentialStoresRequest.ts
|
|
676
|
+
function FolderAssignCredentialStoresRequestToJSON(json) {
|
|
677
|
+
return FolderAssignCredentialStoresRequestToJSONTyped(json, false);
|
|
678
|
+
}
|
|
679
|
+
function FolderAssignCredentialStoresRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
680
|
+
if (value == null) {
|
|
681
|
+
return value;
|
|
682
|
+
}
|
|
683
|
+
return {
|
|
684
|
+
assignments: CredentialStoreAssignmentsDtoToJSON(value["assignments"])
|
|
685
|
+
};
|
|
686
|
+
}
|
|
584
687
|
// ../orchestrator-sdk/generated/src/models/FolderAssignDomainUserRequest.ts
|
|
585
688
|
function FolderAssignDomainUserRequestToJSON(json) {
|
|
586
689
|
return FolderAssignDomainUserRequestToJSONTyped(json, false);
|
|
@@ -773,6 +876,8 @@ function MachineFolderDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
773
876
|
appTestSlots: json["AppTestSlots"] == null ? undefined : json["AppTestSlots"],
|
|
774
877
|
performanceTestSlots: json["PerformanceTestSlots"] == null ? undefined : json["PerformanceTestSlots"],
|
|
775
878
|
agentSlots: json["AgentSlots"] == null ? undefined : json["AgentSlots"],
|
|
879
|
+
functionSlots: json["FunctionSlots"] == null ? undefined : json["FunctionSlots"],
|
|
880
|
+
executionOptions: json["ExecutionOptions"] == null ? undefined : json["ExecutionOptions"],
|
|
776
881
|
automationCloudSlots: json["AutomationCloudSlots"] == null ? undefined : json["AutomationCloudSlots"],
|
|
777
882
|
automationCloudTestAutomationSlots: json["AutomationCloudTestAutomationSlots"] == null ? undefined : json["AutomationCloudTestAutomationSlots"],
|
|
778
883
|
key: json["Key"] == null ? undefined : json["Key"],
|
|
@@ -826,6 +931,18 @@ function MoveFolderMachineChangeFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
826
931
|
newMachineFolderState: json["NewMachineFolderState"] == null ? undefined : json["NewMachineFolderState"]
|
|
827
932
|
};
|
|
828
933
|
}
|
|
934
|
+
// ../orchestrator-sdk/generated/src/models/ODataValueOfIEnumerableOfCredentialStoreFolderDto.ts
|
|
935
|
+
function ODataValueOfIEnumerableOfCredentialStoreFolderDtoFromJSON(json) {
|
|
936
|
+
return ODataValueOfIEnumerableOfCredentialStoreFolderDtoFromJSONTyped(json, false);
|
|
937
|
+
}
|
|
938
|
+
function ODataValueOfIEnumerableOfCredentialStoreFolderDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
939
|
+
if (json == null) {
|
|
940
|
+
return json;
|
|
941
|
+
}
|
|
942
|
+
return {
|
|
943
|
+
value: json["value"] == null ? undefined : json["value"].map(CredentialStoreFolderDtoFromJSON)
|
|
944
|
+
};
|
|
945
|
+
}
|
|
829
946
|
// ../orchestrator-sdk/generated/src/models/ODataValueOfIEnumerableOfExtendedFolderDto.ts
|
|
830
947
|
function ODataValueOfIEnumerableOfExtendedFolderDtoFromJSON(json) {
|
|
831
948
|
return ODataValueOfIEnumerableOfExtendedFolderDtoFromJSONTyped(json, false);
|
|
@@ -1034,9 +1151,22 @@ function PersonalWorkspaceFolderFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
1034
1151
|
return {
|
|
1035
1152
|
id: json["id"] == null ? undefined : json["id"],
|
|
1036
1153
|
key: json["key"] == null ? undefined : json["key"],
|
|
1154
|
+
parentKey: json["parentKey"] == null ? undefined : json["parentKey"],
|
|
1037
1155
|
fullyQualifiedName: json["fullyQualifiedName"] == null ? undefined : json["fullyQualifiedName"]
|
|
1038
1156
|
};
|
|
1039
1157
|
}
|
|
1158
|
+
// ../orchestrator-sdk/generated/src/models/RemoveCredentialStoresFromFolderRequest.ts
|
|
1159
|
+
function RemoveCredentialStoresFromFolderRequestToJSON(json) {
|
|
1160
|
+
return RemoveCredentialStoresFromFolderRequestToJSONTyped(json, false);
|
|
1161
|
+
}
|
|
1162
|
+
function RemoveCredentialStoresFromFolderRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1163
|
+
if (value == null) {
|
|
1164
|
+
return value;
|
|
1165
|
+
}
|
|
1166
|
+
return {
|
|
1167
|
+
credentialStoreIds: value["credentialStoreIds"]
|
|
1168
|
+
};
|
|
1169
|
+
}
|
|
1040
1170
|
// ../orchestrator-sdk/generated/src/models/RemoveMachinesFromFolderRequest.ts
|
|
1041
1171
|
function RemoveMachinesFromFolderRequestToJSON(json) {
|
|
1042
1172
|
return RemoveMachinesFromFolderRequestToJSONTyped(json, false);
|
|
@@ -1113,6 +1243,18 @@ function RootFolderDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
1113
1243
|
key: json["key"] == null ? undefined : json["key"]
|
|
1114
1244
|
};
|
|
1115
1245
|
}
|
|
1246
|
+
// ../orchestrator-sdk/generated/src/models/UpdateCredentialStoresToFolderAssociationsRequest.ts
|
|
1247
|
+
function UpdateCredentialStoresToFolderAssociationsRequestToJSON(json) {
|
|
1248
|
+
return UpdateCredentialStoresToFolderAssociationsRequestToJSONTyped(json, false);
|
|
1249
|
+
}
|
|
1250
|
+
function UpdateCredentialStoresToFolderAssociationsRequestToJSONTyped(value, ignoreDiscriminator = false) {
|
|
1251
|
+
if (value == null) {
|
|
1252
|
+
return value;
|
|
1253
|
+
}
|
|
1254
|
+
return {
|
|
1255
|
+
associations: CredentialStoresFolderAssociationsDtoToJSON(value["associations"])
|
|
1256
|
+
};
|
|
1257
|
+
}
|
|
1116
1258
|
// ../orchestrator-sdk/generated/src/models/UpdateMachinesToFolderAssociationsRequest.ts
|
|
1117
1259
|
function UpdateMachinesToFolderAssociationsRequestToJSON(json) {
|
|
1118
1260
|
return UpdateMachinesToFolderAssociationsRequestToJSONTyped(json, false);
|
|
@@ -1142,6 +1284,26 @@ function UserRoleAssignmentsDtoFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
1142
1284
|
}
|
|
1143
1285
|
// ../orchestrator-sdk/generated/src/apis/FoldersApi.ts
|
|
1144
1286
|
class FoldersApi extends BaseAPI {
|
|
1287
|
+
async foldersAssignCredentialStoresRaw(requestParameters, initOverrides) {
|
|
1288
|
+
const queryParameters = {};
|
|
1289
|
+
const headerParameters = {};
|
|
1290
|
+
headerParameters["Content-Type"] = "application/json;odata.metadata=minimal;odata.streaming=true";
|
|
1291
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1292
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2", []);
|
|
1293
|
+
}
|
|
1294
|
+
let urlPath = `/odata/Folders/UiPath.Server.Configuration.OData.AssignCredentialStores`;
|
|
1295
|
+
const response = await this.request({
|
|
1296
|
+
path: urlPath,
|
|
1297
|
+
method: "POST",
|
|
1298
|
+
headers: headerParameters,
|
|
1299
|
+
query: queryParameters,
|
|
1300
|
+
body: FolderAssignCredentialStoresRequestToJSON(requestParameters["body"])
|
|
1301
|
+
}, initOverrides);
|
|
1302
|
+
return new VoidApiResponse(response);
|
|
1303
|
+
}
|
|
1304
|
+
async foldersAssignCredentialStores(requestParameters = {}, initOverrides) {
|
|
1305
|
+
await this.foldersAssignCredentialStoresRaw(requestParameters, initOverrides);
|
|
1306
|
+
}
|
|
1145
1307
|
async foldersAssignDirectoryUserRaw(requestParameters, initOverrides) {
|
|
1146
1308
|
const queryParameters = {};
|
|
1147
1309
|
const headerParameters = {};
|
|
@@ -1531,6 +1693,50 @@ class FoldersApi extends BaseAPI {
|
|
|
1531
1693
|
const response = await this.foldersGetByKeyByIdentifierRaw(requestParameters, initOverrides);
|
|
1532
1694
|
return await response.value();
|
|
1533
1695
|
}
|
|
1696
|
+
async foldersGetCredentialStoresForFolderByKeyRaw(requestParameters, initOverrides) {
|
|
1697
|
+
if (requestParameters["key"] == null) {
|
|
1698
|
+
throw new RequiredError("key", 'Required parameter "key" was null or undefined when calling foldersGetCredentialStoresForFolderByKey().');
|
|
1699
|
+
}
|
|
1700
|
+
const queryParameters = {};
|
|
1701
|
+
if (requestParameters["$select"] != null) {
|
|
1702
|
+
queryParameters["$select"] = requestParameters["$select"];
|
|
1703
|
+
}
|
|
1704
|
+
if (requestParameters["$expand"] != null) {
|
|
1705
|
+
queryParameters["$expand"] = requestParameters["$expand"];
|
|
1706
|
+
}
|
|
1707
|
+
if (requestParameters["$filter"] != null) {
|
|
1708
|
+
queryParameters["$filter"] = requestParameters["$filter"];
|
|
1709
|
+
}
|
|
1710
|
+
if (requestParameters["$orderby"] != null) {
|
|
1711
|
+
queryParameters["$orderby"] = requestParameters["$orderby"];
|
|
1712
|
+
}
|
|
1713
|
+
if (requestParameters["$top"] != null) {
|
|
1714
|
+
queryParameters["$top"] = requestParameters["$top"];
|
|
1715
|
+
}
|
|
1716
|
+
if (requestParameters["$skip"] != null) {
|
|
1717
|
+
queryParameters["$skip"] = requestParameters["$skip"];
|
|
1718
|
+
}
|
|
1719
|
+
if (requestParameters["$count"] != null) {
|
|
1720
|
+
queryParameters["$count"] = requestParameters["$count"];
|
|
1721
|
+
}
|
|
1722
|
+
const headerParameters = {};
|
|
1723
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
1724
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2", []);
|
|
1725
|
+
}
|
|
1726
|
+
let urlPath = `/odata/Folders/UiPath.Server.Configuration.OData.GetCredentialStoresForFolder(key={key})`;
|
|
1727
|
+
urlPath = urlPath.replace(`{${"key"}}`, encodeURIComponent(String(requestParameters["key"])));
|
|
1728
|
+
const response = await this.request({
|
|
1729
|
+
path: urlPath,
|
|
1730
|
+
method: "GET",
|
|
1731
|
+
headers: headerParameters,
|
|
1732
|
+
query: queryParameters
|
|
1733
|
+
}, initOverrides);
|
|
1734
|
+
return new JSONApiResponse(response, (jsonValue) => ODataValueOfIEnumerableOfCredentialStoreFolderDtoFromJSON(jsonValue));
|
|
1735
|
+
}
|
|
1736
|
+
async foldersGetCredentialStoresForFolderByKey(requestParameters, initOverrides) {
|
|
1737
|
+
const response = await this.foldersGetCredentialStoresForFolderByKeyRaw(requestParameters, initOverrides);
|
|
1738
|
+
return await response.value();
|
|
1739
|
+
}
|
|
1534
1740
|
async foldersGetEntitiesSummaryByFolderidRaw(requestParameters, initOverrides) {
|
|
1535
1741
|
if (requestParameters["folderId"] == null) {
|
|
1536
1742
|
throw new RequiredError("folderId", 'Required parameter "folderId" was null or undefined when calling foldersGetEntitiesSummaryByFolderid().');
|
|
@@ -2177,6 +2383,30 @@ class FoldersApi extends BaseAPI {
|
|
|
2177
2383
|
const response = await this.foldersPutByIdRaw(requestParameters, initOverrides);
|
|
2178
2384
|
return await response.value();
|
|
2179
2385
|
}
|
|
2386
|
+
async foldersRemoveCredentialStoresFromFolderByIdRaw(requestParameters, initOverrides) {
|
|
2387
|
+
if (requestParameters["key"] == null) {
|
|
2388
|
+
throw new RequiredError("key", 'Required parameter "key" was null or undefined when calling foldersRemoveCredentialStoresFromFolderById().');
|
|
2389
|
+
}
|
|
2390
|
+
const queryParameters = {};
|
|
2391
|
+
const headerParameters = {};
|
|
2392
|
+
headerParameters["Content-Type"] = "application/json;odata.metadata=minimal;odata.streaming=true";
|
|
2393
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
2394
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2", []);
|
|
2395
|
+
}
|
|
2396
|
+
let urlPath = `/odata/Folders({key})/UiPath.Server.Configuration.OData.RemoveCredentialStoresFromFolder`;
|
|
2397
|
+
urlPath = urlPath.replace(`{${"key"}}`, encodeURIComponent(String(requestParameters["key"])));
|
|
2398
|
+
const response = await this.request({
|
|
2399
|
+
path: urlPath,
|
|
2400
|
+
method: "POST",
|
|
2401
|
+
headers: headerParameters,
|
|
2402
|
+
query: queryParameters,
|
|
2403
|
+
body: RemoveCredentialStoresFromFolderRequestToJSON(requestParameters["body"])
|
|
2404
|
+
}, initOverrides);
|
|
2405
|
+
return new VoidApiResponse(response);
|
|
2406
|
+
}
|
|
2407
|
+
async foldersRemoveCredentialStoresFromFolderById(requestParameters, initOverrides) {
|
|
2408
|
+
await this.foldersRemoveCredentialStoresFromFolderByIdRaw(requestParameters, initOverrides);
|
|
2409
|
+
}
|
|
2180
2410
|
async foldersRemoveMachinesFromFolderByIdRaw(requestParameters, initOverrides) {
|
|
2181
2411
|
if (requestParameters["key"] == null) {
|
|
2182
2412
|
throw new RequiredError("key", 'Required parameter "key" was null or undefined when calling foldersRemoveMachinesFromFolderById().');
|
|
@@ -2289,6 +2519,26 @@ class FoldersApi extends BaseAPI {
|
|
|
2289
2519
|
async foldersToggleFolderMachineInherit(requestParameters = {}, initOverrides) {
|
|
2290
2520
|
await this.foldersToggleFolderMachineInheritRaw(requestParameters, initOverrides);
|
|
2291
2521
|
}
|
|
2522
|
+
async foldersUpdateCredentialStoresToFolderAssociationsRaw(requestParameters, initOverrides) {
|
|
2523
|
+
const queryParameters = {};
|
|
2524
|
+
const headerParameters = {};
|
|
2525
|
+
headerParameters["Content-Type"] = "application/json;odata.metadata=minimal;odata.streaming=true";
|
|
2526
|
+
if (this.configuration && this.configuration.accessToken) {
|
|
2527
|
+
headerParameters["Authorization"] = await this.configuration.accessToken("OAuth2", []);
|
|
2528
|
+
}
|
|
2529
|
+
let urlPath = `/odata/Folders/UiPath.Server.Configuration.OData.UpdateCredentialStoresToFolderAssociations`;
|
|
2530
|
+
const response = await this.request({
|
|
2531
|
+
path: urlPath,
|
|
2532
|
+
method: "POST",
|
|
2533
|
+
headers: headerParameters,
|
|
2534
|
+
query: queryParameters,
|
|
2535
|
+
body: UpdateCredentialStoresToFolderAssociationsRequestToJSON(requestParameters["body"])
|
|
2536
|
+
}, initOverrides);
|
|
2537
|
+
return new VoidApiResponse(response);
|
|
2538
|
+
}
|
|
2539
|
+
async foldersUpdateCredentialStoresToFolderAssociations(requestParameters = {}, initOverrides) {
|
|
2540
|
+
await this.foldersUpdateCredentialStoresToFolderAssociationsRaw(requestParameters, initOverrides);
|
|
2541
|
+
}
|
|
2292
2542
|
async foldersUpdateMachinesToFolderAssociationsRaw(requestParameters, initOverrides) {
|
|
2293
2543
|
const queryParameters = {};
|
|
2294
2544
|
const headerParameters = {};
|
|
@@ -2315,7 +2565,7 @@ var package_default = {
|
|
|
2315
2565
|
name: "@uipath/orchestrator-sdk",
|
|
2316
2566
|
author: "UiPath",
|
|
2317
2567
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
2318
|
-
version: "1.
|
|
2568
|
+
version: "1.204.0",
|
|
2319
2569
|
repository: {
|
|
2320
2570
|
type: "git",
|
|
2321
2571
|
url: "https://github.com/UiPath/cli.git",
|
|
@@ -2444,6 +2694,12 @@ async function resolveByPath(foldersApi, folderPath) {
|
|
|
2444
2694
|
displayName: folder.displayName
|
|
2445
2695
|
};
|
|
2446
2696
|
}
|
|
2697
|
+
// ../orchestrator-sdk/src/knowledge-bundles.ts
|
|
2698
|
+
var KB_INLINE_LIMITS = {
|
|
2699
|
+
maxObjectBytes: 16 * 1024 * 1024,
|
|
2700
|
+
maxBodyBytes: 100 * 1024 * 1024,
|
|
2701
|
+
maxParts: 1e4
|
|
2702
|
+
};
|
|
2447
2703
|
export { FoldersApi, createApiClient, resolveFolder };
|
|
2448
2704
|
|
|
2449
|
-
//# debugId=
|
|
2705
|
+
//# debugId=B6D75D8E2B4A72BF64756E2164756E21
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
extractErrorMessageSync,
|
|
10
10
|
getLoginStatusAsync,
|
|
11
11
|
processContext
|
|
12
|
-
} from "./tool-
|
|
12
|
+
} from "./tool-cfbjw574.js";
|
|
13
13
|
import {
|
|
14
14
|
require_src
|
|
15
15
|
} from "./tool-bndhpxxj.js";
|
|
@@ -4503,7 +4503,7 @@ var package_default = {
|
|
|
4503
4503
|
name: "@uipath/tasks-tool",
|
|
4504
4504
|
author: "UiPath",
|
|
4505
4505
|
license: "SEE LICENSE IN LICENSE.txt",
|
|
4506
|
-
version: "1.
|
|
4506
|
+
version: "1.204.0-preview.206",
|
|
4507
4507
|
description: "Manage Action Center tasks.",
|
|
4508
4508
|
publishConfig: {
|
|
4509
4509
|
registry: "https://npm.pkg.github.com/"
|
|
@@ -18597,11 +18597,11 @@ async function resolveFolderScope(options) {
|
|
|
18597
18597
|
return parseIntArg(options.folderId, "--folder-id");
|
|
18598
18598
|
}
|
|
18599
18599
|
if (options.folderKey !== undefined) {
|
|
18600
|
-
const { resolveFolderIdByKey } = await import("./folder-resolver-
|
|
18600
|
+
const { resolveFolderIdByKey } = await import("./folder-resolver-xyd1pa57.js");
|
|
18601
18601
|
return resolveFolderIdByKey(options.folderKey, options.tenant);
|
|
18602
18602
|
}
|
|
18603
18603
|
if (options.folderPath !== undefined) {
|
|
18604
|
-
const { resolveFolderIdByPath } = await import("./folder-resolver-
|
|
18604
|
+
const { resolveFolderIdByPath } = await import("./folder-resolver-xyd1pa57.js");
|
|
18605
18605
|
return resolveFolderIdByPath(options.folderPath, options.tenant);
|
|
18606
18606
|
}
|
|
18607
18607
|
return;
|
|
@@ -18621,7 +18621,7 @@ async function resolveFolderId(options, missingFolderInstructions = DEFAULT_FOLD
|
|
|
18621
18621
|
processContext.exit(1);
|
|
18622
18622
|
return null;
|
|
18623
18623
|
}
|
|
18624
|
-
const { pickFolderInteractively } = await import("./folder-picker-interactive-
|
|
18624
|
+
const { pickFolderInteractively } = await import("./folder-picker-interactive-gmbtq8na.js");
|
|
18625
18625
|
return pickFolderInteractively(options.tenant);
|
|
18626
18626
|
}
|
|
18627
18627
|
|
|
@@ -18890,7 +18890,7 @@ var registerDataCommand = (program) => {
|
|
|
18890
18890
|
Data: task
|
|
18891
18891
|
});
|
|
18892
18892
|
});
|
|
18893
|
-
addFolderScopeOptions(data.command("save").description("Save a task's data").argument("<task-id>", "Task ID").requiredOption("--data <json>", "Task data as a JSON object")).trackedAction(processContext, async (taskId, options) => {
|
|
18893
|
+
addFolderScopeOptions(data.command("save").description("Save a task's data").argument("<task-id>", "Task ID").requiredOption("--data <json>", "Task data as a JSON object. REPLACES the task's data; keys you do not include are removed (there is no merge). To keep existing values, read them first with 'tasks data get' and resend them.")).trackedAction(processContext, async (taskId, options) => {
|
|
18894
18894
|
const sdk = await connectTasksClient();
|
|
18895
18895
|
if (!sdk)
|
|
18896
18896
|
return;
|
|
@@ -19264,7 +19264,7 @@ var registerTasksCommand = (program) => {
|
|
|
19264
19264
|
Data: result
|
|
19265
19265
|
});
|
|
19266
19266
|
});
|
|
19267
|
-
addFolderScopeOptions(program.command("complete").description("Complete a task with an action and optional data").argument("<task-id>", "Task ID").requiredOption("--type <type>", "Task type (FormTask, ExternalTask, AppTask, DocumentValidationTask, DocumentClassificationTask, DataLabelingTask, QuickFormTask)").addOption(createHiddenDeprecatedTenantOption("-t, --tenant <tenant-name>"))).option("--data <json>", "Task data as JSON
|
|
19267
|
+
addFolderScopeOptions(program.command("complete").description("Complete a task with an action and optional data").argument("<task-id>", "Task ID").requiredOption("--type <type>", "Task type (FormTask, ExternalTask, AppTask, DocumentValidationTask, DocumentClassificationTask, DataLabelingTask, QuickFormTask)").addOption(createHiddenDeprecatedTenantOption("-t, --tenant <tenant-name>"))).option("--data <json>", "Task data as a JSON object. REPLACES the task's data; keys you do not include are removed (there is no merge). To keep existing values, read them first with 'tasks data get' and resend them.").option("--action <action>", "Action name (required for FormTask and AppTask)").trackedAction(processContext, async (taskId, options) => {
|
|
19268
19268
|
const sdk = await connectTasksClient(options.tenant);
|
|
19269
19269
|
if (!sdk)
|
|
19270
19270
|
return;
|
|
@@ -19443,4 +19443,4 @@ var registerCommands = async (program) => {
|
|
|
19443
19443
|
|
|
19444
19444
|
export { metadata, registerCommands };
|
|
19445
19445
|
|
|
19446
|
-
//# debugId=
|
|
19446
|
+
//# debugId=013C287DFDFEDD0C64756E2164756E21
|
package/dist/tool.js
CHANGED
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "@uipath/tasks-tool",
|
|
3
3
|
"author": "UiPath",
|
|
4
4
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
5
|
-
"version": "1.
|
|
5
|
+
"version": "1.204.0-preview.206",
|
|
6
6
|
"description": "Manage Action Center tasks.",
|
|
7
7
|
"publishConfig": {
|
|
8
8
|
"registry": "https://registry.npmjs.org/"
|
|
@@ -18,5 +18,5 @@
|
|
|
18
18
|
"files": [
|
|
19
19
|
"dist"
|
|
20
20
|
],
|
|
21
|
-
"gitHead": "
|
|
21
|
+
"gitHead": "ea7fd32a02acccf14e8e83522e69101430627b83"
|
|
22
22
|
}
|