@viamrobotics/sdk 0.19.1 → 0.20.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.es.js CHANGED
@@ -10860,7 +10860,7 @@ var duration_pb$1 = {};
10860
10860
  var o = struct_pb;
10861
10861
  s.object.extend(proto, o);
10862
10862
  var r = timestamp_pb$1;
10863
- s.object.extend(proto, r), s.exportSymbol("proto.viam.robot.v1.BlockForOperationRequest", null, g), s.exportSymbol("proto.viam.robot.v1.BlockForOperationResponse", null, g), s.exportSymbol("proto.viam.robot.v1.CancelOperationRequest", null, g), s.exportSymbol("proto.viam.robot.v1.CancelOperationResponse", null, g), s.exportSymbol("proto.viam.robot.v1.DiscoverComponentsRequest", null, g), s.exportSymbol("proto.viam.robot.v1.DiscoverComponentsResponse", null, g), s.exportSymbol("proto.viam.robot.v1.Discovery", null, g), s.exportSymbol("proto.viam.robot.v1.DiscoveryQuery", null, g), s.exportSymbol("proto.viam.robot.v1.FrameSystemConfig", null, g), s.exportSymbol("proto.viam.robot.v1.FrameSystemConfigRequest", null, g), s.exportSymbol("proto.viam.robot.v1.FrameSystemConfigResponse", null, g), s.exportSymbol("proto.viam.robot.v1.GetCloudMetadataRequest", null, g), s.exportSymbol("proto.viam.robot.v1.GetCloudMetadataResponse", null, g), s.exportSymbol("proto.viam.robot.v1.GetMachineStatusRequest", null, g), s.exportSymbol("proto.viam.robot.v1.GetMachineStatusResponse", null, g), s.exportSymbol("proto.viam.robot.v1.GetOperationsRequest", null, g), s.exportSymbol("proto.viam.robot.v1.GetOperationsResponse", null, g), s.exportSymbol("proto.viam.robot.v1.GetSessionsRequest", null, g), s.exportSymbol("proto.viam.robot.v1.GetSessionsResponse", null, g), s.exportSymbol("proto.viam.robot.v1.GetStatusRequest", null, g), s.exportSymbol("proto.viam.robot.v1.GetStatusResponse", null, g), s.exportSymbol("proto.viam.robot.v1.LogRequest", null, g), s.exportSymbol("proto.viam.robot.v1.LogResponse", null, g), s.exportSymbol("proto.viam.robot.v1.Operation", null, g), s.exportSymbol("proto.viam.robot.v1.PeerConnectionInfo", null, g), s.exportSymbol("proto.viam.robot.v1.PeerConnectionType", null, g), s.exportSymbol("proto.viam.robot.v1.ResourceNamesRequest", null, g), s.exportSymbol("proto.viam.robot.v1.ResourceNamesResponse", null, g), s.exportSymbol("proto.viam.robot.v1.ResourceRPCSubtype", null, g), s.exportSymbol("proto.viam.robot.v1.ResourceRPCSubtypesRequest", null, g), s.exportSymbol("proto.viam.robot.v1.ResourceRPCSubtypesResponse", null, g), s.exportSymbol("proto.viam.robot.v1.ResourceStatus", null, g), s.exportSymbol("proto.viam.robot.v1.ResourceStatus.State", null, g), s.exportSymbol("proto.viam.robot.v1.RestartModuleRequest", null, g), s.exportSymbol("proto.viam.robot.v1.RestartModuleRequest.IdOrNameCase", null, g), s.exportSymbol("proto.viam.robot.v1.RestartModuleResponse", null, g), s.exportSymbol("proto.viam.robot.v1.SendSessionHeartbeatRequest", null, g), s.exportSymbol("proto.viam.robot.v1.SendSessionHeartbeatResponse", null, g), s.exportSymbol("proto.viam.robot.v1.Session", null, g), s.exportSymbol("proto.viam.robot.v1.ShutdownRequest", null, g), s.exportSymbol("proto.viam.robot.v1.ShutdownResponse", null, g), s.exportSymbol("proto.viam.robot.v1.StartSessionRequest", null, g), s.exportSymbol("proto.viam.robot.v1.StartSessionResponse", null, g), s.exportSymbol("proto.viam.robot.v1.Status", null, g), s.exportSymbol("proto.viam.robot.v1.StopAllRequest", null, g), s.exportSymbol("proto.viam.robot.v1.StopAllResponse", null, g), s.exportSymbol("proto.viam.robot.v1.StopExtraParameters", null, g), s.exportSymbol("proto.viam.robot.v1.StreamStatusRequest", null, g), s.exportSymbol("proto.viam.robot.v1.StreamStatusResponse", null, g), s.exportSymbol("proto.viam.robot.v1.TransformPCDRequest", null, g), s.exportSymbol("proto.viam.robot.v1.TransformPCDResponse", null, g), s.exportSymbol("proto.viam.robot.v1.TransformPoseRequest", null, g), s.exportSymbol("proto.viam.robot.v1.TransformPoseResponse", null, g), proto.viam.robot.v1.FrameSystemConfig = function(i) {
10863
+ s.object.extend(proto, r), s.exportSymbol("proto.viam.robot.v1.BlockForOperationRequest", null, g), s.exportSymbol("proto.viam.robot.v1.BlockForOperationResponse", null, g), s.exportSymbol("proto.viam.robot.v1.CancelOperationRequest", null, g), s.exportSymbol("proto.viam.robot.v1.CancelOperationResponse", null, g), s.exportSymbol("proto.viam.robot.v1.ConfigStatus", null, g), s.exportSymbol("proto.viam.robot.v1.DiscoverComponentsRequest", null, g), s.exportSymbol("proto.viam.robot.v1.DiscoverComponentsResponse", null, g), s.exportSymbol("proto.viam.robot.v1.Discovery", null, g), s.exportSymbol("proto.viam.robot.v1.DiscoveryQuery", null, g), s.exportSymbol("proto.viam.robot.v1.FrameSystemConfig", null, g), s.exportSymbol("proto.viam.robot.v1.FrameSystemConfigRequest", null, g), s.exportSymbol("proto.viam.robot.v1.FrameSystemConfigResponse", null, g), s.exportSymbol("proto.viam.robot.v1.GetCloudMetadataRequest", null, g), s.exportSymbol("proto.viam.robot.v1.GetCloudMetadataResponse", null, g), s.exportSymbol("proto.viam.robot.v1.GetMachineStatusRequest", null, g), s.exportSymbol("proto.viam.robot.v1.GetMachineStatusResponse", null, g), s.exportSymbol("proto.viam.robot.v1.GetOperationsRequest", null, g), s.exportSymbol("proto.viam.robot.v1.GetOperationsResponse", null, g), s.exportSymbol("proto.viam.robot.v1.GetSessionsRequest", null, g), s.exportSymbol("proto.viam.robot.v1.GetSessionsResponse", null, g), s.exportSymbol("proto.viam.robot.v1.GetStatusRequest", null, g), s.exportSymbol("proto.viam.robot.v1.GetStatusResponse", null, g), s.exportSymbol("proto.viam.robot.v1.LogRequest", null, g), s.exportSymbol("proto.viam.robot.v1.LogResponse", null, g), s.exportSymbol("proto.viam.robot.v1.Operation", null, g), s.exportSymbol("proto.viam.robot.v1.PeerConnectionInfo", null, g), s.exportSymbol("proto.viam.robot.v1.PeerConnectionType", null, g), s.exportSymbol("proto.viam.robot.v1.ResourceNamesRequest", null, g), s.exportSymbol("proto.viam.robot.v1.ResourceNamesResponse", null, g), s.exportSymbol("proto.viam.robot.v1.ResourceRPCSubtype", null, g), s.exportSymbol("proto.viam.robot.v1.ResourceRPCSubtypesRequest", null, g), s.exportSymbol("proto.viam.robot.v1.ResourceRPCSubtypesResponse", null, g), s.exportSymbol("proto.viam.robot.v1.ResourceStatus", null, g), s.exportSymbol("proto.viam.robot.v1.ResourceStatus.State", null, g), s.exportSymbol("proto.viam.robot.v1.RestartModuleRequest", null, g), s.exportSymbol("proto.viam.robot.v1.RestartModuleRequest.IdOrNameCase", null, g), s.exportSymbol("proto.viam.robot.v1.RestartModuleResponse", null, g), s.exportSymbol("proto.viam.robot.v1.SendSessionHeartbeatRequest", null, g), s.exportSymbol("proto.viam.robot.v1.SendSessionHeartbeatResponse", null, g), s.exportSymbol("proto.viam.robot.v1.Session", null, g), s.exportSymbol("proto.viam.robot.v1.ShutdownRequest", null, g), s.exportSymbol("proto.viam.robot.v1.ShutdownResponse", null, g), s.exportSymbol("proto.viam.robot.v1.StartSessionRequest", null, g), s.exportSymbol("proto.viam.robot.v1.StartSessionResponse", null, g), s.exportSymbol("proto.viam.robot.v1.Status", null, g), s.exportSymbol("proto.viam.robot.v1.StopAllRequest", null, g), s.exportSymbol("proto.viam.robot.v1.StopAllResponse", null, g), s.exportSymbol("proto.viam.robot.v1.StopExtraParameters", null, g), s.exportSymbol("proto.viam.robot.v1.StreamStatusRequest", null, g), s.exportSymbol("proto.viam.robot.v1.StreamStatusResponse", null, g), s.exportSymbol("proto.viam.robot.v1.TransformPCDRequest", null, g), s.exportSymbol("proto.viam.robot.v1.TransformPCDResponse", null, g), s.exportSymbol("proto.viam.robot.v1.TransformPoseRequest", null, g), s.exportSymbol("proto.viam.robot.v1.TransformPoseResponse", null, g), proto.viam.robot.v1.FrameSystemConfig = function(i) {
10864
10864
  e.Message.initialize(this, i, 0, -1, null, null);
10865
10865
  }, s.inherits(proto.viam.robot.v1.FrameSystemConfig, e.Message), s.DEBUG && !COMPILED && (proto.viam.robot.v1.FrameSystemConfig.displayName = "proto.viam.robot.v1.FrameSystemConfig"), proto.viam.robot.v1.FrameSystemConfigRequest = function(i) {
10866
10866
  e.Message.initialize(this, i, 0, -1, proto.viam.robot.v1.FrameSystemConfigRequest.repeatedFields_, null);
@@ -10960,7 +10960,9 @@ var duration_pb$1 = {};
10960
10960
  e.Message.initialize(this, i, 0, -1, proto.viam.robot.v1.GetMachineStatusResponse.repeatedFields_, null);
10961
10961
  }, s.inherits(proto.viam.robot.v1.GetMachineStatusResponse, e.Message), s.DEBUG && !COMPILED && (proto.viam.robot.v1.GetMachineStatusResponse.displayName = "proto.viam.robot.v1.GetMachineStatusResponse"), proto.viam.robot.v1.ResourceStatus = function(i) {
10962
10962
  e.Message.initialize(this, i, 0, -1, null, null);
10963
- }, s.inherits(proto.viam.robot.v1.ResourceStatus, e.Message), s.DEBUG && !COMPILED && (proto.viam.robot.v1.ResourceStatus.displayName = "proto.viam.robot.v1.ResourceStatus"), e.Message.GENERATE_TO_OBJECT && (proto.viam.robot.v1.FrameSystemConfig.prototype.toObject = function(i) {
10963
+ }, s.inherits(proto.viam.robot.v1.ResourceStatus, e.Message), s.DEBUG && !COMPILED && (proto.viam.robot.v1.ResourceStatus.displayName = "proto.viam.robot.v1.ResourceStatus"), proto.viam.robot.v1.ConfigStatus = function(i) {
10964
+ e.Message.initialize(this, i, 0, -1, null, null);
10965
+ }, s.inherits(proto.viam.robot.v1.ConfigStatus, e.Message), s.DEBUG && !COMPILED && (proto.viam.robot.v1.ConfigStatus.displayName = "proto.viam.robot.v1.ConfigStatus"), e.Message.GENERATE_TO_OBJECT && (proto.viam.robot.v1.FrameSystemConfig.prototype.toObject = function(i) {
10964
10966
  return proto.viam.robot.v1.FrameSystemConfig.toObject(i, this);
10965
10967
  }, proto.viam.robot.v1.FrameSystemConfig.toObject = function(i, t) {
10966
10968
  var c, v = {
@@ -13369,14 +13371,15 @@ var duration_pb$1 = {};
13369
13371
  }, proto.viam.robot.v1.GetMachineStatusResponse.repeatedFields_ = [1], e.Message.GENERATE_TO_OBJECT && (proto.viam.robot.v1.GetMachineStatusResponse.prototype.toObject = function(i) {
13370
13372
  return proto.viam.robot.v1.GetMachineStatusResponse.toObject(i, this);
13371
13373
  }, proto.viam.robot.v1.GetMachineStatusResponse.toObject = function(i, t) {
13372
- var c = {
13374
+ var c, v = {
13373
13375
  resourcesList: e.Message.toObjectList(
13374
13376
  t.getResourcesList(),
13375
13377
  proto.viam.robot.v1.ResourceStatus.toObject,
13376
13378
  i
13377
- )
13379
+ ),
13380
+ config: (c = t.getConfig()) && proto.viam.robot.v1.ConfigStatus.toObject(i, c)
13378
13381
  };
13379
- return i && (c.$jspbMessageInstance = t), c;
13382
+ return i && (v.$jspbMessageInstance = t), v;
13380
13383
  }), proto.viam.robot.v1.GetMachineStatusResponse.deserializeBinary = function(i) {
13381
13384
  var t = new e.BinaryReader(i), c = new proto.viam.robot.v1.GetMachineStatusResponse();
13382
13385
  return proto.viam.robot.v1.GetMachineStatusResponse.deserializeBinaryFromReader(c, t);
@@ -13388,6 +13391,10 @@ var duration_pb$1 = {};
13388
13391
  var v = new proto.viam.robot.v1.ResourceStatus();
13389
13392
  t.readMessage(v, proto.viam.robot.v1.ResourceStatus.deserializeBinaryFromReader), i.addResources(v);
13390
13393
  break;
13394
+ case 2:
13395
+ var v = new proto.viam.robot.v1.ConfigStatus();
13396
+ t.readMessage(v, proto.viam.robot.v1.ConfigStatus.deserializeBinaryFromReader), i.setConfig(v);
13397
+ break;
13391
13398
  default:
13392
13399
  t.skipField();
13393
13400
  break;
@@ -13403,6 +13410,10 @@ var duration_pb$1 = {};
13403
13410
  1,
13404
13411
  c,
13405
13412
  proto.viam.robot.v1.ResourceStatus.serializeBinaryToWriter
13413
+ ), c = i.getConfig(), c != null && t.writeMessage(
13414
+ 2,
13415
+ c,
13416
+ proto.viam.robot.v1.ConfigStatus.serializeBinaryToWriter
13406
13417
  );
13407
13418
  }, proto.viam.robot.v1.GetMachineStatusResponse.prototype.getResourcesList = function() {
13408
13419
  return (
@@ -13415,13 +13426,25 @@ var duration_pb$1 = {};
13415
13426
  return e.Message.addToRepeatedWrapperField(this, 1, i, proto.viam.robot.v1.ResourceStatus, t);
13416
13427
  }, proto.viam.robot.v1.GetMachineStatusResponse.prototype.clearResourcesList = function() {
13417
13428
  return this.setResourcesList([]);
13429
+ }, proto.viam.robot.v1.GetMachineStatusResponse.prototype.getConfig = function() {
13430
+ return (
13431
+ /** @type{?proto.viam.robot.v1.ConfigStatus} */
13432
+ e.Message.getWrapperField(this, proto.viam.robot.v1.ConfigStatus, 2)
13433
+ );
13434
+ }, proto.viam.robot.v1.GetMachineStatusResponse.prototype.setConfig = function(i) {
13435
+ return e.Message.setWrapperField(this, 2, i);
13436
+ }, proto.viam.robot.v1.GetMachineStatusResponse.prototype.clearConfig = function() {
13437
+ return this.setConfig(void 0);
13438
+ }, proto.viam.robot.v1.GetMachineStatusResponse.prototype.hasConfig = function() {
13439
+ return e.Message.getField(this, 2) != null;
13418
13440
  }, e.Message.GENERATE_TO_OBJECT && (proto.viam.robot.v1.ResourceStatus.prototype.toObject = function(i) {
13419
13441
  return proto.viam.robot.v1.ResourceStatus.toObject(i, this);
13420
13442
  }, proto.viam.robot.v1.ResourceStatus.toObject = function(i, t) {
13421
13443
  var c, v = {
13422
13444
  name: (c = t.getName()) && u.ResourceName.toObject(i, c),
13423
13445
  state: e.Message.getFieldWithDefault(t, 2, 0),
13424
- lastUpdated: (c = t.getLastUpdated()) && r.Timestamp.toObject(i, c)
13446
+ lastUpdated: (c = t.getLastUpdated()) && r.Timestamp.toObject(i, c),
13447
+ revision: e.Message.getFieldWithDefault(t, 4, "")
13425
13448
  };
13426
13449
  return i && (v.$jspbMessageInstance = t), v;
13427
13450
  }), proto.viam.robot.v1.ResourceStatus.deserializeBinary = function(i) {
@@ -13446,6 +13469,13 @@ var duration_pb$1 = {};
13446
13469
  var v = new r.Timestamp();
13447
13470
  t.readMessage(v, r.Timestamp.deserializeBinaryFromReader), i.setLastUpdated(v);
13448
13471
  break;
13472
+ case 4:
13473
+ var v = (
13474
+ /** @type {string} */
13475
+ t.readString()
13476
+ );
13477
+ i.setRevision(v);
13478
+ break;
13449
13479
  default:
13450
13480
  t.skipField();
13451
13481
  break;
@@ -13468,6 +13498,9 @@ var duration_pb$1 = {};
13468
13498
  3,
13469
13499
  c,
13470
13500
  r.Timestamp.serializeBinaryToWriter
13501
+ ), c = i.getRevision(), c.length > 0 && t.writeString(
13502
+ 4,
13503
+ c
13471
13504
  );
13472
13505
  }, proto.viam.robot.v1.ResourceStatus.State = {
13473
13506
  STATE_UNSPECIFIED: 0,
@@ -13504,6 +13537,76 @@ var duration_pb$1 = {};
13504
13537
  return this.setLastUpdated(void 0);
13505
13538
  }, proto.viam.robot.v1.ResourceStatus.prototype.hasLastUpdated = function() {
13506
13539
  return e.Message.getField(this, 3) != null;
13540
+ }, proto.viam.robot.v1.ResourceStatus.prototype.getRevision = function() {
13541
+ return (
13542
+ /** @type {string} */
13543
+ e.Message.getFieldWithDefault(this, 4, "")
13544
+ );
13545
+ }, proto.viam.robot.v1.ResourceStatus.prototype.setRevision = function(i) {
13546
+ return e.Message.setProto3StringField(this, 4, i);
13547
+ }, e.Message.GENERATE_TO_OBJECT && (proto.viam.robot.v1.ConfigStatus.prototype.toObject = function(i) {
13548
+ return proto.viam.robot.v1.ConfigStatus.toObject(i, this);
13549
+ }, proto.viam.robot.v1.ConfigStatus.toObject = function(i, t) {
13550
+ var c, v = {
13551
+ revision: e.Message.getFieldWithDefault(t, 1, ""),
13552
+ lastUpdated: (c = t.getLastUpdated()) && r.Timestamp.toObject(i, c)
13553
+ };
13554
+ return i && (v.$jspbMessageInstance = t), v;
13555
+ }), proto.viam.robot.v1.ConfigStatus.deserializeBinary = function(i) {
13556
+ var t = new e.BinaryReader(i), c = new proto.viam.robot.v1.ConfigStatus();
13557
+ return proto.viam.robot.v1.ConfigStatus.deserializeBinaryFromReader(c, t);
13558
+ }, proto.viam.robot.v1.ConfigStatus.deserializeBinaryFromReader = function(i, t) {
13559
+ for (; t.nextField() && !t.isEndGroup(); ) {
13560
+ var c = t.getFieldNumber();
13561
+ switch (c) {
13562
+ case 1:
13563
+ var v = (
13564
+ /** @type {string} */
13565
+ t.readString()
13566
+ );
13567
+ i.setRevision(v);
13568
+ break;
13569
+ case 2:
13570
+ var v = new r.Timestamp();
13571
+ t.readMessage(v, r.Timestamp.deserializeBinaryFromReader), i.setLastUpdated(v);
13572
+ break;
13573
+ default:
13574
+ t.skipField();
13575
+ break;
13576
+ }
13577
+ }
13578
+ return i;
13579
+ }, proto.viam.robot.v1.ConfigStatus.prototype.serializeBinary = function() {
13580
+ var i = new e.BinaryWriter();
13581
+ return proto.viam.robot.v1.ConfigStatus.serializeBinaryToWriter(this, i), i.getResultBuffer();
13582
+ }, proto.viam.robot.v1.ConfigStatus.serializeBinaryToWriter = function(i, t) {
13583
+ var c = void 0;
13584
+ c = i.getRevision(), c.length > 0 && t.writeString(
13585
+ 1,
13586
+ c
13587
+ ), c = i.getLastUpdated(), c != null && t.writeMessage(
13588
+ 2,
13589
+ c,
13590
+ r.Timestamp.serializeBinaryToWriter
13591
+ );
13592
+ }, proto.viam.robot.v1.ConfigStatus.prototype.getRevision = function() {
13593
+ return (
13594
+ /** @type {string} */
13595
+ e.Message.getFieldWithDefault(this, 1, "")
13596
+ );
13597
+ }, proto.viam.robot.v1.ConfigStatus.prototype.setRevision = function(i) {
13598
+ return e.Message.setProto3StringField(this, 1, i);
13599
+ }, proto.viam.robot.v1.ConfigStatus.prototype.getLastUpdated = function() {
13600
+ return (
13601
+ /** @type{?proto.google.protobuf.Timestamp} */
13602
+ e.Message.getWrapperField(this, r.Timestamp, 2)
13603
+ );
13604
+ }, proto.viam.robot.v1.ConfigStatus.prototype.setLastUpdated = function(i) {
13605
+ return e.Message.setWrapperField(this, 2, i);
13606
+ }, proto.viam.robot.v1.ConfigStatus.prototype.clearLastUpdated = function() {
13607
+ return this.setLastUpdated(void 0);
13608
+ }, proto.viam.robot.v1.ConfigStatus.prototype.hasLastUpdated = function() {
13609
+ return e.Message.getField(this, 2) != null;
13507
13610
  }, proto.viam.robot.v1.PeerConnectionType = {
13508
13611
  PEER_CONNECTION_TYPE_UNSPECIFIED: 0,
13509
13612
  PEER_CONNECTION_TYPE_GRPC: 1,
@@ -13700,8 +13803,8 @@ var grpcWebClient_umd$1 = { exports: {} };
13700
13803
  return f.slice(h, b);
13701
13804
  var R = f.length;
13702
13805
  b !== void 0 && (R = b);
13703
- for (var M = new Uint8Array(R - h), S = 0, O = h; O < R; O++)
13704
- M[S++] = f[O];
13806
+ for (var M = new Uint8Array(R - h), S = 0, T = h; T < R; T++)
13807
+ M[S++] = f[T];
13705
13808
  return M;
13706
13809
  }
13707
13810
  p.decodeASCII = t, p.encodeASCII = function(f) {
@@ -13728,19 +13831,19 @@ var grpcWebClient_umd$1 = { exports: {} };
13728
13831
  else if (this.position === this.buffer.byteLength)
13729
13832
  this.buffer = h, this.position = 0;
13730
13833
  else {
13731
- var S = this.buffer.byteLength - this.position, O = new Uint8Array(S + h.byteLength), z = y(this.buffer, this.position);
13732
- O.set(z, 0);
13834
+ var S = this.buffer.byteLength - this.position, T = new Uint8Array(S + h.byteLength), z = y(this.buffer, this.position);
13835
+ T.set(z, 0);
13733
13836
  var C = new Uint8Array(h);
13734
- O.set(C, S), this.buffer = O, this.position = 0;
13837
+ T.set(C, S), this.buffer = T, this.position = 0;
13735
13838
  }
13736
13839
  for (; ; ) {
13737
13840
  if (!d(this.buffer, this.position, 5))
13738
13841
  return M;
13739
- var I = y(this.buffer, this.position, this.position + 5), D = new DataView(I.buffer, I.byteOffset, I.byteLength), T = v(D);
13740
- if (!d(this.buffer, this.position, 5 + T))
13842
+ var I = y(this.buffer, this.position, this.position + 5), D = new DataView(I.buffer, I.byteOffset, I.byteLength), O = v(D);
13843
+ if (!d(this.buffer, this.position, 5 + O))
13741
13844
  return M;
13742
- var W = y(this.buffer, this.position + 5, this.position + 5 + T);
13743
- if (this.position += 5 + T, c(D))
13845
+ var W = y(this.buffer, this.position + 5, this.position + 5 + O);
13846
+ if (this.position += 5 + O, c(D))
13744
13847
  return M.push({ chunkType: o.TRAILERS, trailers: (R = W, new r.Metadata(t(R))) }), M;
13745
13848
  M.push({ chunkType: o.MESSAGE, data: W });
13746
13849
  }
@@ -14853,8 +14956,8 @@ var grpcWebClient_umdExports$1 = grpcWebClient_umd$1.exports, q = Object.defineP
14853
14956
  else if (this.position === this.buffer.byteLength)
14854
14957
  this.buffer = f, this.position = 0;
14855
14958
  else {
14856
- var M = this.buffer.byteLength - this.position, S = new Uint8Array(M + f.byteLength), O = d(this.buffer, this.position);
14857
- S.set(O, 0);
14959
+ var M = this.buffer.byteLength - this.position, S = new Uint8Array(M + f.byteLength), T = d(this.buffer, this.position);
14960
+ S.set(T, 0);
14858
14961
  var z = new Uint8Array(f);
14859
14962
  S.set(z, M), this.buffer = S, this.position = 0;
14860
14963
  }
@@ -14864,10 +14967,10 @@ var grpcWebClient_umdExports$1 = grpcWebClient_umd$1.exports, q = Object.defineP
14864
14967
  var C = d(this.buffer, this.position, this.position + 5), I = new DataView(C.buffer, C.byteOffset, C.byteLength), D = c(I);
14865
14968
  if (!v(this.buffer, this.position, 5 + D))
14866
14969
  return R;
14867
- var T = d(this.buffer, this.position + 5, this.position + 5 + D);
14970
+ var O = d(this.buffer, this.position + 5, this.position + 5 + D);
14868
14971
  if (this.position += 5 + D, t(I))
14869
- return R.push({ chunkType: p.TRAILERS, trailers: (b = T, new l.Metadata(i(b))) }), R;
14870
- R.push({ chunkType: p.MESSAGE, data: T });
14972
+ return R.push({ chunkType: p.TRAILERS, trailers: (b = O, new l.Metadata(i(b))) }), R;
14973
+ R.push({ chunkType: p.MESSAGE, data: O });
14871
14974
  }
14872
14975
  }, m;
14873
14976
  }();
@@ -28208,7 +28311,7 @@ async function dialWebRTC$1(n, e, s) {
28208
28311
  transport: b
28209
28312
  });
