@uipath/case-tool 1.202.1-preview.220 → 1.202.1-preview.238

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.
Files changed (37) hide show
  1. package/dist/{authoring-a7ry4ay3.js → authoring-vmv8vr80.js} +2 -2
  2. package/dist/{case-api-m676xevb.js → case-api-tzbwkhgj.js} +4 -4
  3. package/dist/{case-debug-studio-web-service-wy0frym7.js → case-debug-studio-web-service-f78z2edh.js} +4 -4
  4. package/dist/{case-pack-service-pg2642jm.js → case-pack-service-05y73qxh.js} +1 -1
  5. package/dist/{case-validate-service-yk5dgb3s.js → case-validate-service-2egg89w5.js} +3 -3
  6. package/dist/{connector-enrichment-service-tmmhknjg.js → connector-enrichment-service-xcrcavca.js} +13 -13
  7. package/dist/{connector-lookup-service-rz9ckyem.js → connector-lookup-service-2v46m4xx.js} +5 -5
  8. package/dist/{connector-task-spec-n6pg6as4.js → connector-task-spec-s6p1nszk.js} +13 -13
  9. package/dist/{debug-service-4x8t04zp.js → debug-service-bs7tev1n.js} +2 -2
  10. package/dist/{enrichment-service-d0p4rje8.js → enrichment-service-8k124qrv.js} +4 -4
  11. package/dist/{index-pt4r3wkq.js → index-2mf9xaxk.js} +4 -4
  12. package/dist/{index-jge69gv6.js → index-7xnhb2wj.js} +3 -3
  13. package/dist/{index-kwxe1vep.js → index-c3a6tnhq.js} +4 -2
  14. package/dist/index.js +6 -6
  15. package/dist/{input-reader-hcm61vc0.js → input-reader-drmcqejt.js} +1 -1
  16. package/dist/{node-sync-service-4k9drkva.js → node-sync-service-tc5bvx2a.js} +5 -5
  17. package/dist/{packager-tool-tsnsb871.js → packager-tool-796gm96d.js} +1 -1
  18. package/dist/{packager-tool-dqs5qy9s.js → packager-tool-8106qkfa.js} +8 -2
  19. package/dist/{packager-tool-5mcqtp44.js → packager-tool-9s35n821.js} +3 -3
  20. package/dist/{packager-tool-c7kdrtwg.js → packager-tool-bkvs7n3g.js} +4 -4
  21. package/dist/{packager-tool-enrscd2x.js → packager-tool-ft3hqx6p.js} +4 -4
  22. package/dist/{packager-tool-cas0r13m.js → packager-tool-gnc3ascn.js} +1 -1
  23. package/dist/{packager-tool-7t12yqw0.js → packager-tool-hg7p1emn.js} +1 -1
  24. package/dist/{packager-tool-dad7gm2x.js → packager-tool-hw650nfc.js} +1 -1
  25. package/dist/{packager-tool-0v9xev8c.js → packager-tool-j2r9yjg3.js} +4 -4
  26. package/dist/{packager-tool-cradn4aa.js → packager-tool-mdn8qa53.js} +5 -5
  27. package/dist/{packager-tool-4w5w3s0r.js → packager-tool-rny4nj1w.js} +224 -7
  28. package/dist/{packager-tool-4jfqq1p8.js → packager-tool-svfq5n9n.js} +1 -1
  29. package/dist/{packager-tool-jtafccnq.js → packager-tool-t50qsmvz.js} +31 -31
  30. package/dist/{packager-tool-3g0p1xb0.js → packager-tool-v1p1asxw.js} +2 -2
  31. package/dist/{packager-tool-66ct7tx5.js → packager-tool-xxffen1w.js} +1 -1
  32. package/dist/{packager-tool-62gdc3k4.js → packager-tool-zzx06cy3.js} +4 -4
  33. package/dist/{project-artifacts-pqj0j9j5.js → project-artifacts-k31mdma2.js} +1 -1
  34. package/dist/{resourcesSyncService-gwqcqmjp.js → resourcesSyncService-6xmvk3t2.js} +10 -10
  35. package/dist/tool.js +6 -6
  36. package/dist/{trigger-enrichment-service-855h8khq.js → trigger-enrichment-service-nd30bc23.js} +13 -13
  37. package/package.json +2 -2
@@ -4176,7 +4176,165 @@ class FilterImplicitLimitError extends Error {
4176
4176
  this.instructions = "Pass --limit <n> to choose how many records the filter applies to. " + "To filter over all records, pass the command's maximum accepted --limit (see the option's description in --help).";
4177
4177
  }
4178
4178
  }
