@uipath/case-tool 0.9.0 → 0.9.1

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 (2) hide show
  1. package/dist/tool.js +303 -99
  2. package/package.json +9 -9
package/dist/tool.js CHANGED
@@ -10602,7 +10602,7 @@ var require_coreipc = __commonJS((exports, module) => {
10602
10602
  if (S(n3))
10603
10603
  return r3;
10604
10604
  for (var i3 = function(e6) {
10605
- var t5 = C(e6, o2);
10605
+ var t5 = T(e6, o2);
10606
10606
  if (!k(t5))
10607
10607
  throw new TypeError;
10608
10608
  var r4 = t5.call(e6);
@@ -10665,7 +10665,7 @@ var require_coreipc = __commonJS((exports, module) => {
10665
10665
  case 5:
10666
10666
  return e5;
10667
10667
  }
10668
- var r3 = t4 === 3 ? "string" : t4 === 5 ? "number" : "default", o3 = C(e5, n2);
10668
+ var r3 = t4 === 3 ? "string" : t4 === 5 ? "number" : "default", o3 = T(e5, n2);
10669
10669
  if (o3 !== undefined) {
10670
10670
  var i3 = o3.call(e5, r3);
10671
10671
  if (j(i3))
@@ -10702,10 +10702,10 @@ var require_coreipc = __commonJS((exports, module) => {
10702
10702
  function k(e5) {
10703
10703
  return typeof e5 == "function";
10704
10704
  }
10705
- function T(e5) {
10705
+ function C(e5) {
10706
10706
  return typeof e5 == "function";
10707
10707
  }
10708
- function C(e5, t4) {
10708
+ function T(e5, t4) {
10709
10709
  var r3 = e5[t4];
10710
10710
  if (r3 != null) {
10711
10711
  if (!k(r3))
@@ -10740,13 +10740,13 @@ var require_coreipc = __commonJS((exports, module) => {
10740
10740
  if (S(r3)) {
10741
10741
  if (!M(e5))
10742
10742
  throw new TypeError;
10743
- if (!T(t4))
10743
+ if (!C(t4))
10744
10744
  throw new TypeError;
10745
10745
  return function(e6, t5) {
10746
10746
  for (var r4 = e6.length - 1;r4 >= 0; --r4) {
10747
10747
  var n4 = (0, e6[r4])(t5);
10748
10748
  if (!S(n4) && !P(n4)) {
10749
- if (!T(n4))
10749
+ if (!C(n4))
10750
10750
  throw new TypeError;
10751
10751
  t5 = n4;
10752
10752
  }
@@ -10956,13 +10956,13 @@ var require_coreipc = __commonJS((exports, module) => {
10956
10956
  Object.defineProperty(t2, "EmptyError", { enumerable: true, get: function() {
10957
10957
  return k.EmptyError;
10958
10958
  } });
10959
- var T = r(7628);
10959
+ var C = r(7628);
10960
10960
  Object.defineProperty(t2, "NotFoundError", { enumerable: true, get: function() {
10961
- return T.NotFoundError;
10961
+ return C.NotFoundError;
10962
10962
  } });
10963
- var C = r(740);
10963
+ var T = r(740);
10964
10964
  Object.defineProperty(t2, "ObjectUnsubscribedError", { enumerable: true, get: function() {
10965
- return C.ObjectUnsubscribedError;
10965
+ return T.ObjectUnsubscribedError;
10966
10966
  } });
10967
10967
  var A = r(6968);
10968
10968
  Object.defineProperty(t2, "SequenceError", { enumerable: true, get: function() {
@@ -11172,13 +11172,13 @@ var require_coreipc = __commonJS((exports, module) => {
11172
11172
  Object.defineProperty(t2, "debounceTime", { enumerable: true, get: function() {
11173
11173
  return ke.debounceTime;
11174
11174
  } });
11175
- var Te = r(6204);
11175
+ var Ce = r(6204);
11176
11176
  Object.defineProperty(t2, "defaultIfEmpty", { enumerable: true, get: function() {
11177
- return Te.defaultIfEmpty;
11177
+ return Ce.defaultIfEmpty;
11178
11178
  } });
11179
- var Ce = r(7752);
11179
+ var Te = r(7752);
11180
11180
  Object.defineProperty(t2, "delay", { enumerable: true, get: function() {
11181
- return Ce.delay;
11181
+ return Te.delay;
11182
11182
  } });
11183
11183
  var Ae = r(7532);
11184
11184
  Object.defineProperty(t2, "delayWhen", { enumerable: true, get: function() {
@@ -11388,13 +11388,13 @@ var require_coreipc = __commonJS((exports, module) => {
11388
11388
  Object.defineProperty(t2, "share", { enumerable: true, get: function() {
11389
11389
  return kt.share;
11390
11390
  } });
11391
- var Tt = r(4980);
11391
+ var Ct = r(4980);
11392
11392
  Object.defineProperty(t2, "shareReplay", { enumerable: true, get: function() {
11393
- return Tt.shareReplay;
11393
+ return Ct.shareReplay;
11394
11394
  } });
11395
- var Ct = r(1400);
11395
+ var Tt = r(1400);
11396
11396
  Object.defineProperty(t2, "single", { enumerable: true, get: function() {
11397
- return Ct.single;
11397
+ return Tt.single;
11398
11398
  } });
11399
11399
  var At = r(7516);
11400
11400
  Object.defineProperty(t2, "skip", { enumerable: true, get: function() {
@@ -17094,12 +17094,24 @@ var require_coreipc = __commonJS((exports, module) => {
17094
17094
  static create() {
17095
17095
  return new r;
17096
17096
  }
17097
+ get(e3) {
17098
+ return this._map.get(e3);
17099
+ }
17097
17100
  getOrCreateValue(e3, t3) {
17098
17101
  if (this._map.has(e3))
17099
17102
  return this._map.get(e3);
17100
17103
  let r2 = t3(e3);
17101
17104
  return this._map.set(e3, r2), r2;
17102
17105
  }
17106
+ delete(e3) {
17107
+ return this._map.delete(e3);
17108
+ }
17109
+ values() {
17110
+ return this._map.values();
17111
+ }
17112
+ clear() {
17113
+ this._map.clear();
17114
+ }
17103
17115
  }
17104
17116
  t2.Dictionary = r;
17105
17117
  }, 4444: function(e2, t2, r) {
@@ -18472,25 +18484,61 @@ Object name: '${e3}'.`), t3;
18472
18484
  Object.defineProperty(t2, "__esModule", { value: true }), o(r(1476), t2), o(r(9108), t2), o(r(4236), t2), o(r(2988), t2), o(r(5276), t2), o(r(7540), t2), o(r(2432), t2), o(r(712), t2);
18473
18485
  }, 1816: (e2, t2) => {
18474
18486
  Object.defineProperty(t2, "__esModule", { value: true });
18475
- }, 5284: (e2, t2, r) => {
18487
+ }, 5284: function(e2, t2, r) {
18488
+ var n = this && this.__awaiter || function(e3, t3, r2, n2) {
18489
+ return new (r2 || (r2 = Promise))(function(o2, i3) {
18490
+ function s2(e4) {
18491
+ try {
18492
+ c2(n2.next(e4));
18493
+ } catch (e5) {
18494
+ i3(e5);
18495
+ }
18496
+ }
18497
+ function a2(e4) {
18498
+ try {
18499
+ c2(n2.throw(e4));
18500
+ } catch (e5) {
18501
+ i3(e5);
18502
+ }
18503
+ }
18504
+ function c2(e4) {
18505
+ var t4;
18506
+ e4.done ? o2(e4.value) : (t4 = e4.value, t4 instanceof r2 ? t4 : new r2(function(e5) {
18507
+ e5(t4);
18508
+ })).then(s2, a2);
18509
+ }
18510
+ c2((n2 = n2.apply(e3, t3 || [])).next());
18511
+ });
18512
+ };
18476
18513
  Object.defineProperty(t2, "__esModule", { value: true }), t2.IpcBaseImpl = t2.IpcCoreBase = undefined;
18477
- const n = r(5188), o = r(3212), i2 = r(4104), s = r(2760), a = r(9100);
18514
+ const o = r(5188), i2 = r(3212), s = r(4104), a = r(2760), c = r(9100);
18478
18515
  t2.IpcCoreBase = class {
18479
18516
  constructor() {
18480
18517
  this._db = new Map;
18481
18518
  }
18482
18519
  };
18483
18520
 
18484
- class c {
18521
+ class u {
18485
18522
  constructor(e3, t3, r2) {
18486
- this.addressBuilder = e3, this.proxy = new c.ProxySource(this), this.config = new c.Configuration(this), this.callback = new a.CallbackImpl(this), this.configStore = new o.ConfigStore(this), this.proxySource = new i2.ProxySource(this), this.dispatchProxies = new i2.DispatchProxyClassStore, this.wire = new i2.Wire(this), this.contractStore = new s.ContractStore, this.callbackStore = new i2.CallbackStoreImpl, this.$service = t3 != null ? t3 : new o.ServiceAnnotationsWrapper(this).iface, this.$operation = r2 != null ? r2 : new o.OperationAnnotationsWrapper(this).iface;
18523
+ this.addressBuilder = e3, this.proxy = new u.ProxySource(this), this.config = new u.Configuration(this), this.callback = new c.CallbackImpl(this), this.configStore = new i2.ConfigStore(this), this.proxySource = new s.ProxySource(this), this.dispatchProxies = new s.DispatchProxyClassStore, this.wire = new s.Wire(this), this.contractStore = new a.ContractStore, this.callbackStore = new s.CallbackStoreImpl, this.$service = t3 != null ? t3 : new i2.ServiceAnnotationsWrapper(this).iface, this.$operation = r2 != null ? r2 : new i2.OperationAnnotationsWrapper(this).iface;
18487
18524
  }
18488
18525
  getAddress(e3) {
18489
18526
  const t3 = new this.addressBuilder;
18490
18527
  return e3(t3), t3.assertAddress();
18491
18528
  }
18529
+ disposeChannel(e3) {
18530
+ return n(this, undefined, undefined, function* () {
18531
+ const t3 = this.getAddress(e3);
18532
+ yield this.wire.disposeChannel(t3.key);
18533
+ });
18534
+ }
18535
+ disposeAllChannels() {
18536
+ return n(this, undefined, undefined, function* () {
18537
+ yield this.wire.disposeAllChannels();
18538
+ });
18539
+ }
18492
18540
  }
18493
- t2.IpcBaseImpl = c, function(e3) {
18541
+ t2.IpcBaseImpl = u, function(e3) {
18494
18542
  e3.ProxySource = class {
18495
18543
  constructor(e4) {
18496
18544
  this._serviceProvider = e4;
@@ -18506,7 +18554,7 @@ Object name: '${e3}'.`), t3;
18506
18554
  this._serviceProvider = e4, this._address = t4;
18507
18555
  }
18508
18556
  withService(e4) {
18509
- const t4 = new i2.ProxyId(e4, this._address);
18557
+ const t4 = new s.ProxyId(e4, this._address);
18510
18558
  return this._serviceProvider.proxySource.resolve(t4);
18511
18559
  }
18512
18560
  }
@@ -18528,27 +18576,27 @@ Object name: '${e3}'.`), t3;
18528
18576
  this._ipc = e4, this._address = t4;
18529
18577
  }
18530
18578
  setConnectHelper(e4) {
18531
- (0, n.assertArgument)({ value: e4 }, "function"), this._ipc.configStore.setConnectHelper(this._address, e4);
18579
+ (0, o.assertArgument)({ value: e4 }, "function"), this._ipc.configStore.setConnectHelper(this._address, e4);
18532
18580
  }
18533
18581
  forAnyService() {
18534
- return new o2(this._ipc, this._address);
18582
+ return new n2(this._ipc, this._address);
18535
18583
  }
18536
18584
  forService(e4) {
18537
- return new o2(this._ipc, this._address, e4);
18585
+ return new n2(this._ipc, this._address, e4);
18538
18586
  }
18539
18587
  }
18540
18588
  e3.ConfigurationWithAddress = r2;
18541
18589
 
18542
- class o2 {
18590
+ class n2 {
18543
18591
  constructor(e4, t4, r3) {
18544
18592
  this._ipc = e4, this._address = t4, this._service = r3;
18545
18593
  }
18546
18594
  setRequestTimeout(e4) {
18547
- (0, n.assertArgument)({ value: e4 }, "number", n.TimeSpan), typeof e4 == "number" && (e4 = n.TimeSpan.fromMilliseconds(e4)), this._ipc.configStore.setRequestTimeout(this._address, this._service, e4);
18595
+ (0, o.assertArgument)({ value: e4 }, "number", o.TimeSpan), typeof e4 == "number" && (e4 = o.TimeSpan.fromMilliseconds(e4)), this._ipc.configStore.setRequestTimeout(this._address, this._service, e4);
18548
18596
  }
18549
18597
  }
18550
- e3.ConfigurationWithAddressService = o2;
18551
- }(c = t2.IpcBaseImpl || (t2.IpcBaseImpl = {}));
18598
+ e3.ConfigurationWithAddressService = n2;
18599
+ }(u = t2.IpcBaseImpl || (t2.IpcBaseImpl = {}));
18552
18600
  }, 3552: (e2, t2) => {
18553
18601
  Object.defineProperty(t2, "__esModule", { value: true }), t2.IpcError = undefined, t2.IpcError = class {
18554
18602
  constructor(e3, t3, r, n) {
@@ -18621,7 +18669,13 @@ Object name: '${e3}'.`), t3;
18621
18669
  }
18622
18670
  disposeAsync() {
18623
18671
  return n(this, undefined, undefined, function* () {
18624
- this._ctsLoop.cancel(), yield this._loop, this._stream.dispose();
18672
+ this._ctsLoop.cancel();
18673
+ try {
18674
+ yield this._loop;
18675
+ } catch (e3) {
18676
+ e3 instanceof o.OperationCanceledError || o.Trace.log(o.UnknownError.ensureError(e3));
18677
+ }
18678
+ this._stream.dispose();
18625
18679
  });
18626
18680
  }
18627
18681
  static toMessageTypeString(e3) {
@@ -18806,8 +18860,8 @@ ${e3.Data}`);
18806
18860
  static create(e3, t3, r2, n2, o2, i3) {
18807
18861
  return new a(e3, t3, r2, n2, o2, i3);
18808
18862
  }
18809
- constructor(e3, t3, r2, n2, o2, s2) {
18810
- this._observer = o2, this._isDisposed = false, this._outgoingCalls = new a.OutgoingCallTable, this._networkObserver = new class {
18863
+ constructor(e3, t3, r2, n2, s2, c) {
18864
+ this._observer = s2, this._isDisposed = false, this._outgoingCalls = new a.OutgoingCallTable, this._networkObserver = new class {
18811
18865
  constructor(e4) {
18812
18866
  this._owner = e4;
18813
18867
  }
@@ -18820,8 +18874,8 @@ ${e3.Data}`);
18820
18874
  complete() {
18821
18875
  this._owner.dispatchNetworkComplete();
18822
18876
  }
18823
- }(this), this._$messageStream = a.createMessageStream(e3, t3, r2, n2, this._networkObserver, i2.MessageStream.Factory.orDefault(s2)), this._$messageStream.catch((e4) => {
18824
- this.disposeAsync();
18877
+ }(this), this._$messageStream = a.createMessageStream(e3, t3, r2, n2, this._networkObserver, i2.MessageStream.Factory.orDefault(c)), this._$messageStream.catch((e4) => {
18878
+ o.Trace.traceErrorNoThrow(this.disposeAsync());
18825
18879
  });
18826
18880
  }
18827
18881
  disposeAsync() {
@@ -19060,6 +19114,12 @@ ${e3.Data}`);
19060
19114
  complete() {}
19061
19115
  }(this);
19062
19116
  }
19117
+ disposeAsync() {
19118
+ return n(this, undefined, undefined, function* () {
19119
+ const e3 = this._latestChannel;
19120
+ this._latestChannel = undefined, e3 && !e3.isDisposed && (yield e3.disposeAsync());
19121
+ });
19122
+ }
19063
19123
  invokeMethod(e3, t3, r2) {
19064
19124
  return n(this, undefined, undefined, function* () {
19065
19125
  const [n2, a, c, u] = s.RpcRequestFactory.create({ sp: this._sp, service: e3, address: this._address, methodName: t3, args: r2 }), l = yield this.ensureConnection(o.Timeout.infiniteTimeSpan, c), f = yield l.call(n2, u, c), d = i2.Converter.unwrapRpcResponse(f, n2);
@@ -19214,18 +19274,55 @@ ${e3.Data}`);
19214
19274
  return !d || e3.args.length !== 0 && e3.args[e3.args.length - 1] instanceof n.CancellationToken || (y = [...y, n.CancellationToken.none]), [o.Converter.toRpcRequest(l, f, y, b), p, v, b];
19215
19275
  }
19216
19276
  };
19217
- }, 4156: (e2, t2, r) => {
19277
+ }, 4156: function(e2, t2, r) {
19278
+ var n = this && this.__awaiter || function(e3, t3, r2, n2) {
19279
+ return new (r2 || (r2 = Promise))(function(o2, i3) {
19280
+ function s2(e4) {
19281
+ try {
19282
+ c(n2.next(e4));
19283
+ } catch (e5) {
19284
+ i3(e5);
19285
+ }
19286
+ }
19287
+ function a(e4) {
19288
+ try {
19289
+ c(n2.throw(e4));
19290
+ } catch (e5) {
19291
+ i3(e5);
19292
+ }
19293
+ }
19294
+ function c(e4) {
19295
+ var t4;
19296
+ e4.done ? o2(e4.value) : (t4 = e4.value, t4 instanceof r2 ? t4 : new r2(function(e5) {
19297
+ e5(t4);
19298
+ })).then(s2, a);
19299
+ }
19300
+ c((n2 = n2.apply(e3, t3 || [])).next());
19301
+ });
19302
+ };
19218
19303
  Object.defineProperty(t2, "__esModule", { value: true }), t2.Wire = undefined;
19219
- const n = r(3212), o = r(4104), i2 = r(5188);
19304
+ const o = r(3212), i2 = r(4104), s = r(5188);
19220
19305
  t2.Wire = class {
19221
19306
  invokeMethod(e3, t3, r2) {
19222
19307
  return this.getOrCreateChannelManager(e3.address).invokeMethod(e3.service, t3, r2);
19223
19308
  }
19224
- constructor(e3, t3 = n.RpcChannel, r2 = new n.MessageStream.Factory) {
19225
- this._sp = e3, this._rpcChannelFactory = t3, this._messageStreamFactory = r2, this._map = new i2.Dictionary;
19309
+ constructor(e3, t3 = o.RpcChannel, r2 = new o.MessageStream.Factory) {
19310
+ this._sp = e3, this._rpcChannelFactory = t3, this._messageStreamFactory = r2, this._map = new s.Dictionary;
19226
19311
  }
19227
19312
  getOrCreateChannelManager(e3) {
19228
- return this._map.getOrCreateValue(e3.key, () => new o.ChannelManager(this._sp, e3, this._rpcChannelFactory, this._messageStreamFactory));
19313
+ return this._map.getOrCreateValue(e3.key, () => new i2.ChannelManager(this._sp, e3, this._rpcChannelFactory, this._messageStreamFactory));
19314
+ }
19315
+ disposeChannel(e3) {
19316
+ return n(this, undefined, undefined, function* () {
19317
+ const t3 = this._map.get(e3);
19318
+ t3 && (this._map.delete(e3), yield t3.disposeAsync());
19319
+ });
19320
+ }
19321
+ disposeAllChannels() {
19322
+ return n(this, undefined, undefined, function* () {
19323
+ const e3 = [...this._map.values()];
19324
+ this._map.clear(), yield Promise.all(e3.map((e4) => e4.disposeAsync()));
19325
+ });
19229
19326
  }
19230
19327
  };
19231
19328
  }, 4104: function(e2, t2, r) {
@@ -20188,7 +20285,7 @@ ${e3.Data}`);
20188
20285
  }
20189
20286
  };
20190
20287
  }, 5144: (e2, t2, r) => {
20191
- const n = r(467), o = r(1256), i2 = r(3755), s = r(5256), a = r(192), { randomBytes: c, createHash: u } = r(7968), { Readable: l } = r(8378), { URL: f } = r(8716), d = r(516), p = r(6804), h = r(957), { BINARY_TYPES: v, EMPTY_BUFFER: b, GUID: y, kForOnEventAttribute: _, kListener: m, kStatusCode: g, kWebSocket: O, NOOP: w } = r(5820), { EventTarget: { addEventListener: S, removeEventListener: P } } = r(2584), { format: j, parse: E } = r(1056), { toBuffer: x } = r(3092), M = Symbol("kAborted"), k = [8, 13], T = ["CONNECTING", "OPEN", "CLOSING", "CLOSED"], C = /^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;
20288
+ const n = r(467), o = r(1256), i2 = r(3755), s = r(5256), a = r(192), { randomBytes: c, createHash: u } = r(7968), { Readable: l } = r(8378), { URL: f } = r(8716), d = r(516), p = r(6804), h = r(957), { BINARY_TYPES: v, EMPTY_BUFFER: b, GUID: y, kForOnEventAttribute: _, kListener: m, kStatusCode: g, kWebSocket: O, NOOP: w } = r(5820), { EventTarget: { addEventListener: S, removeEventListener: P } } = r(2584), { format: j, parse: E } = r(1056), { toBuffer: x } = r(3092), M = Symbol("kAborted"), k = [8, 13], C = ["CONNECTING", "OPEN", "CLOSING", "CLOSED"], T = /^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;
20192
20289
 
20193
20290
  class A extends n {
20194
20291
  constructor(e3, t3, r2) {
@@ -20311,7 +20408,7 @@ ${e3.Data}`);
20311
20408
  let g2, O2;
20312
20409
  if (s2.createConnection = l2 ? F : R, s2.defaultPort = s2.defaultPort || v2, s2.port = a2.port || v2, s2.host = a2.hostname.startsWith("[") ? a2.hostname.slice(1, -1) : a2.hostname, s2.headers = { ...s2.headers, "Sec-WebSocket-Version": s2.protocolVersion, "Sec-WebSocket-Key": b2, Connection: "Upgrade", Upgrade: "websocket" }, s2.path = a2.pathname + a2.search, s2.timeout = s2.handshakeTimeout, s2.perMessageDeflate && (g2 = new d(s2.perMessageDeflate !== true ? s2.perMessageDeflate : {}, false, s2.maxPayload), s2.headers["Sec-WebSocket-Extensions"] = j({ [d.extensionName]: g2.offer() })), r2.length) {
20313
20410
  for (const e4 of r2) {
20314
- if (typeof e4 != "string" || !C.test(e4) || m2.has(e4))
20411
+ if (typeof e4 != "string" || !T.test(e4) || m2.has(e4))
20315
20412
  throw new SyntaxError("An invalid or duplicated subprotocol was specified");
20316
20413
  m2.add(e4);
20317
20414
  }
@@ -20410,7 +20507,7 @@ ${e3.Data}`);
20410
20507
  const r3 = x(t3).length;
20411
20508
  e3._socket ? e3._sender._bufferedBytes += r3 : e3._bufferedAmount += r3;
20412
20509
  }
20413
- r2 && r2(new Error(`WebSocket is not open: readyState ${e3.readyState} (${T[e3.readyState]})`));
20510
+ r2 && r2(new Error(`WebSocket is not open: readyState ${e3.readyState} (${C[e3.readyState]})`));
20414
20511
  }
20415
20512
  function W(e3, t3) {
20416
20513
  const r2 = this[O];
@@ -20456,7 +20553,7 @@ ${e3.Data}`);
20456
20553
  const e3 = this[O];
20457
20554
  this.removeListener("error", J), this.on("error", w), e3 && (e3._readyState = A.CLOSING, this.destroy());
20458
20555
  }
20459
- Object.defineProperty(A, "CONNECTING", { enumerable: true, value: T.indexOf("CONNECTING") }), Object.defineProperty(A.prototype, "CONNECTING", { enumerable: true, value: T.indexOf("CONNECTING") }), Object.defineProperty(A, "OPEN", { enumerable: true, value: T.indexOf("OPEN") }), Object.defineProperty(A.prototype, "OPEN", { enumerable: true, value: T.indexOf("OPEN") }), Object.defineProperty(A, "CLOSING", { enumerable: true, value: T.indexOf("CLOSING") }), Object.defineProperty(A.prototype, "CLOSING", { enumerable: true, value: T.indexOf("CLOSING") }), Object.defineProperty(A, "CLOSED", { enumerable: true, value: T.indexOf("CLOSED") }), Object.defineProperty(A.prototype, "CLOSED", { enumerable: true, value: T.indexOf("CLOSED") }), ["binaryType", "bufferedAmount", "extensions", "isPaused", "protocol", "readyState", "url"].forEach((e3) => {
20556
+ Object.defineProperty(A, "CONNECTING", { enumerable: true, value: C.indexOf("CONNECTING") }), Object.defineProperty(A.prototype, "CONNECTING", { enumerable: true, value: C.indexOf("CONNECTING") }), Object.defineProperty(A, "OPEN", { enumerable: true, value: C.indexOf("OPEN") }), Object.defineProperty(A.prototype, "OPEN", { enumerable: true, value: C.indexOf("OPEN") }), Object.defineProperty(A, "CLOSING", { enumerable: true, value: C.indexOf("CLOSING") }), Object.defineProperty(A.prototype, "CLOSING", { enumerable: true, value: C.indexOf("CLOSING") }), Object.defineProperty(A, "CLOSED", { enumerable: true, value: C.indexOf("CLOSED") }), Object.defineProperty(A.prototype, "CLOSED", { enumerable: true, value: C.indexOf("CLOSED") }), ["binaryType", "bufferedAmount", "extensions", "isPaused", "protocol", "readyState", "url"].forEach((e3) => {
20460
20557
  Object.defineProperty(A.prototype, e3, { enumerable: true });
20461
20558
  }), ["open", "error", "close", "message"].forEach((e3) => {
20462
20559
  Object.defineProperty(A.prototype, `on${e3}`, { enumerable: true, get() {
@@ -27133,11 +27230,13 @@ var require_handle_consent_code_message = __commonJS((exports) => {
27133
27230
  var coreipc_1 = require_coreipc();
27134
27231
 
27135
27232
  class HandleConsentCodeMessage extends coreipc_1.Message {
27136
- constructor(Accept, Domain, ConsentCode) {
27233
+ constructor(Accept, Domain, ConsentCode, SignInUrl) {
27137
27234
  super();
27138
27235
  this.Accept = Accept;
27139
27236
  this.Domain = Domain;
27140
27237
  this.ConsentCode = ConsentCode;
27238
+ this.SignInUrl = SignInUrl;
27239
+ this.RequestTimeout = coreipc_1.TimeSpan.fromSeconds(60);
27141
27240
  }
27142
27241
  }
27143
27242
  exports.HandleConsentCodeMessage = HandleConsentCodeMessage;
@@ -27938,8 +28037,8 @@ var require_robotjs_services2 = __commonJS((exports) => {
27938
28037
  constructor(_consentCodeServices) {
27939
28038
  this._consentCodeServices = _consentCodeServices;
27940
28039
  }
27941
- HandleConsentCode(accept, domain2, consentCode) {
27942
- return this._consentCodeServices.HandleConsentCode(new server.HandleConsentCodeMessage(accept, domain2, consentCode), coreipc_1.CancellationToken.none);
28040
+ HandleConsentCode(accept, domain2, consentCode, signInUrl) {
28041
+ return this._consentCodeServices.HandleConsentCode(new server.HandleConsentCodeMessage(accept, domain2, consentCode, signInUrl), coreipc_1.CancellationToken.none);
27943
28042
  }
27944
28043
  IsDomainAllowed(domain2) {
27945
28044
  return this._consentCodeServices.IsDomainAllowed(new server.IsDomainAllowedMessage(domain2), coreipc_1.CancellationToken.none);
@@ -28081,7 +28180,10 @@ var require_robot_agent_proxy2 = __commonJS((exports) => {
28081
28180
  this._robotJsServices = new robotjs_services_1.RobotJsServices(this._consentCodeServices);
28082
28181
  }
28083
28182
  CloseAsync() {
28084
- return __awaiter(this, undefined, undefined, function* () {});
28183
+ return __awaiter(this, undefined, undefined, function* () {
28184
+ yield coreipc_1.ipc.disposeChannel(coreipc_1.ipc.namedPipe(this._settings.pipeName));
28185
+ yield coreipc_1.ipc.disposeChannel(coreipc_1.ipc.namedPipe(this._robotJsSettings.pipeName));
28186
+ });
28085
28187
  }
28086
28188
  get RobotStatusChanged() {
28087
28189
  return this._robotStatusChanged;
@@ -236416,7 +236518,7 @@ import"./packager-tool.js";
236416
236518
  // package.json
236417
236519
  var package_default = {
236418
236520
  name: "@uipath/case-tool",
236419
- version: "0.9.0",
236521
+ version: "0.9.1",
236420
236522
  description: "Manage Case Management instances, processes, and incidents.",
236421
236523
  private: false,
236422
236524
  repository: {
@@ -295675,7 +295777,7 @@ var require_coreipc2 = __commonJS2((exports, module) => {
295675
295777
  if (S(n3))
295676
295778
  return r3;
295677
295779
  for (var i3 = function(e6) {
295678
- var t5 = C(e6, o2);
295780
+ var t5 = T(e6, o2);
295679
295781
  if (!k(t5))
295680
295782
  throw new TypeError;
295681
295783
  var r4 = t5.call(e6);
@@ -295738,7 +295840,7 @@ var require_coreipc2 = __commonJS2((exports, module) => {
295738
295840
  case 5:
295739
295841
  return e5;
295740
295842
  }
295741
- var r3 = t4 === 3 ? "string" : t4 === 5 ? "number" : "default", o3 = C(e5, n2);
295843
+ var r3 = t4 === 3 ? "string" : t4 === 5 ? "number" : "default", o3 = T(e5, n2);
295742
295844
  if (o3 !== undefined) {
295743
295845
  var i3 = o3.call(e5, r3);
295744
295846
  if (j(i3))
@@ -295775,10 +295877,10 @@ var require_coreipc2 = __commonJS2((exports, module) => {
295775
295877
  function k(e5) {
295776
295878
  return typeof e5 == "function";
295777
295879
  }
295778
- function T(e5) {
295880
+ function C(e5) {
295779
295881
  return typeof e5 == "function";
295780
295882
  }
295781
- function C(e5, t4) {
295883
+ function T(e5, t4) {
295782
295884
  var r3 = e5[t4];
295783
295885
  if (r3 != null) {
295784
295886
  if (!k(r3))
@@ -295813,13 +295915,13 @@ var require_coreipc2 = __commonJS2((exports, module) => {
295813
295915
  if (S(r3)) {
295814
295916
  if (!M(e5))
295815
295917
  throw new TypeError;
295816
- if (!T(t4))
295918
+ if (!C(t4))
295817
295919
  throw new TypeError;
295818
295920
  return function(e6, t5) {
295819
295921
  for (var r4 = e6.length - 1;r4 >= 0; --r4) {
295820
295922
  var n4 = (0, e6[r4])(t5);
295821
295923
  if (!S(n4) && !P(n4)) {
295822
- if (!T(n4))
295924
+ if (!C(n4))
295823
295925
  throw new TypeError;
295824
295926
  t5 = n4;
295825
295927
  }
@@ -296029,13 +296131,13 @@ var require_coreipc2 = __commonJS2((exports, module) => {
296029
296131
  Object.defineProperty(t2, "EmptyError", { enumerable: true, get: function() {
296030
296132
  return k.EmptyError;
296031
296133
  } });
296032
- var T = r(7628);
296134
+ var C = r(7628);
296033
296135
  Object.defineProperty(t2, "NotFoundError", { enumerable: true, get: function() {
296034
- return T.NotFoundError;
296136
+ return C.NotFoundError;
296035
296137
  } });
296036
- var C = r(740);
296138
+ var T = r(740);
296037
296139
  Object.defineProperty(t2, "ObjectUnsubscribedError", { enumerable: true, get: function() {
296038
- return C.ObjectUnsubscribedError;
296140
+ return T.ObjectUnsubscribedError;
296039
296141
  } });
296040
296142
  var A = r(6968);
296041
296143
  Object.defineProperty(t2, "SequenceError", { enumerable: true, get: function() {
@@ -296245,13 +296347,13 @@ var require_coreipc2 = __commonJS2((exports, module) => {
296245
296347
  Object.defineProperty(t2, "debounceTime", { enumerable: true, get: function() {
296246
296348
  return ke.debounceTime;
296247
296349
  } });
296248
- var Te = r(6204);
296350
+ var Ce = r(6204);
296249
296351
  Object.defineProperty(t2, "defaultIfEmpty", { enumerable: true, get: function() {
296250
- return Te.defaultIfEmpty;
296352
+ return Ce.defaultIfEmpty;
296251
296353
  } });
296252
- var Ce = r(7752);
296354
+ var Te = r(7752);
296253
296355
  Object.defineProperty(t2, "delay", { enumerable: true, get: function() {
296254
- return Ce.delay;
296356
+ return Te.delay;
296255
296357
  } });
296256
296358
  var Ae = r(7532);
296257
296359
  Object.defineProperty(t2, "delayWhen", { enumerable: true, get: function() {
@@ -296461,13 +296563,13 @@ var require_coreipc2 = __commonJS2((exports, module) => {
296461
296563
  Object.defineProperty(t2, "share", { enumerable: true, get: function() {
296462
296564
  return kt.share;
296463
296565
  } });
296464
- var Tt = r(4980);
296566
+ var Ct = r(4980);
296465
296567
  Object.defineProperty(t2, "shareReplay", { enumerable: true, get: function() {
296466
- return Tt.shareReplay;
296568
+ return Ct.shareReplay;
296467
296569
  } });
296468
- var Ct = r(1400);
296570
+ var Tt = r(1400);
296469
296571
  Object.defineProperty(t2, "single", { enumerable: true, get: function() {
296470
- return Ct.single;
296572
+ return Tt.single;
296471
296573
  } });
296472
296574
  var At = r(7516);
296473
296575
  Object.defineProperty(t2, "skip", { enumerable: true, get: function() {
@@ -302167,12 +302269,24 @@ var require_coreipc2 = __commonJS2((exports, module) => {
302167
302269
  static create() {
302168
302270
  return new r;
302169
302271
  }
302272
+ get(e3) {
302273
+ return this._map.get(e3);
302274
+ }
302170
302275
  getOrCreateValue(e3, t3) {
302171
302276
  if (this._map.has(e3))
302172
302277
  return this._map.get(e3);
302173
302278
  let r2 = t3(e3);
302174
302279
  return this._map.set(e3, r2), r2;
302175
302280
  }
302281
+ delete(e3) {
302282
+ return this._map.delete(e3);
302283
+ }
302284
+ values() {
302285
+ return this._map.values();
302286
+ }
302287
+ clear() {
302288
+ this._map.clear();
302289
+ }
302176
302290
  }
302177
302291
  t2.Dictionary = r;
302178
302292
  }, 4444: function(e2, t2, r) {
@@ -303545,25 +303659,61 @@ Object name: '${e3}'.`), t3;
303545
303659
  Object.defineProperty(t2, "__esModule", { value: true }), o(r(1476), t2), o(r(9108), t2), o(r(4236), t2), o(r(2988), t2), o(r(5276), t2), o(r(7540), t2), o(r(2432), t2), o(r(712), t2);
303546
303660
  }, 1816: (e2, t2) => {
303547
303661
  Object.defineProperty(t2, "__esModule", { value: true });
303548
- }, 5284: (e2, t2, r) => {
303662
+ }, 5284: function(e2, t2, r) {
303663
+ var n = this && this.__awaiter || function(e3, t3, r2, n2) {
303664
+ return new (r2 || (r2 = Promise))(function(o2, i3) {
303665
+ function s2(e4) {
303666
+ try {
303667
+ c2(n2.next(e4));
303668
+ } catch (e5) {
303669
+ i3(e5);
303670
+ }
303671
+ }
303672
+ function a2(e4) {
303673
+ try {
303674
+ c2(n2.throw(e4));
303675
+ } catch (e5) {
303676
+ i3(e5);
303677
+ }
303678
+ }
303679
+ function c2(e4) {
303680
+ var t4;
303681
+ e4.done ? o2(e4.value) : (t4 = e4.value, t4 instanceof r2 ? t4 : new r2(function(e5) {
303682
+ e5(t4);
303683
+ })).then(s2, a2);
303684
+ }
303685
+ c2((n2 = n2.apply(e3, t3 || [])).next());
303686
+ });
303687
+ };
303549
303688
  Object.defineProperty(t2, "__esModule", { value: true }), t2.IpcBaseImpl = t2.IpcCoreBase = undefined;
303550
- const n = r(5188), o = r(3212), i22 = r(4104), s = r(2760), a = r(9100);
303689
+ const o = r(5188), i22 = r(3212), s = r(4104), a = r(2760), c = r(9100);
303551
303690
  t2.IpcCoreBase = class {
303552
303691
  constructor() {
303553
303692
  this._db = new Map;
303554
303693
  }
303555
303694
  };
303556
303695
 
303557
- class c {
303696
+ class u {
303558
303697
  constructor(e3, t3, r2) {
303559
- this.addressBuilder = e3, this.proxy = new c.ProxySource(this), this.config = new c.Configuration(this), this.callback = new a.CallbackImpl(this), this.configStore = new o.ConfigStore(this), this.proxySource = new i22.ProxySource(this), this.dispatchProxies = new i22.DispatchProxyClassStore, this.wire = new i22.Wire(this), this.contractStore = new s.ContractStore, this.callbackStore = new i22.CallbackStoreImpl, this.$service = t3 != null ? t3 : new o.ServiceAnnotationsWrapper(this).iface, this.$operation = r2 != null ? r2 : new o.OperationAnnotationsWrapper(this).iface;
303698
+ this.addressBuilder = e3, this.proxy = new u.ProxySource(this), this.config = new u.Configuration(this), this.callback = new c.CallbackImpl(this), this.configStore = new i22.ConfigStore(this), this.proxySource = new s.ProxySource(this), this.dispatchProxies = new s.DispatchProxyClassStore, this.wire = new s.Wire(this), this.contractStore = new a.ContractStore, this.callbackStore = new s.CallbackStoreImpl, this.$service = t3 != null ? t3 : new i22.ServiceAnnotationsWrapper(this).iface, this.$operation = r2 != null ? r2 : new i22.OperationAnnotationsWrapper(this).iface;
303560
303699
  }
303561
303700
  getAddress(e3) {
303562
303701
  const t3 = new this.addressBuilder;
303563
303702
  return e3(t3), t3.assertAddress();
303564
303703
  }
303704
+ disposeChannel(e3) {
303705
+ return n(this, undefined, undefined, function* () {
303706
+ const t3 = this.getAddress(e3);
303707
+ yield this.wire.disposeChannel(t3.key);
303708
+ });
303709
+ }
303710
+ disposeAllChannels() {
303711
+ return n(this, undefined, undefined, function* () {
303712
+ yield this.wire.disposeAllChannels();
303713
+ });
303714
+ }
303565
303715
  }
303566
- t2.IpcBaseImpl = c, function(e3) {
303716
+ t2.IpcBaseImpl = u, function(e3) {
303567
303717
  e3.ProxySource = class {
303568
303718
  constructor(e4) {
303569
303719
  this._serviceProvider = e4;
@@ -303579,7 +303729,7 @@ Object name: '${e3}'.`), t3;
303579
303729
  this._serviceProvider = e4, this._address = t4;
303580
303730
  }
303581
303731
  withService(e4) {
303582
- const t4 = new i22.ProxyId(e4, this._address);
303732
+ const t4 = new s.ProxyId(e4, this._address);
303583
303733
  return this._serviceProvider.proxySource.resolve(t4);
303584
303734
  }
303585
303735
  }
@@ -303601,27 +303751,27 @@ Object name: '${e3}'.`), t3;
303601
303751
  this._ipc = e4, this._address = t4;
303602
303752
  }
303603
303753
  setConnectHelper(e4) {
303604
- (0, n.assertArgument)({ value: e4 }, "function"), this._ipc.configStore.setConnectHelper(this._address, e4);
303754
+ (0, o.assertArgument)({ value: e4 }, "function"), this._ipc.configStore.setConnectHelper(this._address, e4);
303605
303755
  }
303606
303756
  forAnyService() {
303607
- return new o2(this._ipc, this._address);
303757
+ return new n2(this._ipc, this._address);
303608
303758
  }
303609
303759
  forService(e4) {
303610
- return new o2(this._ipc, this._address, e4);
303760
+ return new n2(this._ipc, this._address, e4);
303611
303761
  }
303612
303762
  }
303613
303763
  e3.ConfigurationWithAddress = r2;
303614
303764
 
303615
- class o2 {
303765
+ class n2 {
303616
303766
  constructor(e4, t4, r3) {
303617
303767
  this._ipc = e4, this._address = t4, this._service = r3;
303618
303768
  }
303619
303769
  setRequestTimeout(e4) {
303620
- (0, n.assertArgument)({ value: e4 }, "number", n.TimeSpan), typeof e4 == "number" && (e4 = n.TimeSpan.fromMilliseconds(e4)), this._ipc.configStore.setRequestTimeout(this._address, this._service, e4);
303770
+ (0, o.assertArgument)({ value: e4 }, "number", o.TimeSpan), typeof e4 == "number" && (e4 = o.TimeSpan.fromMilliseconds(e4)), this._ipc.configStore.setRequestTimeout(this._address, this._service, e4);
303621
303771
  }
303622
303772
  }
303623
- e3.ConfigurationWithAddressService = o2;
303624
- }(c = t2.IpcBaseImpl || (t2.IpcBaseImpl = {}));
303773
+ e3.ConfigurationWithAddressService = n2;
303774
+ }(u = t2.IpcBaseImpl || (t2.IpcBaseImpl = {}));
303625
303775
  }, 3552: (e2, t2) => {
303626
303776
  Object.defineProperty(t2, "__esModule", { value: true }), t2.IpcError = undefined, t2.IpcError = class {
303627
303777
  constructor(e3, t3, r, n) {
@@ -303694,7 +303844,13 @@ Object name: '${e3}'.`), t3;
303694
303844
  }
303695
303845
  disposeAsync() {
303696
303846
  return n(this, undefined, undefined, function* () {
303697
- this._ctsLoop.cancel(), yield this._loop, this._stream.dispose();
303847
+ this._ctsLoop.cancel();
303848
+ try {
303849
+ yield this._loop;
303850
+ } catch (e3) {
303851
+ e3 instanceof o.OperationCanceledError || o.Trace.log(o.UnknownError.ensureError(e3));
303852
+ }
303853
+ this._stream.dispose();
303698
303854
  });
303699
303855
  }
303700
303856
  static toMessageTypeString(e3) {
@@ -303879,8 +304035,8 @@ ${e3.Data}`);
303879
304035
  static create(e3, t3, r2, n2, o2, i3) {
303880
304036
  return new a(e3, t3, r2, n2, o2, i3);
303881
304037
  }
303882
- constructor(e3, t3, r2, n2, o2, s2) {
303883
- this._observer = o2, this._isDisposed = false, this._outgoingCalls = new a.OutgoingCallTable, this._networkObserver = new class {
304038
+ constructor(e3, t3, r2, n2, s2, c) {
304039
+ this._observer = s2, this._isDisposed = false, this._outgoingCalls = new a.OutgoingCallTable, this._networkObserver = new class {
303884
304040
  constructor(e4) {
303885
304041
  this._owner = e4;
303886
304042
  }
@@ -303893,8 +304049,8 @@ ${e3.Data}`);
303893
304049
  complete() {
303894
304050
  this._owner.dispatchNetworkComplete();
303895
304051
  }
303896
- }(this), this._$messageStream = a.createMessageStream(e3, t3, r2, n2, this._networkObserver, i22.MessageStream.Factory.orDefault(s2)), this._$messageStream.catch((e4) => {
303897
- this.disposeAsync();
304052
+ }(this), this._$messageStream = a.createMessageStream(e3, t3, r2, n2, this._networkObserver, i22.MessageStream.Factory.orDefault(c)), this._$messageStream.catch((e4) => {
304053
+ o.Trace.traceErrorNoThrow(this.disposeAsync());
303898
304054
  });
303899
304055
  }
303900
304056
  disposeAsync() {
@@ -304133,6 +304289,12 @@ ${e3.Data}`);
304133
304289
  complete() {}
304134
304290
  }(this);
304135
304291
  }
304292
+ disposeAsync() {
304293
+ return n(this, undefined, undefined, function* () {
304294
+ const e3 = this._latestChannel;
304295
+ this._latestChannel = undefined, e3 && !e3.isDisposed && (yield e3.disposeAsync());
304296
+ });
304297
+ }
304136
304298
  invokeMethod(e3, t3, r2) {
304137
304299
  return n(this, undefined, undefined, function* () {
304138
304300
  const [n2, a, c, u] = s.RpcRequestFactory.create({ sp: this._sp, service: e3, address: this._address, methodName: t3, args: r2 }), l = yield this.ensureConnection(o.Timeout.infiniteTimeSpan, c), f = yield l.call(n2, u, c), d = i22.Converter.unwrapRpcResponse(f, n2);
@@ -304287,18 +304449,55 @@ ${e3.Data}`);
304287
304449
  return !d || e3.args.length !== 0 && e3.args[e3.args.length - 1] instanceof n.CancellationToken || (y = [...y, n.CancellationToken.none]), [o.Converter.toRpcRequest(l, f, y, b), p, v, b];
304288
304450
  }
304289
304451
  };
304290
- }, 4156: (e2, t2, r) => {
304452
+ }, 4156: function(e2, t2, r) {
304453
+ var n = this && this.__awaiter || function(e3, t3, r2, n2) {
304454
+ return new (r2 || (r2 = Promise))(function(o2, i3) {
304455
+ function s2(e4) {
304456
+ try {
304457
+ c(n2.next(e4));
304458
+ } catch (e5) {
304459
+ i3(e5);
304460
+ }
304461
+ }
304462
+ function a(e4) {
304463
+ try {
304464
+ c(n2.throw(e4));
304465
+ } catch (e5) {
304466
+ i3(e5);
304467
+ }
304468
+ }
304469
+ function c(e4) {
304470
+ var t4;
304471
+ e4.done ? o2(e4.value) : (t4 = e4.value, t4 instanceof r2 ? t4 : new r2(function(e5) {
304472
+ e5(t4);
304473
+ })).then(s2, a);
304474
+ }
304475
+ c((n2 = n2.apply(e3, t3 || [])).next());
304476
+ });
304477
+ };
304291
304478
  Object.defineProperty(t2, "__esModule", { value: true }), t2.Wire = undefined;
304292
- const n = r(3212), o = r(4104), i22 = r(5188);
304479
+ const o = r(3212), i22 = r(4104), s = r(5188);
304293
304480
  t2.Wire = class {
304294
304481
  invokeMethod(e3, t3, r2) {
304295
304482
  return this.getOrCreateChannelManager(e3.address).invokeMethod(e3.service, t3, r2);
304296
304483
  }
304297
- constructor(e3, t3 = n.RpcChannel, r2 = new n.MessageStream.Factory) {
304298
- this._sp = e3, this._rpcChannelFactory = t3, this._messageStreamFactory = r2, this._map = new i22.Dictionary;
304484
+ constructor(e3, t3 = o.RpcChannel, r2 = new o.MessageStream.Factory) {
304485
+ this._sp = e3, this._rpcChannelFactory = t3, this._messageStreamFactory = r2, this._map = new s.Dictionary;
304299
304486
  }
304300
304487
  getOrCreateChannelManager(e3) {
304301
- return this._map.getOrCreateValue(e3.key, () => new o.ChannelManager(this._sp, e3, this._rpcChannelFactory, this._messageStreamFactory));
304488
+ return this._map.getOrCreateValue(e3.key, () => new i22.ChannelManager(this._sp, e3, this._rpcChannelFactory, this._messageStreamFactory));
304489
+ }
304490
+ disposeChannel(e3) {
304491
+ return n(this, undefined, undefined, function* () {
304492
+ const t3 = this._map.get(e3);
304493
+ t3 && (this._map.delete(e3), yield t3.disposeAsync());
304494
+ });
304495
+ }
304496
+ disposeAllChannels() {
304497
+ return n(this, undefined, undefined, function* () {
304498
+ const e3 = [...this._map.values()];
304499
+ this._map.clear(), yield Promise.all(e3.map((e4) => e4.disposeAsync()));
304500
+ });
304302
304501
  }
304303
304502
  };
304304
304503
  }, 4104: function(e2, t2, r) {
@@ -305261,7 +305460,7 @@ ${e3.Data}`);
305261
305460
  }
305262
305461
  };
305263
305462
  }, 5144: (e2, t2, r) => {
305264
- const n = r(467), o = r(1256), i22 = r(3755), s = r(5256), a = r(192), { randomBytes: c, createHash: u } = r(7968), { Readable: l } = r(8378), { URL: f } = r(8716), d = r(516), p = r(6804), h = r(957), { BINARY_TYPES: v, EMPTY_BUFFER: b, GUID: y, kForOnEventAttribute: _, kListener: m, kStatusCode: g, kWebSocket: O, NOOP: w } = r(5820), { EventTarget: { addEventListener: S, removeEventListener: P } } = r(2584), { format: j, parse: E } = r(1056), { toBuffer: x } = r(3092), M = Symbol("kAborted"), k = [8, 13], T = ["CONNECTING", "OPEN", "CLOSING", "CLOSED"], C = /^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;
305463
+ const n = r(467), o = r(1256), i22 = r(3755), s = r(5256), a = r(192), { randomBytes: c, createHash: u } = r(7968), { Readable: l } = r(8378), { URL: f } = r(8716), d = r(516), p = r(6804), h = r(957), { BINARY_TYPES: v, EMPTY_BUFFER: b, GUID: y, kForOnEventAttribute: _, kListener: m, kStatusCode: g, kWebSocket: O, NOOP: w } = r(5820), { EventTarget: { addEventListener: S, removeEventListener: P } } = r(2584), { format: j, parse: E } = r(1056), { toBuffer: x } = r(3092), M = Symbol("kAborted"), k = [8, 13], C = ["CONNECTING", "OPEN", "CLOSING", "CLOSED"], T = /^[!#$%&'*+\-.0-9A-Z^_`|a-z~]+$/;
305265
305464
 
305266
305465
  class A extends n {
305267
305466
  constructor(e3, t3, r2) {
@@ -305384,7 +305583,7 @@ ${e3.Data}`);
305384
305583
  let g2, O2;
305385
305584
  if (s2.createConnection = l2 ? F : R, s2.defaultPort = s2.defaultPort || v2, s2.port = a2.port || v2, s2.host = a2.hostname.startsWith("[") ? a2.hostname.slice(1, -1) : a2.hostname, s2.headers = { ...s2.headers, "Sec-WebSocket-Version": s2.protocolVersion, "Sec-WebSocket-Key": b2, Connection: "Upgrade", Upgrade: "websocket" }, s2.path = a2.pathname + a2.search, s2.timeout = s2.handshakeTimeout, s2.perMessageDeflate && (g2 = new d(s2.perMessageDeflate !== true ? s2.perMessageDeflate : {}, false, s2.maxPayload), s2.headers["Sec-WebSocket-Extensions"] = j({ [d.extensionName]: g2.offer() })), r2.length) {
305386
305585
  for (const e4 of r2) {
305387
- if (typeof e4 != "string" || !C.test(e4) || m2.has(e4))
305586
+ if (typeof e4 != "string" || !T.test(e4) || m2.has(e4))
305388
305587
  throw new SyntaxError("An invalid or duplicated subprotocol was specified");
305389
305588
  m2.add(e4);
305390
305589
  }
@@ -305483,7 +305682,7 @@ ${e3.Data}`);
305483
305682
  const r3 = x(t3).length;
305484
305683
  e3._socket ? e3._sender._bufferedBytes += r3 : e3._bufferedAmount += r3;
305485
305684
  }
305486
- r2 && r2(new Error(`WebSocket is not open: readyState ${e3.readyState} (${T[e3.readyState]})`));
305685
+ r2 && r2(new Error(`WebSocket is not open: readyState ${e3.readyState} (${C[e3.readyState]})`));
305487
305686
  }
305488
305687
  function W(e3, t3) {
305489
305688
  const r2 = this[O];
@@ -305529,7 +305728,7 @@ ${e3.Data}`);
305529
305728
  const e3 = this[O];
305530
305729
  this.removeListener("error", J), this.on("error", w), e3 && (e3._readyState = A.CLOSING, this.destroy());
305531
305730
  }
305532
- Object.defineProperty(A, "CONNECTING", { enumerable: true, value: T.indexOf("CONNECTING") }), Object.defineProperty(A.prototype, "CONNECTING", { enumerable: true, value: T.indexOf("CONNECTING") }), Object.defineProperty(A, "OPEN", { enumerable: true, value: T.indexOf("OPEN") }), Object.defineProperty(A.prototype, "OPEN", { enumerable: true, value: T.indexOf("OPEN") }), Object.defineProperty(A, "CLOSING", { enumerable: true, value: T.indexOf("CLOSING") }), Object.defineProperty(A.prototype, "CLOSING", { enumerable: true, value: T.indexOf("CLOSING") }), Object.defineProperty(A, "CLOSED", { enumerable: true, value: T.indexOf("CLOSED") }), Object.defineProperty(A.prototype, "CLOSED", { enumerable: true, value: T.indexOf("CLOSED") }), ["binaryType", "bufferedAmount", "extensions", "isPaused", "protocol", "readyState", "url"].forEach((e3) => {
305731
+ Object.defineProperty(A, "CONNECTING", { enumerable: true, value: C.indexOf("CONNECTING") }), Object.defineProperty(A.prototype, "CONNECTING", { enumerable: true, value: C.indexOf("CONNECTING") }), Object.defineProperty(A, "OPEN", { enumerable: true, value: C.indexOf("OPEN") }), Object.defineProperty(A.prototype, "OPEN", { enumerable: true, value: C.indexOf("OPEN") }), Object.defineProperty(A, "CLOSING", { enumerable: true, value: C.indexOf("CLOSING") }), Object.defineProperty(A.prototype, "CLOSING", { enumerable: true, value: C.indexOf("CLOSING") }), Object.defineProperty(A, "CLOSED", { enumerable: true, value: C.indexOf("CLOSED") }), Object.defineProperty(A.prototype, "CLOSED", { enumerable: true, value: C.indexOf("CLOSED") }), ["binaryType", "bufferedAmount", "extensions", "isPaused", "protocol", "readyState", "url"].forEach((e3) => {
305533
305732
  Object.defineProperty(A.prototype, e3, { enumerable: true });
305534
305733
  }), ["open", "error", "close", "message"].forEach((e3) => {
305535
305734
  Object.defineProperty(A.prototype, `on${e3}`, { enumerable: true, get() {
@@ -311846,11 +312045,13 @@ var require_handle_consent_code_message2 = __commonJS2((exports) => {
311846
312045
  var coreipc_1 = require_coreipc2();
311847
312046
 
311848
312047
  class HandleConsentCodeMessage extends coreipc_1.Message {
311849
- constructor(Accept, Domain, ConsentCode) {
312048
+ constructor(Accept, Domain, ConsentCode, SignInUrl) {
311850
312049
  super();
311851
312050
  this.Accept = Accept;
311852
312051
  this.Domain = Domain;
311853
312052
  this.ConsentCode = ConsentCode;
312053
+ this.SignInUrl = SignInUrl;
312054
+ this.RequestTimeout = coreipc_1.TimeSpan.fromSeconds(60);
311854
312055
  }
311855
312056
  }
311856
312057
  exports.HandleConsentCodeMessage = HandleConsentCodeMessage;
@@ -312623,8 +312824,8 @@ var require_robotjs_services22 = __commonJS2((exports) => {
312623
312824
  constructor(_consentCodeServices) {
312624
312825
  this._consentCodeServices = _consentCodeServices;
312625
312826
  }
312626
- HandleConsentCode(accept, domain22, consentCode) {
312627
- return this._consentCodeServices.HandleConsentCode(new server.HandleConsentCodeMessage(accept, domain22, consentCode), coreipc_1.CancellationToken.none);
312827
+ HandleConsentCode(accept, domain22, consentCode, signInUrl) {
312828
+ return this._consentCodeServices.HandleConsentCode(new server.HandleConsentCodeMessage(accept, domain22, consentCode, signInUrl), coreipc_1.CancellationToken.none);
312628
312829
  }
312629
312830
  IsDomainAllowed(domain22) {
312630
312831
  return this._consentCodeServices.IsDomainAllowed(new server.IsDomainAllowedMessage(domain22), coreipc_1.CancellationToken.none);
@@ -312764,7 +312965,10 @@ var require_robot_agent_proxy22 = __commonJS2((exports) => {
312764
312965
  this._robotJsServices = new robotjs_services_1.RobotJsServices(this._consentCodeServices);
312765
312966
  }
312766
312967
  CloseAsync() {
312767
- return __awaiter(this, undefined, undefined, function* () {});
312968
+ return __awaiter(this, undefined, undefined, function* () {
312969
+ yield coreipc_1.ipc.disposeChannel(coreipc_1.ipc.namedPipe(this._settings.pipeName));
312970
+ yield coreipc_1.ipc.disposeChannel(coreipc_1.ipc.namedPipe(this._robotJsSettings.pipeName));
312971
+ });
312768
312972
  }
312769
312973
  get RobotStatusChanged() {
312770
312974
  return this._robotStatusChanged;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uipath/case-tool",
3
- "version": "0.9.0",
3
+ "version": "0.9.1",
4
4
  "description": "Manage Case Management instances, processes, and incidents.",
5
5
  "private": false,
6
6
  "repository": {
@@ -38,18 +38,18 @@
38
38
  "@uipath/solutionpackager-tool-core": "0.0.33"
39
39
  },
40
40
  "devDependencies": {
41
- "@uipath/auth": "0.9.0",
41
+ "@uipath/auth": "0.9.1",
42
42
  "@uipath/case-plan-converter": "^0.752.0",
43
- "@uipath/common": "0.9.0",
44
- "@uipath/filesystem": "0.9.0",
45
- "@uipath/integrationservice-sdk": "1.0.1",
46
- "@uipath/maestro-sdk": "0.9.0",
47
- "@uipath/orchestrator-sdk": "0.9.0",
48
- "@uipath/solution-sdk": "0.9.0",
43
+ "@uipath/common": "0.9.1",
44
+ "@uipath/filesystem": "0.9.1",
45
+ "@uipath/integrationservice-sdk": "0.9.1",
46
+ "@uipath/maestro-sdk": "0.9.1",
47
+ "@uipath/orchestrator-sdk": "0.9.1",
48
+ "@uipath/solution-sdk": "0.9.1",
49
49
  "@uipath/packager-tool-case": "0.0.8",
50
50
  "@types/node": "^25.5.0",
51
51
  "commander": "^14.0.3",
52
52
  "typescript": "^5"
53
53
  },
54
- "gitHead": "3f1b4d8e9f910be81e4cab956537f21dbd5d63ac"
54
+ "gitHead": "e8da2857e37a9495c4907cd39f47c9d6ed1a5566"
55
55
  }