28210
28313
  let M = "", S = !1;
28211
- const O = (B) => {
28314
+ const T = (B) => {
28212
28315
  if (S)
28213
28316
  return;
28214
28317
  S = !0;
@@ -28276,12 +28379,12 @@ async function dialWebRTC$1(n, e, s) {
28276
28379
  }
28277
28380
  ), await y.setLocalDescription(B);
28278
28381
  }
28279
- let T, W = !1;
28382
+ let O, W = !1;
28280
28383
  R.onMessage(async (B) => {
28281
28384
  const F = B;
28282
28385
  if (F.hasInit()) {
28283
28386
  if (W) {
28284
- O("got init stage more than once");
28387
+ T("got init stage more than once");
28285
28388
  return;
28286
28389
  }
28287
28390
  const w = F.getInit();
@@ -28289,8 +28392,8 @@ async function dialWebRTC$1(n, e, s) {
28289
28392
  const _ = new RTCSessionDescription(
28290
28393
  JSON.parse(atob(w.getSdp()))
28291
28394
  );
28292
- if (T != null && T.isClosed()) {
28293
- O("client channel is closed");
28395
+ if (O != null && O.isClosed()) {
28396
+ T("client channel is closed");
28294
28397
  return;
28295
28398
  }
28296
28399
  if (await y.setRemoteDescription(_), C(!0), d != null && d.disableTrickleICE) {
@@ -28299,22 +28402,22 @@ async function dialWebRTC$1(n, e, s) {
28299
28402
  }
28300
28403
  } else if (F.hasUpdate()) {
28301
28404
  if (!W) {
28302
- O("got update stage before init stage");
28405
+ T("got update stage before init stage");
28303
28406
  return;
28304
28407
  }
28305
28408
  if (F.getUuid() !== M) {
28306
- O(`uuid mismatch; have=${F.getUuid()} want=${M}`);
28409
+ T(`uuid mismatch; have=${F.getUuid()} want=${M}`);
28307
28410
  return;
28308
28411
  }
28309
28412
  const w = F.getUpdate(), _ = iceCandidateFromProto(w.getCandidate());
28310
28413
  try {
28311
28414
  await y.addIceCandidate(_);
28312
28415
  } catch (P) {
28313
- O(JSON.stringify(P));
28416
+ T(JSON.stringify(P));
28314
28417
  return;
28315
28418
  }
28316
28419
  } else {
28317
- O("unknown CallResponse stage");
28420
+ T("unknown CallResponse stage");
28318
28421
  return;
28319
28422
  }
28320
28423
  });
@@ -28331,7 +28434,7 @@ async function dialWebRTC$1(n, e, s) {
28331
28434
  G(new ConnectionClosedError("failed to dial"));
28332
28435
  return;
28333
28436
  }
28334
- if (T != null && T.isClosed()) {
28437
+ if (O != null && O.isClosed()) {
28335
28438
  G(
28336
28439
  new ConnectionClosedError("client channel is closed")
28337
28440
  );
@@ -28344,10 +28447,10 @@ async function dialWebRTC$1(n, e, s) {
28344
28447
  y.localDescription,
28345
28448
  (i = s.webrtcOptions) == null ? void 0 : i.additionalSdpFields
28346
28449
  ), U = btoa(JSON.stringify(x));
28347
- return A.setSdp(U), d && d.disableTrickleICE && A.setDisableTrickle(d.disableTrickleICE), R.send(A), T = new ClientChannel(y, m), s.dialTimeout && setTimeout(() => {
28348
- f || T.close();
28349
- }, s.dialTimeout), T.ready.then(() => j()).catch((B) => G(B)), await $, await T.ready, D = !0, z(), s != null && s.externalAuthAddress || (t = s?.credentials) != null && t.type, f = !0, {
28350
- transportFactory: T.transportFactory(),
28450
+ return A.setSdp(U), d && d.disableTrickleICE && A.setDisableTrickle(d.disableTrickleICE), R.send(A), O = new ClientChannel(y, m), s.dialTimeout && setTimeout(() => {
28451
+ f || O.close();
28452
+ }, s.dialTimeout), O.ready.then(() => j()).catch((B) => G(B)), await $, await O.ready, D = !0, z(), s != null && s.externalAuthAddress || (t = s?.credentials) != null && t.type, f = !0, {
28453
+ transportFactory: O.transportFactory(),
28351
28454
  peerConnection: y,
28352
28455
  dataChannel: m
28353
28456
  };
@@ -50692,7 +50795,7 @@ ExternalAuthServiceClient.prototype.authenticateTo = function n(e, s, g) {
50692
50795
  }
50693
50796
  };
50694
50797
  };
50695
- const createViamTransportFactory = async (n, e) => e.type === "access-token" ? createWithAccessToken(n, e) : createWithCredential(n, e), createWithAccessToken = async (n, e) => {
50798
+ const isCredential = (n) => "authEntity" in n, createViamTransportFactory = async (n, e) => e.type === "access-token" ? createWithAccessToken(n, e) : createWithCredential(n, e), createWithAccessToken = async (n, e) => {
50696
50799
  const s = await dialDirect$1(n);
50697
50800
  return (g) => new ViamTransport(s, g, e.payload);
50698
50801
  }, createWithCredential = async (n, e) => {
@@ -57482,7 +57585,7 @@ class DataClient {
57482
57585
  /**
57483
57586
  * Get a connection to access a MongoDB Atlas Data federation instance.
57484
57587
  *
57485
- * @param orId Organization to retrieve connection for
57588
+ * @param orgId Organization to retrieve connection for
57486
57589
  * @returns Hostname of the federated database
57487
57590
  */
57488
57591
  async getDatabaseConnection(e) {
@@ -57798,7 +57901,7 @@ var tagger_pb = {};
57798
57901
  var p = status_pb;
57799
57902
  s.object.extend(proto, p);
57800
57903
  var l = tagger_pb;
57801
- s.object.extend(proto, l), s.exportSymbol("proto.viam.app.mltraining.v1.CancelTrainingJobRequest", null, g), s.exportSymbol("proto.viam.app.mltraining.v1.CancelTrainingJobResponse", null, g), s.exportSymbol("proto.viam.app.mltraining.v1.DeleteCompletedTrainingJobRequest", null, g), s.exportSymbol("proto.viam.app.mltraining.v1.DeleteCompletedTrainingJobResponse", null, g), s.exportSymbol("proto.viam.app.mltraining.v1.GetTrainingJobRequest", null, g), s.exportSymbol("proto.viam.app.mltraining.v1.GetTrainingJobResponse", null, g), s.exportSymbol("proto.viam.app.mltraining.v1.ListTrainingJobsRequest", null, g), s.exportSymbol("proto.viam.app.mltraining.v1.ListTrainingJobsResponse", null, g), s.exportSymbol("proto.viam.app.mltraining.v1.ModelFramework", null, g), s.exportSymbol("proto.viam.app.mltraining.v1.ModelType", null, g), s.exportSymbol("proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest", null, g), s.exportSymbol("proto.viam.app.mltraining.v1.SubmitCustomTrainingJobResponse", null, g), s.exportSymbol("proto.viam.app.mltraining.v1.SubmitTrainingJobRequest", null, g), s.exportSymbol("proto.viam.app.mltraining.v1.SubmitTrainingJobResponse", null, g), s.exportSymbol("proto.viam.app.mltraining.v1.TrainingJobMetadata", null, g), s.exportSymbol("proto.viam.app.mltraining.v1.TrainingStatus", null, g), proto.viam.app.mltraining.v1.SubmitTrainingJobRequest = function(o) {
57904
+ s.object.extend(proto, l), s.exportSymbol("proto.viam.app.mltraining.v1.CancelTrainingJobRequest", null, g), s.exportSymbol("proto.viam.app.mltraining.v1.CancelTrainingJobResponse", null, g), s.exportSymbol("proto.viam.app.mltraining.v1.DeleteCompletedTrainingJobRequest", null, g), s.exportSymbol("proto.viam.app.mltraining.v1.DeleteCompletedTrainingJobResponse", null, g), s.exportSymbol("proto.viam.app.mltraining.v1.GetTrainingJobLogsRequest", null, g), s.exportSymbol("proto.viam.app.mltraining.v1.GetTrainingJobLogsResponse", null, g), s.exportSymbol("proto.viam.app.mltraining.v1.GetTrainingJobRequest", null, g), s.exportSymbol("proto.viam.app.mltraining.v1.GetTrainingJobResponse", null, g), s.exportSymbol("proto.viam.app.mltraining.v1.ListTrainingJobsRequest", null, g), s.exportSymbol("proto.viam.app.mltraining.v1.ListTrainingJobsResponse", null, g), s.exportSymbol("proto.viam.app.mltraining.v1.ModelFramework", null, g), s.exportSymbol("proto.viam.app.mltraining.v1.ModelType", null, g), s.exportSymbol("proto.viam.app.mltraining.v1.SubmitCustomTrainingJobRequest", null, g), s.exportSymbol("proto.viam.app.mltraining.v1.SubmitCustomTrainingJobResponse", null, g), s.exportSymbol("proto.viam.app.mltraining.v1.SubmitTrainingJobRequest", null, g), s.exportSymbol("proto.viam.app.mltraining.v1.SubmitTrainingJobResponse", null, g), s.exportSymbol("proto.viam.app.mltraining.v1.TrainingJobLogEntry", null, g), s.exportSymbol("proto.viam.app.mltraining.v1.TrainingJobMetadata", null, g), s.exportSymbol("proto.viam.app.mltraining.v1.TrainingStatus", null, g), proto.viam.app.mltraining.v1.SubmitTrainingJobRequest = function(o) {
57802
57905
  e.Message.initialize(this, o, 0, -1, proto.viam.app.mltraining.v1.SubmitTrainingJobRequest.repeatedFields_, null);
57803
57906
  }, s.inherits(proto.viam.app.mltraining.v1.SubmitTrainingJobRequest, e.Message), s.DEBUG && !COMPILED && (proto.viam.app.mltraining.v1.SubmitTrainingJobRequest.displayName = "proto.viam.app.mltraining.v1.SubmitTrainingJobRequest"), proto.viam.app.mltraining.v1.SubmitTrainingJobResponse = function(o) {
57804
57907
  e.Message.initialize(this, o, 0, -1, null, null);
@@ -57824,7 +57927,13 @@ var tagger_pb = {};
57824
57927
  e.Message.initialize(this, o, 0, -1, null, null);
57825
57928
  }, s.inherits(proto.viam.app.mltraining.v1.DeleteCompletedTrainingJobRequest, e.Message), s.DEBUG && !COMPILED && (proto.viam.app.mltraining.v1.DeleteCompletedTrainingJobRequest.displayName = "proto.viam.app.mltraining.v1.DeleteCompletedTrainingJobRequest"), proto.viam.app.mltraining.v1.DeleteCompletedTrainingJobResponse = function(o) {
57826
57929
  e.Message.initialize(this, o, 0, -1, null, null);
57827
- }, s.inherits(proto.viam.app.mltraining.v1.DeleteCompletedTrainingJobResponse, e.Message), s.DEBUG && !COMPILED && (proto.viam.app.mltraining.v1.DeleteCompletedTrainingJobResponse.displayName = "proto.viam.app.mltraining.v1.DeleteCompletedTrainingJobResponse"), proto.viam.app.mltraining.v1.SubmitTrainingJobRequest.repeatedFields_ = [6], e.Message.GENERATE_TO_OBJECT && (proto.viam.app.mltraining.v1.SubmitTrainingJobRequest.prototype.toObject = function(o) {
57930
+ }, s.inherits(proto.viam.app.mltraining.v1.DeleteCompletedTrainingJobResponse, e.Message), s.DEBUG && !COMPILED && (proto.viam.app.mltraining.v1.DeleteCompletedTrainingJobResponse.displayName = "proto.viam.app.mltraining.v1.DeleteCompletedTrainingJobResponse"), proto.viam.app.mltraining.v1.TrainingJobLogEntry = function(o) {
57931
+ e.Message.initialize(this, o, 0, -1, null, null);
57932
+ }, s.inherits(proto.viam.app.mltraining.v1.TrainingJobLogEntry, e.Message), s.DEBUG && !COMPILED && (proto.viam.app.mltraining.v1.TrainingJobLogEntry.displayName = "proto.viam.app.mltraining.v1.TrainingJobLogEntry"), proto.viam.app.mltraining.v1.GetTrainingJobLogsRequest = function(o) {
57933
+ e.Message.initialize(this, o, 0, -1, null, null);
57934
+ }, s.inherits(proto.viam.app.mltraining.v1.GetTrainingJobLogsRequest, e.Message), s.DEBUG && !COMPILED && (proto.viam.app.mltraining.v1.GetTrainingJobLogsRequest.displayName = "proto.viam.app.mltraining.v1.GetTrainingJobLogsRequest"), proto.viam.app.mltraining.v1.GetTrainingJobLogsResponse = function(o) {
57935
+ e.Message.initialize(this, o, 0, -1, proto.viam.app.mltraining.v1.GetTrainingJobLogsResponse.repeatedFields_, null);
57936
+ }, s.inherits(proto.viam.app.mltraining.v1.GetTrainingJobLogsResponse, e.Message), s.DEBUG && !COMPILED && (proto.viam.app.mltraining.v1.GetTrainingJobLogsResponse.displayName = "proto.viam.app.mltraining.v1.GetTrainingJobLogsResponse"), proto.viam.app.mltraining.v1.SubmitTrainingJobRequest.repeatedFields_ = [6], e.Message.GENERATE_TO_OBJECT && (proto.viam.app.mltraining.v1.SubmitTrainingJobRequest.prototype.toObject = function(o) {
57828
57937
  return proto.viam.app.mltraining.v1.SubmitTrainingJobRequest.toObject(o, this);
57829
57938
  }, proto.viam.app.mltraining.v1.SubmitTrainingJobRequest.toObject = function(o, r) {
57830
57939
  var i, t = {
@@ -58871,6 +58980,220 @@ var tagger_pb = {};
58871
58980
  var o = new e.BinaryWriter();
58872
58981
  return proto.viam.app.mltraining.v1.DeleteCompletedTrainingJobResponse.serializeBinaryToWriter(this, o), o.getResultBuffer();
58873
58982
  }, proto.viam.app.mltraining.v1.DeleteCompletedTrainingJobResponse.serializeBinaryToWriter = function(o, r) {
58983
+ }, e.Message.GENERATE_TO_OBJECT && (proto.viam.app.mltraining.v1.TrainingJobLogEntry.prototype.toObject = function(o) {
58984
+ return proto.viam.app.mltraining.v1.TrainingJobLogEntry.toObject(o, this);
58985
+ }, proto.viam.app.mltraining.v1.TrainingJobLogEntry.toObject = function(o, r) {
58986
+ var i, t = {
58987
+ level: e.Message.getFieldWithDefault(r, 1, ""),
58988
+ time: (i = r.getTime()) && u.Timestamp.toObject(o, i),
58989
+ message: e.Message.getFieldWithDefault(r, 3, "")
58990
+ };
58991
+ return o && (t.$jspbMessageInstance = r), t;
58992
+ }), proto.viam.app.mltraining.v1.TrainingJobLogEntry.deserializeBinary = function(o) {
58993
+ var r = new e.BinaryReader(o), i = new proto.viam.app.mltraining.v1.TrainingJobLogEntry();
58994
+ return proto.viam.app.mltraining.v1.TrainingJobLogEntry.deserializeBinaryFromReader(i, r);
58995
+ }, proto.viam.app.mltraining.v1.TrainingJobLogEntry.deserializeBinaryFromReader = function(o, r) {
58996
+ for (; r.nextField() && !r.isEndGroup(); ) {
58997
+ var i = r.getFieldNumber();
58998
+ switch (i) {
58999
+ case 1:
59000
+ var t = (
59001
+ /** @type {string} */
59002
+ r.readString()
59003
+ );
59004
+ o.setLevel(t);
59005
+ break;
59006
+ case 2:
59007
+ var t = new u.Timestamp();
59008
+ r.readMessage(t, u.Timestamp.deserializeBinaryFromReader), o.setTime(t);
59009
+ break;
59010
+ case 3:
59011
+ var t = (
59012
+ /** @type {string} */
59013
+ r.readString()
59014
+ );
59015
+ o.setMessage(t);
59016
+ break;
59017
+ default:
59018
+ r.skipField();
59019
+ break;
59020
+ }
59021
+ }
59022
+ return o;
59023
+ }, proto.viam.app.mltraining.v1.TrainingJobLogEntry.prototype.serializeBinary = function() {
59024
+ var o = new e.BinaryWriter();
59025
+ return proto.viam.app.mltraining.v1.TrainingJobLogEntry.serializeBinaryToWriter(this, o), o.getResultBuffer();
59026
+ }, proto.viam.app.mltraining.v1.TrainingJobLogEntry.serializeBinaryToWriter = function(o, r) {
59027
+ var i = void 0;
59028
+ i = o.getLevel(), i.length > 0 && r.writeString(
59029
+ 1,
59030
+ i
59031
+ ), i = o.getTime(), i != null && r.writeMessage(
59032
+ 2,
59033
+ i,
59034
+ u.Timestamp.serializeBinaryToWriter
59035
+ ), i = o.getMessage(), i.length > 0 && r.writeString(
59036
+ 3,
59037
+ i
59038
+ );
59039
+ }, proto.viam.app.mltraining.v1.TrainingJobLogEntry.prototype.getLevel = function() {
59040
+ return (
59041
+ /** @type {string} */
59042
+ e.Message.getFieldWithDefault(this, 1, "")
59043
+ );
59044
+ }, proto.viam.app.mltraining.v1.TrainingJobLogEntry.prototype.setLevel = function(o) {
59045
+ return e.Message.setProto3StringField(this, 1, o);
59046
+ }, proto.viam.app.mltraining.v1.TrainingJobLogEntry.prototype.getTime = function() {
59047
+ return (
59048
+ /** @type{?proto.google.protobuf.Timestamp} */
59049
+ e.Message.getWrapperField(this, u.Timestamp, 2)
59050
+ );
59051
+ }, proto.viam.app.mltraining.v1.TrainingJobLogEntry.prototype.setTime = function(o) {
59052
+ return e.Message.setWrapperField(this, 2, o);
59053
+ }, proto.viam.app.mltraining.v1.TrainingJobLogEntry.prototype.clearTime = function() {
59054
+ return this.setTime(void 0);
59055
+ }, proto.viam.app.mltraining.v1.TrainingJobLogEntry.prototype.hasTime = function() {
59056
+ return e.Message.getField(this, 2) != null;
59057
+ }, proto.viam.app.mltraining.v1.TrainingJobLogEntry.prototype.getMessage = function() {
59058
+ return (
59059
+ /** @type {string} */
59060
+ e.Message.getFieldWithDefault(this, 3, "")
59061
+ );
59062
+ }, proto.viam.app.mltraining.v1.TrainingJobLogEntry.prototype.setMessage = function(o) {
59063
+ return e.Message.setProto3StringField(this, 3, o);
59064
+ }, e.Message.GENERATE_TO_OBJECT && (proto.viam.app.mltraining.v1.GetTrainingJobLogsRequest.prototype.toObject = function(o) {
59065
+ return proto.viam.app.mltraining.v1.GetTrainingJobLogsRequest.toObject(o, this);
59066
+ }, proto.viam.app.mltraining.v1.GetTrainingJobLogsRequest.toObject = function(o, r) {
59067
+ var i = {
59068
+ id: e.Message.getFieldWithDefault(r, 1, ""),
59069
+ pageToken: e.Message.getFieldWithDefault(r, 2, "")
59070
+ };
59071
+ return o && (i.$jspbMessageInstance = r), i;
59072
+ }), proto.viam.app.mltraining.v1.GetTrainingJobLogsRequest.deserializeBinary = function(o) {
59073
+ var r = new e.BinaryReader(o), i = new proto.viam.app.mltraining.v1.GetTrainingJobLogsRequest();
59074
+ return proto.viam.app.mltraining.v1.GetTrainingJobLogsRequest.deserializeBinaryFromReader(i, r);
59075
+ }, proto.viam.app.mltraining.v1.GetTrainingJobLogsRequest.deserializeBinaryFromReader = function(o, r) {
59076
+ for (; r.nextField() && !r.isEndGroup(); ) {
59077
+ var i = r.getFieldNumber();
59078
+ switch (i) {
59079
+ case 1:
59080
+ var t = (
59081
+ /** @type {string} */
59082
+ r.readString()
59083
+ );
59084
+ o.setId(t);
59085
+ break;
59086
+ case 2:
59087
+ var t = (
59088
+ /** @type {string} */
59089
+ r.readString()
59090
+ );
59091
+ o.setPageToken(t);
59092
+ break;
59093
+ default:
59094
+ r.skipField();
59095
+ break;
59096
+ }
59097
+ }
59098
+ return o;
59099
+ }, proto.viam.app.mltraining.v1.GetTrainingJobLogsRequest.prototype.serializeBinary = function() {
59100
+ var o = new e.BinaryWriter();
59101
+ return proto.viam.app.mltraining.v1.GetTrainingJobLogsRequest.serializeBinaryToWriter(this, o), o.getResultBuffer();
59102
+ }, proto.viam.app.mltraining.v1.GetTrainingJobLogsRequest.serializeBinaryToWriter = function(o, r) {
59103
+ var i = void 0;
59104
+ i = o.getId(), i.length > 0 && r.writeString(
59105
+ 1,
59106
+ i
59107
+ ), i = /** @type {string} */
59108
+ e.Message.getField(o, 2), i != null && r.writeString(
59109
+ 2,
59110
+ i
59111
+ );
59112
+ }, proto.viam.app.mltraining.v1.GetTrainingJobLogsRequest.prototype.getId = function() {
59113
+ return (
59114
+ /** @type {string} */
59115
+ e.Message.getFieldWithDefault(this, 1, "")
59116
+ );
59117
+ }, proto.viam.app.mltraining.v1.GetTrainingJobLogsRequest.prototype.setId = function(o) {
59118
+ return e.Message.setProto3StringField(this, 1, o);
59119
+ }, proto.viam.app.mltraining.v1.GetTrainingJobLogsRequest.prototype.getPageToken = function() {
59120
+ return (
59121
+ /** @type {string} */
59122
+ e.Message.getFieldWithDefault(this, 2, "")
59123
+ );
59124
+ }, proto.viam.app.mltraining.v1.GetTrainingJobLogsRequest.prototype.setPageToken = function(o) {
59125
+ return e.Message.setField(this, 2, o);
59126
+ }, proto.viam.app.mltraining.v1.GetTrainingJobLogsRequest.prototype.clearPageToken = function() {
59127
+ return e.Message.setField(this, 2, void 0);
59128
+ }, proto.viam.app.mltraining.v1.GetTrainingJobLogsRequest.prototype.hasPageToken = function() {
59129
+ return e.Message.getField(this, 2) != null;
59130
+ }, proto.viam.app.mltraining.v1.GetTrainingJobLogsResponse.repeatedFields_ = [1], e.Message.GENERATE_TO_OBJECT && (proto.viam.app.mltraining.v1.GetTrainingJobLogsResponse.prototype.toObject = function(o) {
59131
+ return proto.viam.app.mltraining.v1.GetTrainingJobLogsResponse.toObject(o, this);
59132
+ }, proto.viam.app.mltraining.v1.GetTrainingJobLogsResponse.toObject = function(o, r) {
59133
+ var i = {
59134
+ logsList: e.Message.toObjectList(
59135
+ r.getLogsList(),
59136
+ proto.viam.app.mltraining.v1.TrainingJobLogEntry.toObject,
59137
+ o
59138
+ ),
59139
+ nextPageToken: e.Message.getFieldWithDefault(r, 2, "")
59140
+ };
59141
+ return o && (i.$jspbMessageInstance = r), i;
59142
+ }), proto.viam.app.mltraining.v1.GetTrainingJobLogsResponse.deserializeBinary = function(o) {
59143
+ var r = new e.BinaryReader(o), i = new proto.viam.app.mltraining.v1.GetTrainingJobLogsResponse();
59144
+ return proto.viam.app.mltraining.v1.GetTrainingJobLogsResponse.deserializeBinaryFromReader(i, r);
59145
+ }, proto.viam.app.mltraining.v1.GetTrainingJobLogsResponse.deserializeBinaryFromReader = function(o, r) {
59146
+ for (; r.nextField() && !r.isEndGroup(); ) {
59147
+ var i = r.getFieldNumber();
59148
+ switch (i) {
59149
+ case 1:
59150
+ var t = new proto.viam.app.mltraining.v1.TrainingJobLogEntry();
59151
+ r.readMessage(t, proto.viam.app.mltraining.v1.TrainingJobLogEntry.deserializeBinaryFromReader), o.addLogs(t);
59152
+ break;
59153
+ case 2:
59154
+ var t = (
59155
+ /** @type {string} */
59156
+ r.readString()
59157
+ );
59158
+ o.setNextPageToken(t);
59159
+ break;
59160
+ default:
59161
+ r.skipField();
59162
+ break;
59163
+ }
59164
+ }
59165
+ return o;
59166
+ }, proto.viam.app.mltraining.v1.GetTrainingJobLogsResponse.prototype.serializeBinary = function() {
59167
+ var o = new e.BinaryWriter();
59168
+ return proto.viam.app.mltraining.v1.GetTrainingJobLogsResponse.serializeBinaryToWriter(this, o), o.getResultBuffer();
59169
+ }, proto.viam.app.mltraining.v1.GetTrainingJobLogsResponse.serializeBinaryToWriter = function(o, r) {
59170
+ var i = void 0;
59171
+ i = o.getLogsList(), i.length > 0 && r.writeRepeatedMessage(
59172
+ 1,
59173
+ i,
59174
+ proto.viam.app.mltraining.v1.TrainingJobLogEntry.serializeBinaryToWriter
59175
+ ), i = o.getNextPageToken(), i.length > 0 && r.writeString(
59176
+ 2,
59177
+ i
59178
+ );
59179
+ }, proto.viam.app.mltraining.v1.GetTrainingJobLogsResponse.prototype.getLogsList = function() {
59180
+ return (
59181
+ /** @type{!Array<!proto.viam.app.mltraining.v1.TrainingJobLogEntry>} */
59182
+ e.Message.getRepeatedWrapperField(this, proto.viam.app.mltraining.v1.TrainingJobLogEntry, 1)
59183
+ );
59184
+ }, proto.viam.app.mltraining.v1.GetTrainingJobLogsResponse.prototype.setLogsList = function(o) {
59185
+ return e.Message.setRepeatedWrapperField(this, 1, o);
59186
+ }, proto.viam.app.mltraining.v1.GetTrainingJobLogsResponse.prototype.addLogs = function(o, r) {
59187
+ return e.Message.addToRepeatedWrapperField(this, 1, o, proto.viam.app.mltraining.v1.TrainingJobLogEntry, r);
59188
+ }, proto.viam.app.mltraining.v1.GetTrainingJobLogsResponse.prototype.clearLogsList = function() {
59189
+ return this.setLogsList([]);
59190
+ }, proto.viam.app.mltraining.v1.GetTrainingJobLogsResponse.prototype.getNextPageToken = function() {
59191
+ return (
59192
+ /** @type {string} */
59193
+ e.Message.getFieldWithDefault(this, 2, "")
59194
+ );
59195
+ }, proto.viam.app.mltraining.v1.GetTrainingJobLogsResponse.prototype.setNextPageToken = function(o) {
59196
+ return e.Message.setProto3StringField(this, 2, o);
58874
59197
  }, proto.viam.app.mltraining.v1.ModelType = {
58875
59198
  MODEL_TYPE_UNSPECIFIED: 0,
58876
59199
  MODEL_TYPE_SINGLE_LABEL_CLASSIFICATION: 1,
@@ -69031,7 +69354,8 @@ var packages_pb = {};
69031
69354
  itemId: e.Message.getFieldWithDefault(c, 1, ""),
69032
69355
  type: e.Message.getFieldWithDefault(c, 2, 0),
69033
69356
  description: e.Message.getFieldWithDefault(c, 3, ""),
69034
- visibility: e.Message.getFieldWithDefault(c, 4, 0)
69357
+ visibility: e.Message.getFieldWithDefault(c, 4, 0),
69358
+ url: e.Message.getFieldWithDefault(c, 5, "")
69035
69359
  };
69036
69360
  return t && (v.$jspbMessageInstance = c), v;
69037
69361
  }), proto.viam.app.v1.UpdateRegistryItemRequest.deserializeBinary = function(t) {
@@ -69069,6 +69393,13 @@ var packages_pb = {};
69069
69393
  );
69070
69394
  t.setVisibility(d);
69071
69395
  break;
69396
+ case 5:
69397
+ var d = (
69398
+ /** @type {string} */
69399
+ c.readString()
69400
+ );
69401
+ t.setUrl(d);
69402
+ break;
69072
69403
  default:
69073
69404
  c.skipField();
69074
69405
  break;
@@ -69092,6 +69423,10 @@ var packages_pb = {};
69092
69423
  ), v = t.getVisibility(), v !== 0 && c.writeEnum(
69093
69424
  4,
69094
69425
  v
69426
+ ), v = /** @type {string} */
69427
+ e.Message.getField(t, 5), v != null && c.writeString(
69428
+ 5,
69429
+ v
69095
69430
  );
69096
69431
  }, proto.viam.app.v1.UpdateRegistryItemRequest.prototype.getItemId = function() {
69097
69432
  return (
@@ -69121,6 +69456,17 @@ var packages_pb = {};
69121
69456
  );
69122
69457
  }, proto.viam.app.v1.UpdateRegistryItemRequest.prototype.setVisibility = function(t) {
69123
69458
  return e.Message.setProto3EnumField(this, 4, t);
69459
+ }, proto.viam.app.v1.UpdateRegistryItemRequest.prototype.getUrl = function() {
69460
+ return (
69461
+ /** @type {string} */
69462
+ e.Message.getFieldWithDefault(this, 5, "")
69463
+ );
69464
+ }, proto.viam.app.v1.UpdateRegistryItemRequest.prototype.setUrl = function(t) {
69465
+ return e.Message.setField(this, 5, t);
69466
+ }, proto.viam.app.v1.UpdateRegistryItemRequest.prototype.clearUrl = function() {
69467
+ return e.Message.setField(this, 5, void 0);
69468
+ }, proto.viam.app.v1.UpdateRegistryItemRequest.prototype.hasUrl = function() {
69469
+ return e.Message.getField(this, 5) != null;
69124
69470
  }, e.Message.GENERATE_TO_OBJECT && (proto.viam.app.v1.UpdateRegistryItemResponse.prototype.toObject = function(t) {
69125
69471
  return proto.viam.app.v1.UpdateRegistryItemResponse.toObject(t, this);
69126
69472
  }, proto.viam.app.v1.UpdateRegistryItemResponse.toObject = function(t, c) {
@@ -74147,7 +74493,7 @@ class AppClient {
74147
74493
  */
74148
74494
  async getOrganization(e) {
74149
74495
  const { service: s } = this, g = new app_pb$1.GetOrganizationRequest();
74150
- return g.setOrganizationId(e), (await promisify(s.getOrganization.bind(s), g)).toObject();
74496
+ return g.setOrganizationId(e), (await promisify(s.getOrganization.bind(s), g)).getOrganization()?.toObject();
74151
74497
  }
74152
74498
  /**
74153
74499
  * Find out if an organization namespace is available.
@@ -74205,7 +74551,7 @@ class AppClient {
74205
74551
  */
74206
74552
  async createOrganizationInvite(e, s, g, u = !0) {
74207
74553
  const { service: p } = this, l = new app_pb$1.CreateOrganizationInviteRequest();
74208
- return l.setOrganizationId(e), l.setEmail(s), l.setAuthorizationsList(g), l.setSendEmailInvite(u), (await promisify(p.createOrganizationInvite.bind(p), l)).toObject();
74554
+ return l.setOrganizationId(e), l.setEmail(s), l.setAuthorizationsList(g), l.setSendEmailInvite(u), (await promisify(p.createOrganizationInvite.bind(p), l)).getInvite()?.toObject();
74209
74555
  }
74210
74556
  /**
74211
74557
  * Updates authorizations for an existing org invite.
@@ -74218,7 +74564,7 @@ class AppClient {
74218
74564
  */
74219
74565
  async updateOrganizationInviteAuthorizations(e, s, g, u) {
74220
74566
  const { service: p } = this, l = new app_pb$1.UpdateOrganizationInviteAuthorizationsRequest();
74221
- return l.setOrganizationId(e), l.setEmail(s), l.setAddAuthorizationsList(g), l.setRemoveAuthorizationsList(u), (await promisify(p.updateOrganizationInviteAuthorizations.bind(p), l)).toObject();
74567
+ return l.setOrganizationId(e), l.setEmail(s), l.setAddAuthorizationsList(g), l.setRemoveAuthorizationsList(u), (await promisify(p.updateOrganizationInviteAuthorizations.bind(p), l)).getInvite()?.toObject();
74222
74568
  }
74223
74569
  /**
74224
74570
  * Removes a member from an organization.
@@ -74249,7 +74595,7 @@ class AppClient {
74249
74595
  */
74250
74596
  async resendOrganizationInvite(e, s) {
74251
74597
  const { service: g } = this, u = new app_pb$1.ResendOrganizationInviteRequest();
74252
- return u.setOrganizationId(e), u.setEmail(s), (await promisify(g.resendOrganizationInvite.bind(g), u)).toObject();
74598
+ return u.setOrganizationId(e), u.setEmail(s), (await promisify(g.resendOrganizationInvite.bind(g), u)).getInvite()?.toObject();
74253
74599
  }
74254
74600
  /**
74255
74601
  * Creates a new location.
@@ -74262,7 +74608,7 @@ class AppClient {
74262
74608
  */
74263
74609
  async createLocation(e, s, g) {
74264
74610
  const { service: u } = this, p = new app_pb$1.CreateLocationRequest();
74265
- return p.setOrganizationId(e), p.setName(s), g && p.setParentLocationId(g), (await promisify(u.createLocation.bind(u), p)).toObject();
74611
+ return p.setOrganizationId(e), p.setName(s), g && p.setParentLocationId(g), (await promisify(u.createLocation.bind(u), p)).getLocation()?.toObject();
74266
74612
  }
74267
74613
  /**
74268
74614
  * Looks up a location.
@@ -74272,7 +74618,7 @@ class AppClient {
74272
74618
  */
74273
74619
  async getLocation(e) {
74274
74620
  const { service: s } = this, g = new app_pb$1.GetLocationRequest();
74275
- return g.setLocationId(e), (await promisify(s.getLocation.bind(s), g)).toObject();
74621
+ return g.setLocationId(e), (await promisify(s.getLocation.bind(s), g)).getLocation()?.toObject();
74276
74622
  }
74277
74623
  /**
74278
74624
  * Updates location details.
@@ -74286,7 +74632,7 @@ class AppClient {
74286
74632
  */
74287
74633
  async updateLocation(e, s, g, u) {
74288
74634
  const { service: p } = this, l = new app_pb$1.UpdateLocationRequest();
74289
- return l.setLocationId(e), s && l.setName(s), g && l.setParentLocationId(g), u && l.setRegion(u), (await promisify(p.updateLocation.bind(p), l)).toObject();
74635
+ return l.setLocationId(e), s && l.setName(s), g && l.setParentLocationId(g), u && l.setRegion(u), (await promisify(p.updateLocation.bind(p), l)).getLocation()?.toObject();
74290
74636
  }
74291
74637
  /**
74292
74638
  * Deletes a location
@@ -74344,7 +74690,7 @@ class AppClient {
74344
74690
  */
74345
74691
  async locationAuth(e) {
74346
74692
  const { service: s } = this, g = new app_pb$1.LocationAuthRequest();
74347
- return g.setLocationId(e), (await promisify(s.locationAuth.bind(s), g)).toObject();
74693
+ return g.setLocationId(e), (await promisify(s.locationAuth.bind(s), g)).toObject().auth;
74348
74694
  }
74349
74695
  /**
74350
74696
  * Create a location secret (`LocationAuth`).
@@ -74354,7 +74700,7 @@ class AppClient {
74354
74700
  */
74355
74701
  async createLocationSecret(e) {
74356
74702
  const { service: s } = this, g = new app_pb$1.CreateLocationSecretRequest();
74357
- return g.setLocationId(e), (await promisify(s.createLocationSecret.bind(s), g)).toObject();
74703
+ return g.setLocationId(e), (await promisify(s.createLocationSecret.bind(s), g)).toObject().auth;
74358
74704
  }
74359
74705
  /**
74360
74706
  * Deletes a location secret (`LocationAuth`).
@@ -74377,7 +74723,7 @@ class AppClient {
74377
74723
  return g.setId(e), (await promisify(
74378
74724
  s.getRobot.bind(s),
74379
74725
  g
74380
- )).toObject();
74726
+ )).toObject().robot;
74381
74727
  }
74382
74728
  /**
74383
74729
  * Returns a list of rover rental robots for an organization.
@@ -74488,7 +74834,7 @@ class AppClient {
74488
74834
  */
74489
74835
  async updateRobotPart(e, s, g) {
74490
74836
  const { service: u } = this, p = new app_pb$1.UpdateRobotPartRequest();
74491
- return p.setId(e), p.setName(s), p.setRobotConfig(struct_pb.Struct.fromJavaScript(g)), (await promisify(u.updateRobotPart.bind(u), p)).toObject();
74837
+ return p.setId(e), p.setName(s), p.setRobotConfig(struct_pb.Struct.fromJavaScript(g)), (await promisify(u.updateRobotPart.bind(u), p)).toObject().part;
74492
74838
  }
74493
74839
  /**
74494
74840
  * Creates a new robot part.
@@ -74552,7 +74898,7 @@ class AppClient {
74552
74898
  */
74553
74899
  async createRobotPartSecret(e) {
74554
74900
  const { service: s } = this, g = new app_pb$1.CreateRobotPartSecretRequest();
74555
- return g.setPartId(e), (await promisify(s.createRobotPartSecret.bind(s), g)).toObject();
74901
+ return g.setPartId(e), (await promisify(s.createRobotPartSecret.bind(s), g)).toObject().part;
74556
74902
  }
74557
74903
  /**
74558
74904
  * Deletes a robot secret from a robot part.
@@ -74598,7 +74944,7 @@ class AppClient {
74598
74944
  */
74599
74945
  async updateRobot(e, s, g) {
74600
74946
  const { service: u } = this, p = new app_pb$1.UpdateRobotRequest();
74601
- return p.setId(e), p.setLocation(s), p.setName(g), (await promisify(u.updateRobot.bind(u), p)).toObject();
74947
+ return p.setId(e), p.setLocation(s), p.setName(g), (await promisify(u.updateRobot.bind(u), p)).toObject().robot;
74602
74948
  }
74603
74949
  /**
74604
74950
  * Deletes a robot.
@@ -74638,7 +74984,7 @@ class AppClient {
74638
74984
  */
74639
74985
  async getFragment(e) {
74640
74986
  const { service: s } = this, g = new app_pb$1.GetFragmentRequest();
74641
- return g.setId(e), (await promisify(s.getFragment.bind(s), g)).toObject();
74987
+ return g.setId(e), (await promisify(s.getFragment.bind(s), g)).toObject().fragment;
74642
74988
  }
74643
74989
  /**
74644
74990
  * Creates a new fragment.
@@ -74650,7 +74996,7 @@ class AppClient {
74650
74996
  */
74651
74997
  async createFragment(e, s, g) {
74652
74998
  const { service: u } = this, p = new app_pb$1.CreateFragmentRequest();
74653
- return p.setOrganizationId(e), p.setName(s), p.setConfig(struct_pb.Struct.fromJavaScript(g)), (await promisify(u.createFragment.bind(u), p)).toObject();
74999
+ return p.setOrganizationId(e), p.setName(s), p.setConfig(struct_pb.Struct.fromJavaScript(g)), (await promisify(u.createFragment.bind(u), p)).toObject().fragment;
74654
75000
  }
74655
75001
  /**
74656
75002
  * Updates an existing fragment.
@@ -74670,7 +75016,7 @@ class AppClient {
74670
75016
  */
74671
75017
  async updateFragment(e, s, g, u, p) {
74672
75018
  const { service: l } = this, o = new app_pb$1.UpdateFragmentRequest();
74673
- return o.setId(e), o.setName(s), o.setConfig(struct_pb.Struct.fromJavaScript(g)), u !== void 0 && o.setPublic(u), p !== void 0 && o.setVisibility(app_pb$1.FragmentVisibility[p]), (await promisify(l.updateFragment.bind(l), o)).toObject();
75019
+ return o.setId(e), o.setName(s), o.setConfig(struct_pb.Struct.fromJavaScript(g)), u !== void 0 && o.setPublic(u), p !== void 0 && o.setVisibility(app_pb$1.FragmentVisibility[p]), (await promisify(l.updateFragment.bind(l), o)).toObject().fragment;
74674
75020
  }
74675
75021
  /**
74676
75022
  * Deletes a fragment.
@@ -74751,6 +75097,7 @@ class AppClient {
74751
75097
  * @param orgId The ID of the organization to list authorizations for
74752
75098
  * @param resourceIds Optional list of IDs of resources to list authorizations
74753
75099
  * for. If not provided, all resources will be included
75100
+ * @returns The list of authorizations
74754
75101
  */
74755
75102
  async listAuthorizations(e, s) {
74756
75103
  const { service: g } = this, u = new app_pb$1.ListAuthorizationsRequest();
@@ -74774,7 +75121,7 @@ class AppClient {
74774
75121
  */
74775
75122
  async getRegistryItem(e) {
74776
75123
  const { service: s } = this, g = new app_pb$1.GetRegistryItemRequest();
74777
- return g.setItemId(e), (await promisify(s.getRegistryItem.bind(s), g)).toObject();
75124
+ return g.setItemId(e), (await promisify(s.getRegistryItem.bind(s), g)).toObject().item;
74778
75125
  }
74779
75126
  /**
74780
75127
  * Create a new registry item.
@@ -74871,7 +75218,7 @@ class AppClient {
74871
75218
  return g.setModuleId(e), (await promisify(
74872
75219
  s.getModule.bind(s),
74873
75220
  g
74874
- )).toObject();
75221
+ )).toObject().module;
74875
75222
  }
74876
75223
  /**
74877
75224
  * Lists all modules for an organization.
@@ -76435,6 +76782,14 @@ MLTrainingService.DeleteCompletedTrainingJob = {
76435
76782
  requestType: app_mltraining_v1_ml_training_pb.DeleteCompletedTrainingJobRequest,
76436
76783
  responseType: app_mltraining_v1_ml_training_pb.DeleteCompletedTrainingJobResponse
76437
76784
  };
76785
+ MLTrainingService.GetTrainingJobLogs = {
76786
+ methodName: "GetTrainingJobLogs",
76787
+ service: MLTrainingService,
76788
+ requestStream: !1,
76789
+ responseStream: !1,
76790
+ requestType: app_mltraining_v1_ml_training_pb.GetTrainingJobLogsRequest,
76791
+ responseType: app_mltraining_v1_ml_training_pb.GetTrainingJobLogsResponse
76792
+ };
76438
76793
  function MLTrainingServiceClient(n, e) {
76439
76794
  this.serviceHost = n, this.options = e || {};
76440
76795
  }
@@ -76576,6 +76931,29 @@ MLTrainingServiceClient.prototype.deleteCompletedTrainingJob = function n(e, s,
76576
76931
  }
76577
76932
  };
76578
76933
  };
76934
+ MLTrainingServiceClient.prototype.getTrainingJobLogs = function n(e, s, g) {
76935
+ arguments.length === 2 && (g = arguments[1]);
76936
+ var u = grpc$6.unary(MLTrainingService.GetTrainingJobLogs, {
76937
+ request: e,
76938
+ host: this.serviceHost,
76939
+ metadata: s,
76940
+ transport: this.options.transport,
76941
+ debug: this.options.debug,
76942
+ onEnd: function(p) {
76943
+ if (g)
76944
+ if (p.status !== grpc$6.Code.OK) {
76945
+ var l = new Error(p.statusMessage);
76946
+ l.code = p.status, l.metadata = p.trailers, g(l, null);
76947
+ } else
76948
+ g(null, p.message);
76949
+ }
76950
+ });
76951
+ return {
76952
+ cancel: function() {
76953
+ g = null, u.close();
76954
+ }
76955
+ };
76956
+ };
76579
76957
  var MLTrainingServiceClient_1 = MLTrainingServiceClient;
76580
76958
  const { ModelType } = pb$4, { TrainingStatus } = pb$4;
76581
76959
  class MlTrainingClient {
@@ -77502,19 +77880,20 @@ const createViamClient = async ({
77502
77880
  const s = await createViamTransportFactory(
77503
77881
  n,
77504
77882
  e
77505
- ), g = new ViamClient(s, n);
77883
+ ), g = new ViamClient(s, n, e);
77506
77884
  return g.connect(), g;
77507
77885
  };
77508
77886
  class ViamClient {
77509
77887
  transportFactory;
77510
77888
  serviceHost;
77889
+ credential;
77511
77890
  dataClient;
77512
77891
  appClient;
77513
77892
  mlTrainingClient;
77514
77893
  provisioningClient;
77515
77894
  billingClient;
77516
- constructor(e, s) {
77517
- this.transportFactory = e, this.serviceHost = s;
77895
+ constructor(e, s, g) {
77896
+ this.transportFactory = e, this.serviceHost = s, this.credential = g;
77518
77897
  }
77519
77898
  connect() {
77520
77899
  const e = { transport: this.transportFactory };
@@ -77523,6 +77902,48 @@ class ViamClient {
77523
77902
  e
77524
77903
  ), this.billingClient = new BillingClient(this.serviceHost, e);
77525
77904
  }
77905
+ async connectToMachine({
77906
+ host: e = void 0,
77907
+ id: s = void 0
77908
+ }) {
77909
+ if (e === void 0 && s === void 0)
77910
+ throw new Error("Either a machine address or ID must be provided");
77911
+ let g = e, u;
77912
+ if (s !== void 0 && e === void 0) {
77913
+ const o = (await this.appClient?.getRobotParts(s))?.find((r) => r.mainPart);
77914
+ if (!o)
77915
+ throw new Error(
77916
+ `Could not find a main part for the machine with UUID: ${s}`
77917
+ );
77918
+ g = o.fqdn, u = o.locationId;
77919
+ }
77920
+ if (!g)
77921
+ throw new Error(
77922
+ "Host was not provided and could not be obtained from the machine ID"
77923
+ );
77924
+ let p = this.credential;
77925
+ if (!isCredential(p)) {
77926
+ if (u === void 0) {
77927
+ const o = g.split(".viam.")[0]?.split(".");
77928
+ o !== void 0 && (u = o.at(-1));
77929
+ }
77930
+ u !== void 0 && (p = {
77931
+ type: "robot-location-secret",
77932
+ payload: (await this.appClient?.getLocation(u))?.auth?.secretsList.find(
77933
+ (r) => r.state === app_pb$1.SharedSecret.State.STATE_ENABLED
77934
+ )?.secret,
77935
+ authEntity: g
77936
+ });
77937
+ }
77938
+ return createRobotClient({
77939
+ // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
77940
+ host: g,
77941
+ credential: p,
77942
+ authEntity: p.authEntity,
77943
+ signalingAddress: "https://app.viam.com:443",
77944
+ reconnectMaxAttempts: 1
77945
+ });
77946
+ }
77526
77947
  }
77527
77948
  class ArmClient {
77528
77949
  client;
@@ -79585,7 +80006,7 @@ class GenericClient {
79585
80006
  return doCommandFromClient(s, this.name, e, this.options);
79586
80007
  }
79587
80008
  }
79588
- const version = "0.19.1";
80009
+ const version = "0.20.0";
79589
80010
  export {
79590
80011
  ArmClient,
79591
80012
  BaseClient,