4179
- function applyFilter(data, filter) {
4179
+ function countRecords(data) {
4180
+ if (Array.isArray(data))
4181
+ return data.length;
4182
+ return data == null ? 0 : 1;
4183
+ }
4184
+ function availableFields(data) {
4185
+ const records = Array.isArray(data) ? data : [data];
4186
+ const keys = new Set;
4187
+ for (const record of records) {
4188
+ if (record && typeof record === "object" && !Array.isArray(record)) {
4189
+ for (const key of Object.keys(record))
4190
+ keys.add(key);
4191
+ }
4192
+ }
4193
+ return [...keys];
4194
+ }
4195
+ function decodeQuotedIdentifier(whole, inner) {
4196
+ const [error, decoded] = catchError(() => JSON.parse(whole));
4197
+ if (!error && typeof decoded === "string")
4198
+ return decoded;
4199
+ return inner.replace(/\\(.)/g, "$1");
4200
+ }
4201
+ function referencedFields(filter) {
4202
+ const top = new Set;
4203
+ const nested = new Set;
4204
+ const withoutValueLiterals = filter.replace(/'(?:\\.|[^'\\])*'/g, " ").replace(/`(?:\\.|[^`\\])*`/g, " ");
4205
+ const isPathTail = (text, index) => text[index - 1] === "." && /[A-Za-z0-9_"]/.test(text[index - 2] ?? "");
4206
+ const quoted = [];
4207
+ const withoutLiterals = withoutValueLiterals.replace(/"((?:\\.|[^"\\])*)"/g, (whole, name, index) => {
4208
+ const isAlias = /^\s*:/.test(withoutValueLiterals.slice(index + whole.length));
4209
+ if (!isAlias) {
4210
+ quoted.push({
4211
+ name: decodeQuotedIdentifier(whole, name),
4212
+ index,
4213
+ tail: isPathTail(withoutValueLiterals, index)
4214
+ });
4215
+ }
4216
+ return `"${" ".repeat(whole.length - 2)}"`;
4217
+ });
4218
+ const descent = /[A-Za-z0-9_"]\s*[.[]/.exec(withoutLiterals);
4219
+ const rootEnd = descent ? descent.index + 1 : Number.POSITIVE_INFINITY;
4220
+ const place = (name, index, tail) => {
4221
+ if (tail || index >= rootEnd)
4222
+ nested.add(name);
4223
+ else
4224
+ top.add(name);
4225
+ };
4226
+ for (const entry of quoted)
4227
+ place(entry.name, entry.index, entry.tail);
4228
+ const identifiers = withoutLiterals.matchAll(/([A-Za-z_][A-Za-z0-9_]*)(\s*[:(])?/g);
4229
+ const reserved = new Set(["true", "false", "null", "and", "or", "not"]);
4230
+ for (const match of identifiers) {
4231
+ const [, name, trailing] = match;
4232
+ if (trailing || reserved.has(name))
4233
+ continue;
4234
+ place(name, match.index, isPathTail(withoutLiterals, match.index));
4235
+ }
4236
+ return {
4237
+ top: [...top],
4238
+ nested: [...nested].filter((name) => !top.has(name)),
4239
+ hasPredicate: /\[\s*\?/.test(withoutValueLiterals)
4240
+ };
4241
+ }
4242
+ function appearsBelowTopLevel(data, name) {
4243
+ let budget = 2000;
4244
+ const visit = (value, depth) => {
4245
+ if (budget-- <= 0 || depth > 4)
4246
+ return false;
4247
+ if (value === null || typeof value !== "object")
4248
+ return false;
4249
+ if (Array.isArray(value))
4250
+ return value.some((entry) => visit(entry, depth));
4251
+ const record = value;
4252
+ if (depth > 0 && Object.hasOwn(record, name))
4253
+ return true;
4254
+ return Object.values(record).some((entry) => visit(entry, depth + 1));
4255
+ };
4256
+ return visit(data, 0);
4257
+ }
4258
+ function alwaysNullKeys(records) {
4259
+ const objects = records.filter((r) => r != null && typeof r === "object" && !Array.isArray(r));
4260
+ if (objects.length === 0 || objects.length !== records.length)
4261
+ return [];
4262
+ const keys = [...new Set(objects.flatMap((o) => Object.keys(o)))];
4263
+ if (keys.length === 0)
4264
+ return [];
4265
+ const nullKeys = keys.filter((key) => objects.every((record) => record[key] === null));
4266
+ return nullKeys.length === keys.length ? nullKeys : [];
4267
+ }
4268
+ function carriesOnlyNulls(value) {
4269
+ if (value === null)
4270
+ return true;
4271
+ if (Array.isArray(value)) {
4272
+ return value.length > 0 && value.every(carriesOnlyNulls);
4273
+ }
4274
+ if (typeof value === "object" && value !== undefined) {
4275
+ const values = Object.values(value);
4276
+ return values.length > 0 && values.every(carriesOnlyNulls);
4277
+ }
4278
+ return false;
4279
+ }
4280
+ function nameList(names, cap2 = 12) {
4281
+ const shown = names.slice(0, cap2).map((n) => `\`${n}\``);
4282
+ const rest = names.length - shown.length;
4283
+ return shown.join(", ") + (rest > 0 ? `, and ${rest} more` : "");
4284
+ }
4285
+ function buildFilterWarning(filter, data, outcome) {
4286
+ const present = availableFields(data);
4287
+ const refs = referencedFields(filter);
4288
+ const unknown = refs.top.filter((name) => !present.includes(name) && !appearsBelowTopLevel(data, name));
4289
+ const unchecked = refs.nested.filter((name) => !present.includes(name));
4290
+ const count = countRecords(data);
4291
+ const scope = `${count} record(s)`;
4292
+ const isNotAField = (names) => `${nameList(names)} ${names.length === 1 ? "is not a field" : "are not fields"} on the ${scope} it read`;
4293
+ const soundness = unchecked.length > 0 ? `${nameList(unchecked)} ${unchecked.length === 1 ? "reads" : "read"} below the top level, so ${unchecked.length === 1 ? "it was" : "they were"} not checked against the record keys` : refs.top.length > 0 ? "every field it names exists" : "";
4294
+ const withSoundness = (base) => soundness ? `${base}, and ${soundness}` : base;
4295
+ let detail;
4296
+ let lede;
4297
+ if (outcome.kind === "null-elements") {
4298
+ lede = "returned only null values";
4299
+ const projected = `all ${outcome.count} of the elements it projected are null`;
4300
+ if (unknown.length > 0) {
4301
+ detail = `${projected}, because ${isNotAField(unknown)}`;
4302
+ } else if (unchecked.length > 0) {
4303
+ detail = withSoundness(projected);
4304
+ } else {
4305
+ detail = `${projected}, and every field it names exists — a multi-select list ` + `(\`[A, B]\`) reads each entry against \`Data\` itself, so on a list ` + `result use \`[].[A, B]\` or \`[].{a: A, b: B}\` to read the records`;
4306
+ }
4307
+ } else if (outcome.kind === "null-rows") {
4308
+ lede = "returned only null values";
4309
+ const projected = `every value it projected is null on all ${outcome.count} row(s)`;
4310
+ detail = unknown.length > 0 ? `${projected}, because ${isNotAField(unknown)}` : withSoundness(projected);
4311
+ } else if (outcome.kind === "null-values") {
4312
+ lede = "returned only null values";
4313
+ const projected = `every key it projected (${nameList(outcome.keys)}) is null`;
4314
+ const sameSet = unknown.length === outcome.keys.length && outcome.keys.every((k) => unknown.includes(k));
4315
+ if (sameSet) {
4316
+ detail = `${isNotAField(outcome.keys)}, so every key it projected is null`;
4317
+ } else if (unknown.length > 0) {
4318
+ detail = `${projected}, because ${isNotAField(unknown)}`;
4319
+ } else {
4320
+ detail = withSoundness(`${projected} on all ${scope}`);
4321
+ }
4322
+ } else {
4323
+ lede = "returned nothing";
4324
+ if (unknown.length > 0) {
4325
+ detail = isNotAField(unknown);
4326
+ } else {
4327
+ const selection = refs.hasPredicate ? "no record matched" : "the expression resolved to no value";
4328
+ detail = withSoundness(`${selection} — it read ${scope}`);
4329
+ }
4330
+ }
4331
+ const fields = present.length > 0 ? ` Available fields: ${nameList(present)}.` : "";
4332
+ return `--output-filter ${JSON.stringify(filter)} ${lede}: ${detail}.${fields}`;
4333
+ }
4334
+ function appendWarning(existing, note) {
4335
+ return existing ? `${existing} ${note}` : note;
4336
+ }
4337
+ function applyFilter(data, filter, onWarning) {
4180
4338
  const codec = requireJmespath();
4181
4339
  let result;
4182
4340
  try {
@@ -4184,9 +4342,34 @@ function applyFilter(data, filter) {
4184
4342
  } catch (err) {
4185
4343
  throw new FilterEvaluationError(filter, err);
4186
4344
  }
4187
- if (result == null)
4345
+ const inputCount = countRecords(data);
4346
+ const warn = (outcome) => {
4347
+ if (inputCount === 0)
4348
+ return;
4349
+ const note = buildFilterWarning(filter, data, outcome);
4350
+ getOutputSink().writeErr(`[WARN] ${note}
4351
+ `);
4352
+ onWarning?.(note);
4353
+ };
4354
+ const warnIfAllNull = (records) => {
4355
+ const keys = alwaysNullKeys(records);
4356
+ if (keys.length > 0)
4357
+ warn({ kind: "null-values", keys });
4358
+ };
4359
+ if (result == null) {
4360
+ warn({ kind: "empty" });
4188
4361
  return [];
4362
+ }
4189
4363
  if (Array.isArray(result)) {
4364
+ if (result.length === 0) {
4365
+ warn({ kind: "empty" });
4366
+ } else if (result.every((entry) => entry === null)) {
4367
+ warn({ kind: "null-elements", count: result.length });
4368
+ } else if (result.every((entry) => Array.isArray(entry)) && carriesOnlyNulls(result)) {
4369
+ warn({ kind: "null-rows", count: result.length });
4370
+ } else {
4371
+ warnIfAllNull(result);
4372
+ }
4190
4373
  if (result.length > 0 && typeof result[0] !== "object") {
4191
4374
  const fieldMatch = filter.match(/\.(\w+)$/);
4192
4375
  const key = fieldMatch ? fieldMatch[1] : "Value";
@@ -4194,10 +4377,30 @@ function applyFilter(data, filter) {
4194
4377
  }
4195
4378
  return result;
4196
4379
  }
4197
- if (typeof result === "object")
4380
+ if (typeof result === "object") {
4381
+ warnIfAllNull([result]);
4198
4382
  return result;
4383
+ }
4199
4384
  return { Value: result };
4200
4385
  }
4386
+ function filterFailureData(envelope) {
4387
+ const filter = getOutputFilter();
4388
+ const data = envelope.Data;
4389
+ if (!filter || data == null)
4390
+ return;
4391
+ let note;
4392
+ const [filterError, filtered] = catchError(() => applyFilter(data, filter, (n) => {
4393
+ note = n;
4394
+ }));
4395
+ if (filterError) {
4396
+ envelope.Warning = appendWarning(envelope.Warning, `--output-filter was not applied, so Data is shown in full: ${filterError.message}`);
4397
+ return;
4398
+ }
4399
+ envelope.Data = filtered;
4400
+ if (note) {
4401
+ envelope.Warning = appendWarning(envelope.Warning, note);
4402
+ }
4403
+ }
4201
4404
  function defaultErrorCodeForResult(result) {
4202
4405
  switch (result) {
4203
4406
  case RESULTS.AuthenticationError:
@@ -4280,8 +4483,14 @@ var OutputFormatter;
4280
4483
  }
4281
4484
  const filter = getOutputFilter();
4282
4485
  if (filter) {
4283
- const filtered = applyFilter(data.Data, filter);
4486
+ let note;
4487
+ const filtered = applyFilter(data.Data, filter, (n) => {
4488
+ note = n;
4489
+ });
4284
4490
  data.Data = normalize ? normalizeDataKeys(filtered, verbatim, subtrees && { refs: subtrees.refs, mode: "skip" }) : filtered;
4491
+ if (note) {
4492
+ data.Warning = appendWarning(data.Warning, note);
4493
+ }
4285
4494
  }
4286
4495
  logOutput(normalizeOutputKeys(data), getOutputFormat(), options?.tableRowStyle);
4287
4496
  }
@@ -4309,6 +4518,7 @@ var OutputFormatter;
4309
4518
  delete envelope.TelemetryErrorClass;
4310
4519
  delete envelope.TelemetryTerminalOutcome;
4311
4520
  delete envelope.TelemetryTerminalSignal;
4521
+ filterFailureData(envelope);
4312
4522
  if (!suppressTelemetry) {
4313
4523
  telemetry.trackEvent(CommonTelemetryEvents.Error, {
4314
4524
  result: data.Result,
@@ -4357,13 +4567,20 @@ var OutputFormatter;
4357
4567
  OutputFormatter.log = log;
4358
4568
  function formatToString(data) {
4359
4569
  const filter = getOutputFilter();
4570
+ const envelope = data;
4360
4571
  if ("Data" in data && data.Data != null) {
4361
4572
  data.Data = normalizeDataKeys(data.Data);
4362
4573
  if (filter) {
4363
- data.Data = normalizeDataKeys(applyFilter(data.Data, filter));
4574
+ let note;
4575
+ data.Data = normalizeDataKeys(applyFilter(data.Data, filter, (n) => {
4576
+ note = n;
4577
+ }));
4578
+ if (note) {
4579
+ envelope.Warning = appendWarning(envelope.Warning, note);
4580
+ }
4364
4581
  }
4365
4582
  }
4366
- const output = normalizeOutputKeys(data);
4583
+ const output = normalizeOutputKeys(envelope);
4367
4584
  const lines = [];
4368
4585
  const sink = getOutputSink();
4369
4586
  printOutput(output, getOutputFormat(), (msg) => {
@@ -5722,4 +5939,4 @@ var shippedKeysSlot = singleton("ShipSucceededDedupeKeys");
5722
5939
  var factorySlot = singleton("PackagerFactoryProvider");
5723
5940
  export { catchError, extractErrorMessage, logger, getOutputFormat, getOutputFormatExplicit, RESULTS, EXIT_CODES, Pagination, OutputFormatter, summarizePlatformBody, InvalidArgumentError, Command, Option, isPreviewBuild, processContext, UIPATH_HOME_DIR, DEFAULT_PAGE_SIZE, hashContent, instructionsFor, isGuid, createHiddenDeprecatedTenantOption, parseLimit, parseOffset, parseBoundedInt, registerPackageMetadataOptions, mapPackageMetadataOptions, getSdkUserAgentToken, addSdkUserAgentHeader, installSdkUserAgentHeader, unsupportedSolutionProjectType, readStdin };
5724
5941
 
5725
- //# debugId=19370069988C039664756E2164756E21
5942
+ //# debugId=9E1E7429C4EF6FD364756E2164756E21
@@ -2,7 +2,7 @@ import {
2
2
  catchError,
3
3
  hashContent,
4
4
  logger
5
- } from "./packager-tool-4w5w3s0r.js";
5
+ } from "./packager-tool-rny4nj1w.js";
6
6
  import {
7
7
  getFileSystem
8
8
  } from "./packager-tool-0v3s8r01.js";
@@ -26,7 +26,7 @@ import {
26
26
  registerSharedInstanceCommands,
27
27
  registerSharedProcessCommands,
28
28
  registerSharedProcessesCommands
29
- } from "./packager-tool-c7kdrtwg.js";
29
+ } from "./packager-tool-bkvs7n3g.js";
30
30
  import {
31
31
  GET_SEARCHABLE_TYPES,
32
32
  RESOURCE_TYPES,
@@ -48,7 +48,7 @@ import {
48
48
  mapPackageMetadataOptions,
49
49
  processContext,
50
50
  registerPackageMetadataOptions
51
- } from "./packager-tool-4w5w3s0r.js";
51
+ } from "./packager-tool-rny4nj1w.js";
52
52
  import {
53
53
  getFileSystem
54
54
  } from "./packager-tool-0v3s8r01.js";
@@ -59,7 +59,7 @@ import {
59
59
  var package_default = {
60
60
  name: "@uipath/case-tool",
61
61
  license: "SEE LICENSE IN LICENSE.txt",
62
- version: "1.202.1-preview.220",
62
+ version: "1.202.1-preview.238",
63
63
  description: "Manage Case Management instances, processes, and incidents.",
64
64
  private: false,
65
65
  repository: {
@@ -713,7 +713,7 @@ var CASE_DEBUG_EXAMPLES = [
713
713
  ];
714
714
  function registerDebugCommand(program) {
715
715
  program.command("debug").description("Debug a case project by uploading to Studio Web and running a debug session").argument("<project-path>", "Path to the case project directory (must contain project.uiproj)").option("--folder-id <id>", "Orchestrator folder ID (OrganizationUnitId). Auto-detected if not provided.").option("--poll-interval <ms>", "Polling interval in milliseconds", "2000").option("--login-validity <minutes>", "Minimum minutes before token expiration to trigger a refresh (default: 10)", parseInt, 10).examples(CASE_DEBUG_EXAMPLES).trackedAction(processContext, async (projectPath, options) => {
716
- const { getLoginStatusAsync } = await import("./index-kwxe1vep.js");
716
+ const { getLoginStatusAsync } = await import("./index-c3a6tnhq.js");
717
717
  const [loginError, loginStatus] = await catchError(getLoginStatusAsync({
718
718
  ensureTokenValidityMinutes: options.loginValidity
719
719
  }));
@@ -816,8 +816,8 @@ function registerDebugCommand(program) {
816
816
  logger.info(` Tenant: ${tenantName} (${tenantId})`);
817
817
  logger.info(` Base URL: ${baseUrl}`);
818
818
  const pollInterval = parseInt(options.pollInterval || "2000", 10);
819
- const { CaseDebugStudioWebService } = await import("./case-debug-studio-web-service-wy0frym7.js");
820
- const { DebugPollTimeoutError, buildPollTimeoutFailureOutput } = await import("./debug-service-4x8t04zp.js");
819
+ const { CaseDebugStudioWebService } = await import("./case-debug-studio-web-service-f78z2edh.js");
820
+ const { DebugPollTimeoutError, buildPollTimeoutFailureOutput } = await import("./debug-service-bs7tev1n.js");
821
821
  const service = new CaseDebugStudioWebService;
822
822
  logger.info(`Starting Studio Web debug session for: ${projectPath}`);
823
823
  const [executeError, result] = await catchError(service.executeProjectViaStudioWeb(projectPath, studioWebConfig, {
@@ -843,7 +843,7 @@ function registerDebugCommand(program) {
843
843
  const {
844
844
  buildSolutionUploadFailureOutput,
845
845
  isSolutionUploadHttpError
846
- } = await import("./index-jge69gv6.js");
846
+ } = await import("./index-7xnhb2wj.js");
847
847
  if (isSolutionUploadHttpError(executeError)) {
848
848
  OutputFormatter.error(buildSolutionUploadFailureOutput(executeError, {
849
849
  subject: "case",
@@ -1203,7 +1203,7 @@ var initCaseProject = async (name, options) => {
1203
1203
  throw new Error(`Invalid project name "${name}". Name can only contain letters, numbers, underscores (_), and hyphens (-).`);
1204
1204
  }
1205
1205
  const fs = getFileSystem();
1206
- const { prepareProjectLocation, tryRegisterProjectInParentSolution } = await import("./index-jge69gv6.js");
1206
+ const { prepareProjectLocation, tryRegisterProjectInParentSolution } = await import("./index-7xnhb2wj.js");
1207
1207
  const { projectDir, autoCreatedSolution } = await prepareProjectLocation(fs, fs.path.resolve(name), name, { skipRegistration: options.skipSolutionRegistration === true });
1208
1208
  const projectDirExists = await fs.stat(projectDir).then(() => true).catch((err) => {
1209
1209
  const code = err instanceof Error ? err.code : undefined;
@@ -1296,7 +1296,7 @@ var initCaseProject = async (name, options) => {
1296
1296
  const solutionRegistration = await tryRegisterProjectInParentSolution(fs, projectDir, { skipRegistration: options.skipSolutionRegistration === true });
1297
1297
  let projectArtifacts;
1298
1298
  if ((solutionRegistration.Status === "Registered" || solutionRegistration.Status === "AlreadyRegistered") && solutionRegistration.Solution && solutionRegistration.ProjectId) {
1299
- const { ensureProjectArtifacts } = await import("./project-artifacts-pqj0j9j5.js");
1299
+ const { ensureProjectArtifacts } = await import("./project-artifacts-k31mdma2.js");
1300
1300
  projectArtifacts = await ensureProjectArtifacts({
1301
1301
  solutionDir: fs.path.dirname(solutionRegistration.Solution),
1302
1302
  projectId: solutionRegistration.ProjectId,
@@ -1351,8 +1351,8 @@ var registerInstancesCommand = (program) => {
1351
1351
  };
1352
1352
 
1353
1353
  // src/commands/job.ts
1354
- var loadAuth = () => import("./index-kwxe1vep.js");
1355
- var loadCaseApi = () => import("./case-api-m676xevb.js");
1354
+ var loadAuth = () => import("./index-c3a6tnhq.js");
1355
+ var loadCaseApi = () => import("./case-api-tzbwkhgj.js");
1356
1356
  var CASE_JOB_STATUS_EXAMPLES = [
1357
1357
  {
1358
1358
  Description: "Get detailed status of a case job",
@@ -1597,7 +1597,7 @@ var CASE_PACK_EXAMPLES = [
1597
1597
  var registerPackCommand = (program) => {
1598
1598
  const command = program.command("pack").description("Pack a Case project into a .nupkg file").argument("<project-path>", "Path to the Case project directory").argument("<output-path>", "Output directory where the .nupkg will be saved").option("-n, --name <name>", "Package name (default: project folder name)").option("-v, --version <version>", "Package version (default: 1.0.0)", "1.0.0");
1599
1599
  registerPackageMetadataOptions(command).examples(CASE_PACK_EXAMPLES).trackedAction(processContext, async (projectPath, outputPath, options) => {
1600
- const { CasePackService } = await import("./case-pack-service-pg2642jm.js");
1600
+ const { CasePackService } = await import("./case-pack-service-05y73qxh.js");
1601
1601
  const service = new CasePackService;
1602
1602
  const [error, result] = await catchError(service.execute(projectPath, {
1603
1603
  output: outputPath,
@@ -1679,8 +1679,8 @@ var CASE_PROCESS_RUN_EXAMPLES = [
1679
1679
  }
1680
1680
  }
1681
1681
  ];
1682
- var loadAuth2 = () => import("./index-kwxe1vep.js");
1683
- var loadCaseApi2 = () => import("./case-api-m676xevb.js");
1682
+ var loadAuth2 = () => import("./index-c3a6tnhq.js");
1683
+ var loadCaseApi2 = () => import("./case-api-tzbwkhgj.js");
1684
1684
  function registerProcessCommand(program) {
1685
1685
  const processCmd = program.command("process").description("Manage Case processes");
1686
1686
  registerSharedProcessCommands(processCmd, { toolLabel: "Case" });
@@ -1918,7 +1918,7 @@ function registerProcessCommand(program) {
1918
1918
  }
1919
1919
  inputs = parsed;
1920
1920
  } else {
1921
- const { readStdin } = await import("./input-reader-hcm61vc0.js");
1921
+ const { readStdin } = await import("./input-reader-drmcqejt.js");
1922
1922
  const [stdinError, stdinData] = await catchError(readStdin());
1923
1923
  if (!stdinError && stdinData) {
1924
1924
  const [parseError, parsed] = await catchError(parseCaseInputs(stdinData));
@@ -2228,7 +2228,7 @@ Subcommands:
2228
2228
  search Find resources by keyword and/or field filters
2229
2229
  get Get full schema for a single resource`);
2230
2230
  registry.command("pull").description("Pull and sync data from Case registry").option("-f, --force", "Force refresh, ignore cache").option("-s, --solution-id <solutionId>", "Include the registry of the solution").examples(REGISTRY_PULL_EXAMPLES).trackedAction(processContext, async (options) => {
2231
- const { pullResources } = await import("./resourcesSyncService-gwqcqmjp.js");
2231
+ const { pullResources } = await import("./resourcesSyncService-6xmvk3t2.js");
2232
2232
  const [mapError, promises] = catchError(() => RESOURCE_TYPES.map((type) => pullResources({
2233
2233
  force: options.force,
2234
2234
  solutionId: options.solutionId
@@ -2280,7 +2280,7 @@ Subcommands:
2280
2280
  processContext.exit(1);
2281
2281
  return;
2282
2282
  }
2283
- const { searchResources, searchResourcesWithFilters } = await import("./resourcesSyncService-gwqcqmjp.js");
2283
+ const { searchResources, searchResourcesWithFilters } = await import("./resourcesSyncService-6xmvk3t2.js");
2284
2284
  let searchResult;
2285
2285
  if (options.filter) {
2286
2286
  const [parseError, filters] = catchError(() => parseFilterString(options.filter));
@@ -2338,7 +2338,7 @@ Subcommands:
2338
2338
  });
2339
2339
  });
2340
2340
  registry.command("list").description("List all resources (use pull to update list)").option("--local", "List only in-solution sibling project resources (requires a .uipx in the current directory, its parent, or grandparent). Skips the tenant cache.").examples(REGISTRY_LIST_EXAMPLES).trackedAction(processContext, async (options) => {
2341
- const { listLocalResources, listResources } = await import("./resourcesSyncService-gwqcqmjp.js");
2341
+ const { listLocalResources, listResources } = await import("./resourcesSyncService-6xmvk3t2.js");
2342
2342
  let grouped;
2343
2343
  if (options.local) {
2344
2344
  const [localError, localGrouped] = await catchError(listLocalResources());
@@ -2385,7 +2385,7 @@ Subcommands:
2385
2385
  });
2386
2386
  });
2387
2387
  registry.command("get").description("Get resource(s) by identifier (entityKey or id)").argument("<identifier>", "The entityKey (process-types) or id (action-apps) of the resource").addOption(new Option("-t, --type <type>", `Limit search to a specific resource type (${GET_SEARCHABLE_TYPES.map((t) => t.type).join(", ")})`).choices(GET_SEARCHABLE_TYPES.map((t) => t.type))).option("--connection-id <id>", "Connection ID for connector-specific IS field metadata (custom fields). Only applies to typecache-* activity / trigger results.").option("--local", "Resolve the identifier against in-solution sibling project resources (requires a .uipx in the current directory, its parent, or grandparent). Skips the tenant cache. The identifier is the sibling's resource key or .uipx project Id.").examples(REGISTRY_GET_EXAMPLES).trackedAction(processContext, async (identifier, options) => {
2388
- const { getResources } = await import("./resourcesSyncService-gwqcqmjp.js");
2388
+ const { getResources } = await import("./resourcesSyncService-6xmvk3t2.js");
2389
2389
  const [error, matches] = await catchError(getResources(identifier, options.type, {
2390
2390
  local: options.local
2391
2391
  }));
@@ -2422,11 +2422,11 @@ Subcommands:
2422
2422
  const id = m.resource.uiPathActivityTypeId;
2423
2423
  if (typeof id !== "string")
2424
2424
  return m;
2425
- const { lookupTypeCacheEntry } = await import("./connector-lookup-service-rz9ckyem.js");
2425
+ const { lookupTypeCacheEntry } = await import("./connector-lookup-service-2v46m4xx.js");
2426
2426
  const [lookupError, lookupResult] = await catchError(lookupTypeCacheEntry(id, m.resourceType));
2427
2427
  if (lookupError)
2428
2428
  return m;
2429
- const { enrichConnectorRegistryEntry } = await import("./connector-enrichment-service-tmmhknjg.js");
2429
+ const { enrichConnectorRegistryEntry } = await import("./connector-enrichment-service-xcrcavca.js");
2430
2430
  const [enrichError, definitions] = await catchError(enrichConnectorRegistryEntry(lookupResult.config, options.connectionId));
2431
2431
  if (enrichError || definitions === null)
2432
2432
  return m;
@@ -2452,7 +2452,7 @@ Subcommands:
2452
2452
  });
2453
2453
  });
2454
2454
  registry.command("get-connector").description("Look up a connector activity/trigger from the local TypeCache index").addOption(new Option("-t, --type <type>", "Resource type").choices([...TYPECACHE_INDEX_TYPES]).makeOptionMandatory()).requiredOption("--activity-type-id <id>", "The uiPathActivityTypeId to look up").examples(REGISTRY_GET_CONNECTOR_EXAMPLES).trackedAction(processContext, async (options) => {
2455
- const { lookupTypeCacheEntry } = await import("./connector-lookup-service-rz9ckyem.js");
2455
+ const { lookupTypeCacheEntry } = await import("./connector-lookup-service-2v46m4xx.js");
2456
2456
  const [error, result] = await catchError(lookupTypeCacheEntry(options.activityTypeId, options.type));
2457
2457
  if (error) {
2458
2458
  OutputFormatter.error({
@@ -2473,7 +2473,7 @@ Subcommands:
2473
2473
  });
2474
2474
  });
2475
2475
  registry.command("get-connection").description("Look up a connector and fetch available connections from Integration Service").addOption(new Option("-t, --type <type>", "Resource type").choices([...TYPECACHE_INDEX_TYPES]).makeOptionMandatory()).requiredOption("--activity-type-id <id>", "The uiPathActivityTypeId to look up").examples(REGISTRY_GET_CONNECTION_EXAMPLES).trackedAction(processContext, async (options) => {
2476
- const { fetchConnectorConnections, lookupTypeCacheEntry } = await import("./connector-lookup-service-rz9ckyem.js");
2476
+ const { fetchConnectorConnections, lookupTypeCacheEntry } = await import("./connector-lookup-service-2v46m4xx.js");
2477
2477
  const [lookupError, lookupResult] = await catchError(lookupTypeCacheEntry(options.activityTypeId, options.type));
2478
2478
  if (lookupError) {
2479
2479
  OutputFormatter.error({
@@ -3271,7 +3271,7 @@ var registerSpecCommand = (program) => {
3271
3271
  skipCaseShape: options.skipCaseShape === true,
3272
3272
  inputDetails: parsedInputDetails
3273
3273
  };
3274
- const { fetchConnectorTaskSpec } = await import("./connector-task-spec-n6pg6as4.js");
3274
+ const { fetchConnectorTaskSpec } = await import("./connector-task-spec-s6p1nszk.js");
3275
3275
  const [error, spec] = await catchError(fetchConnectorTaskSpec(options.type, options.activityTypeId, options.connectionId, fetchOpts));
3276
3276
  if (error) {
3277
3277
  OutputFormatter.error({
@@ -5137,9 +5137,9 @@ var TASKS_DESCRIBE_EXAMPLES = [
5137
5137
  }
5138
5138
  }
5139
5139
  ];
5140
- var loadConnectorEnrichment = () => import("./connector-enrichment-service-tmmhknjg.js");
5141
- var loadTriggerEnrichment = () => import("./trigger-enrichment-service-855h8khq.js");
5142
- var loadEnrichment = () => import("./enrichment-service-d0p4rje8.js");
5140
+ var loadConnectorEnrichment = () => import("./connector-enrichment-service-xcrcavca.js");
5141
+ var loadTriggerEnrichment = () => import("./trigger-enrichment-service-nd30bc23.js");
5142
+ var loadEnrichment = () => import("./enrichment-service-8k124qrv.js");
5143
5143
  var TASK_TYPES = [
5144
5144
  "process",
5145
5145
  "action",
@@ -6171,7 +6171,7 @@ var registerTriggersCommand = (program) => {
6171
6171
  const result = await readAndBuildTrigger(file, options.displayName, options.position, options.description);
6172
6172
  if (result.error)
6173
6173
  return;
6174
- const { enrichConnectorTrigger } = await import("./trigger-enrichment-service-855h8khq.js");
6174
+ const { enrichConnectorTrigger } = await import("./trigger-enrichment-service-nd30bc23.js");
6175
6175
  const [enrichError, enrichment] = await catchError(enrichConnectorTrigger(options.typeId, options.connectionId, parsedEventParams));
6176
6176
  if (enrichError) {
6177
6177
  OutputFormatter.error({
@@ -6304,7 +6304,7 @@ var toIssueData = (issues) => issues.map((issue) => ({
6304
6304
  Severity: issue.severity
6305
6305
  }));
6306
6306
  var executeCaseValidate = async (file, options = {}) => {
6307
- const { CaseValidateService } = await import("./case-validate-service-yk5dgb3s.js");
6307
+ const { CaseValidateService } = await import("./case-validate-service-2egg89w5.js");
6308
6308
  const service = new CaseValidateService;
6309
6309
  const [error, result] = await catchError(service.validateFileUsingSDK(file, {
6310
6310
  profile: resolveProfile(options),
@@ -6683,7 +6683,7 @@ var metadata = {
6683
6683
  };
6684
6684
  var registerCommands = async (program) => {
6685
6685
  if (isPreviewBuild()) {
6686
- const { registerCaseAuthoringCommands } = await import("./authoring-a7ry4ay3.js");
6686
+ const { registerCaseAuthoringCommands } = await import("./authoring-vmv8vr80.js");
6687
6687
  registerCaseAuthoringCommands(program);
6688
6688
  }
6689
6689
  registerInitCommand(program);
@@ -6714,4 +6714,4 @@ var registerCommands = async (program) => {
6714
6714
 
6715
6715
  export { metadata, registerCommands };
6716
6716
 
6717
- //# debugId=973AF36551150B5764756E2164756E21
6717
+ //# debugId=7EB86B552CEB903464756E2164756E21
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  getAuthContext
3
- } from "./packager-tool-dqs5qy9s.js";
3
+ } from "./packager-tool-8106qkfa.js";
4
4
  import {
5
5
  addSdkUserAgentHeader,
6
6
  getSdkUserAgentToken,
7
7
  installSdkUserAgentHeader
8
- } from "./packager-tool-4w5w3s0r.js";
8
+ } from "./packager-tool-rny4nj1w.js";
9
9
 
10
10
  // ../orchestrator-sdk/generated/src/runtime.ts
11
11
  var BASE_PATH = "https://alpha.uipath.com/uipattycyrhx/abizon_1/orchestrator_".replace(/\/+$/, "");
@@ -2,7 +2,7 @@ import {
2
2
  catchError,
3
3
  logger,
4
4
  unsupportedSolutionProjectType
5
- } from "./packager-tool-4w5w3s0r.js";
5
+ } from "./packager-tool-rny4nj1w.js";
6
6
 
7
7
  // ../solution-sdk/src/solution-file.ts
8
8
  var STUDIO_WEB_PROJECT_TYPE_OVERRIDES = {
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  getAuthContext
3
- } from "./packager-tool-dqs5qy9s.js";
3
+ } from "./packager-tool-8106qkfa.js";
4
4
  import {
5
5
  addSdkUserAgentHeader,
6
6
  getSdkUserAgentToken,
7
7
  installSdkUserAgentHeader
8
- } from "./packager-tool-4w5w3s0r.js";
8
+ } from "./packager-tool-rny4nj1w.js";
9
9
  import {
10
10
  isBrowser
11
11
  } from "./packager-tool-0gctz400.js";
@@ -6239,7 +6239,7 @@ class SessionsApi extends BaseAPI {
6239
6239
  var package_default = {
6240
6240
  name: "@uipath/integrationservice-sdk",
6241
6241
  license: "SEE LICENSE IN LICENSE.txt",
6242
- version: "1.202.1-preview.220",
6242
+ version: "1.202.1-preview.238",
6243
6243
  repository: {
6244
6244
  type: "git",
6245
6245
  url: "https://github.com/UiPath/cli.git",
@@ -6862,4 +6862,4 @@ var CONNECTION_STATE_NAMES = new Map([
6862
6862
  var CRUD_OPERATIONS = new Set(["CREATED", "UPDATED", "DELETED"]);
6863
6863
  export { ConnectionOperationsApi, ConnectionsApi, ConnectorsApi, ElementsApi, createApiClient, isV4ActivityConfiguration, getConnectorActivityMetadataV4, getEventOperationObjects, buildActivityEssentialConfiguration, createConfiguredActivityClient, assertActivityMetadataResolved, extractMultipartParameters, buildInputMetadata, validateIntSvcNode };
6864
6864
 
6865
- //# debugId=F256629962314FDF64756E2164756E21
6865
+ //# debugId=A38B9CFB0251BF8164756E2164756E21
@@ -4,7 +4,7 @@ import {
4
4
 
5
5
  // src/services/project-artifacts.ts
6
6
  async function ensureProjectArtifacts(args) {
7
- const { addProjectArtifactsToSolutionAsync } = await import("./index-pt4r3wkq.js");
7
+ const { addProjectArtifactsToSolutionAsync } = await import("./index-2mf9xaxk.js");
8
8
  return addProjectArtifactsToSolutionAsync(args);
9
9
  }
10
10
  export {
@@ -1,38 +1,38 @@
1
1
  import"./packager-tool-134mvmcm.js";
2
2
  import {
3
3
  findSolutionFromCwd
4
- } from "./packager-tool-enrscd2x.js";
5
- import"./packager-tool-cas0r13m.js";
6
- import"./packager-tool-62gdc3k4.js";
4
+ } from "./packager-tool-ft3hqx6p.js";
5
+ import"./packager-tool-gnc3ascn.js";
6
+ import"./packager-tool-zzx06cy3.js";
7
7
  import {
8
8
  loadIndexMetadata,
9
9
  loadResourceIndex,
10
10
  saveIndexMetadata,
11
11
  saveResourceIndex
12
- } from "./packager-tool-4jfqq1p8.js";
12
+ } from "./packager-tool-svfq5n9n.js";
13
13
  import"./packager-tool-zgxace0g.js";
14
14
  import"./packager-tool-r87gxwqa.js";
15
15
  import"./packager-tool-sc961w0q.js";
16
16
  import"./packager-tool-4mna26cc.js";
17
17
  import"./packager-tool-c23zrhj8.js";
18
- import"./packager-tool-3g0p1xb0.js";
19
- import"./packager-tool-c7kdrtwg.js";
18
+ import"./packager-tool-v1p1asxw.js";
19
+ import"./packager-tool-bkvs7n3g.js";
20
20
  import {
21
21
  GET_SEARCHABLE_TYPES,
22
22
  RESOURCE_TYPES
23
23
  } from "./packager-tool-r84ng21s.js";
24
- import"./packager-tool-tsnsb871.js";
25
- import"./packager-tool-dad7gm2x.js";
24
+ import"./packager-tool-796gm96d.js";
25
+ import"./packager-tool-hw650nfc.js";
26
26
  import"./packager-tool-vepqrsse.js";
27
27
  import {
28
28
  getLoginStatusAsync
29
- } from "./packager-tool-dqs5qy9s.js";
29
+ } from "./packager-tool-8106qkfa.js";
30
30
  import"./packager-tool-qa9gftnj.js";
31
31
  import {
32
32
  catchError,
33
33
  hashContent,
34
34
  logger
35
- } from "./packager-tool-4w5w3s0r.js";
35
+ } from "./packager-tool-rny4nj1w.js";
36
36
  import {
37
37
  getFileSystem
38
38
  } from "./packager-tool-0v3s8r01.js";