@uipath/tasks-tool 1.203.0-preview.212 → 1.204.0-preview.211

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.
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  FoldersApi,
3
3
  createApiClient
4
- } from "./tool-6ykqbeks.js";
4
+ } from "./tool-egmxm08f.js";
5
5
  import {
6
6
  OutputFormatter,
7
7
  RESULTS,
8
8
  catchError,
9
9
  extractErrorMessage,
10
10
  processContext
11
- } from "./tool-pbamehqj.js";
11
+ } from "./tool-cfbjw574.js";
12
12
  import {
13
13
  __commonJS,
14
14
  __require,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveFolder
3
- } from "./tool-6ykqbeks.js";
3
+ } from "./tool-egmxm08f.js";
4
4
  import {
5
5
  OutputFormatter,
6
6
  RESULTS,
@@ -8,7 +8,7 @@ import {
8
8
  extractErrorMessage,
9
9
  isGuid,
10
10
  processContext
11
- } from "./tool-pbamehqj.js";
11
+ } from "./tool-cfbjw574.js";
12
12
  import"./tool-1de529jm.js";
13
13
 
14
14
  // src/commands/_shared/folder-resolver.ts
package/dist/index.js CHANGED
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  metadata,
4
4
  registerCommands
5
- } from "./tool-wjw58tyr.js";
5
+ } from "./tool-bn0rcfe1.js";
6
6
  import {
7
7
  Command
8
- } from "./tool-pbamehqj.js";
8
+ } from "./tool-cfbjw574.js";
9
9
  import"./tool-bndhpxxj.js";
10
10
  import"./tool-1de529jm.js";
11
11
 
@@ -9,7 +9,7 @@ import {
9
9
  extractErrorMessageSync,
10
10
  getLoginStatusAsync,
11
11
  processContext
12
- } from "./tool-pbamehqj.js";
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.203.0-preview.212",
4506
+ version: "1.204.0-preview.211",
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-v3hx6eqb.js");
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-v3hx6eqb.js");
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-g7r2c8ct.js");
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 string").option("--action <action>", "Action name (required for FormTask and AppTask)").trackedAction(processContext, async (taskId, options) => {
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=45F24B5D4670F07164756E2164756E21
19446
+ //# debugId=A88145F28570EC9164756E2164756E21