@uipath/case-tool 1.197.0 → 1.198.0-preview.80

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.
@@ -1873,6 +1873,10 @@ class ProjectTool {
1873
1873
  this.logger.info("Pack operation is a noop");
1874
1874
  return ToolResult.success();
1875
1875
  }
1876
+ async cleanupAsync(_options, _cancellationToken) {
1877
+ this.logger.info("Cleanup operation is a noop");
1878
+ return ToolResult.success();
1879
+ }
1876
1880
  async getUiProjectAsync(projectPath) {
1877
1881
  const filePath = Path.join(projectPath, ProjectTool.ProjectFileName);
1878
1882
  if (!await this.fileSystem.exists(filePath)) {
@@ -2928,4 +2932,4 @@ var toolsFactoryRepository2 = _global2[REGISTRY_KEY2];
2928
2932
  // src/packager-tool.ts
2929
2933
  toolsFactoryRepository2.registerProjectToolFactory(new CaseToolFactory);
2930
2934
 
2931
- //# debugId=68E4F5A39F4EC1A864756E2164756E21
2935
+ //# debugId=B0741E3E2B65603A64756E2164756E21
package/dist/tool.js CHANGED
@@ -282707,7 +282707,7 @@ import"./packager-tool.js";
282707
282707
  var package_default = {
282708
282708
  name: "@uipath/case-tool",
282709
282709
  license: "MIT",
282710
- version: "1.197.0",
282710
+ version: "1.198.0-preview.80",
282711
282711
  description: "Manage Case Management instances, processes, and incidents.",
282712
282712
  private: false,
282713
282713
  repository: {
@@ -282818,8 +282818,15 @@ var TLS_ERROR_CODES = new Set([
282818
282818
  var TLS_INSTRUCTIONS = "The server's TLS certificate could not be verified. Most often a " + "corporate proxy/firewall re-signs HTTPS with a root CA that Node does " + "not trust — set NODE_EXTRA_CA_CERTS to that CA's PEM file (and HTTPS_PROXY " + "if you connect through a proxy). If the certificate is instead expired or " + "its hostname does not match, fix the endpoint URL or the system clock. " + "Then retry.";
282819
282819
  var NETWORK_INSTRUCTIONS = "Could not reach the UiPath service. Check your network connection and " + "VPN, confirm any HTTP_PROXY/HTTPS_PROXY/NO_PROXY settings are correct, " + "then retry.";
282820
282820
  function describeConnectivityError(error) {
282821
- let current = error;
282822
- for (let depth = 0;depth < 5 && current !== null && typeof current === "object"; depth++) {
282821
+ const queue = [error];
282822
+ const seen = new Set;
282823
+ for (let steps = 0;queue.length > 0 && steps < 32; steps++) {
282824
+ const current = queue.shift();
282825
+ if (current === null || typeof current !== "object")
282826
+ continue;
282827
+ if (seen.has(current))
282828
+ continue;
282829
+ seen.add(current);
282823
282830
  const cur = current;
282824
282831
  const code = typeof cur.code === "string" ? cur.code : undefined;
282825
282832
  const message = typeof cur.message === "string" ? cur.message : undefined;
@@ -282839,7 +282846,10 @@ function describeConnectivityError(error) {
282839
282846
  instructions: NETWORK_INSTRUCTIONS
282840
282847
  };
282841
282848
  }
282842
- current = cur.cause;
282849
+ if (cur.cause !== undefined)
282850
+ queue.push(cur.cause);
282851
+ if (Array.isArray(cur.errors))
282852
+ queue.push(...cur.errors);
282843
282853
  }
282844
282854
  return;
282845
282855
  }
@@ -288074,6 +288084,7 @@ function getLogFilePath() {
288074
288084
  // ../common/src/output-format-context.ts
288075
288085
  var formatSlot = singleton("OutputFormat");
288076
288086
  var formatExplicitSlot = singleton("OutputFormatExplicit");
288087
+ var helpRequestedSlot = singleton("HelpRequested");
288077
288088
  var filterSlot = singleton("OutputFilter");
288078
288089
  function getOutputFormat() {
288079
288090
  return formatSlot.get("json");
@@ -289141,6 +289152,9 @@ var OutputFormatter;
289141
289152
  if (opts?.warning) {
289142
289153
  data.Warning = opts.warning;
289143
289154
  }
289155
+ if (opts?.pagination) {
289156
+ data.Pagination = opts.pagination;
289157
+ }
289144
289158
  success(data);
289145
289159
  }
289146
289160
  OutputFormatter.emitList = emitList;
@@ -289654,6 +289668,7 @@ function instructionsFor(ctx, err) {
289654
289668
  }
289655
289669
  // ../common/src/interactivity-context.ts
289656
289670
  var modeSlot = singleton("InteractivityMode");
289671
+ var interactiveFlagSlot = singleton("InteractiveFlag");
289657
289672
  // ../common/src/option-aliases.ts
289658
289673
  function warnDeprecatedOptionAlias(deprecatedFlag, preferredFlag) {
289659
289674
  getOutputSink().writeErr(`[WARN] ${deprecatedFlag} is deprecated. Use ${preferredFlag} instead.
@@ -291832,6 +291847,10 @@ var getAuthContext = async (options = {}) => {
291832
291847
  tenantName
291833
291848
  };
291834
291849
  };
291850
+
291851
+ // ../auth/src/index.ts
291852
+ init_constants();
291853
+
291835
291854
  // ../auth/src/interactive.ts
291836
291855
  init_src();
291837
291856
 
@@ -359705,7 +359724,7 @@ class TextApiResponse {
359705
359724
  var package_default2 = {
359706
359725
  name: "@uipath/integrationservice-sdk",
359707
359726
  license: "MIT",
359708
- version: "1.197.0",
359727
+ version: "1.198.0-preview.80",
359709
359728
  repository: {
359710
359729
  type: "git",
359711
359730
  url: "https://github.com/UiPath/cli.git",
@@ -365445,6 +365464,20 @@ var API_DOMAIN_MAP = new Map([
365445
365464
  [SessionsApi, "connections"],
365446
365465
  [ElementsApi, "elements"]
365447
365466
  ]);
365467
+ function baseApiClassName(name2) {
365468
+ let end = name2.length;
365469
+ while (end > 0 && name2[end - 1] >= "0" && name2[end - 1] <= "9") {
365470
+ end--;
365471
+ }
365472
+ return name2.slice(0, end);
365473
+ }
365474
+ var API_DOMAIN_BY_NAME = new Map([...API_DOMAIN_MAP].map(([ApiClass, domain3]) => [
365475
+ baseApiClassName(ApiClass.name),
365476
+ domain3
365477
+ ]));
365478
+ function resolveApiDomain(ApiClass) {
365479
+ return API_DOMAIN_MAP.get(ApiClass) ?? API_DOMAIN_BY_NAME.get(baseApiClassName(ApiClass.name));
365480
+ }
365448
365481
  async function getValidatedAuthContext(options) {
365449
365482
  const ctx = await getAuthContext({
365450
365483
  tenant: options?.tenant,
@@ -365481,7 +365514,7 @@ async function createElementsConfig(options) {
365481
365514
  });
365482
365515
  }
365483
365516
  async function createApiClient(ApiClass, options) {
365484
- const domain3 = API_DOMAIN_MAP.get(ApiClass);
365517
+ const domain3 = resolveApiDomain(ApiClass);
365485
365518
  if (!domain3) {
365486
365519
  throw new Error(`Unknown API class: ${ApiClass.name}`);
365487
365520
  }
@@ -366804,7 +366837,9 @@ var ENABLED_MANIFEST_FLAGS = new Set([
366804
366837
  MANIFEST_FEATURE_FLAGS.CONNECTOR_NODES,
366805
366838
  MANIFEST_FEATURE_FLAGS.EXTRACT_DOCUMENT,
366806
366839
  MANIFEST_FEATURE_FLAGS.HITL,
366807
- MANIFEST_FEATURE_FLAGS.LOOP_CONTAINER
366840
+ MANIFEST_FEATURE_FLAGS.LOOP_CONTAINER,
366841
+ MANIFEST_FEATURE_FLAGS.BATCH_TRANSFORM,
366842
+ MANIFEST_FEATURE_FLAGS.SUMMARIZE
366808
366843
  ]);
366809
366844
  // ../orchestrator-sdk/generated/src/runtime.ts
366810
366845
  var BASE_PATH3 = "https://alpha.uipath.com/uipattycyrhx/abizon_1/orchestrator_".replace(/\/+$/, "");
@@ -367075,7 +367110,7 @@ class TextApiResponse2 {
367075
367110
  var package_default3 = {
367076
367111
  name: "@uipath/orchestrator-sdk",
367077
367112
  license: "MIT",
367078
- version: "1.197.0",
367113
+ version: "1.198.0",
367079
367114
  repository: {
367080
367115
  type: "git",
367081
367116
  url: "https://github.com/UiPath/cli.git",
@@ -373782,7 +373817,7 @@ function querystringSingleKey4(key, value, keyPrefix = "") {
373782
373817
  var package_default4 = {
373783
373818
  name: "@uipath/solution-sdk",
373784
373819
  license: "MIT",
373785
- version: "1.197.0",
373820
+ version: "1.198.0-preview.80",
373786
373821
  repository: {
373787
373822
  type: "git",
373788
373823
  url: "https://github.com/UiPath/cli.git",
@@ -388146,4 +388181,4 @@ export {
388146
388181
  metadata
388147
388182
  };
388148
388183
 
388149
- //# debugId=0A8BB78431F5C8F064756E2164756E21
388184
+ //# debugId=DFE74ACA146ABE8764756E2164756E21
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@uipath/case-tool",
3
3
  "license": "MIT",
4
- "version": "1.197.0",
4
+ "version": "1.198.0-preview.80",
5
5
  "description": "Manage Case Management instances, processes, and incidents.",
6
6
  "private": false,
7
7
  "repository": {
@@ -26,5 +26,5 @@
26
26
  "files": [
27
27
  "dist"
28
28
  ],
29
- "gitHead": "56f68b263cec4ea1f2a39d738bd99ecf52f88fea"
29
+ "gitHead": "9b2c3c0f21a256d2f38dd28bc97e72e6f7b10a9c"
30
30
  }