@viamrobotics/sdk 0.48.0 → 0.49.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
@@ -413,10 +413,10 @@ function Bi(a, e) {
413
413
  return e == 0;
414
414
  }
415
415
  }
416
- var B;
416
+ var x;
417
417
  (function(a) {
418
418
  a[a.Varint = 0] = "Varint", a[a.Bit64 = 1] = "Bit64", a[a.LengthDelimited = 2] = "LengthDelimited", a[a.StartGroup = 3] = "StartGroup", a[a.EndGroup = 4] = "EndGroup", a[a.Bit32 = 5] = "Bit32";
419
- })(B || (B = {}));
419
+ })(x || (x = {}));
420
420
  class sh {
421
421
  constructor(e) {
422
422
  this.stack = [], this.textEncoder = e ?? new TextEncoder(), this.chunks = [], this.buf = [];
@@ -597,23 +597,23 @@ class xi {
597
597
  skip(e, n) {
598
598
  let t = this.pos;
599
599
  switch (e) {
600
- case B.Varint:
600
+ case x.Varint:
601
601
  for (; this.buf[this.pos++] & 128; )
602
602
  ;
603
603
  break;
604
- case B.Bit64:
604
+ case x.Bit64:
605
605
  this.pos += 4;
606
- case B.Bit32:
606
+ case x.Bit32:
607
607
  this.pos += 4;
608
608
  break;
609
- case B.LengthDelimited:
609
+ case x.LengthDelimited:
610
610
  let o = this.uint32();
611
611
  this.pos += o;
612
612
  break;
613
- case B.StartGroup:
613
+ case x.StartGroup:
614
614
  for (; ; ) {
615
615
  const [i, r] = this.tag();
616
- if (r === B.EndGroup) {
616
+ if (r === x.EndGroup) {
617
617
  if (n !== void 0 && i !== n)
618
618
  throw new Error("invalid end group tag");
619
619
  break;
@@ -912,14 +912,14 @@ function ti(a, e) {
912
912
  break;
913
913
  }
914
914
  }
915
- function We(a, e) {
915
+ function je(a, e) {
916
916
  if (a === null || typeof a != "object" || !Object.getOwnPropertyNames(E.prototype).every((t) => t in a && typeof a[t] == "function"))
917
917
  return !1;
918
918
  const n = a.getType();
919
919
  return n === null || typeof n != "function" || !("typeName" in n) || typeof n.typeName != "string" ? !1 : e === void 0 ? !0 : n.typeName == e.typeName;
920
920
  }
921
921
  function $i(a, e) {
922
- return We(e) || !a.fieldWrapper ? e : a.fieldWrapper.wrapField(e);
922
+ return je(e) || !a.fieldWrapper ? e : a.fieldWrapper.wrapField(e);
923
923
  }
924
924
  f.DOUBLE, f.FLOAT, f.INT64, f.UINT64, f.INT32, f.UINT32, f.BOOL, f.STRING, f.BYTES;
925
925
  const si = {
@@ -1095,7 +1095,7 @@ function ii(a, e, n, t, o) {
1095
1095
  if (e === null && r.typeName != "google.protobuf.Value")
1096
1096
  return;
1097
1097
  let c = a[i];
1098
- We(c) ? c.fromJson(e, t) : (a[i] = c = r.fromJson(e, t), r.fieldWrapper && !n.oneof && (a[i] = r.fieldWrapper.unwrapField(c)));
1098
+ je(c) ? c.fromJson(e, t) : (a[i] = c = r.fromJson(e, t), r.fieldWrapper && !n.oneof && (a[i] = r.fieldWrapper.unwrapField(c)));
1099
1099
  break;
1100
1100
  case "enum":
1101
1101
  const l = Ua(n.T, e, t.ignoreUnknownFields, !1);
@@ -1343,7 +1343,7 @@ function yh() {
1343
1343
  readMessage(a, e, n, t, o) {
1344
1344
  const i = a.getType(), r = o ? e.len : e.pos + n;
1345
1345
  let c, l;
1346
- for (; e.pos < r && ([c, l] = e.tag(), !(o === !0 && l == B.EndGroup)); ) {
1346
+ for (; e.pos < r && ([c, l] = e.tag(), !(o === !0 && l == x.EndGroup)); ) {
1347
1347
  const p = i.fields.find(c);
1348
1348
  if (!p) {
1349
1349
  const T = e.skip(l, c);
@@ -1353,7 +1353,7 @@ function yh() {
1353
1353
  di(a, e, p, l, t);
1354
1354
  }
1355
1355
  if (o && // eslint-disable-line @typescript-eslint/strict-boolean-expressions
1356
- (l != B.EndGroup || c !== n))
1356
+ (l != x.EndGroup || c !== n))
1357
1357
  throw new Error("invalid end group tag");
1358
1358
  },
1359
1359
  readField: di,
@@ -1384,7 +1384,7 @@ function di(a, e, n, t, o) {
1384
1384
  let l = Wn;
1385
1385
  if (n.kind == "scalar" && n.L > 0 && (l = hh), i) {
1386
1386
  let S = a[r];
1387
- if (t == B.LengthDelimited && c != f.STRING && c != f.BYTES) {
1387
+ if (t == x.LengthDelimited && c != f.STRING && c != f.BYTES) {
1388
1388
  let I = e.uint32() + e.pos;
1389
1389
  for (; e.pos < I; )
1390
1390
  S.push(l(e, c));
@@ -1395,7 +1395,7 @@ function di(a, e, n, t, o) {
1395
1395
  break;
1396
1396
  case "message":
1397
1397
  const p = n.T;
1398
- i ? a[r].push(Yn(e, new p(), o, n)) : We(a[r]) ? Yn(e, a[r], o, n) : (a[r] = Yn(e, new p(), o, n), p.fieldWrapper && !n.oneof && !n.repeated && (a[r] = p.fieldWrapper.unwrapField(a[r])));
1398
+ i ? a[r].push(Yn(e, new p(), o, n)) : je(a[r]) ? Yn(e, a[r], o, n) : (a[r] = Yn(e, new p(), o, n), p.fieldWrapper && !n.oneof && !n.repeated && (a[r] = p.fieldWrapper.unwrapField(a[r])));
1399
1399
  break;
1400
1400
  case "map":
1401
1401
  let [T, R] = vh(n, e, o);
@@ -1522,7 +1522,7 @@ function li(a, e, n, t) {
1522
1522
  }
1523
1523
  }
1524
1524
  function fh(a, e, n, t, o) {
1525
- a.tag(n.no, B.LengthDelimited), a.fork();
1525
+ a.tag(n.no, x.LengthDelimited), a.fork();
1526
1526
  let i = t;
1527
1527
  switch (n.K) {
1528
1528
  case f.INT32:
@@ -1544,14 +1544,14 @@ function fh(a, e, n, t, o) {
1544
1544
  hn(a, f.INT32, 2, o);
1545
1545
  break;
1546
1546
  case "message":
1547
- G(o !== void 0), a.tag(2, B.LengthDelimited).bytes(o.toBinary(e));
1547
+ G(o !== void 0), a.tag(2, x.LengthDelimited).bytes(o.toBinary(e));
1548
1548
  break;
1549
1549
  }
1550
1550
  a.join();
1551
1551
  }
1552
1552
  function pi(a, e, n, t) {
1553
1553
  const o = $i(n.T, t);
1554
- n.delimited ? a.tag(n.no, B.StartGroup).raw(o.toBinary(e)).tag(n.no, B.EndGroup) : a.tag(n.no, B.LengthDelimited).bytes(o.toBinary(e));
1554
+ n.delimited ? a.tag(n.no, x.StartGroup).raw(o.toBinary(e)).tag(n.no, x.EndGroup) : a.tag(n.no, x.LengthDelimited).bytes(o.toBinary(e));
1555
1555
  }
1556
1556
  function hn(a, e, n, t) {
1557
1557
  G(t !== void 0);
@@ -1561,28 +1561,28 @@ function hn(a, e, n, t) {
1561
1561
  function Rh(a, e, n, t) {
1562
1562
  if (!t.length)
1563
1563
  return;
1564
- a.tag(n, B.LengthDelimited).fork();
1564
+ a.tag(n, x.LengthDelimited).fork();
1565
1565
  let [, o] = Vi(e);
1566
1566
  for (let i = 0; i < t.length; i++)
1567
1567
  a[o](t[i]);
1568
1568
  a.join();
1569
1569
  }
1570
1570
  function Vi(a) {
1571
- let e = B.Varint;
1571
+ let e = x.Varint;
1572
1572
  switch (a) {
1573
1573
  case f.BYTES:
1574
1574
  case f.STRING:
1575
- e = B.LengthDelimited;
1575
+ e = x.LengthDelimited;
1576
1576
  break;
1577
1577
  case f.DOUBLE:
1578
1578
  case f.FIXED64:
1579
1579
  case f.SFIXED64:
1580
- e = B.Bit64;
1580
+ e = x.Bit64;
1581
1581
  break;
1582
1582
  case f.FIXED32:
1583
1583
  case f.SFIXED32:
1584
1584
  case f.FLOAT:
1585
- e = B.Bit32;
1585
+ e = x.Bit32;
1586
1586
  break;
1587
1587
  }
1588
1588
  const n = f[a].toLowerCase();
@@ -1605,7 +1605,7 @@ function _h() {
1605
1605
  continue;
1606
1606
  const l = t.findField(c);
1607
1607
  let p = r[o].value;
1608
- l && l.kind == "message" && !We(p, l.T) ? p = new l.T(p) : l && l.kind === "scalar" && l.T === f.BYTES && (p = Tn(p)), i[o] = { case: c, value: p };
1608
+ l && l.kind == "message" && !je(p, l.T) ? p = new l.T(p) : l && l.kind === "scalar" && l.T === f.BYTES && (p = Tn(p)), i[o] = { case: c, value: p };
1609
1609
  break;
1610
1610
  case "scalar":
1611
1611
  case "enum":
@@ -1634,10 +1634,10 @@ function _h() {
1634
1634
  case "message":
1635
1635
  const R = t.T;
1636
1636
  if (t.repeated)
1637
- i[o] = r[o].map((S) => We(S, R) ? S : new R(S));
1637
+ i[o] = r[o].map((S) => je(S, R) ? S : new R(S));
1638
1638
  else {
1639
1639
  const S = r[o];
1640
- R.fieldWrapper ? /* We can't use BytesValue.typeName as that will create a circular import */ R.typeName === "google.protobuf.BytesValue" ? i[o] = Tn(S) : i[o] = S : i[o] = We(S, R) ? S : new R(S);
1640
+ R.fieldWrapper ? /* We can't use BytesValue.typeName as that will create a circular import */ R.typeName === "google.protobuf.BytesValue" ? i[o] = Tn(S) : i[o] = S : i[o] = je(S, R) ? S : new R(S);
1641
1641
  }
1642
1642
  break;
1643
1643
  }
@@ -1722,7 +1722,7 @@ function _h() {
1722
1722
  function Gn(a) {
1723
1723
  if (a === void 0)
1724
1724
  return a;
1725
- if (We(a))
1725
+ if (je(a))
1726
1726
  return a.clone();
1727
1727
  if (a instanceof Uint8Array) {
1728
1728
  const e = new Uint8Array(a.byteLength);
@@ -1794,7 +1794,7 @@ class ji {
1794
1794
  }
1795
1795
  function Hi(a, e) {
1796
1796
  const n = Ki(a);
1797
- return e ? n : wh(Eh(n));
1797
+ return e ? n : Oh(Eh(n));
1798
1798
  }
1799
1799
  function Sh(a) {
1800
1800
  return Hi(a, !1);
@@ -1847,8 +1847,8 @@ const Mh = /* @__PURE__ */ new Set([
1847
1847
  "toJsonString",
1848
1848
  // names reserved by the runtime for the future
1849
1849
  "toObject"
1850
- ]), Xi = (a) => `${a}$`, Eh = (a) => bh.has(a) ? Xi(a) : a, wh = (a) => Mh.has(a) ? Xi(a) : a;
1851
- class Oh {
1850
+ ]), Xi = (a) => `${a}$`, Eh = (a) => bh.has(a) ? Xi(a) : a, Oh = (a) => Mh.has(a) ? Xi(a) : a;
1851
+ class wh {
1852
1852
  constructor(e) {
1853
1853
  this.kind = "oneof", this.repeated = !1, this.packed = !1, this.opt = !1, this.req = !1, this.default = void 0, this.fields = [], this.name = e, this.localName = Sh(e);
1854
1854
  }
@@ -1872,7 +1872,7 @@ function Qi(a, e) {
1872
1872
  const R = T;
1873
1873
  if (R.localName = Hi(T.name, T.oneof !== void 0), R.jsonName = (n = T.jsonName) !== null && n !== void 0 ? n : Ih(T.name), R.repeated = (t = T.repeated) !== null && t !== void 0 ? t : !1, T.kind == "scalar" && (R.L = (o = T.L) !== null && o !== void 0 ? o : Je.BIGINT), R.delimited = (i = T.delimited) !== null && i !== void 0 ? i : !1, R.req = (r = T.req) !== null && r !== void 0 ? r : !1, R.opt = (c = T.opt) !== null && c !== void 0 ? c : !1, T.packed === void 0 && (e ? R.packed = T.kind == "enum" || T.kind == "scalar" && T.T != f.BYTES && T.T != f.STRING : R.packed = !1), T.oneof !== void 0) {
1874
1874
  const S = typeof T.oneof == "string" ? T.oneof : T.oneof.name;
1875
- (!p || p.name != S) && (p = new Oh(S)), R.oneof = p, p.addField(R);
1875
+ (!p || p.name != S) && (p = new wh(S)), R.oneof = p, p.addField(R);
1876
1876
  }
1877
1877
  l.push(R);
1878
1878
  }
@@ -2331,7 +2331,7 @@ he.typeName = "google.protobuf.ServiceDescriptorProto";
2331
2331
  he.fields = u.util.newFieldList(() => [
2332
2332
  { no: 1, name: "name", kind: "scalar", T: 9, opt: !0 },
2333
2333
  { no: 2, name: "method", kind: "message", T: fe, repeated: !0 },
2334
- { no: 3, name: "options", kind: "message", T: we, opt: !0 }
2334
+ { no: 3, name: "options", kind: "message", T: Oe, opt: !0 }
2335
2335
  ]);
2336
2336
  class fe extends E {
2337
2337
  constructor(e) {
@@ -2640,26 +2640,26 @@ Ee.fields = u.util.newFieldList(() => [
2640
2640
  { no: 4, name: "feature_support", kind: "message", T: re, opt: !0 },
2641
2641
  { no: 999, name: "uninterpreted_option", kind: "message", T: W, repeated: !0 }
2642
2642
  ]);
2643
- class we extends E {
2643
+ class Oe extends E {
2644
2644
  constructor(e) {
2645
2645
  super(), this.uninterpretedOption = [], u.util.initPartial(e, this);
2646
2646
  }
2647
2647
  static fromBinary(e, n) {
2648
- return new we().fromBinary(e, n);
2648
+ return new Oe().fromBinary(e, n);
2649
2649
  }
2650
2650
  static fromJson(e, n) {
2651
- return new we().fromJson(e, n);
2651
+ return new Oe().fromJson(e, n);
2652
2652
  }
2653
2653
  static fromJsonString(e, n) {
2654
- return new we().fromJsonString(e, n);
2654
+ return new Oe().fromJsonString(e, n);
2655
2655
  }
2656
2656
  static equals(e, n) {
2657
- return u.util.equals(we, e, n);
2657
+ return u.util.equals(Oe, e, n);
2658
2658
  }
2659
2659
  }
2660
- we.runtime = u;
2661
- we.typeName = "google.protobuf.ServiceOptions";
2662
- we.fields = u.util.newFieldList(() => [
2660
+ Oe.runtime = u;
2661
+ Oe.typeName = "google.protobuf.ServiceOptions";
2662
+ Oe.fields = u.util.newFieldList(() => [
2663
2663
  { no: 34, name: "features", kind: "message", T: $, opt: !0 },
2664
2664
  { no: 33, name: "deprecated", kind: "scalar", T: 8, opt: !0, default: !1 },
2665
2665
  { no: 999, name: "uninterpreted_option", kind: "message", T: W, repeated: !0 }
@@ -2718,7 +2718,7 @@ class W extends E {
2718
2718
  W.runtime = u;
2719
2719
  W.typeName = "google.protobuf.UninterpretedOption";
2720
2720
  W.fields = u.util.newFieldList(() => [
2721
- { no: 2, name: "name", kind: "message", T: Oe, repeated: !0 },
2721
+ { no: 2, name: "name", kind: "message", T: we, repeated: !0 },
2722
2722
  { no: 3, name: "identifier_value", kind: "scalar", T: 9, opt: !0 },
2723
2723
  { no: 4, name: "positive_int_value", kind: "scalar", T: 4, opt: !0 },
2724
2724
  { no: 5, name: "negative_int_value", kind: "scalar", T: 3, opt: !0 },
@@ -2726,26 +2726,26 @@ W.fields = u.util.newFieldList(() => [
2726
2726
  { no: 7, name: "string_value", kind: "scalar", T: 12, opt: !0 },
2727
2727
  { no: 8, name: "aggregate_value", kind: "scalar", T: 9, opt: !0 }
2728
2728
  ]);
2729
- class Oe extends E {
2729
+ class we extends E {
2730
2730
  constructor(e) {
2731
2731
  super(), u.util.initPartial(e, this);
2732
2732
  }
2733
2733
  static fromBinary(e, n) {
2734
- return new Oe().fromBinary(e, n);
2734
+ return new we().fromBinary(e, n);
2735
2735
  }
2736
2736
  static fromJson(e, n) {
2737
- return new Oe().fromJson(e, n);
2737
+ return new we().fromJson(e, n);
2738
2738
  }
2739
2739
  static fromJsonString(e, n) {
2740
- return new Oe().fromJsonString(e, n);
2740
+ return new we().fromJsonString(e, n);
2741
2741
  }
2742
2742
  static equals(e, n) {
2743
- return u.util.equals(Oe, e, n);
2743
+ return u.util.equals(we, e, n);
2744
2744
  }
2745
2745
  }
2746
- Oe.runtime = u;
2747
- Oe.typeName = "google.protobuf.UninterpretedOption.NamePart";
2748
- Oe.fields = u.util.newFieldList(() => [
2746
+ we.runtime = u;
2747
+ we.typeName = "google.protobuf.UninterpretedOption.NamePart";
2748
+ we.fields = u.util.newFieldList(() => [
2749
2749
  { no: 1, name: "name_part", kind: "scalar", T: 9, req: !0 },
2750
2750
  { no: 2, name: "is_extension", kind: "scalar", T: 8, req: !0 }
2751
2751
  ]);
@@ -3058,7 +3058,7 @@ _.fields = s.util.newFieldList(() => [
3058
3058
  /* ScalarType.INT32 */
3059
3059
  }
3060
3060
  ]);
3061
- class F extends E {
3061
+ class J extends E {
3062
3062
  constructor(e) {
3063
3063
  super(), this.seconds = V.zero, this.nanos = 0, s.util.initPartial(e, this);
3064
3064
  }
@@ -3088,21 +3088,21 @@ class F extends E {
3088
3088
  return n + "s";
3089
3089
  }
3090
3090
  static fromBinary(e, n) {
3091
- return new F().fromBinary(e, n);
3091
+ return new J().fromBinary(e, n);
3092
3092
  }
3093
3093
  static fromJson(e, n) {
3094
- return new F().fromJson(e, n);
3094
+ return new J().fromJson(e, n);
3095
3095
  }
3096
3096
  static fromJsonString(e, n) {
3097
- return new F().fromJsonString(e, n);
3097
+ return new J().fromJsonString(e, n);
3098
3098
  }
3099
3099
  static equals(e, n) {
3100
- return s.util.equals(F, e, n);
3100
+ return s.util.equals(J, e, n);
3101
3101
  }
3102
3102
  }
3103
- F.runtime = s;
3104
- F.typeName = "google.protobuf.Duration";
3105
- F.fields = s.util.newFieldList(() => [
3103
+ J.runtime = s;
3104
+ J.typeName = "google.protobuf.Duration";
3105
+ J.fields = s.util.newFieldList(() => [
3106
3106
  {
3107
3107
  no: 1,
3108
3108
  name: "seconds",
@@ -3118,7 +3118,7 @@ F.fields = s.util.newFieldList(() => [
3118
3118
  /* ScalarType.INT32 */
3119
3119
  }
3120
3120
  ]);
3121
- class j extends E {
3121
+ class H extends E {
3122
3122
  constructor(e) {
3123
3123
  super(), this.typeUrl = "", this.value = new Uint8Array(0), s.util.initPartial(e, this);
3124
3124
  }
@@ -3185,25 +3185,25 @@ class j extends E {
3185
3185
  return t;
3186
3186
  }
3187
3187
  static pack(e) {
3188
- const n = new j();
3188
+ const n = new H();
3189
3189
  return n.packFrom(e), n;
3190
3190
  }
3191
3191
  static fromBinary(e, n) {
3192
- return new j().fromBinary(e, n);
3192
+ return new H().fromBinary(e, n);
3193
3193
  }
3194
3194
  static fromJson(e, n) {
3195
- return new j().fromJson(e, n);
3195
+ return new H().fromJson(e, n);
3196
3196
  }
3197
3197
  static fromJsonString(e, n) {
3198
- return new j().fromJsonString(e, n);
3198
+ return new H().fromJsonString(e, n);
3199
3199
  }
3200
3200
  static equals(e, n) {
3201
- return s.util.equals(j, e, n);
3201
+ return s.util.equals(H, e, n);
3202
3202
  }
3203
3203
  }
3204
- j.runtime = s;
3205
- j.typeName = "google.protobuf.Any";
3206
- j.fields = s.util.newFieldList(() => [
3204
+ H.runtime = s;
3205
+ H.typeName = "google.protobuf.Any";
3206
+ H.fields = s.util.newFieldList(() => [
3207
3207
  {
3208
3208
  no: 1,
3209
3209
  name: "type_url",
@@ -3357,12 +3357,12 @@ ce.typeName = "google.protobuf.ListValue";
3357
3357
  ce.fields = s.util.newFieldList(() => [
3358
3358
  { no: 1, name: "values", kind: "message", T: X, repeated: !0 }
3359
3359
  ]);
3360
- var w;
3360
+ var O;
3361
3361
  (function(a) {
3362
3362
  a[a.Canceled = 1] = "Canceled", a[a.Unknown = 2] = "Unknown", a[a.InvalidArgument = 3] = "InvalidArgument", a[a.DeadlineExceeded = 4] = "DeadlineExceeded", a[a.NotFound = 5] = "NotFound", a[a.AlreadyExists = 6] = "AlreadyExists", a[a.PermissionDenied = 7] = "PermissionDenied", a[a.ResourceExhausted = 8] = "ResourceExhausted", a[a.FailedPrecondition = 9] = "FailedPrecondition", a[a.Aborted = 10] = "Aborted", a[a.OutOfRange = 11] = "OutOfRange", a[a.Unimplemented = 12] = "Unimplemented", a[a.Internal = 13] = "Internal", a[a.Unavailable = 14] = "Unavailable", a[a.DataLoss = 15] = "DataLoss", a[a.Unauthenticated = 16] = "Unauthenticated";
3363
- })(w || (w = {}));
3363
+ })(O || (O = {}));
3364
3364
  function gi(a) {
3365
- const e = w[a];
3365
+ const e = O[a];
3366
3366
  return typeof e != "string" ? a.toString() : e[0].toLowerCase() + e.substring(1).replace(/[A-Z]/g, (n) => "_" + n.toLowerCase());
3367
3367
  }
3368
3368
  class N extends Error {
@@ -3373,7 +3373,7 @@ class N extends Error {
3373
3373
  * raise an error with details, and it is up to the protocol implementation
3374
3374
  * to encode and send the details along with error.
3375
3375
  */
3376
- constructor(e, n = w.Unknown, t, o, i) {
3376
+ constructor(e, n = O.Unknown, t, o, i) {
3377
3377
  super(Ch(e, n)), this.name = "ConnectError", Object.setPrototypeOf(this, new.target.prototype), this.rawMessage = e, this.code = n, this.metadata = new Headers(t ?? {}), this.details = o ?? [], this.cause = i;
3378
3378
  }
3379
3379
  /**
@@ -3388,8 +3388,8 @@ class N extends Error {
3388
3388
  * The original value will be used for the "cause" property for the new
3389
3389
  * ConnectError.
3390
3390
  */
3391
- static from(e, n = w.Unknown) {
3392
- return e instanceof N ? e : e instanceof Error ? e.name == "AbortError" ? new N(e.message, w.Canceled) : new N(e.message, n, void 0, void 0, e) : new N(String(e), n, void 0, void 0, e);
3391
+ static from(e, n = O.Unknown) {
3392
+ return e instanceof N ? e : e instanceof Error ? e.name == "AbortError" ? new N(e.message, O.Canceled) : new N(e.message, n, void 0, void 0, e) : new N(String(e), n, void 0, void 0, e);
3393
3393
  }
3394
3394
  static [Symbol.hasInstance](e) {
3395
3395
  return e instanceof Error ? Object.getPrototypeOf(e) === N.prototype ? !0 : e.name === "ConnectError" && "code" in e && typeof e.code == "number" && "metadata" in e && "details" in e && Array.isArray(e.details) && "rawMessage" in e && typeof e.rawMessage == "string" && "cause" in e : !1;
@@ -3421,7 +3421,7 @@ function Nh(a, e, n) {
3421
3421
  const t = ot.dec(a);
3422
3422
  return e ? e.fromBinary(t, n) : t;
3423
3423
  } catch (t) {
3424
- throw N.from(t, w.DataLoss);
3424
+ throw N.from(t, O.DataLoss);
3425
3425
  }
3426
3426
  }
3427
3427
  function Ph(a, e) {
@@ -3467,7 +3467,7 @@ function ki(a) {
3467
3467
  o.close();
3468
3468
  return;
3469
3469
  }
3470
- o.error(new N("premature end of stream", w.DataLoss));
3470
+ o.error(new N("premature end of stream", O.DataLoss));
3471
3471
  return;
3472
3472
  }
3473
3473
  const r = n.subarray(5, 5 + i.length);
@@ -3516,17 +3516,17 @@ var Dh = function(a) {
3516
3516
  };
3517
3517
  }
3518
3518
  function c(h, I) {
3519
- t[h] && (o[h] = function(O) {
3519
+ t[h] && (o[h] = function(w) {
3520
3520
  return new Promise(function(P, z) {
3521
- i.push([h, O, P, z]) > 1 || l(h, O);
3521
+ i.push([h, w, P, z]) > 1 || l(h, w);
3522
3522
  });
3523
3523
  }, I && (o[h] = I(o[h])));
3524
3524
  }
3525
3525
  function l(h, I) {
3526
3526
  try {
3527
3527
  p(t[h](I));
3528
- } catch (O) {
3529
- S(i[0][3], O);
3528
+ } catch (w) {
3529
+ S(i[0][3], w);
3530
3530
  }
3531
3531
  }
3532
3532
  function p(h) {
@@ -3655,17 +3655,17 @@ var Zi = function(a) {
3655
3655
  };
3656
3656
  }
3657
3657
  function c(h, I) {
3658
- t[h] && (o[h] = function(O) {
3658
+ t[h] && (o[h] = function(w) {
3659
3659
  return new Promise(function(P, z) {
3660
- i.push([h, O, P, z]) > 1 || l(h, O);
3660
+ i.push([h, w, P, z]) > 1 || l(h, w);
3661
3661
  });
3662
3662
  }, I && (o[h] = I(o[h])));
3663
3663
  }
3664
3664
  function l(h, I) {
3665
3665
  try {
3666
3666
  p(t[h](I));
3667
- } catch (O) {
3668
- S(i[0][3], O);
3667
+ } catch (w) {
3668
+ S(i[0][3], w);
3669
3669
  }
3670
3670
  }
3671
3671
  function p(h) {
@@ -3719,21 +3719,21 @@ function Fh(a, e, n) {
3719
3719
  (p = o?.onHeader) === null || p === void 0 || p.call(o, R.header);
3720
3720
  let S, h = 0;
3721
3721
  try {
3722
- for (var I = !0, O = Zi(R.message), P; P = await O.next(), i = P.done, !i; I = !0)
3722
+ for (var I = !0, w = Zi(R.message), P; P = await w.next(), i = P.done, !i; I = !0)
3723
3723
  l = P.value, I = !1, S = l, h++;
3724
3724
  } catch (z) {
3725
3725
  r = { error: z };
3726
3726
  } finally {
3727
3727
  try {
3728
- !I && !i && (c = O.return) && await c.call(O);
3728
+ !I && !i && (c = w.return) && await c.call(w);
3729
3729
  } finally {
3730
3730
  if (r) throw r.error;
3731
3731
  }
3732
3732
  }
3733
3733
  if (!S)
3734
- throw new N("protocol error: missing response message", w.Unimplemented);
3734
+ throw new N("protocol error: missing response message", O.Unimplemented);
3735
3735
  if (h > 1)
3736
- throw new N("protocol error: received extra messages for client streaming method", w.Unimplemented);
3736
+ throw new N("protocol error: received extra messages for client streaming method", O.Unimplemented);
3737
3737
  return (T = o?.onTrailer) === null || T === void 0 || T.call(o, R.trailer), S;
3738
3738
  };
3739
3739
  }
@@ -3774,7 +3774,7 @@ function zh(...a) {
3774
3774
  }
3775
3775
  function Yh(a) {
3776
3776
  const e = new AbortController(), n = () => {
3777
- e.abort(new N("the operation timed out", w.DeadlineExceeded));
3777
+ e.abort(new N("the operation timed out", O.DeadlineExceeded));
3778
3778
  };
3779
3779
  let t;
3780
3780
  return a !== void 0 && (a <= 0 ? n() : t = setTimeout(n, a)), {
@@ -3853,7 +3853,7 @@ ka.fields = s.util.newFieldList(() => [
3853
3853
  T: 9
3854
3854
  /* ScalarType.STRING */
3855
3855
  },
3856
- { no: 3, name: "details", kind: "message", T: j, repeated: !0 }
3856
+ { no: 3, name: "details", kind: "message", T: H, repeated: !0 }
3857
3857
  ]);
3858
3858
  const Qh = "0";
3859
3859
  function tr(a) {
@@ -3874,7 +3874,7 @@ function tr(a) {
3874
3874
  if (t === Qh)
3875
3875
  return;
3876
3876
  const o = parseInt(t, 10);
3877
- return o in w ? new N(decodeURIComponent((e = a.get(ar)) !== null && e !== void 0 ? e : ""), o, a) : new N(`invalid grpc-status: ${t}`, w.Internal, a);
3877
+ return o in O ? new N(decodeURIComponent((e = a.get(ar)) !== null && e !== void 0 ? e : ""), o, a) : new N(`invalid grpc-status: ${t}`, O.Internal, a);
3878
3878
  }
3879
3879
  }
3880
3880
  function hi(a, e, n) {
@@ -3924,7 +3924,7 @@ function fi(a, e) {
3924
3924
  return a.fromBinary(n, e);
3925
3925
  } catch (t) {
3926
3926
  const o = t instanceof Error ? t.message : String(t);
3927
- throw new N(`parse binary: ${o}`, w.Internal);
3927
+ throw new N(`parse binary: ${o}`, O.Internal);
3928
3928
  }
3929
3929
  },
3930
3930
  serialize(n) {
@@ -3932,7 +3932,7 @@ function fi(a, e) {
3932
3932
  return n.toBinary(e);
3933
3933
  } catch (t) {
3934
3934
  const o = t instanceof Error ? t.message : String(t);
3935
- throw new N(`serialize binary: ${o}`, w.Internal);
3935
+ throw new N(`serialize binary: ${o}`, O.Internal);
3936
3936
  }
3937
3937
  }
3938
3938
  };
@@ -3946,7 +3946,7 @@ function Ri(a, e) {
3946
3946
  const l = i.decode(c);
3947
3947
  return a.fromJsonString(l, r);
3948
3948
  } catch (l) {
3949
- throw N.from(l, w.InvalidArgument);
3949
+ throw N.from(l, O.InvalidArgument);
3950
3950
  }
3951
3951
  },
3952
3952
  serialize(c) {
@@ -3954,7 +3954,7 @@ function Ri(a, e) {
3954
3954
  const l = c.toJsonString(r);
3955
3955
  return o.encode(l);
3956
3956
  } catch (l) {
3957
- throw N.from(l, w.Internal);
3957
+ throw N.from(l, O.Internal);
3958
3958
  }
3959
3959
  }
3960
3960
  };
@@ -3997,7 +3997,7 @@ function mr(a) {
3997
3997
  }
3998
3998
  ];
3999
3999
  }
4000
- var H = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, cr = {}, it = {}, ra = H && H.__assign || function() {
4000
+ var K = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {}, cr = {}, it = {}, ra = K && K.__assign || function() {
4001
4001
  return ra = Object.assign || function(a) {
4002
4002
  for (var e, n = 1, t = arguments.length; n < t; n++) {
4003
4003
  e = arguments[n];
@@ -4086,7 +4086,7 @@ var cf = ct, df = (
4086
4086
  }()
4087
4087
  );
4088
4088
  ya.Delay = df;
4089
- var lf = H && H.__extends || /* @__PURE__ */ function() {
4089
+ var lf = K && K.__extends || /* @__PURE__ */ function() {
4090
4090
  var a = function(e, n) {
4091
4091
  return a = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, o) {
4092
4092
  t.__proto__ = o;
@@ -4101,7 +4101,7 @@ var lf = H && H.__extends || /* @__PURE__ */ function() {
4101
4101
  }
4102
4102
  e.prototype = n === null ? Object.create(n) : (t.prototype = n.prototype, new t());
4103
4103
  };
4104
- }(), pf = H && H.__awaiter || function(a, e, n, t) {
4104
+ }(), pf = K && K.__awaiter || function(a, e, n, t) {
4105
4105
  function o(i) {
4106
4106
  return i instanceof n ? i : new n(function(r) {
4107
4107
  r(i);
@@ -4127,7 +4127,7 @@ var lf = H && H.__extends || /* @__PURE__ */ function() {
4127
4127
  }
4128
4128
  p((t = t.apply(a, e || [])).next());
4129
4129
  });
4130
- }, uf = H && H.__generator || function(a, e) {
4130
+ }, uf = K && K.__generator || function(a, e) {
4131
4131
  var n = { label: 0, sent: function() {
4132
4132
  if (i[0] & 1) throw i[1];
4133
4133
  return i[1];
@@ -4217,7 +4217,7 @@ var gf = ya, Tf = (
4217
4217
  }(gf.Delay)
4218
4218
  );
4219
4219
  mt.SkipFirstDelay = Tf;
4220
- var pt = {}, kf = H && H.__extends || /* @__PURE__ */ function() {
4220
+ var pt = {}, kf = K && K.__extends || /* @__PURE__ */ function() {
4221
4221
  var a = function(e, n) {
4222
4222
  return a = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, o) {
4223
4223
  t.__proto__ = o;
@@ -4255,7 +4255,7 @@ rt.DelayFactory = Rf;
4255
4255
  function _f(a) {
4256
4256
  return a.delayFirstAttempt ? new ff.AlwaysDelay(a) : new hf.SkipFirstDelay(a);
4257
4257
  }
4258
- var Ya = H && H.__awaiter || function(a, e, n, t) {
4258
+ var Ya = K && K.__awaiter || function(a, e, n, t) {
4259
4259
  function o(i) {
4260
4260
  return i instanceof n ? i : new n(function(r) {
4261
4261
  r(i);
@@ -4281,7 +4281,7 @@ var Ya = H && H.__awaiter || function(a, e, n, t) {
4281
4281
  }
4282
4282
  p((t = t.apply(a, e || [])).next());
4283
4283
  });
4284
- }, $a = H && H.__generator || function(a, e) {
4284
+ }, $a = K && K.__generator || function(a, e) {
4285
4285
  var n = { label: 0, sent: function() {
4286
4286
  if (i[0] & 1) throw i[1];
4287
4287
  return i[1];
@@ -4454,7 +4454,7 @@ const dr = /* @__PURE__ */ s.makeMessageType(
4454
4454
  /* ScalarType.STRING */
4455
4455
  }
4456
4456
  ]
4457
- ), wf = /* @__PURE__ */ s.makeMessageType(
4457
+ ), Of = /* @__PURE__ */ s.makeMessageType(
4458
4458
  "proto.rpc.v1.AuthenticateToRequest",
4459
4459
  () => [
4460
4460
  {
@@ -4465,7 +4465,7 @@ const dr = /* @__PURE__ */ s.makeMessageType(
4465
4465
  /* ScalarType.STRING */
4466
4466
  }
4467
4467
  ]
4468
- ), Of = /* @__PURE__ */ s.makeMessageType(
4468
+ ), wf = /* @__PURE__ */ s.makeMessageType(
4469
4469
  "proto.rpc.v1.AuthenticateToResponse",
4470
4470
  () => [
4471
4471
  {
@@ -4511,8 +4511,8 @@ const dr = /* @__PURE__ */ s.makeMessageType(
4511
4511
  */
4512
4512
  authenticateTo: {
4513
4513
  name: "AuthenticateTo",
4514
- I: wf,
4515
- O: Of,
4514
+ I: Of,
4515
+ O: wf,
4516
4516
  kind: m.Unary
4517
4517
  }
4518
4518
  }
@@ -4533,7 +4533,7 @@ const dr = /* @__PURE__ */ s.makeMessageType(
4533
4533
  T: 9
4534
4534
  /* ScalarType.STRING */
4535
4535
  },
4536
- { no: 3, name: "details", kind: "message", T: j, repeated: !0 }
4536
+ { no: 3, name: "details", kind: "message", T: H, repeated: !0 }
4537
4537
  ]
4538
4538
  ), Nn = /* @__PURE__ */ s.makeMessageType(
4539
4539
  "proto.rpc.webrtc.v1.ICECandidate",
@@ -4909,7 +4909,7 @@ function _i(a, e) {
4909
4909
  n.metadata.append(o, t);
4910
4910
  }), n;
4911
4911
  if (!e.has(cn) && !a.has(cn))
4912
- throw new N("protocol error: missing status", w.Internal);
4912
+ throw new N("protocol error: missing status", O.Internal);
4913
4913
  }
4914
4914
  function Si(a, e, n, t) {
4915
4915
  const o = new Headers(n ?? {});
@@ -4918,23 +4918,23 @@ function Si(a, e, n, t) {
4918
4918
  function Qf(a) {
4919
4919
  switch (a) {
4920
4920
  case 400:
4921
- return w.Internal;
4921
+ return O.Internal;
4922
4922
  case 401:
4923
- return w.Unauthenticated;
4923
+ return O.Unauthenticated;
4924
4924
  case 403:
4925
- return w.PermissionDenied;
4925
+ return O.PermissionDenied;
4926
4926
  case 404:
4927
- return w.Unimplemented;
4927
+ return O.Unimplemented;
4928
4928
  case 429:
4929
- return w.Unavailable;
4929
+ return O.Unavailable;
4930
4930
  case 502:
4931
- return w.Unavailable;
4931
+ return O.Unavailable;
4932
4932
  case 503:
4933
- return w.Unavailable;
4933
+ return O.Unavailable;
4934
4934
  case 504:
4935
- return w.Unavailable;
4935
+ return O.Unavailable;
4936
4936
  default:
4937
- return w.Unknown;
4937
+ return O.Unknown;
4938
4938
  }
4939
4939
  }
4940
4940
  function Ii(a, e) {
@@ -4946,8 +4946,8 @@ function Ii(a, e) {
4946
4946
  };
4947
4947
  throw new N(decodeURIComponent((n = e.get(ar)) !== null && n !== void 0 ? n : `HTTP ${a}`), Qf(a), e);
4948
4948
  }
4949
- var Ve = function(a) {
4950
- return this instanceof Ve ? (this.v = a, this) : new Ve(a);
4949
+ var We = function(a) {
4950
+ return this instanceof We ? (this.v = a, this) : new We(a);
4951
4951
  }, Zf = function(a, e, n) {
4952
4952
  if (!Symbol.asyncIterator) throw new TypeError("Symbol.asyncIterator is not defined.");
4953
4953
  var t = n.apply(a, e || []), o, i = [];
@@ -4960,21 +4960,21 @@ var Ve = function(a) {
4960
4960
  };
4961
4961
  }
4962
4962
  function c(h, I) {
4963
- t[h] && (o[h] = function(O) {
4963
+ t[h] && (o[h] = function(w) {
4964
4964
  return new Promise(function(P, z) {
4965
- i.push([h, O, P, z]) > 1 || l(h, O);
4965
+ i.push([h, w, P, z]) > 1 || l(h, w);
4966
4966
  });
4967
4967
  }, I && (o[h] = I(o[h])));
4968
4968
  }
4969
4969
  function l(h, I) {
4970
4970
  try {
4971
4971
  p(t[h](I));
4972
- } catch (O) {
4973
- S(i[0][3], O);
4972
+ } catch (w) {
4973
+ S(i[0][3], w);
4974
4974
  }
4975
4975
  }
4976
4976
  function p(h) {
4977
- h.value instanceof Ve ? Promise.resolve(h.value.v).then(T, R) : S(i[0][2], h);
4977
+ h.value instanceof We ? Promise.resolve(h.value.v).then(T, R) : S(i[0][2], h);
4978
4978
  }
4979
4979
  function T(h) {
4980
4980
  l("next", h);
@@ -5026,7 +5026,7 @@ function eR(a) {
5026
5026
  break;
5027
5027
  const { flags: b, data: M } = y.value;
5028
5028
  if ((b & Ti) === Ti)
5029
- throw new N("protocol error: received unsupported compressed output", w.Internal);
5029
+ throw new N("protocol error: received unsupported compressed output", O.Internal);
5030
5030
  if (b === Ga) {
5031
5031
  if (v !== void 0)
5032
5032
  throw "extra trailer";
@@ -5034,13 +5034,13 @@ function eR(a) {
5034
5034
  continue;
5035
5035
  }
5036
5036
  if (g !== void 0)
5037
- throw new N("extra message", w.Unimplemented);
5037
+ throw new N("extra message", O.Unimplemented);
5038
5038
  g = S(M);
5039
5039
  }
5040
5040
  if (v === void 0)
5041
- throw z !== void 0 ? z : new N("missing trailer", P.headers.has(cn) ? w.Unimplemented : w.Unknown);
5041
+ throw z !== void 0 ? z : new N("missing trailer", P.headers.has(cn) ? O.Unimplemented : O.Unknown);
5042
5042
  if (_i(v, P.headers), g === void 0)
5043
- throw new N("missing message", v.has(cn) ? w.Unimplemented : w.Unknown);
5043
+ throw new N("missing message", v.has(cn) ? O.Unimplemented : O.Unknown);
5044
5044
  return {
5045
5045
  stream: !1,
5046
5046
  service: t,
@@ -5055,40 +5055,40 @@ function eR(a) {
5055
5055
  async stream(t, o, i, r, c, l, p) {
5056
5056
  var T;
5057
5057
  const { serialize: R, parse: S } = za(o, n, a.jsonOptions, a.binaryOptions);
5058
- function h(O, P, z, k, v) {
5058
+ function h(w, P, z, k, v) {
5059
5059
  return Zf(this, arguments, function* () {
5060
- const y = ki(O).getReader();
5060
+ const y = ki(w).getReader();
5061
5061
  if (P) {
5062
- if (!(yield Ve(y.read())).done)
5062
+ if (!(yield We(y.read())).done)
5063
5063
  throw "extra data for trailers-only";
5064
- return yield Ve(void 0);
5064
+ return yield We(void 0);
5065
5065
  }
5066
5066
  let b = !1;
5067
5067
  for (; ; ) {
5068
- const M = yield Ve(y.read());
5068
+ const M = yield We(y.read());
5069
5069
  if (M.done)
5070
5070
  break;
5071
- const { flags: Z, data: D } = M.value;
5071
+ const { flags: Z, data: A } = M.value;
5072
5072
  if ((Z & Ga) === Ga) {
5073
5073
  if (b)
5074
5074
  throw "extra trailer";
5075
5075
  b = !0;
5076
- const Y = vi(D);
5076
+ const Y = vi(A);
5077
5077
  _i(Y, k), Y.forEach((Da, Aa) => z.set(Aa, Da));
5078
5078
  continue;
5079
5079
  }
5080
5080
  if (b)
5081
5081
  throw "extra message";
5082
- yield yield Ve(S(D));
5082
+ yield yield We(S(A));
5083
5083
  }
5084
5084
  if ("throwIfAborted" in v && v.throwIfAborted(), !b)
5085
5085
  throw "missing trailer";
5086
5086
  });
5087
5087
  }
5088
- async function I(O) {
5088
+ async function I(w) {
5089
5089
  if (o.kind != m.ServerStreaming)
5090
5090
  throw "The fetch API does not support streaming request bodies";
5091
- const P = await O[Symbol.asyncIterator]().next();
5091
+ const P = await w[Symbol.asyncIterator]().next();
5092
5092
  if (P.done == !0)
5093
5093
  throw "missing request message";
5094
5094
  return yi(0, R(P.value));
@@ -5112,15 +5112,15 @@ function eR(a) {
5112
5112
  contextValues: p ?? ia(),
5113
5113
  message: l
5114
5114
  },
5115
- next: async (O) => {
5115
+ next: async (w) => {
5116
5116
  var P;
5117
- const k = await ((P = a.fetch) !== null && P !== void 0 ? P : globalThis.fetch)(O.url, Object.assign(Object.assign({}, O.init), { headers: O.header, signal: O.signal, body: await I(O.message) })), { foundStatus: v, headerError: g } = Ii(k.status, k.headers);
5117
+ const k = await ((P = a.fetch) !== null && P !== void 0 ? P : globalThis.fetch)(w.url, Object.assign(Object.assign({}, w.init), { headers: w.header, signal: w.signal, body: await I(w.message) })), { foundStatus: v, headerError: g } = Ii(k.status, k.headers);
5118
5118
  if (g != null)
5119
5119
  throw g;
5120
5120
  if (!k.body)
5121
5121
  throw "missing response body";
5122
5122
  const y = new Headers();
5123
- return Object.assign(Object.assign({}, O), { header: k.headers, trailer: y, message: h(k.body, v, y, k.headers, O.signal) });
5123
+ return Object.assign(Object.assign({}, w), { header: k.headers, trailer: y, message: h(k.body, v, y, k.headers, w.signal) });
5124
5124
  }
5125
5125
  });
5126
5126
  }
@@ -5174,7 +5174,7 @@ const ca = /* @__PURE__ */ s.makeMessageType(
5174
5174
  /* ScalarType.STRING */
5175
5175
  },
5176
5176
  { no: 2, name: "metadata", kind: "message", T: va },
5177
- { no: 3, name: "timeout", kind: "message", T: F }
5177
+ { no: 3, name: "timeout", kind: "message", T: J }
5178
5178
  ]
5179
5179
  ), Ka = /* @__PURE__ */ s.makeMessageType(
5180
5180
  "proto.rpc.webrtc.v1.RequestMessage",
@@ -5332,7 +5332,7 @@ class yr extends iR {
5332
5332
  this.requestHeaders = new Tr({
5333
5333
  method: l
5334
5334
  });
5335
- const p = mR(wn(r));
5335
+ const p = mR(On(r));
5336
5336
  p && (this.requestHeaders.metadata = p);
5337
5337
  }
5338
5338
  startRequest(e) {
@@ -5826,7 +5826,7 @@ class uR {
5826
5826
  }
5827
5827
  handleInitError(e) {
5828
5828
  if (!(this.exchangeDone || this.pc.iceConnectionState === "connected")) {
5829
- if (e instanceof N && e.code === w.Unimplemented) {
5829
+ if (e instanceof N && e.code === O.Unimplemented) {
5830
5830
  if (e.message === "Response closed without headers")
5831
5831
  throw new Ae("failed to dial");
5832
5832
  if (this.clientChannel.isClosed())
@@ -5903,7 +5903,7 @@ class uR {
5903
5903
  update: {
5904
5904
  case: "error",
5905
5905
  value: new dn({
5906
- code: w.Unknown,
5906
+ code: O.Unknown,
5907
5907
  message: e
5908
5908
  })
5909
5909
  }
@@ -5996,7 +5996,7 @@ class vr {
5996
5996
  this.extraHeaders = t, this.transport = n(e);
5997
5997
  }
5998
5998
  async unary(e, n, t, o, i, r, c) {
5999
- const l = wn(i);
5999
+ const l = On(i);
6000
6000
  for (const [p, T] of this.extraHeaders)
6001
6001
  l.set(p, T);
6002
6002
  return this.transport.unary(
@@ -6010,7 +6010,7 @@ class vr {
6010
6010
  );
6011
6011
  }
6012
6012
  async stream(e, n, t, o, i, r, c) {
6013
- const l = wn(i);
6013
+ const l = On(i);
6014
6014
  for (const [p, T] of this.extraHeaders)
6015
6015
  l.set(p, T);
6016
6016
  return this.transport.stream(
@@ -6024,7 +6024,7 @@ class vr {
6024
6024
  );
6025
6025
  }
6026
6026
  }
6027
- const wn = (a) => {
6027
+ const On = (a) => {
6028
6028
  const e = new Headers();
6029
6029
  if (a !== void 0)
6030
6030
  if (Array.isArray(a))
@@ -6046,7 +6046,7 @@ const wn = (a) => {
6046
6046
  try {
6047
6047
  return (await i.optionalWebRTCConfig({}, e)).config ?? new ma();
6048
6048
  } catch (r) {
6049
- if (r instanceof N && r.code === w.Unimplemented)
6049
+ if (r instanceof N && r.code === O.Unimplemented)
6050
6050
  return new ma();
6051
6051
  throw r;
6052
6052
  }
@@ -6160,7 +6160,7 @@ const wn = (a) => {
6160
6160
  { no: 1, name: "KINEMATICS_FILE_FORMAT_SVA", localName: "SVA" },
6161
6161
  { no: 2, name: "KINEMATICS_FILE_FORMAT_URDF", localName: "URDF" }
6162
6162
  ]
6163
- ), x = /* @__PURE__ */ s.makeMessageType(
6163
+ ), F = /* @__PURE__ */ s.makeMessageType(
6164
6164
  "viam.common.v1.ResourceName",
6165
6165
  () => [
6166
6166
  {
@@ -6285,7 +6285,7 @@ const wn = (a) => {
6285
6285
  /* ScalarType.DOUBLE */
6286
6286
  }
6287
6287
  ]
6288
- ), Ke = /* @__PURE__ */ s.makeMessageType(
6288
+ ), ze = /* @__PURE__ */ s.makeMessageType(
6289
6289
  "viam.common.v1.PoseInFrame",
6290
6290
  () => [
6291
6291
  {
@@ -6414,7 +6414,7 @@ const wn = (a) => {
6414
6414
  },
6415
6415
  { no: 2, name: "geometries", kind: "message", T: gt }
6416
6416
  ]
6417
- ), ze = /* @__PURE__ */ s.makeMessageType(
6417
+ ), Ye = /* @__PURE__ */ s.makeMessageType(
6418
6418
  "viam.common.v1.GeoPoint",
6419
6419
  () => [
6420
6420
  {
@@ -6435,7 +6435,7 @@ const wn = (a) => {
6435
6435
  ), da = /* @__PURE__ */ s.makeMessageType(
6436
6436
  "viam.common.v1.GeoGeometry",
6437
6437
  () => [
6438
- { no: 1, name: "location", kind: "message", T: ze },
6438
+ { no: 1, name: "location", kind: "message", T: Ye },
6439
6439
  { no: 2, name: "geometries", kind: "message", T: Xe, repeated: !0 }
6440
6440
  ]
6441
6441
  ), Qe = /* @__PURE__ */ s.makeMessageType(
@@ -6448,7 +6448,7 @@ const wn = (a) => {
6448
6448
  T: 9
6449
6449
  /* ScalarType.STRING */
6450
6450
  },
6451
- { no: 2, name: "pose_in_observer_frame", kind: "message", T: Ke },
6451
+ { no: 2, name: "pose_in_observer_frame", kind: "message", T: ze },
6452
6452
  { no: 3, name: "physical_object", kind: "message", T: Xe, opt: !0 }
6453
6453
  ]
6454
6454
  ), br = /* @__PURE__ */ s.makeMessageType(
@@ -6473,7 +6473,7 @@ const wn = (a) => {
6473
6473
  () => [
6474
6474
  { no: 1, name: "captured_at", kind: "message", T: _, opt: !0 }
6475
6475
  ]
6476
- ), q = /* @__PURE__ */ s.makeMessageType(
6476
+ ), D = /* @__PURE__ */ s.makeMessageType(
6477
6477
  "viam.common.v1.DoCommandRequest",
6478
6478
  () => [
6479
6479
  {
@@ -6514,7 +6514,7 @@ const wn = (a) => {
6514
6514
  /* ScalarType.BYTES */
6515
6515
  }
6516
6516
  ]
6517
- ), J = /* @__PURE__ */ s.makeMessageType(
6517
+ ), B = /* @__PURE__ */ s.makeMessageType(
6518
6518
  "viam.common.v1.GetGeometriesRequest",
6519
6519
  () => [
6520
6520
  {
@@ -6526,7 +6526,7 @@ const wn = (a) => {
6526
6526
  },
6527
6527
  { no: 99, name: "extra", kind: "message", T: d }
6528
6528
  ]
6529
- ), K = /* @__PURE__ */ s.makeMessageType(
6529
+ ), j = /* @__PURE__ */ s.makeMessageType(
6530
6530
  "viam.common.v1.GetGeometriesResponse",
6531
6531
  () => [
6532
6532
  { no: 1, name: "geometries", kind: "message", T: Xe, repeated: !0 }
@@ -6590,22 +6590,22 @@ const wn = (a) => {
6590
6590
  },
6591
6591
  { no: 8, name: "fields", kind: "message", T: d, repeated: !0 }
6592
6592
  ]
6593
- ), wr = s.makeExtension(
6593
+ ), Or = s.makeExtension(
6594
6594
  "viam.common.v1.safety_heartbeat_monitored",
6595
6595
  me,
6596
6596
  { no: 84260, kind: "scalar", T: 8, opt: !0 }
6597
- ), Or = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6597
+ ), wr = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
6598
6598
  __proto__: null,
6599
6599
  ActuatorStatus: _R,
6600
6600
  Capsule: Sr,
6601
- DoCommandRequest: q,
6601
+ DoCommandRequest: D,
6602
6602
  DoCommandResponse: U,
6603
6603
  GeoGeometry: da,
6604
- GeoPoint: ze,
6604
+ GeoPoint: Ye,
6605
6605
  GeometriesInFrame: gt,
6606
6606
  Geometry: Xe,
6607
- GetGeometriesRequest: J,
6608
- GetGeometriesResponse: K,
6607
+ GetGeometriesRequest: B,
6608
+ GetGeometriesResponse: j,
6609
6609
  GetKinematicsRequest: kt,
6610
6610
  GetKinematicsResponse: yt,
6611
6611
  GetReadingsRequest: Ze,
@@ -6616,26 +6616,26 @@ const wn = (a) => {
6616
6616
  Orientation: Rr,
6617
6617
  PointCloudObject: Tt,
6618
6618
  Pose: Ue,
6619
- PoseInFrame: Ke,
6619
+ PoseInFrame: ze,
6620
6620
  RectangularPrism: Ir,
6621
- ResourceName: x,
6621
+ ResourceName: F,
6622
6622
  ResponseMetadata: Er,
6623
6623
  Sphere: _r,
6624
6624
  Transform: Qe,
6625
6625
  Vector3: qe,
6626
6626
  WorldState: br,
6627
- safety_heartbeat_monitored: wr
6627
+ safety_heartbeat_monitored: Or
6628
6628
  }, Symbol.toStringTag, { value: "Module" })), Za = new Headers({
6629
- "viam-client": `typescript;v0.48.0;${RR}`
6629
+ "viam-client": `typescript;v0.49.0;${RR}`
6630
6630
  }), L = async function(e, n, t, o = {}, i = {}) {
6631
- const r = new q({
6631
+ const r = new D({
6632
6632
  name: n,
6633
6633
  command: t
6634
6634
  });
6635
6635
  o.requestLogger?.(r);
6636
6636
  const l = (await e(r, i)).result?.toJson();
6637
6637
  return l === void 0 ? {} : l;
6638
- }, U_ = (a, e) => {
6638
+ }, B_ = (a, e) => {
6639
6639
  const n = e ?? { headers: {} };
6640
6640
  let t = "";
6641
6641
  if (a === void 0) {
@@ -6645,15 +6645,15 @@ const wn = (a) => {
6645
6645
  } else
6646
6646
  t = a;
6647
6647
  return n.headers.dtname = t, n;
6648
- }, L_ = (a) => {
6648
+ }, x_ = (a) => {
6649
6649
  if (a.headers) {
6650
6650
  const { _: e, ...n } = a.headers;
6651
6651
  a.headers = n;
6652
6652
  }
6653
- }, G_ = (a, e, n) => {
6653
+ }, F_ = (a, e, n) => {
6654
6654
  const t = n ?? { headers: {} };
6655
6655
  return t.headers[a] = e, t;
6656
- }, B_ = (a, e) => {
6656
+ }, J_ = (a, e) => {
6657
6657
  const { [e]: n, ...t } = a.headers;
6658
6658
  a.headers = t;
6659
6659
  }, Dn = (a) => a !== void 0 && "authEntity" in a, SR = async (a, e) => e.type === "access-token" ? En(a, {
@@ -6941,7 +6941,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
6941
6941
  */
6942
6942
  doCommand: {
6943
6943
  name: "DoCommand",
6944
- I: q,
6944
+ I: D,
6945
6945
  O: U,
6946
6946
  kind: m.Unary
6947
6947
  },
@@ -6963,8 +6963,8 @@ const ht = /* @__PURE__ */ s.makeMessageType(
6963
6963
  */
6964
6964
  getGeometries: {
6965
6965
  name: "GetGeometries",
6966
- I: J,
6967
- O: K,
6966
+ I: B,
6967
+ O: j,
6968
6968
  kind: m.Unary
6969
6969
  }
6970
6970
  }
@@ -7041,7 +7041,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
7041
7041
  ), zr = /* @__PURE__ */ s.makeMessageType(
7042
7042
  "viam.component.base.v1.StopResponse",
7043
7043
  []
7044
- ), wt = /* @__PURE__ */ s.makeMessageType(
7044
+ ), Ot = /* @__PURE__ */ s.makeMessageType(
7045
7045
  "viam.component.base.v1.SetPowerRequest",
7046
7046
  () => [
7047
7047
  {
@@ -7058,7 +7058,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
7058
7058
  ), Yr = /* @__PURE__ */ s.makeMessageType(
7059
7059
  "viam.component.base.v1.SetPowerResponse",
7060
7060
  []
7061
- ), Ot = /* @__PURE__ */ s.makeMessageType(
7061
+ ), wt = /* @__PURE__ */ s.makeMessageType(
7062
7062
  "viam.component.base.v1.SetVelocityRequest",
7063
7063
  () => [
7064
7064
  {
@@ -7142,9 +7142,9 @@ const ht = /* @__PURE__ */ s.makeMessageType(
7142
7142
  IsMovingResponse: Vr,
7143
7143
  MoveStraightRequest: Mt,
7144
7144
  MoveStraightResponse: Fr,
7145
- SetPowerRequest: wt,
7145
+ SetPowerRequest: Ot,
7146
7146
  SetPowerResponse: Yr,
7147
- SetVelocityRequest: Ot,
7147
+ SetVelocityRequest: wt,
7148
7148
  SetVelocityResponse: $r,
7149
7149
  SpinRequest: bt,
7150
7150
  SpinResponse: Jr,
@@ -7187,7 +7187,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
7187
7187
  */
7188
7188
  setPower: {
7189
7189
  name: "SetPower",
7190
- I: wt,
7190
+ I: Ot,
7191
7191
  O: Yr,
7192
7192
  kind: m.Unary
7193
7193
  },
@@ -7198,7 +7198,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
7198
7198
  */
7199
7199
  setVelocity: {
7200
7200
  name: "SetVelocity",
7201
- I: Ot,
7201
+ I: wt,
7202
7202
  O: $r,
7203
7203
  kind: m.Unary
7204
7204
  },
@@ -7231,7 +7231,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
7231
7231
  */
7232
7232
  doCommand: {
7233
7233
  name: "DoCommand",
7234
- I: q,
7234
+ I: D,
7235
7235
  O: U,
7236
7236
  kind: m.Unary
7237
7237
  },
@@ -7242,8 +7242,8 @@ const ht = /* @__PURE__ */ s.makeMessageType(
7242
7242
  */
7243
7243
  getGeometries: {
7244
7244
  name: "GetGeometries",
7245
- I: J,
7246
- O: K,
7245
+ I: B,
7246
+ O: j,
7247
7247
  kind: m.Unary
7248
7248
  },
7249
7249
  /**
@@ -7615,13 +7615,13 @@ const ht = /* @__PURE__ */ s.makeMessageType(
7615
7615
  /* ScalarType.STRING */
7616
7616
  },
7617
7617
  { no: 2, name: "power_mode", kind: "enum", T: s.getEnumType(Hr) },
7618
- { no: 3, name: "duration", kind: "message", T: F, opt: !0 },
7618
+ { no: 3, name: "duration", kind: "message", T: J, opt: !0 },
7619
7619
  { no: 99, name: "extra", kind: "message", T: d }
7620
7620
  ]
7621
7621
  ), im = /* @__PURE__ */ s.makeMessageType(
7622
7622
  "viam.component.board.v1.SetPowerModeResponse",
7623
7623
  []
7624
- ), wR = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7624
+ ), OR = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7625
7625
  __proto__: null,
7626
7626
  GetDigitalInterruptValueRequest: Bt,
7627
7627
  GetDigitalInterruptValueResponse: sm,
@@ -7721,7 +7721,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
7721
7721
  */
7722
7722
  doCommand: {
7723
7723
  name: "DoCommand",
7724
- I: q,
7724
+ I: D,
7725
7725
  O: U,
7726
7726
  kind: m.Unary
7727
7727
  },
@@ -7787,8 +7787,8 @@ const ht = /* @__PURE__ */ s.makeMessageType(
7787
7787
  */
7788
7788
  getGeometries: {
7789
7789
  name: "GetGeometries",
7790
- I: J,
7791
- O: K,
7790
+ I: B,
7791
+ O: j,
7792
7792
  kind: m.Unary
7793
7793
  }
7794
7794
  }
@@ -7869,7 +7869,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
7869
7869
  /* ScalarType.BOOL */
7870
7870
  }
7871
7871
  ]
7872
- ), OR = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7872
+ ), wR = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
7873
7873
  __proto__: null,
7874
7874
  GetPositionRequest: zt,
7875
7875
  GetPositionResponse: mm,
@@ -7919,7 +7919,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
7919
7919
  */
7920
7920
  doCommand: {
7921
7921
  name: "DoCommand",
7922
- I: q,
7922
+ I: D,
7923
7923
  O: U,
7924
7924
  kind: m.Unary
7925
7925
  },
@@ -7930,8 +7930,8 @@ const ht = /* @__PURE__ */ s.makeMessageType(
7930
7930
  */
7931
7931
  getGeometries: {
7932
7932
  name: "GetGeometries",
7933
- I: J,
7934
- O: K,
7933
+ I: B,
7934
+ O: j,
7935
7935
  kind: m.Unary
7936
7936
  }
7937
7937
  }
@@ -8059,7 +8059,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
8059
8059
  /* ScalarType.BOOL */
8060
8060
  }
8061
8061
  ]
8062
- ), x_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8062
+ ), z_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8063
8063
  __proto__: null,
8064
8064
  GetLengthsRequest: Ht,
8065
8065
  GetLengthsResponse: Tm,
@@ -8150,7 +8150,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
8150
8150
  */
8151
8151
  doCommand: {
8152
8152
  name: "DoCommand",
8153
- I: q,
8153
+ I: D,
8154
8154
  O: U,
8155
8155
  kind: m.Unary
8156
8156
  },
@@ -8161,8 +8161,8 @@ const ht = /* @__PURE__ */ s.makeMessageType(
8161
8161
  */
8162
8162
  getGeometries: {
8163
8163
  name: "GetGeometries",
8164
- I: J,
8165
- O: K,
8164
+ I: B,
8165
+ O: j,
8166
8166
  kind: m.Unary
8167
8167
  }
8168
8168
  }
@@ -8176,7 +8176,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
8176
8176
  */
8177
8177
  doCommand: {
8178
8178
  name: "DoCommand",
8179
- I: q,
8179
+ I: D,
8180
8180
  O: U,
8181
8181
  kind: m.Unary
8182
8182
  },
@@ -8187,12 +8187,12 @@ const ht = /* @__PURE__ */ s.makeMessageType(
8187
8187
  */
8188
8188
  getGeometries: {
8189
8189
  name: "GetGeometries",
8190
- I: J,
8191
- O: K,
8190
+ I: B,
8191
+ O: j,
8192
8192
  kind: m.Unary
8193
8193
  }
8194
8194
  }
8195
- }, F_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8195
+ }, Y_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8196
8196
  __proto__: null,
8197
8197
  GenericService: Qt
8198
8198
  }, Symbol.toStringTag, { value: "Module" })), Zt = /* @__PURE__ */ s.makeMessageType(
@@ -8295,7 +8295,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
8295
8295
  },
8296
8296
  { no: 99, name: "meta", kind: "message", T: d }
8297
8297
  ]
8298
- ), J_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8298
+ ), $_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8299
8299
  __proto__: null,
8300
8300
  GrabRequest: es,
8301
8301
  GrabResponse: fm,
@@ -8372,7 +8372,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
8372
8372
  */
8373
8373
  doCommand: {
8374
8374
  name: "DoCommand",
8375
- I: q,
8375
+ I: D,
8376
8376
  O: U,
8377
8377
  kind: m.Unary
8378
8378
  },
@@ -8383,8 +8383,8 @@ const ht = /* @__PURE__ */ s.makeMessageType(
8383
8383
  */
8384
8384
  getGeometries: {
8385
8385
  name: "GetGeometries",
8386
- I: J,
8387
- O: K,
8386
+ I: B,
8387
+ O: j,
8388
8388
  kind: m.Unary
8389
8389
  },
8390
8390
  /**
@@ -8428,7 +8428,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
8428
8428
  },
8429
8429
  { no: 99, name: "extra", kind: "message", T: d }
8430
8430
  ]
8431
- ), wm = /* @__PURE__ */ s.makeMessageType(
8431
+ ), Om = /* @__PURE__ */ s.makeMessageType(
8432
8432
  "viam.component.inputcontroller.v1.GetEventsResponse",
8433
8433
  () => [
8434
8434
  { no: 1, name: "events", kind: "message", T: An, repeated: !0 }
@@ -8446,7 +8446,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
8446
8446
  { no: 2, name: "event", kind: "message", T: An },
8447
8447
  { no: 99, name: "extra", kind: "message", T: d }
8448
8448
  ]
8449
- ), Om = /* @__PURE__ */ s.makeMessageType(
8449
+ ), wm = /* @__PURE__ */ s.makeMessageType(
8450
8450
  "viam.component.inputcontroller.v1.TriggerEventResponse",
8451
8451
  []
8452
8452
  ), An = /* @__PURE__ */ s.makeMessageType(
@@ -8518,13 +8518,13 @@ const ht = /* @__PURE__ */ s.makeMessageType(
8518
8518
  GetControlsRequest: bm,
8519
8519
  GetControlsResponse: Em,
8520
8520
  GetEventsRequest: ts,
8521
- GetEventsResponse: wm,
8521
+ GetEventsResponse: Om,
8522
8522
  Status: NR,
8523
8523
  StreamEventsRequest: Cm,
8524
8524
  StreamEventsRequest_Events: Nm,
8525
8525
  StreamEventsResponse: Pm,
8526
8526
  TriggerEventRequest: ss,
8527
- TriggerEventResponse: Om
8527
+ TriggerEventResponse: wm
8528
8528
  }, Symbol.toStringTag, { value: "Module" })), Dm = {
8529
8529
  typeName: "viam.component.inputcontroller.v1.InputControllerService",
8530
8530
  methods: {
@@ -8547,7 +8547,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
8547
8547
  getEvents: {
8548
8548
  name: "GetEvents",
8549
8549
  I: ts,
8550
- O: wm,
8550
+ O: Om,
8551
8551
  kind: m.Unary
8552
8552
  },
8553
8553
  /**
@@ -8570,7 +8570,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
8570
8570
  triggerEvent: {
8571
8571
  name: "TriggerEvent",
8572
8572
  I: ss,
8573
- O: Om,
8573
+ O: wm,
8574
8574
  kind: m.Unary
8575
8575
  },
8576
8576
  /**
@@ -8580,7 +8580,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
8580
8580
  */
8581
8581
  doCommand: {
8582
8582
  name: "DoCommand",
8583
- I: q,
8583
+ I: D,
8584
8584
  O: U,
8585
8585
  kind: m.Unary
8586
8586
  },
@@ -8591,8 +8591,8 @@ const ht = /* @__PURE__ */ s.makeMessageType(
8591
8591
  */
8592
8592
  getGeometries: {
8593
8593
  name: "GetGeometries",
8594
- I: J,
8595
- O: K,
8594
+ I: B,
8595
+ O: j,
8596
8596
  kind: m.Unary
8597
8597
  }
8598
8598
  }
@@ -8858,7 +8858,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
8858
8858
  /* ScalarType.BOOL */
8859
8859
  }
8860
8860
  ]
8861
- ), z_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8861
+ ), V_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
8862
8862
  __proto__: null,
8863
8863
  GetPositionRequest: ds,
8864
8864
  GetPositionResponse: Bm,
@@ -9011,7 +9011,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
9011
9011
  */
9012
9012
  doCommand: {
9013
9013
  name: "DoCommand",
9014
- I: q,
9014
+ I: D,
9015
9015
  O: U,
9016
9016
  kind: m.Unary
9017
9017
  },
@@ -9022,8 +9022,8 @@ const ht = /* @__PURE__ */ s.makeMessageType(
9022
9022
  */
9023
9023
  getGeometries: {
9024
9024
  name: "GetGeometries",
9025
- I: J,
9026
- O: K,
9025
+ I: B,
9026
+ O: j,
9027
9027
  kind: m.Unary
9028
9028
  }
9029
9029
  }
@@ -9116,7 +9116,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
9116
9116
  ), Hm = /* @__PURE__ */ s.makeMessageType(
9117
9117
  "viam.component.movementsensor.v1.GetPositionResponse",
9118
9118
  () => [
9119
- { no: 1, name: "coordinate", kind: "message", T: ze },
9119
+ { no: 1, name: "coordinate", kind: "message", T: Ye },
9120
9120
  {
9121
9121
  no: 2,
9122
9122
  name: "altitude_m",
@@ -9323,7 +9323,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
9323
9323
  */
9324
9324
  doCommand: {
9325
9325
  name: "DoCommand",
9326
- I: q,
9326
+ I: D,
9327
9327
  O: U,
9328
9328
  kind: m.Unary
9329
9329
  },
@@ -9334,8 +9334,8 @@ const ht = /* @__PURE__ */ s.makeMessageType(
9334
9334
  */
9335
9335
  getGeometries: {
9336
9336
  name: "GetGeometries",
9337
- I: J,
9338
- O: K,
9337
+ I: B,
9338
+ O: j,
9339
9339
  kind: m.Unary
9340
9340
  },
9341
9341
  /**
@@ -9433,7 +9433,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
9433
9433
  /* ScalarType.DOUBLE */
9434
9434
  }
9435
9435
  ]
9436
- ), Y_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9436
+ ), W_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9437
9437
  __proto__: null,
9438
9438
  GetCurrentRequest: Is,
9439
9439
  GetCurrentResponse: nc,
@@ -9495,7 +9495,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
9495
9495
  */
9496
9496
  doCommand: {
9497
9497
  name: "DoCommand",
9498
- I: q,
9498
+ I: D,
9499
9499
  O: U,
9500
9500
  kind: m.Unary
9501
9501
  }
@@ -9545,7 +9545,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
9545
9545
  /* ScalarType.UINT32 */
9546
9546
  }
9547
9547
  ]
9548
- ), ws = /* @__PURE__ */ s.makeMessageType(
9548
+ ), Os = /* @__PURE__ */ s.makeMessageType(
9549
9549
  "viam.component.servo.v1.StopRequest",
9550
9550
  () => [
9551
9551
  {
@@ -9578,7 +9578,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
9578
9578
  /* ScalarType.BOOL */
9579
9579
  }
9580
9580
  ]
9581
- ), Os = /* @__PURE__ */ s.makeMessageType(
9581
+ ), ws = /* @__PURE__ */ s.makeMessageType(
9582
9582
  "viam.component.servo.v1.IsMovingRequest",
9583
9583
  () => [
9584
9584
  {
@@ -9600,16 +9600,16 @@ const ht = /* @__PURE__ */ s.makeMessageType(
9600
9600
  /* ScalarType.BOOL */
9601
9601
  }
9602
9602
  ]
9603
- ), $_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9603
+ ), j_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
9604
9604
  __proto__: null,
9605
9605
  GetPositionRequest: Es,
9606
9606
  GetPositionResponse: oc,
9607
- IsMovingRequest: Os,
9607
+ IsMovingRequest: ws,
9608
9608
  IsMovingResponse: rc,
9609
9609
  MoveRequest: bs,
9610
9610
  MoveResponse: sc,
9611
9611
  Status: qR,
9612
- StopRequest: ws,
9612
+ StopRequest: Os,
9613
9613
  StopResponse: ic
9614
9614
  }, Symbol.toStringTag, { value: "Module" })), mc = {
9615
9615
  typeName: "viam.component.servo.v1.ServoService",
@@ -9644,7 +9644,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
9644
9644
  */
9645
9645
  stop: {
9646
9646
  name: "Stop",
9647
- I: ws,
9647
+ I: Os,
9648
9648
  O: ic,
9649
9649
  kind: m.Unary
9650
9650
  },
@@ -9655,7 +9655,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
9655
9655
  */
9656
9656
  isMoving: {
9657
9657
  name: "IsMoving",
9658
- I: Os,
9658
+ I: ws,
9659
9659
  O: rc,
9660
9660
  kind: m.Unary
9661
9661
  },
@@ -9666,7 +9666,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
9666
9666
  */
9667
9667
  doCommand: {
9668
9668
  name: "DoCommand",
9669
- I: q,
9669
+ I: D,
9670
9670
  O: U,
9671
9671
  kind: m.Unary
9672
9672
  },
@@ -9677,8 +9677,8 @@ const ht = /* @__PURE__ */ s.makeMessageType(
9677
9677
  */
9678
9678
  getGeometries: {
9679
9679
  name: "GetGeometries",
9680
- I: J,
9681
- O: K,
9680
+ I: B,
9681
+ O: j,
9682
9682
  kind: m.Unary
9683
9683
  }
9684
9684
  }
@@ -9736,7 +9736,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
9736
9736
  T: 13
9737
9737
  /* ScalarType.UINT32 */
9738
9738
  },
9739
- { no: 2, name: "connection_timeout", kind: "message", T: F }
9739
+ { no: 2, name: "connection_timeout", kind: "message", T: J }
9740
9740
  ]
9741
9741
  ), Tc = /* @__PURE__ */ s.makeMessageType(
9742
9742
  "viam.robot.v1.FrameSystemConfig",
@@ -9757,7 +9757,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
9757
9757
  ), Cs = /* @__PURE__ */ s.makeMessageType(
9758
9758
  "viam.robot.v1.TransformPoseRequest",
9759
9759
  () => [
9760
- { no: 1, name: "source", kind: "message", T: Ke },
9760
+ { no: 1, name: "source", kind: "message", T: ze },
9761
9761
  {
9762
9762
  no: 2,
9763
9763
  name: "destination",
@@ -9770,7 +9770,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
9770
9770
  ), vc = /* @__PURE__ */ s.makeMessageType(
9771
9771
  "viam.robot.v1.TransformPoseResponse",
9772
9772
  () => [
9773
- { no: 1, name: "pose", kind: "message", T: Ke }
9773
+ { no: 1, name: "pose", kind: "message", T: ze }
9774
9774
  ]
9775
9775
  ), Ns = /* @__PURE__ */ s.makeMessageType(
9776
9776
  "viam.robot.v1.TransformPCDRequest",
@@ -9814,12 +9814,12 @@ const ht = /* @__PURE__ */ s.makeMessageType(
9814
9814
  ), Rc = /* @__PURE__ */ s.makeMessageType(
9815
9815
  "viam.robot.v1.ResourceNamesResponse",
9816
9816
  () => [
9817
- { no: 1, name: "resources", kind: "message", T: x, repeated: !0 }
9817
+ { no: 1, name: "resources", kind: "message", T: F, repeated: !0 }
9818
9818
  ]
9819
9819
  ), _c = /* @__PURE__ */ s.makeMessageType(
9820
9820
  "viam.robot.v1.ResourceRPCSubtype",
9821
9821
  () => [
9822
- { no: 1, name: "subtype", kind: "message", T: x },
9822
+ { no: 1, name: "subtype", kind: "message", T: F },
9823
9823
  {
9824
9824
  no: 2,
9825
9825
  name: "proto_service",
@@ -9865,7 +9865,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
9865
9865
  () => [
9866
9866
  { no: 1, name: "operations", kind: "message", T: Mc, repeated: !0 }
9867
9867
  ]
9868
- ), wc = /* @__PURE__ */ s.makeMessageType(
9868
+ ), Oc = /* @__PURE__ */ s.makeMessageType(
9869
9869
  "viam.robot.v1.CancelOperationRequest",
9870
9870
  () => [
9871
9871
  {
@@ -9876,7 +9876,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
9876
9876
  /* ScalarType.STRING */
9877
9877
  }
9878
9878
  ]
9879
- ), Oc = /* @__PURE__ */ s.makeMessageType(
9879
+ ), wc = /* @__PURE__ */ s.makeMessageType(
9880
9880
  "viam.robot.v1.CancelOperationResponse",
9881
9881
  []
9882
9882
  ), Cc = /* @__PURE__ */ s.makeMessageType(
@@ -9963,14 +9963,14 @@ const ht = /* @__PURE__ */ s.makeMessageType(
9963
9963
  ), Ds = /* @__PURE__ */ s.makeMessageType(
9964
9964
  "viam.robot.v1.Status",
9965
9965
  () => [
9966
- { no: 1, name: "name", kind: "message", T: x },
9966
+ { no: 1, name: "name", kind: "message", T: F },
9967
9967
  { no: 2, name: "status", kind: "message", T: d },
9968
9968
  { no: 3, name: "last_reconfigured", kind: "message", T: _ }
9969
9969
  ]
9970
9970
  ), Gc = /* @__PURE__ */ s.makeMessageType(
9971
9971
  "viam.robot.v1.GetStatusRequest",
9972
9972
  () => [
9973
- { no: 1, name: "resource_names", kind: "message", T: x, repeated: !0 }
9973
+ { no: 1, name: "resource_names", kind: "message", T: F, repeated: !0 }
9974
9974
  ]
9975
9975
  ), Bc = /* @__PURE__ */ s.makeMessageType(
9976
9976
  "viam.robot.v1.GetStatusResponse",
@@ -9980,8 +9980,8 @@ const ht = /* @__PURE__ */ s.makeMessageType(
9980
9980
  ), xc = /* @__PURE__ */ s.makeMessageType(
9981
9981
  "viam.robot.v1.StreamStatusRequest",
9982
9982
  () => [
9983
- { no: 1, name: "resource_names", kind: "message", T: x, repeated: !0 },
9984
- { no: 2, name: "every", kind: "message", T: F }
9983
+ { no: 1, name: "resource_names", kind: "message", T: F, repeated: !0 },
9984
+ { no: 2, name: "every", kind: "message", T: J }
9985
9985
  ]
9986
9986
  ), Fc = /* @__PURE__ */ s.makeMessageType(
9987
9987
  "viam.robot.v1.StreamStatusResponse",
@@ -9991,7 +9991,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
9991
9991
  ), Jc = /* @__PURE__ */ s.makeMessageType(
9992
9992
  "viam.robot.v1.StopExtraParameters",
9993
9993
  () => [
9994
- { no: 1, name: "name", kind: "message", T: x },
9994
+ { no: 1, name: "name", kind: "message", T: F },
9995
9995
  { no: 2, name: "params", kind: "message", T: d }
9996
9996
  ]
9997
9997
  ), zc = /* @__PURE__ */ s.makeMessageType(
@@ -10023,7 +10023,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
10023
10023
  T: 9
10024
10024
  /* ScalarType.STRING */
10025
10025
  },
10026
- { no: 2, name: "heartbeat_window", kind: "message", T: F }
10026
+ { no: 2, name: "heartbeat_window", kind: "message", T: J }
10027
10027
  ]
10028
10028
  ), qs = /* @__PURE__ */ s.makeMessageType(
10029
10029
  "viam.robot.v1.SendSessionHeartbeatRequest",
@@ -10124,7 +10124,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
10124
10124
  ), ad = /* @__PURE__ */ s.makeMessageType(
10125
10125
  "viam.robot.v1.ResourceStatus",
10126
10126
  () => [
10127
- { no: 1, name: "name", kind: "message", T: x },
10127
+ { no: 1, name: "name", kind: "message", T: F },
10128
10128
  { no: 2, name: "state", kind: "enum", T: s.getEnumType(td) },
10129
10129
  { no: 3, name: "last_updated", kind: "message", T: _ },
10130
10130
  {
@@ -10216,14 +10216,14 @@ const ht = /* @__PURE__ */ s.makeMessageType(
10216
10216
  ), md = /* @__PURE__ */ s.makeMessageType(
10217
10217
  "viam.robot.v1.GetPoseResponse",
10218
10218
  () => [
10219
- { no: 1, name: "pose", kind: "message", T: Ke }
10219
+ { no: 1, name: "pose", kind: "message", T: ze }
10220
10220
  ]
10221
- ), V_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10221
+ ), H_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
10222
10222
  __proto__: null,
10223
10223
  BlockForOperationRequest: Cc,
10224
10224
  BlockForOperationResponse: Nc,
10225
- CancelOperationRequest: wc,
10226
- CancelOperationResponse: Oc,
10225
+ CancelOperationRequest: Oc,
10226
+ CancelOperationResponse: wc,
10227
10227
  ConfigStatus: sd,
10228
10228
  FrameSystemConfig: Tc,
10229
10229
  FrameSystemConfigRequest: kc,
@@ -10330,8 +10330,8 @@ const ht = /* @__PURE__ */ s.makeMessageType(
10330
10330
  */
10331
10331
  cancelOperation: {
10332
10332
  name: "CancelOperation",
10333
- I: wc,
10334
- O: Oc,
10333
+ I: Oc,
10334
+ O: wc,
10335
10335
  kind: m.Unary
10336
10336
  },
10337
10337
  /**
@@ -10858,7 +10858,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
10858
10858
  T: 5
10859
10859
  /* ScalarType.INT32 */
10860
10860
  },
10861
- { no: 8, name: "stop_timeout", kind: "message", T: F },
10861
+ { no: 8, name: "stop_timeout", kind: "message", T: J },
10862
10862
  { no: 9, name: "env", kind: "map", K: 9, V: {
10863
10863
  kind: "scalar",
10864
10864
  T: 9
@@ -10959,7 +10959,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
10959
10959
  ), yd = /* @__PURE__ */ s.makeMessageType(
10960
10960
  "viam.app.v1.SessionsConfig",
10961
10961
  () => [
10962
- { no: 1, name: "heartbeat_window", kind: "message", T: F }
10962
+ { no: 1, name: "heartbeat_window", kind: "message", T: J }
10963
10963
  ]
10964
10964
  ), vd = /* @__PURE__ */ s.makeMessageType(
10965
10965
  "viam.app.v1.TrafficTunnelEndpoint",
@@ -10971,7 +10971,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
10971
10971
  T: 5
10972
10972
  /* ScalarType.INT32 */
10973
10973
  },
10974
- { no: 2, name: "connection_timeout", kind: "message", T: F }
10974
+ { no: 2, name: "connection_timeout", kind: "message", T: J }
10975
10975
  ]
10976
10976
  ), hd = /* @__PURE__ */ s.makeMessageType(
10977
10977
  "viam.app.v1.AuthConfig",
@@ -11052,8 +11052,8 @@ const ht = /* @__PURE__ */ s.makeMessageType(
11052
11052
  { no: 1, name: "no_orientation", kind: "message", T: Md, oneof: "type" },
11053
11053
  { no: 2, name: "vector_radians", kind: "message", T: bd, oneof: "type" },
11054
11054
  { no: 3, name: "vector_degrees", kind: "message", T: Ed, oneof: "type" },
11055
- { no: 4, name: "euler_angles", kind: "message", T: wd, oneof: "type" },
11056
- { no: 5, name: "axis_angles", kind: "message", T: Od, oneof: "type" },
11055
+ { no: 4, name: "euler_angles", kind: "message", T: Od, oneof: "type" },
11056
+ { no: 5, name: "axis_angles", kind: "message", T: wd, oneof: "type" },
11057
11057
  { no: 6, name: "quaternion", kind: "message", T: Cd, oneof: "type" }
11058
11058
  ]
11059
11059
  ), Md = /* @__PURE__ */ s.makeMessageType(
@@ -11126,7 +11126,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
11126
11126
  }
11127
11127
  ],
11128
11128
  { localName: "Orientation_OrientationVectorDegrees" }
11129
- ), wd = /* @__PURE__ */ s.makeMessageType(
11129
+ ), Od = /* @__PURE__ */ s.makeMessageType(
11130
11130
  "viam.app.v1.Orientation.EulerAngles",
11131
11131
  () => [
11132
11132
  {
@@ -11152,7 +11152,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
11152
11152
  }
11153
11153
  ],
11154
11154
  { localName: "Orientation_EulerAngles" }
11155
- ), Od = /* @__PURE__ */ s.makeMessageType(
11155
+ ), wd = /* @__PURE__ */ s.makeMessageType(
11156
11156
  "viam.app.v1.Orientation.AxisAngles",
11157
11157
  () => [
11158
11158
  {
@@ -11251,8 +11251,8 @@ const ht = /* @__PURE__ */ s.makeMessageType(
11251
11251
  T: 8
11252
11252
  /* ScalarType.BOOL */
11253
11253
  },
11254
- { no: 7, name: "connection_check_interval", kind: "message", T: F },
11255
- { no: 8, name: "reconnect_interval", kind: "message", T: F },
11254
+ { no: 7, name: "connection_check_interval", kind: "message", T: J },
11255
+ { no: 8, name: "reconnect_interval", kind: "message", T: J },
11256
11256
  { no: 9, name: "service_configs", kind: "message", T: _a, repeated: !0 },
11257
11257
  {
11258
11258
  no: 10,
@@ -11425,7 +11425,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
11425
11425
  T: 8
11426
11426
  /* ScalarType.BOOL */
11427
11427
  },
11428
- { no: 3, name: "restart_check_interval", kind: "message", T: F }
11428
+ { no: 3, name: "restart_check_interval", kind: "message", T: J }
11429
11429
  ]
11430
11430
  ), qd = /* @__PURE__ */ s.makeMessageType(
11431
11431
  "viam.app.v1.ModuleConfig",
@@ -11471,7 +11471,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
11471
11471
  /* ScalarType.STRING */
11472
11472
  } },
11473
11473
  { no: 7, name: "status", kind: "message", T: Ra },
11474
- { no: 8, name: "first_run_timeout", kind: "message", T: F },
11474
+ { no: 8, name: "first_run_timeout", kind: "message", T: J },
11475
11475
  {
11476
11476
  no: 9,
11477
11477
  name: "tcp_mode",
@@ -11516,7 +11516,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
11516
11516
  ), Ld = /* @__PURE__ */ s.makeMessageType(
11517
11517
  "viam.app.v1.MaintenanceConfig",
11518
11518
  () => [
11519
- { no: 1, name: "sensor_name", kind: "message", T: x },
11519
+ { no: 1, name: "sensor_name", kind: "message", T: F },
11520
11520
  {
11521
11521
  no: 2,
11522
11522
  name: "maintenance_allowed_key",
@@ -11525,7 +11525,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
11525
11525
  /* ScalarType.STRING */
11526
11526
  }
11527
11527
  ]
11528
- ), W_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11528
+ ), K_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11529
11529
  __proto__: null,
11530
11530
  AgentInfo: Ad,
11531
11531
  AppValidationStatus: Ra,
@@ -11553,8 +11553,8 @@ const ht = /* @__PURE__ */ s.makeMessageType(
11553
11553
  NeedsRestartResponse: zR,
11554
11554
  NetworkConfig: kd,
11555
11555
  Orientation: Id,
11556
- Orientation_AxisAngles: Od,
11557
- Orientation_EulerAngles: wd,
11556
+ Orientation_AxisAngles: wd,
11557
+ Orientation_EulerAngles: Od,
11558
11558
  Orientation_NoOrientation: Md,
11559
11559
  Orientation_OrientationVectorDegrees: Ed,
11560
11560
  Orientation_OrientationVectorRadians: bd,
@@ -11587,7 +11587,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
11587
11587
  () => [
11588
11588
  { no: 1, name: "discoveries", kind: "message", T: xs, repeated: !0 }
11589
11589
  ]
11590
- ), j_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11590
+ ), X_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11591
11591
  __proto__: null,
11592
11592
  DiscoverResourcesRequest: zs,
11593
11593
  DiscoverResourcesResponse: Gd
@@ -11612,7 +11612,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
11612
11612
  */
11613
11613
  doCommand: {
11614
11614
  name: "DoCommand",
11615
- I: q,
11615
+ I: D,
11616
11616
  O: U,
11617
11617
  kind: m.Unary
11618
11618
  }
@@ -11636,8 +11636,8 @@ const ht = /* @__PURE__ */ s.makeMessageType(
11636
11636
  T: 9
11637
11637
  /* ScalarType.STRING */
11638
11638
  },
11639
- { no: 2, name: "destination", kind: "message", T: Ke },
11640
- { no: 3, name: "component_name", kind: "message", T: x },
11639
+ { no: 2, name: "destination", kind: "message", T: ze },
11640
+ { no: 3, name: "component_name", kind: "message", T: F },
11641
11641
  { no: 4, name: "world_state", kind: "message", T: br, opt: !0 },
11642
11642
  { no: 5, name: "constraints", kind: "message", T: Hd, opt: !0 },
11643
11643
  { no: 99, name: "extra", kind: "message", T: d }
@@ -11664,8 +11664,8 @@ const ht = /* @__PURE__ */ s.makeMessageType(
11664
11664
  /* ScalarType.STRING */
11665
11665
  },
11666
11666
  { no: 2, name: "destination", kind: "message", T: Ue },
11667
- { no: 3, name: "component_name", kind: "message", T: x },
11668
- { no: 4, name: "slam_service_name", kind: "message", T: x },
11667
+ { no: 3, name: "component_name", kind: "message", T: F },
11668
+ { no: 4, name: "slam_service_name", kind: "message", T: F },
11669
11669
  { no: 5, name: "motion_configuration", kind: "message", T: Vs, opt: !0 },
11670
11670
  { no: 6, name: "obstacles", kind: "message", T: Xe, repeated: !0 },
11671
11671
  { no: 99, name: "extra", kind: "message", T: d }
@@ -11684,8 +11684,8 @@ const ht = /* @__PURE__ */ s.makeMessageType(
11684
11684
  ), zd = /* @__PURE__ */ s.makeMessageType(
11685
11685
  "viam.service.motion.v1.ObstacleDetector",
11686
11686
  () => [
11687
- { no: 1, name: "vision_service", kind: "message", T: x },
11688
- { no: 2, name: "camera", kind: "message", T: x }
11687
+ { no: 1, name: "vision_service", kind: "message", T: F },
11688
+ { no: 2, name: "camera", kind: "message", T: F }
11689
11689
  ]
11690
11690
  ), Vs = /* @__PURE__ */ s.makeMessageType(
11691
11691
  "viam.service.motion.v1.MotionConfiguration",
@@ -11707,10 +11707,10 @@ const ht = /* @__PURE__ */ s.makeMessageType(
11707
11707
  T: 9
11708
11708
  /* ScalarType.STRING */
11709
11709
  },
11710
- { no: 2, name: "destination", kind: "message", T: ze },
11710
+ { no: 2, name: "destination", kind: "message", T: Ye },
11711
11711
  { no: 3, name: "heading", kind: "scalar", T: 1, opt: !0 },
11712
- { no: 4, name: "component_name", kind: "message", T: x },
11713
- { no: 5, name: "movement_sensor_name", kind: "message", T: x },
11712
+ { no: 4, name: "component_name", kind: "message", T: F },
11713
+ { no: 5, name: "movement_sensor_name", kind: "message", T: F },
11714
11714
  { no: 6, name: "obstacles", kind: "message", T: da, repeated: !0 },
11715
11715
  { no: 7, name: "motion_configuration", kind: "message", T: Vs, opt: !0 },
11716
11716
  { no: 8, name: "bounding_regions", kind: "message", T: da, repeated: !0 },
@@ -11737,7 +11737,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
11737
11737
  T: 9
11738
11738
  /* ScalarType.STRING */
11739
11739
  },
11740
- { no: 2, name: "component_name", kind: "message", T: x },
11740
+ { no: 2, name: "component_name", kind: "message", T: F },
11741
11741
  {
11742
11742
  no: 3,
11743
11743
  name: "destination_frame",
@@ -11751,7 +11751,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
11751
11751
  ), $d = /* @__PURE__ */ s.makeMessageType(
11752
11752
  "viam.service.motion.v1.GetPoseResponse",
11753
11753
  () => [
11754
- { no: 1, name: "pose", kind: "message", T: Ke }
11754
+ { no: 1, name: "pose", kind: "message", T: ze }
11755
11755
  ]
11756
11756
  ), Hs = /* @__PURE__ */ s.makeMessageType(
11757
11757
  "viam.service.motion.v1.StopPlanRequest",
@@ -11763,7 +11763,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
11763
11763
  T: 9
11764
11764
  /* ScalarType.STRING */
11765
11765
  },
11766
- { no: 2, name: "component_name", kind: "message", T: x },
11766
+ { no: 2, name: "component_name", kind: "message", T: F },
11767
11767
  { no: 99, name: "extra", kind: "message", T: d }
11768
11768
  ]
11769
11769
  ), Vd = /* @__PURE__ */ s.makeMessageType(
@@ -11803,7 +11803,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
11803
11803
  T: 9
11804
11804
  /* ScalarType.STRING */
11805
11805
  },
11806
- { no: 2, name: "component_name", kind: "message", T: x },
11806
+ { no: 2, name: "component_name", kind: "message", T: F },
11807
11807
  {
11808
11808
  no: 3,
11809
11809
  name: "last_plan_only",
@@ -11879,7 +11879,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
11879
11879
  T: 9
11880
11880
  /* ScalarType.STRING */
11881
11881
  },
11882
- { no: 2, name: "component_name", kind: "message", T: x },
11882
+ { no: 2, name: "component_name", kind: "message", T: F },
11883
11883
  {
11884
11884
  no: 3,
11885
11885
  name: "execution_id",
@@ -11906,7 +11906,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
11906
11906
  T: 9
11907
11907
  /* ScalarType.STRING */
11908
11908
  },
11909
- { no: 2, name: "component_name", kind: "message", T: x },
11909
+ { no: 2, name: "component_name", kind: "message", T: F },
11910
11910
  {
11911
11911
  no: 3,
11912
11912
  name: "execution_id",
@@ -12054,7 +12054,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
12054
12054
  */
12055
12055
  doCommand: {
12056
12056
  name: "DoCommand",
12057
- I: q,
12057
+ I: D,
12058
12058
  O: U,
12059
12059
  kind: m.Unary
12060
12060
  }
@@ -12117,7 +12117,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
12117
12117
  T: 9
12118
12118
  /* ScalarType.STRING */
12119
12119
  },
12120
- { no: 2, name: "location", kind: "message", T: ze }
12120
+ { no: 2, name: "location", kind: "message", T: Ye }
12121
12121
  ]
12122
12122
  ), no = /* @__PURE__ */ s.makeMessageType(
12123
12123
  "viam.service.navigation.v1.GetLocationRequest",
@@ -12134,7 +12134,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
12134
12134
  ), cl = /* @__PURE__ */ s.makeMessageType(
12135
12135
  "viam.service.navigation.v1.GetLocationResponse",
12136
12136
  () => [
12137
- { no: 1, name: "location", kind: "message", T: ze },
12137
+ { no: 1, name: "location", kind: "message", T: Ye },
12138
12138
  {
12139
12139
  no: 2,
12140
12140
  name: "compass_heading",
@@ -12170,7 +12170,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
12170
12170
  T: 9
12171
12171
  /* ScalarType.STRING */
12172
12172
  },
12173
- { no: 2, name: "location", kind: "message", T: ze },
12173
+ { no: 2, name: "location", kind: "message", T: Ye },
12174
12174
  { no: 99, name: "extra", kind: "message", T: d }
12175
12175
  ]
12176
12176
  ), ll = /* @__PURE__ */ s.makeMessageType(
@@ -12225,7 +12225,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
12225
12225
  T: 9
12226
12226
  /* ScalarType.STRING */
12227
12227
  },
12228
- { no: 2, name: "geopoints", kind: "message", T: ze, repeated: !0 }
12228
+ { no: 2, name: "geopoints", kind: "message", T: Ye, repeated: !0 }
12229
12229
  ]
12230
12230
  ), io = /* @__PURE__ */ s.makeMessageType(
12231
12231
  "viam.service.navigation.v1.GetPathsRequest",
@@ -12378,7 +12378,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
12378
12378
  */
12379
12379
  doCommand: {
12380
12380
  name: "DoCommand",
12381
- I: q,
12381
+ I: D,
12382
12382
  O: U,
12383
12383
  kind: m.Unary
12384
12384
  }
@@ -12569,7 +12569,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
12569
12569
  */
12570
12570
  doCommand: {
12571
12571
  name: "DoCommand",
12572
- I: q,
12572
+ I: D,
12573
12573
  O: U,
12574
12574
  kind: m.Unary
12575
12575
  }
@@ -12620,7 +12620,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
12620
12620
  /* ScalarType.BYTES */
12621
12621
  }
12622
12622
  ]
12623
- ), wl = /* @__PURE__ */ s.makeMessageType(
12623
+ ), Ol = /* @__PURE__ */ s.makeMessageType(
12624
12624
  "viam.component.camera.v1.GetImagesRequest",
12625
12625
  () => [
12626
12626
  {
@@ -12633,7 +12633,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
12633
12633
  { no: 2, name: "filter_source_names", kind: "scalar", T: 9, repeated: !0 },
12634
12634
  { no: 99, name: "extra", kind: "message", T: d }
12635
12635
  ]
12636
- ), Ol = /* @__PURE__ */ s.makeMessageType(
12636
+ ), wl = /* @__PURE__ */ s.makeMessageType(
12637
12637
  "viam.component.camera.v1.GetImagesResponse",
12638
12638
  () => [
12639
12639
  { no: 1, name: "images", kind: "message", T: go, repeated: !0 },
@@ -12875,14 +12875,14 @@ const ht = /* @__PURE__ */ s.makeMessageType(
12875
12875
  },
12876
12876
  { no: 2, name: "parameters", kind: "scalar", T: 1, repeated: !0 }
12877
12877
  ]
12878
- ), H_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12878
+ ), Q_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12879
12879
  __proto__: null,
12880
12880
  DistortionParameters: Ul,
12881
12881
  Format: bl,
12882
12882
  GetImageRequest: uo,
12883
12883
  GetImageResponse: El,
12884
- GetImagesRequest: wl,
12885
- GetImagesResponse: Ol,
12884
+ GetImagesRequest: Ol,
12885
+ GetImagesResponse: wl,
12886
12886
  GetPointCloudRequest: ko,
12887
12887
  GetPointCloudResponse: Cl,
12888
12888
  GetPropertiesRequest: Nl,
@@ -13325,7 +13325,7 @@ const ht = /* @__PURE__ */ s.makeMessageType(
13325
13325
  */
13326
13326
  doCommand: {
13327
13327
  name: "DoCommand",
13328
- I: q,
13328
+ I: D,
13329
13329
  O: U,
13330
13330
  kind: m.Unary
13331
13331
  }
@@ -13510,12 +13510,12 @@ class o1 {
13510
13510
  try {
13511
13511
  return await this.sessionManager.getSessionMetadata();
13512
13512
  } catch (e) {
13513
- throw e instanceof N && e.code === w.InvalidArgument && e.message === "SESSION_EXPIRED" && this.sessionManager.reset(), e;
13513
+ throw e instanceof N && e.code === O.InvalidArgument && e.message === "SESSION_EXPIRED" && this.sessionManager.reset(), e;
13514
13514
  }
13515
13515
  }
13516
13516
  async unary(e, n, t, o, i, r, c) {
13517
- const l = wn(i), p = `/${e.typeName}/${n.name}`;
13518
- if (je.heartbeatMonitoredMethods[p] ?? !1) {
13517
+ const l = On(i), p = `/${e.typeName}/${n.name}`;
13518
+ if (He.heartbeatMonitoredMethods[p] ?? !1) {
13519
13519
  const T = await this.getSessionMetadata();
13520
13520
  for (const [R, S] of T)
13521
13521
  l.set(R, S);
@@ -13531,8 +13531,8 @@ class o1 {
13531
13531
  );
13532
13532
  }
13533
13533
  async stream(e, n, t, o, i, r, c) {
13534
- const l = wn(i), p = `/${e.typeName}/${n.name}`;
13535
- if (je.heartbeatMonitoredMethods[p] ?? !1) {
13534
+ const l = On(i), p = `/${e.typeName}/${n.name}`;
13535
+ if (He.heartbeatMonitoredMethods[p] ?? !1) {
13536
13536
  const T = await this.getSessionMetadata();
13537
13537
  for (const [R, S] of T)
13538
13538
  l.set(R, S);
@@ -13556,7 +13556,7 @@ const i1 = new Blob(
13556
13556
  ],
13557
13557
  { type: "text/javascript" }
13558
13558
  );
13559
- class je {
13559
+ class He {
13560
13560
  constructor(e, n) {
13561
13561
  this.deferredTransport = n, this.host = e, this.transport = new o1(this.deferredTransport, this);
13562
13562
  }
@@ -13596,7 +13596,7 @@ class je {
13596
13596
  try {
13597
13597
  await this.client.sendSessionHeartbeat(t);
13598
13598
  } catch (o) {
13599
- if (o instanceof N && o.code === w.Unimplemented) {
13599
+ if (o instanceof N && o.code === O.Unimplemented) {
13600
13600
  console.error("sessions unsupported; will not try again"), this.sessionsSupported = !1;
13601
13601
  return;
13602
13602
  }
@@ -13628,7 +13628,7 @@ class je {
13628
13628
  try {
13629
13629
  o = await this.client.startSession(t);
13630
13630
  } catch (r) {
13631
- if (r instanceof N && r.code === w.Unimplemented) {
13631
+ if (r instanceof N && r.code === O.Unimplemented) {
13632
13632
  console.error("sessions unsupported; will not try again"), this.sessionsSupported = !1;
13633
13633
  return;
13634
13634
  }
@@ -13669,11 +13669,11 @@ class je {
13669
13669
  const p = se.fromBinary(l);
13670
13670
  for (const T of p.service)
13671
13671
  for (const R of T.method)
13672
- je.heartbeatMonitoredMethods[`/${p.package}.${T.name}/${R.name}`] = je.hasHeartbeatOption(R.options);
13672
+ He.heartbeatMonitoredMethods[`/${p.package}.${T.name}/${R.name}`] = He.hasHeartbeatOption(R.options);
13673
13673
  }
13674
13674
  }
13675
13675
  } catch {
13676
- je.heartbeatMonitoredMethods = {
13676
+ He.heartbeatMonitoredMethods = {
13677
13677
  "/viam.component.arm.v1.ArmService/MoveToPosition": !0,
13678
13678
  "/viam.component.arm.v1.ArmService/MoveToJointPositions": !0,
13679
13679
  "/viam.component.arm.v1.ArmService/MoveThroughJointPositions": !0,
@@ -13698,7 +13698,7 @@ class je {
13698
13698
  const n = new xi(e.toBinary());
13699
13699
  for (; n.pos < n.len; ) {
13700
13700
  const t = n.tag(), [o] = t;
13701
- if (o === wr.field.no)
13701
+ if (o === Or.field.no)
13702
13702
  return !0;
13703
13703
  n.string();
13704
13704
  }
@@ -13930,7 +13930,7 @@ const r1 = /* @__PURE__ */ s.makeEnum(
13930
13930
  }
13931
13931
  }
13932
13932
  };
13933
- class A extends Cr {
13933
+ class q extends Cr {
13934
13934
  serviceHost;
13935
13935
  webrtcOptions;
13936
13936
  directOptions;
@@ -13966,17 +13966,17 @@ class A extends Cr {
13966
13966
  super(), this.serviceHost = e, this.webrtcOptions = n, this.directOptions = o, this.sessionOptions = t, this.gRPCConnectionManager = new KR(
13967
13967
  () => {
13968
13968
  if (!this.transport)
13969
- throw new Error(A.notConnectedYetStr);
13969
+ throw new Error(q.notConnectedYetStr);
13970
13970
  return this.transport;
13971
13971
  },
13972
13972
  () => {
13973
13973
  this.onDisconnect();
13974
13974
  }
13975
- ), this.sessionManager = new je(
13975
+ ), this.sessionManager = new He(
13976
13976
  this.serviceHost,
13977
13977
  () => {
13978
13978
  if (!this.transport)
13979
- throw new Error(A.notConnectedYetStr);
13979
+ throw new Error(q.notConnectedYetStr);
13980
13980
  return this.transport;
13981
13981
  }
13982
13982
  );
@@ -14017,103 +14017,103 @@ class A extends Cr {
14017
14017
  static notConnectedYetStr = "not connected yet";
14018
14018
  get robotService() {
14019
14019
  if (!this.robotServiceClient)
14020
- throw new Error(A.notConnectedYetStr);
14020
+ throw new Error(q.notConnectedYetStr);
14021
14021
  return this.robotServiceClient;
14022
14022
  }
14023
14023
  get armService() {
14024
14024
  if (!this.armServiceClient)
14025
- throw new Error(A.notConnectedYetStr);
14025
+ throw new Error(q.notConnectedYetStr);
14026
14026
  return this.armServiceClient;
14027
14027
  }
14028
14028
  get baseService() {
14029
14029
  if (!this.baseServiceClient)
14030
- throw new Error(A.notConnectedYetStr);
14030
+ throw new Error(q.notConnectedYetStr);
14031
14031
  return this.baseServiceClient;
14032
14032
  }
14033
14033
  get boardService() {
14034
14034
  if (!this.boardServiceClient)
14035
- throw new Error(A.notConnectedYetStr);
14035
+ throw new Error(q.notConnectedYetStr);
14036
14036
  return this.boardServiceClient;
14037
14037
  }
14038
14038
  get encoderService() {
14039
14039
  if (!this.encoderServiceClient)
14040
- throw new Error(A.notConnectedYetStr);
14040
+ throw new Error(q.notConnectedYetStr);
14041
14041
  return this.encoderServiceClient;
14042
14042
  }
14043
14043
  get gantryService() {
14044
14044
  if (!this.gantryServiceClient)
14045
- throw new Error(A.notConnectedYetStr);
14045
+ throw new Error(q.notConnectedYetStr);
14046
14046
  return this.gantryServiceClient;
14047
14047
  }
14048
14048
  get genericService() {
14049
14049
  if (!this.genericServiceClient)
14050
- throw new Error(A.notConnectedYetStr);
14050
+ throw new Error(q.notConnectedYetStr);
14051
14051
  return this.genericServiceClient;
14052
14052
  }
14053
14053
  get gripperService() {
14054
14054
  if (!this.gripperServiceClient)
14055
- throw new Error(A.notConnectedYetStr);
14055
+ throw new Error(q.notConnectedYetStr);
14056
14056
  return this.gripperServiceClient;
14057
14057
  }
14058
14058
  get mlModelService() {
14059
14059
  if (!this.mlModelServiceClient)
14060
- throw new Error(A.notConnectedYetStr);
14060
+ throw new Error(q.notConnectedYetStr);
14061
14061
  return this.mlModelServiceClient;
14062
14062
  }
14063
14063
  get movementSensorService() {
14064
14064
  if (!this.movementSensorServiceClient)
14065
- throw new Error(A.notConnectedYetStr);
14065
+ throw new Error(q.notConnectedYetStr);
14066
14066
  return this.movementSensorServiceClient;
14067
14067
  }
14068
14068
  get powerSensorService() {
14069
14069
  if (!this.powerSensorServiceClient)
14070
- throw new Error(A.notConnectedYetStr);
14070
+ throw new Error(q.notConnectedYetStr);
14071
14071
  return this.powerSensorServiceClient;
14072
14072
  }
14073
14073
  get inputControllerService() {
14074
14074
  if (!this.inputControllerServiceClient)
14075
- throw new Error(A.notConnectedYetStr);
14075
+ throw new Error(q.notConnectedYetStr);
14076
14076
  return this.inputControllerServiceClient;
14077
14077
  }
14078
14078
  get motorService() {
14079
14079
  if (!this.motorServiceClient)
14080
- throw new Error(A.notConnectedYetStr);
14080
+ throw new Error(q.notConnectedYetStr);
14081
14081
  return this.motorServiceClient;
14082
14082
  }
14083
14083
  get navigationService() {
14084
14084
  if (!this.navigationServiceClient)
14085
- throw new Error(A.notConnectedYetStr);
14085
+ throw new Error(q.notConnectedYetStr);
14086
14086
  return this.navigationServiceClient;
14087
14087
  }
14088
14088
  get discoveryService() {
14089
14089
  if (!this.discoveryServiceClient)
14090
- throw new Error(A.notConnectedYetStr);
14090
+ throw new Error(q.notConnectedYetStr);
14091
14091
  return this.discoveryServiceClient;
14092
14092
  }
14093
14093
  get motionService() {
14094
14094
  if (!this.motionServiceClient)
14095
- throw new Error(A.notConnectedYetStr);
14095
+ throw new Error(q.notConnectedYetStr);
14096
14096
  return this.motionServiceClient;
14097
14097
  }
14098
14098
  get visionService() {
14099
14099
  if (!this.visionServiceClient)
14100
- throw new Error(A.notConnectedYetStr);
14100
+ throw new Error(q.notConnectedYetStr);
14101
14101
  return this.visionServiceClient;
14102
14102
  }
14103
14103
  get servoService() {
14104
14104
  if (!this.servoServiceClient)
14105
- throw new Error(A.notConnectedYetStr);
14105
+ throw new Error(q.notConnectedYetStr);
14106
14106
  return this.servoServiceClient;
14107
14107
  }
14108
14108
  get slamService() {
14109
14109
  if (!this.slamServiceClient)
14110
- throw new Error(A.notConnectedYetStr);
14110
+ throw new Error(q.notConnectedYetStr);
14111
14111
  return this.slamServiceClient;
14112
14112
  }
14113
14113
  createServiceClient(e) {
14114
14114
  const n = this.sessionOptions?.disabled ? this.transport : this.sessionManager.transport;
14115
14115
  if (!n)
14116
- throw new Error(A.notConnectedYetStr);
14116
+ throw new Error(q.notConnectedYetStr);
14117
14117
  return C(e, n);
14118
14118
  }
14119
14119
  get peerConnection() {
@@ -14306,7 +14306,7 @@ class A extends Cr {
14306
14306
  e !== void 0 && (t.idOrName.case = "moduleId", t.idOrName.value = e), n !== void 0 && (t.idOrName.case = "moduleName", t.idOrName.value = n), await this.robotService.restartModule(t);
14307
14307
  }
14308
14308
  }
14309
- const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("local"), wi = async (a) => {
14309
+ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("local"), Oi = async (a) => {
14310
14310
  if (console.debug("dialing via gRPC..."), !S1(a.host))
14311
14311
  throw new Error(
14312
14312
  `cannot dial "${a.host}" directly, please use a local url instead.`
@@ -14318,12 +14318,12 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
14318
14318
  };
14319
14319
  let n;
14320
14320
  a.disableSessions && (n = { disabled: !0 });
14321
- const t = new A(a.host, void 0, n, e);
14321
+ const t = new q(a.host, void 0, n, e);
14322
14322
  return await t.connect({
14323
14323
  creds: a.credentials,
14324
14324
  dialTimeout: a.dialTimeout ?? vt
14325
14325
  }), console.debug("connected via gRPC"), t;
14326
- }, Oi = async (a) => {
14326
+ }, wi = async (a) => {
14327
14327
  console.debug("dialing via WebRTC...");
14328
14328
  const e = a.serviceHost ?? a.host, { signalingAddress: n } = a, o = { iceServers: a.iceServers ?? [] }, i = {
14329
14329
  enabled: !0,
@@ -14336,7 +14336,7 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
14336
14336
  };
14337
14337
  let r;
14338
14338
  a.disableSessions && (r = { disabled: !0 });
14339
- const c = new A(e, i, r);
14339
+ const c = new q(e, i, r);
14340
14340
  return await c.connect({
14341
14341
  priority: a.priority,
14342
14342
  dialTimeout: a.dialTimeout ?? vt,
@@ -14355,13 +14355,13 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
14355
14355
  };
14356
14356
  if (a.reconnectMaxWait !== void 0 && (e.maxDelay = a.reconnectMaxWait), a.reconnectMaxAttempts !== void 0 && (e.numOfAttempts = a.reconnectMaxAttempts), I1(a) && !a.reconnectAbortSignal?.abort)
14357
14357
  try {
14358
- return a.noReconnect ? await Oi(a) : await Va(async () => Oi(a), e);
14358
+ return a.noReconnect ? await wi(a) : await Va(async () => wi(a), e);
14359
14359
  } catch {
14360
14360
  console.debug("Failed to connect via WebRTC");
14361
14361
  }
14362
14362
  if (!a.reconnectAbortSignal?.abort)
14363
14363
  try {
14364
- return a.noReconnect ? await wi(a) : await Va(async () => wi(a), e);
14364
+ return a.noReconnect ? await Oi(a) : await Va(async () => Oi(a), e);
14365
14365
  } catch {
14366
14366
  console.debug("Failed to connect via gRPC");
14367
14367
  }
@@ -14703,7 +14703,7 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
14703
14703
  /* ScalarType.STRING */
14704
14704
  }
14705
14705
  ]
14706
- ), K_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
14706
+ ), Z_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
14707
14707
  __proto__: null,
14708
14708
  CancelTrainingJobRequest: tp,
14709
14709
  CancelTrainingJobResponse: sp,
@@ -14912,7 +14912,7 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
14912
14912
  /* ScalarType.STRING */
14913
14913
  },
14914
14914
  { no: 13, name: "created_on", kind: "message", T: _ },
14915
- { no: 14, name: "secrets", kind: "message", T: wo, repeated: !0 },
14915
+ { no: 14, name: "secrets", kind: "message", T: Oo, repeated: !0 },
14916
14916
  { no: 15, name: "last_updated", kind: "message", T: _ }
14917
14917
  ]
14918
14918
  ), vp = /* @__PURE__ */ s.makeMessageType(
@@ -15093,7 +15093,7 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
15093
15093
  /* ScalarType.BOOL */
15094
15094
  }
15095
15095
  ]
15096
- ), wp = /* @__PURE__ */ s.makeMessageType(
15096
+ ), Op = /* @__PURE__ */ s.makeMessageType(
15097
15097
  "viam.app.v1.UpdateOrganizationRequest",
15098
15098
  () => [
15099
15099
  {
@@ -15108,7 +15108,7 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
15108
15108
  { no: 4, name: "region", kind: "scalar", T: 9, opt: !0 },
15109
15109
  { no: 5, name: "cid", kind: "scalar", T: 9, opt: !0 }
15110
15110
  ]
15111
- ), Op = /* @__PURE__ */ s.makeMessageType(
15111
+ ), wp = /* @__PURE__ */ s.makeMessageType(
15112
15112
  "viam.app.v1.UpdateOrganizationResponse",
15113
15113
  () => [
15114
15114
  { no: 1, name: "organization", kind: "message", T: gn }
@@ -15538,7 +15538,7 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
15538
15538
  T: 9
15539
15539
  /* ScalarType.STRING */
15540
15540
  },
15541
- { no: 3, name: "secrets", kind: "message", T: wo, repeated: !0 }
15541
+ { no: 3, name: "secrets", kind: "message", T: Oo, repeated: !0 }
15542
15542
  ]
15543
15543
  ), cu = /* @__PURE__ */ s.makeMessageType(
15544
15544
  "viam.app.v1.StorageConfig",
@@ -15588,7 +15588,7 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
15588
15588
  { no: 8, name: "config", kind: "message", T: cu },
15589
15589
  { no: 9, name: "primary_org_identity", kind: "message", T: Eo, opt: !0 }
15590
15590
  ]
15591
- ), wo = /* @__PURE__ */ s.makeMessageType(
15591
+ ), Oo = /* @__PURE__ */ s.makeMessageType(
15592
15592
  "viam.app.v1.SharedSecret",
15593
15593
  () => [
15594
15594
  {
@@ -15606,9 +15606,9 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
15606
15606
  /* ScalarType.STRING */
15607
15607
  },
15608
15608
  { no: 3, name: "created_on", kind: "message", T: _ },
15609
- { no: 4, name: "state", kind: "enum", T: s.getEnumType(Oo) }
15609
+ { no: 4, name: "state", kind: "enum", T: s.getEnumType(wo) }
15610
15610
  ]
15611
- ), Oo = /* @__PURE__ */ s.makeEnum(
15611
+ ), wo = /* @__PURE__ */ s.makeEnum(
15612
15612
  "viam.app.v1.SharedSecret.State",
15613
15613
  [
15614
15614
  { no: 0, name: "STATE_UNSPECIFIED", localName: "UNSPECIFIED" },
@@ -15785,10 +15785,10 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
15785
15785
  /* ScalarType.STRING */
15786
15786
  }
15787
15787
  ]
15788
- ), wu = /* @__PURE__ */ s.makeMessageType(
15788
+ ), Ou = /* @__PURE__ */ s.makeMessageType(
15789
15789
  "viam.app.v1.UnshareLocationResponse",
15790
15790
  []
15791
- ), Ou = /* @__PURE__ */ s.makeMessageType(
15791
+ ), wu = /* @__PURE__ */ s.makeMessageType(
15792
15792
  "viam.app.v1.ListLocationsResponse",
15793
15793
  () => [
15794
15794
  { no: 1, name: "locations", kind: "message", T: Ln, repeated: !0 }
@@ -16190,7 +16190,7 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
16190
16190
  ), lg = /* @__PURE__ */ s.makeMessageType(
16191
16191
  "viam.app.v1.DeleteRobotPartResponse",
16192
16192
  []
16193
- ), Ye = /* @__PURE__ */ s.makeMessageType(
16193
+ ), $e = /* @__PURE__ */ s.makeMessageType(
16194
16194
  "viam.app.v1.Fragment",
16195
16195
  () => [
16196
16196
  {
@@ -16272,7 +16272,7 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
16272
16272
  /* ScalarType.STRING */
16273
16273
  },
16274
16274
  { no: 2, name: "edited_on", kind: "message", T: _ },
16275
- { no: 3, name: "old", kind: "message", T: Ye },
16275
+ { no: 3, name: "old", kind: "message", T: $e },
16276
16276
  { no: 4, name: "edited_by", kind: "message", T: bo },
16277
16277
  {
16278
16278
  no: 5,
@@ -16295,7 +16295,7 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
16295
16295
  },
16296
16296
  { no: 2, name: "created_at", kind: "message", T: _ }
16297
16297
  ]
16298
- ), wa = /* @__PURE__ */ s.makeMessageType(
16298
+ ), Oa = /* @__PURE__ */ s.makeMessageType(
16299
16299
  "viam.app.v1.FragmentTag",
16300
16300
  () => [
16301
16301
  {
@@ -16332,7 +16332,7 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
16332
16332
  /* ScalarType.STRING */
16333
16333
  }
16334
16334
  ]
16335
- ), Oa = /* @__PURE__ */ s.makeMessageType(
16335
+ ), wa = /* @__PURE__ */ s.makeMessageType(
16336
16336
  "viam.app.v1.FragmentUsage",
16337
16337
  () => [
16338
16338
  {
@@ -16407,8 +16407,8 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
16407
16407
  ), kg = /* @__PURE__ */ s.makeMessageType(
16408
16408
  "viam.app.v1.ListFragmentsResponse",
16409
16409
  () => [
16410
- { no: 1, name: "fragments", kind: "message", T: Ye, repeated: !0 },
16411
- { no: 2, name: "fragment_usages", kind: "message", T: Oa, repeated: !0 }
16410
+ { no: 1, name: "fragments", kind: "message", T: $e, repeated: !0 },
16411
+ { no: 2, name: "fragment_usages", kind: "message", T: wa, repeated: !0 }
16412
16412
  ]
16413
16413
  ), yg = /* @__PURE__ */ s.makeMessageType(
16414
16414
  "viam.app.v1.GetFragmentRequest",
@@ -16432,10 +16432,10 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
16432
16432
  ), vg = /* @__PURE__ */ s.makeMessageType(
16433
16433
  "viam.app.v1.GetFragmentResponse",
16434
16434
  () => [
16435
- { no: 1, name: "fragment", kind: "message", T: Ye },
16436
- { no: 2, name: "fragment_usage", kind: "message", T: Oa },
16435
+ { no: 1, name: "fragment", kind: "message", T: $e },
16436
+ { no: 2, name: "fragment_usage", kind: "message", T: wa },
16437
16437
  { no: 3, name: "revisions", kind: "message", T: ug, repeated: !0 },
16438
- { no: 4, name: "tags", kind: "message", T: wa, repeated: !0 }
16438
+ { no: 4, name: "tags", kind: "message", T: Oa, repeated: !0 }
16439
16439
  ]
16440
16440
  ), hg = /* @__PURE__ */ s.makeMessageType(
16441
16441
  "viam.app.v1.CreateFragmentRequest",
@@ -16460,7 +16460,7 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
16460
16460
  ), fg = /* @__PURE__ */ s.makeMessageType(
16461
16461
  "viam.app.v1.CreateFragmentResponse",
16462
16462
  () => [
16463
- { no: 1, name: "fragment", kind: "message", T: Ye }
16463
+ { no: 1, name: "fragment", kind: "message", T: $e }
16464
16464
  ]
16465
16465
  ), Rg = /* @__PURE__ */ s.makeMessageType(
16466
16466
  "viam.app.v1.UpdateFragmentRequest",
@@ -16487,7 +16487,7 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
16487
16487
  ), _g = /* @__PURE__ */ s.makeMessageType(
16488
16488
  "viam.app.v1.UpdateFragmentResponse",
16489
16489
  () => [
16490
- { no: 1, name: "fragment", kind: "message", T: Ye }
16490
+ { no: 1, name: "fragment", kind: "message", T: $e }
16491
16491
  ]
16492
16492
  ), Sg = /* @__PURE__ */ s.makeMessageType(
16493
16493
  "viam.app.v1.DeleteFragmentRequest",
@@ -16539,12 +16539,12 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
16539
16539
  /* ScalarType.STRING */
16540
16540
  }
16541
16541
  ]
16542
- ), wg = /* @__PURE__ */ s.makeMessageType(
16542
+ ), Og = /* @__PURE__ */ s.makeMessageType(
16543
16543
  "viam.app.v1.GetFragmentUsageResponse",
16544
16544
  () => [
16545
- { no: 1, name: "version_usages", kind: "message", T: Oa, repeated: !0 }
16545
+ { no: 1, name: "version_usages", kind: "message", T: wa, repeated: !0 }
16546
16546
  ]
16547
- ), Og = /* @__PURE__ */ s.makeMessageType(
16547
+ ), wg = /* @__PURE__ */ s.makeMessageType(
16548
16548
  "viam.app.v1.SetFragmentTagRequest",
16549
16549
  () => [
16550
16550
  {
@@ -16572,7 +16572,7 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
16572
16572
  ), Cg = /* @__PURE__ */ s.makeMessageType(
16573
16573
  "viam.app.v1.SetFragmentTagResponse",
16574
16574
  () => [
16575
- { no: 1, name: "tags", kind: "message", T: wa, repeated: !0 }
16575
+ { no: 1, name: "tags", kind: "message", T: Oa, repeated: !0 }
16576
16576
  ]
16577
16577
  ), Ng = /* @__PURE__ */ s.makeMessageType(
16578
16578
  "viam.app.v1.DeleteFragmentTagRequest",
@@ -16595,7 +16595,7 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
16595
16595
  ), Pg = /* @__PURE__ */ s.makeMessageType(
16596
16596
  "viam.app.v1.DeleteFragmentTagResponse",
16597
16597
  () => [
16598
- { no: 1, name: "tags", kind: "message", T: wa, repeated: !0 }
16598
+ { no: 1, name: "tags", kind: "message", T: Oa, repeated: !0 }
16599
16599
  ]
16600
16600
  ), Dg = /* @__PURE__ */ s.makeMessageType(
16601
16601
  "viam.app.v1.ListRobotsRequest",
@@ -16645,7 +16645,7 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
16645
16645
  ), Lg = /* @__PURE__ */ s.makeMessageType(
16646
16646
  "viam.app.v1.ListNestedFragmentsResponse",
16647
16647
  () => [
16648
- { no: 1, name: "fragments", kind: "message", T: Ye, repeated: !0 },
16648
+ { no: 1, name: "fragments", kind: "message", T: $e, repeated: !0 },
16649
16649
  { no: 2, name: "resolved_fragments", kind: "message", T: Co, repeated: !0 }
16650
16650
  ]
16651
16651
  ), Gg = /* @__PURE__ */ s.makeMessageType(
@@ -16664,7 +16664,7 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
16664
16664
  ), Bg = /* @__PURE__ */ s.makeMessageType(
16665
16665
  "viam.app.v1.ListMachineFragmentsResponse",
16666
16666
  () => [
16667
- { no: 1, name: "fragments", kind: "message", T: Ye, repeated: !0 },
16667
+ { no: 1, name: "fragments", kind: "message", T: $e, repeated: !0 },
16668
16668
  { no: 2, name: "resolved_fragments", kind: "message", T: Co, repeated: !0 }
16669
16669
  ]
16670
16670
  ), Po = /* @__PURE__ */ s.makeMessageType(
@@ -17153,7 +17153,7 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
17153
17153
  },
17154
17154
  { no: 2, name: "created_on", kind: "message", T: _ }
17155
17155
  ]
17156
- ), wT = /* @__PURE__ */ s.makeMessageType(
17156
+ ), OT = /* @__PURE__ */ s.makeMessageType(
17157
17157
  "viam.app.v1.MLTrainingMetadata",
17158
17158
  () => [
17159
17159
  { no: 5, name: "versions", kind: "message", T: ET, repeated: !0 },
@@ -17244,11 +17244,11 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
17244
17244
  },
17245
17245
  { no: 11, name: "module_metadata", kind: "message", T: MT, oneof: "metadata" },
17246
17246
  { no: 12, name: "ml_model_metadata", kind: "message", T: bT, oneof: "metadata" },
17247
- { no: 18, name: "ml_training_metadata", kind: "message", T: wT, oneof: "metadata" },
17247
+ { no: 18, name: "ml_training_metadata", kind: "message", T: OT, oneof: "metadata" },
17248
17248
  { no: 15, name: "created_at", kind: "message", T: _ },
17249
17249
  { no: 16, name: "updated_at", kind: "message", T: _ }
17250
17250
  ]
17251
- ), OT = /* @__PURE__ */ s.makeMessageType(
17251
+ ), wT = /* @__PURE__ */ s.makeMessageType(
17252
17252
  "viam.app.v1.GetRegistryItemRequest",
17253
17253
  () => [
17254
17254
  {
@@ -18075,7 +18075,7 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
18075
18075
  /* ScalarType.STRING */
18076
18076
  }
18077
18077
  ]
18078
- ), wk = /* @__PURE__ */ s.makeMessageType(
18078
+ ), Ok = /* @__PURE__ */ s.makeMessageType(
18079
18079
  "viam.app.v1.OrganizationGetLogoResponse",
18080
18080
  () => [
18081
18081
  {
@@ -18086,7 +18086,7 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
18086
18086
  /* ScalarType.STRING */
18087
18087
  }
18088
18088
  ]
18089
- ), Ok = /* @__PURE__ */ s.makeMessageType(
18089
+ ), wk = /* @__PURE__ */ s.makeMessageType(
18090
18090
  "viam.app.v1.EnableAuthServiceRequest",
18091
18091
  () => [
18092
18092
  {
@@ -18316,7 +18316,7 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
18316
18316
  { no: 1, name: "heading", kind: "scalar", T: 9, opt: !0 },
18317
18317
  { no: 2, name: "subheading", kind: "scalar", T: 9, opt: !0 }
18318
18318
  ]
18319
- ), X_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
18319
+ ), eS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
18320
18320
  __proto__: null,
18321
18321
  APIKey: cg,
18322
18322
  APIKeyWithAuthorizations: Lo,
@@ -18389,19 +18389,19 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
18389
18389
  DisableAuthServiceResponse: Pk,
18390
18390
  DisableBillingServiceRequest: au,
18391
18391
  DisableBillingServiceResponse: tu,
18392
- EnableAuthServiceRequest: Ok,
18392
+ EnableAuthServiceRequest: wk,
18393
18393
  EnableAuthServiceResponse: Ck,
18394
18394
  EnableBillingServiceRequest: Kp,
18395
18395
  EnableBillingServiceResponse: Xp,
18396
18396
  EnabledGrant: yp,
18397
- Fragment: Ye,
18397
+ Fragment: $e,
18398
18398
  FragmentError: gg,
18399
18399
  FragmentErrorType: lp,
18400
18400
  FragmentHistoryEntry: pg,
18401
18401
  FragmentRevision: ug,
18402
18402
  FragmentSummary: zg,
18403
- FragmentTag: wa,
18404
- FragmentUsage: Oa,
18403
+ FragmentTag: Oa,
18404
+ FragmentUsage: wa,
18405
18405
  FragmentVisibility: qn,
18406
18406
  GetAppBrandingRequest: zk,
18407
18407
  GetAppBrandingResponse: $k,
@@ -18414,7 +18414,7 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
18414
18414
  GetFragmentRequest: yg,
18415
18415
  GetFragmentResponse: vg,
18416
18416
  GetFragmentUsageRequest: Eg,
18417
- GetFragmentUsageResponse: wg,
18417
+ GetFragmentUsageResponse: Og,
18418
18418
  GetLocationMetadataRequest: vu,
18419
18419
  GetLocationMetadataResponse: hu,
18420
18420
  GetLocationRequest: pu,
@@ -18429,7 +18429,7 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
18429
18429
  GetOrganizationResponse: Mp,
18430
18430
  GetOrganizationsWithAccessToLocationRequest: _u,
18431
18431
  GetOrganizationsWithAccessToLocationResponse: Su,
18432
- GetRegistryItemRequest: OT,
18432
+ GetRegistryItemRequest: wT,
18433
18433
  GetRegistryItemResponse: CT,
18434
18434
  GetRobotAPIKeysRequest: mg,
18435
18435
  GetRobotAPIKeysResponse: dg,
@@ -18460,7 +18460,7 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
18460
18460
  ListKeysRequest: yk,
18461
18461
  ListKeysResponse: vk,
18462
18462
  ListLocationsRequest: Iu,
18463
- ListLocationsResponse: Ou,
18463
+ ListLocationsResponse: wu,
18464
18464
  ListMachineFragmentsRequest: Gg,
18465
18465
  ListMachineFragmentsResponse: Bg,
18466
18466
  ListMachineSummariesRequest: Po,
@@ -18492,7 +18492,7 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
18492
18492
  LocationOrganization: mu,
18493
18493
  LocationSummary: Fg,
18494
18494
  MLModelMetadata: bT,
18495
- MLTrainingMetadata: wT,
18495
+ MLTrainingMetadata: OT,
18496
18496
  MLTrainingVersion: ET,
18497
18497
  MachinePickerCustomizations: Wk,
18498
18498
  MachineSummary: Jg,
@@ -18513,7 +18513,7 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
18513
18513
  OrgDetails: Uo,
18514
18514
  Organization: gn,
18515
18515
  OrganizationGetLogoRequest: Ek,
18516
- OrganizationGetLogoResponse: wk,
18516
+ OrganizationGetLogoResponse: Ok,
18517
18517
  OrganizationGetSupportEmailRequest: iu,
18518
18518
  OrganizationGetSupportEmailResponse: ru,
18519
18519
  OrganizationIdentity: Eo,
@@ -18546,12 +18546,12 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
18546
18546
  RoverRentalRobot: Gu,
18547
18547
  SearchOrganizationsRequest: mk,
18548
18548
  SearchOrganizationsResponse: ck,
18549
- SetFragmentTagRequest: Og,
18549
+ SetFragmentTagRequest: wg,
18550
18550
  SetFragmentTagResponse: Cg,
18551
18551
  ShareLocationRequest: Mu,
18552
18552
  ShareLocationResponse: bu,
18553
- SharedSecret: wo,
18554
- SharedSecret_State: Oo,
18553
+ SharedSecret: Oo,
18554
+ SharedSecret_State: wo,
18555
18555
  StorageConfig: cu,
18556
18556
  TailRobotPartLogsRequest: Hu,
18557
18557
  TailRobotPartLogsResponse: Ku,
@@ -18560,7 +18560,7 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
18560
18560
  TransferRegistryItemResponse: JT,
18561
18561
  URLValidation: kp,
18562
18562
  UnshareLocationRequest: Eu,
18563
- UnshareLocationResponse: wu,
18563
+ UnshareLocationResponse: Ou,
18564
18564
  UpdateBillingServiceRequest: Qp,
18565
18565
  UpdateBillingServiceResponse: Zp,
18566
18566
  UpdateFragmentRequest: Rg,
@@ -18582,8 +18582,8 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
18582
18582
  UpdateOrganizationMetadataResponse: Lp,
18583
18583
  UpdateOrganizationNamespaceRequest: Cp,
18584
18584
  UpdateOrganizationNamespaceResponse: Np,
18585
- UpdateOrganizationRequest: wp,
18586
- UpdateOrganizationResponse: Op,
18585
+ UpdateOrganizationRequest: Op,
18586
+ UpdateOrganizationResponse: wp,
18587
18587
  UpdateRegistryItemRequest: DT,
18588
18588
  UpdateRegistryItemResponse: AT,
18589
18589
  UpdateRobotMetadataRequest: sT,
@@ -18699,8 +18699,8 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
18699
18699
  */
18700
18700
  updateOrganization: {
18701
18701
  name: "UpdateOrganization",
18702
- I: wp,
18703
- O: Op,
18702
+ I: Op,
18703
+ O: wp,
18704
18704
  kind: m.Unary
18705
18705
  },
18706
18706
  /**
@@ -18882,7 +18882,7 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
18882
18882
  organizationGetLogo: {
18883
18883
  name: "OrganizationGetLogo",
18884
18884
  I: Ek,
18885
- O: wk,
18885
+ O: Ok,
18886
18886
  kind: m.Unary
18887
18887
  },
18888
18888
  /**
@@ -18890,7 +18890,7 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
18890
18890
  */
18891
18891
  enableAuthService: {
18892
18892
  name: "EnableAuthService",
18893
- I: Ok,
18893
+ I: wk,
18894
18894
  O: Ck,
18895
18895
  kind: m.Unary
18896
18896
  },
@@ -19022,7 +19022,7 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
19022
19022
  listLocations: {
19023
19023
  name: "ListLocations",
19024
19024
  I: Iu,
19025
- O: Ou,
19025
+ O: wu,
19026
19026
  kind: m.Unary
19027
19027
  },
19028
19028
  /**
@@ -19044,7 +19044,7 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
19044
19044
  unshareLocation: {
19045
19045
  name: "UnshareLocation",
19046
19046
  I: Eu,
19047
- O: wu,
19047
+ O: Ou,
19048
19048
  kind: m.Unary
19049
19049
  },
19050
19050
  /**
@@ -19473,7 +19473,7 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
19473
19473
  getFragmentUsage: {
19474
19474
  name: "GetFragmentUsage",
19475
19475
  I: Eg,
19476
- O: wg,
19476
+ O: Og,
19477
19477
  kind: m.Unary
19478
19478
  },
19479
19479
  /**
@@ -19483,7 +19483,7 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
19483
19483
  */
19484
19484
  setFragmentTag: {
19485
19485
  name: "SetFragmentTag",
19486
- I: Og,
19486
+ I: wg,
19487
19487
  O: Cg,
19488
19488
  kind: m.Unary
19489
19489
  },
@@ -19558,7 +19558,7 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
19558
19558
  */
19559
19559
  getRegistryItem: {
19560
19560
  name: "GetRegistryItem",
19561
- I: OT,
19561
+ I: wT,
19562
19562
  O: CT,
19563
19563
  kind: m.Unary
19564
19564
  },
@@ -19743,7 +19743,7 @@ const Ei = (a) => !!(a > 0 && Number.isInteger(a)), S1 = (a) => a.includes("loca
19743
19743
  organizationId: a,
19744
19744
  resourceId: i
19745
19745
  });
19746
- class w1 {
19746
+ class O1 {
19747
19747
  client;
19748
19748
  constructor(e) {
19749
19749
  this.client = oa(E1, e);
@@ -22005,7 +22005,7 @@ const jk = /* @__PURE__ */ s.makeEnum(
22005
22005
  ), yy = /* @__PURE__ */ s.makeMessageType(
22006
22006
  "viam.app.v1.CreateInvoiceAndChargeImmediatelyResponse",
22007
22007
  []
22008
- ), Q_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
22008
+ ), nS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
22009
22009
  __proto__: null,
22010
22010
  CreateInvoiceAndChargeImmediatelyRequest: ky,
22011
22011
  CreateInvoiceAndChargeImmediatelyResponse: yy,
@@ -22031,7 +22031,7 @@ const jk = /* @__PURE__ */ s.makeEnum(
22031
22031
  UpdateOrganizationBillingTierResponse: Ty,
22032
22032
  UsageCost: ey,
22033
22033
  UsageCostType: Hk
22034
- }, Symbol.toStringTag, { value: "Module" })), O1 = {
22034
+ }, Symbol.toStringTag, { value: "Module" })), w1 = {
22035
22035
  typeName: "viam.app.v1.BillingService",
22036
22036
  methods: {
22037
22037
  /**
@@ -22127,7 +22127,7 @@ const jk = /* @__PURE__ */ s.makeEnum(
22127
22127
  class C1 {
22128
22128
  client;
22129
22129
  constructor(e) {
22130
- this.client = C(O1, e);
22130
+ this.client = C(w1, e);
22131
22131
  }
22132
22132
  /**
22133
22133
  * Get the data usage information for the current month for a given
@@ -22322,7 +22322,7 @@ var vy = {}, hy = {};
22322
22322
  return v[g++] = 0, g;
22323
22323
  }
22324
22324
  function p(k, v, g) {
22325
- var y = O(k), b = y.length;
22325
+ var y = w(k), b = y.length;
22326
22326
  return v.set(y, g), v[g + b++] = 0, b;
22327
22327
  }
22328
22328
  function T(k, v, g) {
@@ -22350,8 +22350,8 @@ var vy = {}, hy = {};
22350
22350
  case Array:
22351
22351
  case Object:
22352
22352
  g[y++] = v.constructor === Array ? 4 : 3, y += p(k, g, y);
22353
- var D = l(v, g, y);
22354
- return T(D - y, g, y), D;
22353
+ var A = l(v, g, y);
22354
+ return T(A - y, g, y), A;
22355
22355
  case Int8Array:
22356
22356
  case Uint8Array:
22357
22357
  return g[y++] = 5, y += p(k, g, y), y += T(v.byteLength, g, y), g[y++] = 0, g.set(v, y), y += v.byteLength, y;
@@ -22377,12 +22377,12 @@ var vy = {}, hy = {};
22377
22377
  var Z = k[g++];
22378
22378
  if (Z === 0)
22379
22379
  break;
22380
- for (var D = g; k[D] !== 0 && D < k.length; D++)
22380
+ for (var A = g; k[A] !== 0 && A < k.length; A++)
22381
22381
  ;
22382
- if (D >= k.length - 1)
22382
+ if (A >= k.length - 1)
22383
22383
  return;
22384
- var Y = P(k.subarray(g, D));
22385
- switch (y && (Y = parseInt(Y)), g = ++D, Z) {
22384
+ var Y = P(k.subarray(g, A));
22385
+ switch (y && (Y = parseInt(Y)), g = ++A, Z) {
22386
22386
  case 1:
22387
22387
  M[Y] = new Float64Array(k.slice(g, g += 8).buffer)[0];
22388
22388
  break;
@@ -22419,17 +22419,17 @@ var vy = {}, hy = {};
22419
22419
  M[Y] = null;
22420
22420
  break;
22421
22421
  case 11:
22422
- for (D = g; D < k.length && k[D++] !== 0; )
22422
+ for (A = g; A < k.length && k[A++] !== 0; )
22423
22423
  ;
22424
- if (D >= k.length)
22424
+ if (A >= k.length)
22425
22425
  return;
22426
- var Da = P(k.subarray(g, D));
22427
- for (g = D; D < k.length && k[D++] !== 0; )
22426
+ var Da = P(k.subarray(g, A));
22427
+ for (g = A; A < k.length && k[A++] !== 0; )
22428
22428
  ;
22429
- if (D >= k.length)
22429
+ if (A >= k.length)
22430
22430
  return;
22431
- var Aa = P(k.subarray(g, D));
22432
- g = D, M[Y] = new RegExp(Da, Aa);
22431
+ var Aa = P(k.subarray(g, A));
22432
+ g = A, M[Y] = new RegExp(Da, Aa);
22433
22433
  break;
22434
22434
  case 16:
22435
22435
  M[Y] = k[g++] | k[g++] << 8 | k[g++] << 16 | k[g++] << 24;
@@ -22454,8 +22454,8 @@ var vy = {}, hy = {};
22454
22454
  var M = 0;
22455
22455
  v[M++] = y & 255, v[M++] = y >>> 8 & 255, v[M++] = y >>> 16 & 255, v[M++] = y >>> 24 & 255, v[M++] = b & 255, v[M++] = b >>> 8 & 255, v[M++] = b >>> 16 & 255, v[M] = b >>> 24 & 255;
22456
22456
  } else {
22457
- var Z = new Float64Array([k]), D = new Uint8Array(Z.buffer);
22458
- v.set(D);
22457
+ var Z = new Float64Array([k]), A = new Uint8Array(Z.buffer);
22458
+ v.set(A);
22459
22459
  }
22460
22460
  return v;
22461
22461
  }
@@ -22464,7 +22464,7 @@ var vy = {}, hy = {};
22464
22464
  var g = 4294967296, y = k[v++] | k[v++] << 8 | k[v++] << 16 | k[v++] << 24, b = k[v++] | k[v++] << 8 | k[v++] << 16 | k[v] << 24;
22465
22465
  return b * g + (y >= 0 ? y : g + y);
22466
22466
  }
22467
- function O(k) {
22467
+ function w(k) {
22468
22468
  k = k.replace(/\r\n/g, `
22469
22469
  `);
22470
22470
  for (var v = [], g = 0, y = 0, b = k.length; y < b; y++) {
@@ -22500,7 +22500,7 @@ const fy = /* @__PURE__ */ s.makeEnum(
22500
22500
  { no: 2, name: "TAGS_FILTER_TYPE_TAGGED", localName: "TAGGED" },
22501
22501
  { no: 3, name: "TAGS_FILTER_TYPE_UNTAGGED", localName: "UNTAGGED" }
22502
22502
  ]
22503
- ), He = /* @__PURE__ */ s.makeEnum(
22503
+ ), Ke = /* @__PURE__ */ s.makeEnum(
22504
22504
  "viam.app.data.v1.TabularDataSourceType",
22505
22505
  [
22506
22506
  { no: 0, name: "TABULAR_DATA_SOURCE_TYPE_UNSPECIFIED", localName: "UNSPECIFIED" },
@@ -22511,7 +22511,7 @@ const fy = /* @__PURE__ */ s.makeEnum(
22511
22511
  ), Go = /* @__PURE__ */ s.makeMessageType(
22512
22512
  "viam.app.data.v1.DataRequest",
22513
22513
  () => [
22514
- { no: 1, name: "filter", kind: "message", T: $e },
22514
+ { no: 1, name: "filter", kind: "message", T: Ve },
22515
22515
  {
22516
22516
  no: 2,
22517
22517
  name: "limit",
@@ -22528,7 +22528,7 @@ const fy = /* @__PURE__ */ s.makeEnum(
22528
22528
  },
22529
22529
  { no: 4, name: "sort_order", kind: "enum", T: s.getEnumType(fy) }
22530
22530
  ]
22531
- ), $e = /* @__PURE__ */ s.makeMessageType(
22531
+ ), Ve = /* @__PURE__ */ s.makeMessageType(
22532
22532
  "viam.app.data.v1.Filter",
22533
22533
  () => [
22534
22534
  {
@@ -22583,7 +22583,7 @@ const fy = /* @__PURE__ */ s.makeEnum(
22583
22583
  { no: 10, name: "location_ids", kind: "scalar", T: 9, repeated: !0 },
22584
22584
  { no: 11, name: "organization_ids", kind: "scalar", T: 9, repeated: !0 },
22585
22585
  { no: 12, name: "mime_type", kind: "scalar", T: 9, repeated: !0 },
22586
- { no: 13, name: "interval", kind: "message", T: On },
22586
+ { no: 13, name: "interval", kind: "message", T: wn },
22587
22587
  { no: 14, name: "tags_filter", kind: "message", T: Bo },
22588
22588
  { no: 15, name: "bbox_labels", kind: "scalar", T: 9, repeated: !0 },
22589
22589
  {
@@ -22666,7 +22666,7 @@ const fy = /* @__PURE__ */ s.makeEnum(
22666
22666
  T: 9
22667
22667
  /* ScalarType.STRING */
22668
22668
  },
22669
- { no: 11, name: "method_parameters", kind: "map", K: 9, V: { kind: "message", T: j } },
22669
+ { no: 11, name: "method_parameters", kind: "map", K: 9, V: { kind: "message", T: H } },
22670
22670
  { no: 12, name: "tags", kind: "scalar", T: 9, repeated: !0 },
22671
22671
  {
22672
22672
  no: 13,
@@ -22676,7 +22676,7 @@ const fy = /* @__PURE__ */ s.makeEnum(
22676
22676
  /* ScalarType.STRING */
22677
22677
  }
22678
22678
  ]
22679
- ), On = /* @__PURE__ */ s.makeMessageType(
22679
+ ), wn = /* @__PURE__ */ s.makeMessageType(
22680
22680
  "viam.app.data.v1.CaptureInterval",
22681
22681
  () => [
22682
22682
  { no: 1, name: "start", kind: "message", T: _ },
@@ -22768,7 +22768,7 @@ const fy = /* @__PURE__ */ s.makeEnum(
22768
22768
  ), xo = /* @__PURE__ */ s.makeMessageType(
22769
22769
  "viam.app.data.v1.TabularDataSource",
22770
22770
  () => [
22771
- { no: 1, name: "type", kind: "enum", T: s.getEnumType(He) },
22771
+ { no: 1, name: "type", kind: "enum", T: s.getEnumType(Ke) },
22772
22772
  { no: 2, name: "pipeline_id", kind: "scalar", T: 9, opt: !0 }
22773
22773
  ]
22774
22774
  ), Ey = /* @__PURE__ */ s.makeMessageType(
@@ -22785,12 +22785,12 @@ const fy = /* @__PURE__ */ s.makeEnum(
22785
22785
  { no: 4, name: "use_recent_data", kind: "scalar", T: 8, opt: !0 },
22786
22786
  { no: 6, name: "data_source", kind: "message", T: xo, opt: !0 }
22787
22787
  ]
22788
- ), wy = /* @__PURE__ */ s.makeMessageType(
22788
+ ), Oy = /* @__PURE__ */ s.makeMessageType(
22789
22789
  "viam.app.data.v1.TabularDataByMQLResponse",
22790
22790
  () => [
22791
22791
  { no: 2, name: "raw_data", kind: "scalar", T: 12, repeated: !0 }
22792
22792
  ]
22793
- ), Oy = /* @__PURE__ */ s.makeMessageType(
22793
+ ), wy = /* @__PURE__ */ s.makeMessageType(
22794
22794
  "viam.app.data.v1.ExportTabularDataRequest",
22795
22795
  () => [
22796
22796
  {
@@ -22821,7 +22821,7 @@ const fy = /* @__PURE__ */ s.makeEnum(
22821
22821
  T: 9
22822
22822
  /* ScalarType.STRING */
22823
22823
  },
22824
- { no: 5, name: "interval", kind: "message", T: On },
22824
+ { no: 5, name: "interval", kind: "message", T: wn },
22825
22825
  { no: 6, name: "additional_parameters", kind: "message", T: d, opt: !0 }
22826
22826
  ]
22827
22827
  ), Cy = /* @__PURE__ */ s.makeMessageType(
@@ -23197,7 +23197,7 @@ const fy = /* @__PURE__ */ s.makeEnum(
23197
23197
  ), Jy = /* @__PURE__ */ s.makeMessageType(
23198
23198
  "viam.app.data.v1.DeleteBinaryDataByFilterRequest",
23199
23199
  () => [
23200
- { no: 1, name: "filter", kind: "message", T: $e },
23200
+ { no: 1, name: "filter", kind: "message", T: Ve },
23201
23201
  {
23202
23202
  no: 2,
23203
23203
  name: "include_internal_data",
@@ -23247,7 +23247,7 @@ const fy = /* @__PURE__ */ s.makeEnum(
23247
23247
  ), jy = /* @__PURE__ */ s.makeMessageType(
23248
23248
  "viam.app.data.v1.AddTagsToBinaryDataByFilterRequest",
23249
23249
  () => [
23250
- { no: 1, name: "filter", kind: "message", T: $e },
23250
+ { no: 1, name: "filter", kind: "message", T: Ve },
23251
23251
  { no: 2, name: "tags", kind: "scalar", T: 9, repeated: !0 }
23252
23252
  ]
23253
23253
  ), Hy = /* @__PURE__ */ s.makeMessageType(
@@ -23274,7 +23274,7 @@ const fy = /* @__PURE__ */ s.makeEnum(
23274
23274
  ), Qy = /* @__PURE__ */ s.makeMessageType(
23275
23275
  "viam.app.data.v1.RemoveTagsFromBinaryDataByFilterRequest",
23276
23276
  () => [
23277
- { no: 1, name: "filter", kind: "message", T: $e },
23277
+ { no: 1, name: "filter", kind: "message", T: Ve },
23278
23278
  { no: 2, name: "tags", kind: "scalar", T: 9, repeated: !0 }
23279
23279
  ]
23280
23280
  ), Zy = /* @__PURE__ */ s.makeMessageType(
@@ -23291,7 +23291,7 @@ const fy = /* @__PURE__ */ s.makeEnum(
23291
23291
  ), ev = /* @__PURE__ */ s.makeMessageType(
23292
23292
  "viam.app.data.v1.TagsByFilterRequest",
23293
23293
  () => [
23294
- { no: 1, name: "filter", kind: "message", T: $e }
23294
+ { no: 1, name: "filter", kind: "message", T: Ve }
23295
23295
  ]
23296
23296
  ), nv = /* @__PURE__ */ s.makeMessageType(
23297
23297
  "viam.app.data.v1.TagsByFilterResponse",
@@ -23408,7 +23408,7 @@ const fy = /* @__PURE__ */ s.makeEnum(
23408
23408
  ), mv = /* @__PURE__ */ s.makeMessageType(
23409
23409
  "viam.app.data.v1.BoundingBoxLabelsByFilterRequest",
23410
23410
  () => [
23411
- { no: 1, name: "filter", kind: "message", T: $e }
23411
+ { no: 1, name: "filter", kind: "message", T: Ve }
23412
23412
  ]
23413
23413
  ), cv = /* @__PURE__ */ s.makeMessageType(
23414
23414
  "viam.app.data.v1.BoundingBoxLabelsByFilterResponse",
@@ -23504,7 +23504,7 @@ const fy = /* @__PURE__ */ s.makeEnum(
23504
23504
  ), yv = /* @__PURE__ */ s.makeMessageType(
23505
23505
  "viam.app.data.v1.RemoveBinaryDataFromDatasetByIDsResponse",
23506
23506
  []
23507
- ), Z_ = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
23507
+ ), aS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
23508
23508
  __proto__: null,
23509
23509
  AddBinaryDataToDatasetByIDsRequest: gv,
23510
23510
  AddBinaryDataToDatasetByIDsResponse: Tv,
@@ -23525,7 +23525,7 @@ const fy = /* @__PURE__ */ s.makeEnum(
23525
23525
  BoundingBox: Ly,
23526
23526
  BoundingBoxLabelsByFilterRequest: mv,
23527
23527
  BoundingBoxLabelsByFilterResponse: cv,
23528
- CaptureInterval: On,
23528
+ CaptureInterval: wn,
23529
23529
  CaptureMetadata: Pa,
23530
23530
  Classification: Gy,
23531
23531
  ConfigureDatabaseUserRequest: dv,
@@ -23537,9 +23537,9 @@ const fy = /* @__PURE__ */ s.makeEnum(
23537
23537
  DeleteBinaryDataByIDsResponse: $y,
23538
23538
  DeleteTabularDataRequest: xy,
23539
23539
  DeleteTabularDataResponse: Fy,
23540
- ExportTabularDataRequest: Oy,
23540
+ ExportTabularDataRequest: wy,
23541
23541
  ExportTabularDataResponse: Cy,
23542
- Filter: $e,
23542
+ Filter: Ve,
23543
23543
  GetDatabaseConnectionRequest: pv,
23544
23544
  GetDatabaseConnectionResponse: uv,
23545
23545
  GetLatestTabularDataRequest: Ny,
@@ -23557,11 +23557,11 @@ const fy = /* @__PURE__ */ s.makeEnum(
23557
23557
  TabularDataByFilterRequest: _y,
23558
23558
  TabularDataByFilterResponse: Sy,
23559
23559
  TabularDataByMQLRequest: Ey,
23560
- TabularDataByMQLResponse: wy,
23560
+ TabularDataByMQLResponse: Oy,
23561
23561
  TabularDataBySQLRequest: My,
23562
23562
  TabularDataBySQLResponse: by,
23563
23563
  TabularDataSource: xo,
23564
- TabularDataSourceType: He,
23564
+ TabularDataSourceType: Ke,
23565
23565
  TagsByFilterRequest: ev,
23566
23566
  TagsByFilterResponse: nv,
23567
23567
  TagsFilter: Bo,
@@ -23602,7 +23602,7 @@ const fy = /* @__PURE__ */ s.makeEnum(
23602
23602
  tabularDataByMQL: {
23603
23603
  name: "TabularDataByMQL",
23604
23604
  I: Ey,
23605
- O: wy,
23605
+ O: Oy,
23606
23606
  kind: m.Unary
23607
23607
  },
23608
23608
  /**
@@ -23612,7 +23612,7 @@ const fy = /* @__PURE__ */ s.makeEnum(
23612
23612
  */
23613
23613
  exportTabularData: {
23614
23614
  name: "ExportTabularData",
23615
- I: Oy,
23615
+ I: wy,
23616
23616
  O: Cy,
23617
23617
  kind: m.ServerStreaming
23618
23618
  },
@@ -24197,7 +24197,7 @@ const fy = /* @__PURE__ */ s.makeEnum(
24197
24197
  T: 9
24198
24198
  /* ScalarType.STRING */
24199
24199
  },
24200
- { no: 8, name: "method_parameters", kind: "map", K: 9, V: { kind: "message", T: j } },
24200
+ { no: 8, name: "method_parameters", kind: "map", K: 9, V: { kind: "message", T: H } },
24201
24201
  {
24202
24202
  no: 9,
24203
24203
  name: "file_extension",
@@ -24303,7 +24303,7 @@ const fy = /* @__PURE__ */ s.makeEnum(
24303
24303
  },
24304
24304
  { no: 7, name: "created_on", kind: "message", T: _ },
24305
24305
  { no: 8, name: "updated_at", kind: "message", T: _ },
24306
- { no: 9, name: "data_source_type", kind: "enum", T: s.getEnumType(He), opt: !0 }
24306
+ { no: 9, name: "data_source_type", kind: "enum", T: s.getEnumType(Ke), opt: !0 }
24307
24307
  ]
24308
24308
  ), t_ = /* @__PURE__ */ s.makeMessageType(
24309
24309
  "viam.app.datapipelines.v1.GetDataPipelineRequest",
@@ -24363,7 +24363,7 @@ const fy = /* @__PURE__ */ s.makeEnum(
24363
24363
  /* ScalarType.STRING */
24364
24364
  },
24365
24365
  { no: 5, name: "enable_backfill", kind: "scalar", T: 8, opt: !0 },
24366
- { no: 6, name: "data_source_type", kind: "enum", T: s.getEnumType(He), opt: !0 }
24366
+ { no: 6, name: "data_source_type", kind: "enum", T: s.getEnumType(Ke), opt: !0 }
24367
24367
  ]
24368
24368
  ), m_ = /* @__PURE__ */ s.makeMessageType(
24369
24369
  "viam.app.datapipelines.v1.CreateDataPipelineResponse",
@@ -24646,7 +24646,7 @@ class R_ {
24646
24646
  * @returns An array of unified tabular data and metadata.
24647
24647
  */
24648
24648
  async exportTabularData(e, n, t, o, i, r, c) {
24649
- const l = new On();
24649
+ const l = new wn();
24650
24650
  i && (l.start = _.fromDate(i)), r && (l.end = _.fromDate(r));
24651
24651
  let p;
24652
24652
  c && (p = d.fromJson(c));
@@ -24742,8 +24742,8 @@ class R_ {
24742
24742
  async tabularDataByMQL(e, n, t, o) {
24743
24743
  const i = n[0] instanceof Uint8Array ? n : n.map((l) => Bn.serialize(l));
24744
24744
  let r = o;
24745
- return t && (!r || r.type === He.UNSPECIFIED) && (r = new xo({
24746
- type: He.HOT_STORAGE
24745
+ return t && (!r || r.type === Ke.UNSPECIFIED) && (r = new xo({
24746
+ type: Ke.HOT_STORAGE
24747
24747
  })), (await this.dataClient.tabularDataByMQL({
24748
24748
  organizationId: e,
24749
24749
  mqlBinary: i,
@@ -25516,8 +25516,8 @@ class R_ {
25516
25516
  tags: c
25517
25517
  }), p = [];
25518
25518
  for (const [S, h] of e.entries()) {
25519
- const I = new zo(), O = r[S];
25520
- O && (I.timeRequested = _.fromDate(O[0]), I.timeReceived = _.fromDate(O[1])), p.push(
25519
+ const I = new zo(), w = r[S];
25520
+ w && (I.timeRequested = _.fromDate(w[0]), I.timeReceived = _.fromDate(w[1])), p.push(
25521
25521
  new tt({
25522
25522
  metadata: I,
25523
25523
  data: {
@@ -25575,16 +25575,17 @@ class R_ {
25575
25575
  * appropriate sensor.
25576
25576
  * @returns The binary data ID of the uploaded data
25577
25577
  */
25578
- async binaryDataCaptureUpload(e, n, t, o, i, r, c, l) {
25579
- const p = new Cn({
25578
+ async binaryDataCaptureUpload(e, n, t, o, i, r, c, l, p) {
25579
+ const T = new Cn({
25580
25580
  partId: n,
25581
25581
  componentType: t,
25582
25582
  componentName: o,
25583
25583
  methodName: i,
25584
25584
  type: nt.BINARY_SENSOR,
25585
25585
  tags: l,
25586
- fileExtension: r
25587
- }), T = new tt({
25586
+ fileExtension: r,
25587
+ datasetIds: p
25588
+ }), R = new tt({
25588
25589
  metadata: {
25589
25590
  timeRequested: _.fromDate(c[0]),
25590
25591
  timeReceived: _.fromDate(c[1])
@@ -25593,17 +25594,17 @@ class R_ {
25593
25594
  case: "binary",
25594
25595
  value: e
25595
25596
  }
25596
- }), R = new at({
25597
- metadata: p,
25598
- sensorContents: [T]
25597
+ }), S = new at({
25598
+ metadata: T,
25599
+ sensorContents: [R]
25599
25600
  });
25600
- return (await this.dataSyncClient.dataCaptureUpload(R)).binaryDataId;
25601
+ return (await this.dataSyncClient.dataCaptureUpload(S)).binaryDataId;
25601
25602
  }
25602
25603
  // eslint-disable-next-line class-methods-use-this
25603
25604
  createFilter(e) {
25604
- const n = new $e(e);
25605
+ const n = new Ve(e);
25605
25606
  if (e.startTime ?? e.endTime) {
25606
- const o = new On();
25607
+ const o = new wn();
25607
25608
  e.startTime && (o.start = _.fromDate(e.startTime)), e.endTime && (o.end = _.fromDate(e.endTime)), n.interval = o;
25608
25609
  }
25609
25610
  const t = new Bo();
@@ -25726,7 +25727,7 @@ class R_ {
25726
25727
  * @returns The ID of the created data pipeline
25727
25728
  */
25728
25729
  async createDataPipeline(e, n, t, o, i, r) {
25729
- const c = t[0] instanceof Uint8Array ? t : t.map((T) => Bn.serialize(T)), l = r ?? He.STANDARD;
25730
+ const c = t[0] instanceof Uint8Array ? t : t.map((T) => Bn.serialize(T)), l = r ?? Ke.STANDARD;
25730
25731
  return (await this.dataPipelinesClient.createDataPipeline({
25731
25732
  organizationId: e,
25732
25733
  name: n,
@@ -26136,10 +26137,10 @@ const fv = /* @__PURE__ */ s.makeMessageType(
26136
26137
  ), Ev = /* @__PURE__ */ s.makeMessageType(
26137
26138
  "viam.provisioning.v1.SetSmartMachineCredentialsResponse",
26138
26139
  []
26139
- ), wv = /* @__PURE__ */ s.makeMessageType(
26140
+ ), Ov = /* @__PURE__ */ s.makeMessageType(
26140
26141
  "viam.provisioning.v1.GetNetworkListRequest",
26141
26142
  []
26142
- ), Ov = /* @__PURE__ */ s.makeMessageType(
26143
+ ), wv = /* @__PURE__ */ s.makeMessageType(
26143
26144
  "viam.provisioning.v1.GetNetworkListResponse",
26144
26145
  () => [
26145
26146
  { no: 1, name: "networks", kind: "message", T: Yo, repeated: !0 }
@@ -26240,13 +26241,13 @@ const fv = /* @__PURE__ */ s.makeMessageType(
26240
26241
  /* ScalarType.STRING */
26241
26242
  }
26242
26243
  ]
26243
- ), eS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
26244
+ ), tS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
26244
26245
  __proto__: null,
26245
26246
  CloudConfig: Nv,
26246
26247
  ExitProvisioningRequest: fv,
26247
26248
  ExitProvisioningResponse: Rv,
26248
- GetNetworkListRequest: wv,
26249
- GetNetworkListResponse: Ov,
26249
+ GetNetworkListRequest: Ov,
26250
+ GetNetworkListResponse: wv,
26250
26251
  GetSmartMachineStatusRequest: _v,
26251
26252
  GetSmartMachineStatusResponse: Sv,
26252
26253
  NetworkInfo: Yo,
@@ -26298,8 +26299,8 @@ const fv = /* @__PURE__ */ s.makeMessageType(
26298
26299
  */
26299
26300
  getNetworkList: {
26300
26301
  name: "GetNetworkList",
26301
- I: wv,
26302
- O: Ov,
26302
+ I: Ov,
26303
+ O: wv,
26303
26304
  kind: m.Unary
26304
26305
  },
26305
26306
  /**
@@ -26362,7 +26363,7 @@ class M_ {
26362
26363
  return (await this.client.getNetworkList({})).networks;
26363
26364
  }
26364
26365
  }
26365
- const nS = async ({
26366
+ const sS = async ({
26366
26367
  serviceHost: a = "https://app.viam.com",
26367
26368
  credentials: e
26368
26369
  }) => {
@@ -26378,7 +26379,7 @@ class b_ {
26378
26379
  provisioningClient;
26379
26380
  billingClient;
26380
26381
  constructor(e, n) {
26381
- this.transport = e, this.credentials = n, this.dataClient = new R_(this.transport), this.appClient = new w1(this.transport), this.mlTrainingClient = new S_(this.transport), this.provisioningClient = new M_(this.transport), this.billingClient = new C1(this.transport);
26382
+ this.transport = e, this.credentials = n, this.dataClient = new R_(this.transport), this.appClient = new O1(this.transport), this.mlTrainingClient = new S_(this.transport), this.provisioningClient = new M_(this.transport), this.billingClient = new C1(this.transport);
26382
26383
  }
26383
26384
  async connectToMachine({
26384
26385
  host: e = void 0,
@@ -26409,7 +26410,7 @@ class b_ {
26409
26410
  type: "robot-location-secret",
26410
26411
  payload: (await this.appClient.getLocation(o))?.auth?.secrets.find(
26411
26412
  // eslint-disable-next-line camelcase
26412
- (l) => l.state === Oo.ENABLED
26413
+ (l) => l.state === wo.ENABLED
26413
26414
  )?.secret,
26414
26415
  authEntity: t
26415
26416
  });
@@ -26422,8 +26423,8 @@ class b_ {
26422
26423
  });
26423
26424
  }
26424
26425
  }
26425
- const { JointPositions: aS } = MR;
26426
- class tS {
26426
+ const { JointPositions: oS } = MR;
26427
+ class iS {
26427
26428
  client;
26428
26429
  name;
26429
26430
  options;
@@ -26443,7 +26444,7 @@ class tS {
26443
26444
  return i;
26444
26445
  }
26445
26446
  async getGeometries(e = {}, n = this.callOptions) {
26446
- const t = new J({
26447
+ const t = new B({
26447
26448
  name: this.name,
26448
26449
  extra: d.fromJson(e)
26449
26450
  });
@@ -26501,8 +26502,8 @@ class tS {
26501
26502
  );
26502
26503
  }
26503
26504
  }
26504
- const { GetPropertiesResponse: sS } = bR;
26505
- class oS {
26505
+ const { GetPropertiesResponse: rS } = bR;
26506
+ class mS {
26506
26507
  client;
26507
26508
  name;
26508
26509
  options;
@@ -26511,7 +26512,7 @@ class oS {
26511
26512
  this.client = e.createServiceClient(jr), this.name = n, this.options = t;
26512
26513
  }
26513
26514
  async getGeometries(e = {}, n = this.callOptions) {
26514
- const t = new J({
26515
+ const t = new B({
26515
26516
  name: this.name,
26516
26517
  extra: d.fromJson(e)
26517
26518
  });
@@ -26536,7 +26537,7 @@ class oS {
26536
26537
  this.options.requestLogger?.(i), await this.client.spin(i, o);
26537
26538
  }
26538
26539
  async setPower(e, n, t = {}, o = this.callOptions) {
26539
- const i = new wt({
26540
+ const i = new Ot({
26540
26541
  name: this.name,
26541
26542
  linear: e,
26542
26543
  angular: n,
@@ -26545,7 +26546,7 @@ class oS {
26545
26546
  this.options.requestLogger?.(i), await this.client.setPower(i, o);
26546
26547
  }
26547
26548
  async setVelocity(e, n, t = {}, o = this.callOptions) {
26548
- const i = new Ot({
26549
+ const i = new wt({
26549
26550
  name: this.name,
26550
26551
  linear: e,
26551
26552
  angular: n,
@@ -26583,8 +26584,8 @@ class oS {
26583
26584
  return this.options.requestLogger?.(t), this.client.getProperties(t, n);
26584
26585
  }
26585
26586
  }
26586
- const { ReadAnalogReaderResponse: iS, PowerMode: rS } = wR;
26587
- class mS {
26587
+ const { ReadAnalogReaderResponse: cS, PowerMode: dS } = OR;
26588
+ class lS {
26588
26589
  client;
26589
26590
  name;
26590
26591
  options;
@@ -26724,7 +26725,7 @@ const $o = /* @__PURE__ */ s.makeMessageType(
26724
26725
  ), Pv = /* @__PURE__ */ s.makeMessageType(
26725
26726
  "viam.component.button.v1.PushResponse",
26726
26727
  []
26727
- ), cS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
26728
+ ), pS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
26728
26729
  __proto__: null,
26729
26730
  PushRequest: $o,
26730
26731
  PushResponse: Pv
@@ -26749,13 +26750,13 @@ const $o = /* @__PURE__ */ s.makeMessageType(
26749
26750
  */
26750
26751
  doCommand: {
26751
26752
  name: "DoCommand",
26752
- I: q,
26753
+ I: D,
26753
26754
  O: U,
26754
26755
  kind: m.Unary
26755
26756
  }
26756
26757
  }
26757
26758
  };
26758
- class dS {
26759
+ class uS {
26759
26760
  client;
26760
26761
  name;
26761
26762
  options;
@@ -26780,7 +26781,7 @@ class dS {
26780
26781
  );
26781
26782
  }
26782
26783
  }
26783
- const w_ = /* @__PURE__ */ s.makeMessageType(
26784
+ const O_ = /* @__PURE__ */ s.makeMessageType(
26784
26785
  "google.api.HttpBody",
26785
26786
  () => [
26786
26787
  {
@@ -26797,9 +26798,9 @@ const w_ = /* @__PURE__ */ s.makeMessageType(
26797
26798
  T: 12
26798
26799
  /* ScalarType.BYTES */
26799
26800
  },
26800
- { no: 3, name: "extensions", kind: "message", T: j, repeated: !0 }
26801
+ { no: 3, name: "extensions", kind: "message", T: H, repeated: !0 }
26801
26802
  ]
26802
- ), O_ = {
26803
+ ), w_ = {
26803
26804
  typeName: "viam.component.camera.v1.CameraService",
26804
26805
  methods: {
26805
26806
  /**
@@ -26819,8 +26820,8 @@ const w_ = /* @__PURE__ */ s.makeMessageType(
26819
26820
  */
26820
26821
  getImages: {
26821
26822
  name: "GetImages",
26822
- I: wl,
26823
- O: Ol,
26823
+ I: Ol,
26824
+ O: wl,
26824
26825
  kind: m.Unary
26825
26826
  },
26826
26827
  /**
@@ -26832,7 +26833,7 @@ const w_ = /* @__PURE__ */ s.makeMessageType(
26832
26833
  renderFrame: {
26833
26834
  name: "RenderFrame",
26834
26835
  I: To,
26835
- O: w_,
26836
+ O: O_,
26836
26837
  kind: m.Unary
26837
26838
  },
26838
26839
  /**
@@ -26865,7 +26866,7 @@ const w_ = /* @__PURE__ */ s.makeMessageType(
26865
26866
  */
26866
26867
  doCommand: {
26867
26868
  name: "DoCommand",
26868
- I: q,
26869
+ I: D,
26869
26870
  O: U,
26870
26871
  kind: m.Unary
26871
26872
  },
@@ -26876,22 +26877,22 @@ const w_ = /* @__PURE__ */ s.makeMessageType(
26876
26877
  */
26877
26878
  getGeometries: {
26878
26879
  name: "GetGeometries",
26879
- I: J,
26880
- O: K,
26880
+ I: B,
26881
+ O: j,
26881
26882
  kind: m.Unary
26882
26883
  }
26883
26884
  }
26884
26885
  }, C_ = "pointcloud/pcd";
26885
- class lS {
26886
+ class gS {
26886
26887
  client;
26887
26888
  name;
26888
26889
  options;
26889
26890
  callOptions = { headers: {} };
26890
26891
  constructor(e, n, t = {}) {
26891
- this.client = e.createServiceClient(O_), this.name = n, this.options = t;
26892
+ this.client = e.createServiceClient(w_), this.name = n, this.options = t;
26892
26893
  }
26893
26894
  async getGeometries(e = {}, n = this.callOptions) {
26894
- const t = new J({
26895
+ const t = new B({
26895
26896
  name: this.name,
26896
26897
  extra: d.fromJson(e)
26897
26898
  });
@@ -26939,7 +26940,7 @@ class lS {
26939
26940
  );
26940
26941
  }
26941
26942
  }
26942
- class pS {
26943
+ class TS {
26943
26944
  client;
26944
26945
  name;
26945
26946
  options;
@@ -26965,10 +26966,10 @@ class pS {
26965
26966
  }
26966
26967
  }
26967
26968
  const {
26968
- GetPropertiesResponse: uS,
26969
+ GetPropertiesResponse: kS,
26969
26970
  PositionType: N_
26970
- } = OR;
26971
- class gS {
26971
+ } = wR;
26972
+ class yS {
26972
26973
  client;
26973
26974
  name;
26974
26975
  options;
@@ -27010,7 +27011,7 @@ class gS {
27010
27011
  );
27011
27012
  }
27012
27013
  }
27013
- class TS {
27014
+ class vS {
27014
27015
  client;
27015
27016
  name;
27016
27017
  options;
@@ -27019,7 +27020,7 @@ class TS {
27019
27020
  this.client = e.createServiceClient(vm), this.name = n, this.options = t;
27020
27021
  }
27021
27022
  async getGeometries(e = {}, n = this.callOptions) {
27022
- const t = new J({
27023
+ const t = new B({
27023
27024
  name: this.name,
27024
27025
  extra: d.fromJson(e)
27025
27026
  });
@@ -27079,25 +27080,25 @@ class TS {
27079
27080
  }
27080
27081
  }
27081
27082
  const {
27082
- Capsule: kS,
27083
- GeoGeometry: yS,
27084
- GeoPoint: vS,
27085
- GeometriesInFrame: hS,
27086
- Geometry: fS,
27087
- Orientation: RS,
27088
- Pose: _S,
27089
- PoseInFrame: SS,
27090
- RectangularPrism: IS,
27091
- ResourceName: MS,
27092
- Sphere: bS,
27093
- Transform: ES,
27094
- Vector3: wS,
27095
- WorldState: OS
27096
- } = Or, P_ = (a) => {
27083
+ Capsule: hS,
27084
+ GeoGeometry: fS,
27085
+ GeoPoint: RS,
27086
+ GeometriesInFrame: _S,
27087
+ Geometry: SS,
27088
+ Orientation: IS,
27089
+ Pose: MS,
27090
+ PoseInFrame: bS,
27091
+ RectangularPrism: ES,
27092
+ ResourceName: OS,
27093
+ Sphere: wS,
27094
+ Transform: CS,
27095
+ Vector3: NS,
27096
+ WorldState: PS
27097
+ } = wr, P_ = (a) => {
27097
27098
  const { latitude: e, longitude: n } = a;
27098
27099
  return !(typeof e != "number" || typeof n != "number" || Number.isNaN(e) || Number.isNaN(n));
27099
27100
  };
27100
- class CS {
27101
+ class DS {
27101
27102
  client;
27102
27103
  options;
27103
27104
  name;
@@ -27121,7 +27122,7 @@ class CS {
27121
27122
  return this.options.requestLogger?.(o), this.client.infer(o, t);
27122
27123
  }
27123
27124
  }
27124
- class NS {
27125
+ class AS {
27125
27126
  client;
27126
27127
  name;
27127
27128
  options;
@@ -27219,7 +27220,7 @@ class NS {
27219
27220
  );
27220
27221
  }
27221
27222
  }
27222
- class PS {
27223
+ class qS {
27223
27224
  client;
27224
27225
  name;
27225
27226
  options;
@@ -27326,11 +27327,11 @@ class PS {
27326
27327
  }
27327
27328
  }
27328
27329
  const {
27329
- GetAccuracyResponse: DS,
27330
- GetPositionResponse: AS,
27331
- GetPropertiesResponse: qS
27330
+ GetAccuracyResponse: US,
27331
+ GetPositionResponse: LS,
27332
+ GetPropertiesResponse: GS
27332
27333
  } = AR;
27333
- class US {
27334
+ class BS {
27334
27335
  client;
27335
27336
  name;
27336
27337
  options;
@@ -27407,7 +27408,7 @@ const Dv = {
27407
27408
  */
27408
27409
  doCommand: {
27409
27410
  name: "DoCommand",
27410
- I: q,
27411
+ I: D,
27411
27412
  O: U,
27412
27413
  kind: m.Unary
27413
27414
  },
@@ -27418,16 +27419,16 @@ const Dv = {
27418
27419
  */
27419
27420
  getGeometries: {
27420
27421
  name: "GetGeometries",
27421
- I: J,
27422
- O: K,
27422
+ I: B,
27423
+ O: j,
27423
27424
  kind: m.Unary
27424
27425
  }
27425
27426
  }
27426
- }, LS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27427
+ }, xS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27427
27428
  __proto__: null,
27428
27429
  SensorService: Dv
27429
27430
  }, Symbol.toStringTag, { value: "Module" }));
27430
- class GS {
27431
+ class FS {
27431
27432
  client;
27432
27433
  name;
27433
27434
  options;
@@ -27543,7 +27544,7 @@ const Av = /* @__PURE__ */ s.makeMessageType(
27543
27544
  ), Bv = /* @__PURE__ */ s.makeMessageType(
27544
27545
  "proto.stream.v1.SetStreamOptionsResponse",
27545
27546
  []
27546
- ), BS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27547
+ ), JS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27547
27548
  __proto__: null,
27548
27549
  AddStreamRequest: Vo,
27549
27550
  AddStreamResponse: Uv,
@@ -27618,7 +27619,7 @@ const Av = /* @__PURE__ */ s.makeMessageType(
27618
27619
  }
27619
27620
  }
27620
27621
  }, kn = (a) => a.replaceAll(":", "+");
27621
- class xS extends Cr {
27622
+ class zS extends Cr {
27622
27623
  client;
27623
27624
  options;
27624
27625
  streams;
@@ -27804,7 +27805,7 @@ const Ko = /* @__PURE__ */ s.makeMessageType(
27804
27805
  },
27805
27806
  { no: 2, name: "labels", kind: "scalar", T: 9, repeated: !0 }
27806
27807
  ]
27807
- ), FS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27808
+ ), YS = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
27808
27809
  __proto__: null,
27809
27810
  GetNumberOfPositionsRequest: Qo,
27810
27811
  GetNumberOfPositionsResponse: Jv,
@@ -27855,13 +27856,13 @@ const Ko = /* @__PURE__ */ s.makeMessageType(
27855
27856
  */
27856
27857
  doCommand: {
27857
27858
  name: "DoCommand",
27858
- I: q,
27859
+ I: D,
27859
27860
  O: U,
27860
27861
  kind: m.Unary
27861
27862
  }
27862
27863
  }
27863
27864
  };
27864
- class JS {
27865
+ class $S {
27865
27866
  client;
27866
27867
  name;
27867
27868
  options;
@@ -27907,7 +27908,7 @@ class JS {
27907
27908
  );
27908
27909
  }
27909
27910
  }
27910
- let zS = class {
27911
+ let VS = class {
27911
27912
  client;
27912
27913
  name;
27913
27914
  options;
@@ -27916,7 +27917,7 @@ let zS = class {
27916
27917
  this.client = e.createServiceClient(Qt), this.name = n, this.options = t;
27917
27918
  }
27918
27919
  async getGeometries(e = {}, n = this.callOptions) {
27919
- const t = new J({
27920
+ const t = new B({
27920
27921
  name: this.name,
27921
27922
  extra: d.fromJson(e)
27922
27923
  });
@@ -27932,7 +27933,88 @@ let zS = class {
27932
27933
  );
27933
27934
  }
27934
27935
  };
27935
- class $S {
27936
+ const q_ = /* @__PURE__ */ s.makeMessageType(
27937
+ "viam.component.posetracker.v1.GetPosesRequest",
27938
+ () => [
27939
+ {
27940
+ no: 1,
27941
+ name: "name",
27942
+ kind: "scalar",
27943
+ T: 9
27944
+ /* ScalarType.STRING */
27945
+ },
27946
+ { no: 2, name: "body_names", kind: "scalar", T: 9, repeated: !0 },
27947
+ { no: 99, name: "extra", kind: "message", T: d }
27948
+ ]
27949
+ ), U_ = /* @__PURE__ */ s.makeMessageType(
27950
+ "viam.component.posetracker.v1.GetPosesResponse",
27951
+ () => [
27952
+ { no: 1, name: "body_poses", kind: "map", K: 9, V: { kind: "message", T: ze } }
27953
+ ]
27954
+ ), L_ = {
27955
+ typeName: "viam.component.posetracker.v1.PoseTrackerService",
27956
+ methods: {
27957
+ /**
27958
+ * GetPoses returns the current pose of each body tracked by the pose tracker
27959
+ *
27960
+ * @generated from rpc viam.component.posetracker.v1.PoseTrackerService.GetPoses
27961
+ */
27962
+ getPoses: {
27963
+ name: "GetPoses",
27964
+ I: q_,
27965
+ O: U_,
27966
+ kind: m.Unary
27967
+ },
27968
+ /**
27969
+ * DoCommand sends/receives arbitrary commands
27970
+ *
27971
+ * @generated from rpc viam.component.posetracker.v1.PoseTrackerService.DoCommand
27972
+ */
27973
+ doCommand: {
27974
+ name: "DoCommand",
27975
+ I: D,
27976
+ O: U,
27977
+ kind: m.Unary
27978
+ },
27979
+ /**
27980
+ * GetGeometries returns the geometries of the component in their current configuration
27981
+ *
27982
+ * @generated from rpc viam.component.posetracker.v1.PoseTrackerService.GetGeometries
27983
+ */
27984
+ getGeometries: {
27985
+ name: "GetGeometries",
27986
+ I: B,
27987
+ O: j,
27988
+ kind: m.Unary
27989
+ }
27990
+ }
27991
+ };
27992
+ class jS {
27993
+ client;
27994
+ name;
27995
+ options;
27996
+ callOptions = { headers: {} };
27997
+ constructor(e, n, t = {}) {
27998
+ this.client = e.createServiceClient(L_), this.name = n, this.options = t;
27999
+ }
28000
+ async getGeometries(e = {}, n = this.callOptions) {
28001
+ const t = new B({
28002
+ name: this.name,
28003
+ extra: d.fromJson(e)
28004
+ });
28005
+ return (await this.client.getGeometries(t, n)).geometries;
28006
+ }
28007
+ async doCommand(e, n = this.callOptions) {
28008
+ return L(
28009
+ this.client.doCommand,
28010
+ this.name,
28011
+ e,
28012
+ this.options,
28013
+ n
28014
+ );
28015
+ }
28016
+ }
28017
+ class HS {
27936
28018
  client;
27937
28019
  name;
27938
28020
  options;
@@ -27941,7 +28023,7 @@ class $S {
27941
28023
  this.client = e.createServiceClient(Mm), this.name = n, this.options = t;
27942
28024
  }
27943
28025
  async getGeometries(e = {}, n = this.callOptions) {
27944
- const t = new J({
28026
+ const t = new B({
27945
28027
  name: this.name,
27946
28028
  extra: d.fromJson(e)
27947
28029
  });
@@ -27984,7 +28066,7 @@ class $S {
27984
28066
  );
27985
28067
  }
27986
28068
  }
27987
- class VS {
28069
+ class KS {
27988
28070
  client;
27989
28071
  name;
27990
28072
  options;
@@ -28017,18 +28099,18 @@ class VS {
28017
28099
  );
28018
28100
  }
28019
28101
  }
28020
- const { Event: WS } = PR, {
28021
- CollisionSpecification: jS,
28022
- Constraints: HS,
28023
- GetPlanResponse: KS,
28024
- LinearConstraint: XS,
28025
- ListPlanStatusesResponse: QS,
28026
- MotionConfiguration: ZS,
28027
- ObstacleDetector: eI,
28028
- OrientationConstraint: nI,
28029
- PlanState: aI
28102
+ const { Event: XS } = PR, {
28103
+ CollisionSpecification: QS,
28104
+ Constraints: ZS,
28105
+ GetPlanResponse: eI,
28106
+ LinearConstraint: nI,
28107
+ ListPlanStatusesResponse: aI,
28108
+ MotionConfiguration: tI,
28109
+ ObstacleDetector: sI,
28110
+ OrientationConstraint: oI,
28111
+ PlanState: iI
28030
28112
  } = YR;
28031
- class tI {
28113
+ class rI {
28032
28114
  client;
28033
28115
  name;
28034
28116
  options;
@@ -28138,11 +28220,11 @@ const Zo = /* @__PURE__ */ s.makeMessageType(
28138
28220
  ), zv = /* @__PURE__ */ s.makeMessageType(
28139
28221
  "viam.service.datamanager.v1.SyncResponse",
28140
28222
  []
28141
- ), sI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28223
+ ), mI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28142
28224
  __proto__: null,
28143
28225
  SyncRequest: Zo,
28144
28226
  SyncResponse: zv
28145
- }, Symbol.toStringTag, { value: "Module" })), q_ = {
28227
+ }, Symbol.toStringTag, { value: "Module" })), G_ = {
28146
28228
  typeName: "viam.service.datamanager.v1.DataManagerService",
28147
28229
  methods: {
28148
28230
  /**
@@ -28163,19 +28245,19 @@ const Zo = /* @__PURE__ */ s.makeMessageType(
28163
28245
  */
28164
28246
  doCommand: {
28165
28247
  name: "DoCommand",
28166
- I: q,
28248
+ I: D,
28167
28249
  O: U,
28168
28250
  kind: m.Unary
28169
28251
  }
28170
28252
  }
28171
28253
  };
28172
- class oI {
28254
+ class cI {
28173
28255
  client;
28174
28256
  name;
28175
28257
  options;
28176
28258
  callOptions = { headers: {} };
28177
28259
  constructor(e, n, t = {}) {
28178
- this.client = e.createServiceClient(q_), this.name = n, this.options = t;
28260
+ this.client = e.createServiceClient(G_), this.name = n, this.options = t;
28179
28261
  }
28180
28262
  /**
28181
28263
  * Sync data stored on the machine to the cloud.
@@ -28232,7 +28314,7 @@ class oI {
28232
28314
  );
28233
28315
  }
28234
28316
  }
28235
- class iI {
28317
+ class dI {
28236
28318
  client;
28237
28319
  name;
28238
28320
  options;
@@ -28322,13 +28404,13 @@ class iI {
28322
28404
  }
28323
28405
  }
28324
28406
  const {
28325
- GetLocationResponse: rI,
28326
- GetPropertiesResponse: mI,
28327
- Mode: cI,
28328
- Path: dI,
28329
- Waypoint: lI
28407
+ GetLocationResponse: lI,
28408
+ GetPropertiesResponse: pI,
28409
+ Mode: uI,
28410
+ Path: gI,
28411
+ Waypoint: TI
28330
28412
  } = $R;
28331
- class pI {
28413
+ class kI {
28332
28414
  client;
28333
28415
  name;
28334
28416
  options;
@@ -28352,14 +28434,14 @@ class pI {
28352
28434
  return this.options.requestLogger?.(t), (await this.client.getPosition(t, n)).positionDeg;
28353
28435
  }
28354
28436
  async stop(e = {}, n = this.callOptions) {
28355
- const t = new ws({
28437
+ const t = new Os({
28356
28438
  name: this.name,
28357
28439
  extra: d.fromJson(e)
28358
28440
  });
28359
28441
  this.options.requestLogger?.(t), await this.client.stop(t, n);
28360
28442
  }
28361
28443
  async isMoving(e = this.callOptions) {
28362
- const n = new Os({
28444
+ const n = new ws({
28363
28445
  name: this.name
28364
28446
  });
28365
28447
  return this.options.requestLogger?.(n), (await this.client.isMoving(n, e)).isMoving;
@@ -28374,7 +28456,7 @@ class pI {
28374
28456
  );
28375
28457
  }
28376
28458
  }
28377
- class uI {
28459
+ class yI {
28378
28460
  client;
28379
28461
  name;
28380
28462
  options;
@@ -28432,10 +28514,10 @@ const Ni = (a) => {
28432
28514
  n.set(o, t), t += o.length;
28433
28515
  return n;
28434
28516
  }, {
28435
- GetPositionResponse: gI,
28436
- GetPropertiesResponse: TI
28517
+ GetPositionResponse: vI,
28518
+ GetPropertiesResponse: hI
28437
28519
  } = VR;
28438
- class kI {
28520
+ class fI {
28439
28521
  client;
28440
28522
  name;
28441
28523
  options;
@@ -28550,7 +28632,7 @@ class kI {
28550
28632
  );
28551
28633
  }
28552
28634
  }
28553
- const { Classification: yI, Detection: vI } = jR, { PointCloudObject: hI } = Or, Yv = {
28635
+ const { Classification: RI, Detection: _I } = jR, { PointCloudObject: SI } = wr, Yv = {
28554
28636
  typeName: "viam.service.generic.v1.GenericService",
28555
28637
  methods: {
28556
28638
  /**
@@ -28560,16 +28642,16 @@ const { Classification: yI, Detection: vI } = jR, { PointCloudObject: hI } = Or,
28560
28642
  */
28561
28643
  doCommand: {
28562
28644
  name: "DoCommand",
28563
- I: q,
28645
+ I: D,
28564
28646
  O: U,
28565
28647
  kind: m.Unary
28566
28648
  }
28567
28649
  }
28568
- }, fI = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28650
+ }, II = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
28569
28651
  __proto__: null,
28570
28652
  GenericService: Yv
28571
28653
  }, Symbol.toStringTag, { value: "Module" }));
28572
- class RI {
28654
+ class MI {
28573
28655
  client;
28574
28656
  name;
28575
28657
  options;
@@ -28587,124 +28669,125 @@ class RI {
28587
28669
  );
28588
28670
  }
28589
28671
  }
28590
- const _I = "0.48.0";
28672
+ const bI = "0.49.0";
28591
28673
  export {
28592
- iS as AnalogValue,
28593
- tS as ArmClient,
28594
- aS as ArmJointPositions,
28595
- oS as BaseClient,
28596
- sS as BaseProperties,
28597
- mS as BoardClient,
28598
- dS as ButtonClient,
28599
- lS as CameraClient,
28600
- kS as Capsule,
28601
- yI as Classification,
28602
- A as Client,
28674
+ cS as AnalogValue,
28675
+ iS as ArmClient,
28676
+ oS as ArmJointPositions,
28677
+ mS as BaseClient,
28678
+ rS as BaseProperties,
28679
+ lS as BoardClient,
28680
+ uS as ButtonClient,
28681
+ gS as CameraClient,
28682
+ hS as Capsule,
28683
+ RI as Classification,
28684
+ q as Client,
28603
28685
  Nv as CloudConfig,
28604
- w as Code,
28605
- jS as CollisionSpecification,
28686
+ O as Code,
28687
+ QS as CollisionSpecification,
28606
28688
  N as ConnectError,
28607
28689
  Ae as ConnectionClosedError,
28608
- HS as Constraints,
28609
- oI as DataManagerClient,
28610
- vI as Detection,
28611
- pS as DiscoveryClient,
28612
- F as Duration,
28613
- gS as EncoderClient,
28690
+ ZS as Constraints,
28691
+ cI as DataManagerClient,
28692
+ _I as Detection,
28693
+ TS as DiscoveryClient,
28694
+ J as Duration,
28695
+ yS as EncoderClient,
28614
28696
  N_ as EncoderPositionType,
28615
- uS as EncoderProperties,
28616
- TS as GantryClient,
28617
- zS as GenericComponentClient,
28618
- RI as GenericServiceClient,
28619
- yS as GeoGeometry,
28620
- vS as GeoPoint,
28621
- hS as GeometriesInFrame,
28622
- fS as Geometry,
28623
- $S as GripperClient,
28624
- VS as InputControllerClient,
28625
- WS as InputControllerEvent,
28626
- XS as LinearConstraint,
28627
- QS as ListPlanStatusesResponse,
28628
- CS as MLModelClient,
28697
+ kS as EncoderProperties,
28698
+ vS as GantryClient,
28699
+ VS as GenericComponentClient,
28700
+ MI as GenericServiceClient,
28701
+ fS as GeoGeometry,
28702
+ RS as GeoPoint,
28703
+ _S as GeometriesInFrame,
28704
+ SS as Geometry,
28705
+ HS as GripperClient,
28706
+ KS as InputControllerClient,
28707
+ XS as InputControllerEvent,
28708
+ nI as LinearConstraint,
28709
+ aI as ListPlanStatusesResponse,
28710
+ DS as MLModelClient,
28629
28711
  ae as MachineConnectionEvent,
28630
28712
  en as ModelType,
28631
- tI as MotionClient,
28632
- ZS as MotionConfiguration,
28633
- NS as MotorClient,
28634
- DS as MovementSensorAccuracy,
28635
- PS as MovementSensorClient,
28636
- AS as MovementSensorPosition,
28637
- qS as MovementSensorProperties,
28638
- iI as NavigationClient,
28639
- rI as NavigationPosition,
28640
- mI as NavigationProperties,
28641
- eI as ObstacleDetector,
28642
- RS as Orientation,
28643
- nI as OrientationConstraint,
28644
- dI as Path,
28645
- hI as PointCloudObject,
28646
- _S as Pose,
28647
- SS as PoseInFrame,
28648
- rS as PowerMode,
28649
- US as PowerSensorClient,
28650
- IS as RectangularPrism,
28651
- MS as ResourceName,
28652
- A as RobotClient,
28653
- GS as SensorClient,
28654
- pI as ServoClient,
28655
- uI as SlamClient,
28656
- gI as SlamPosition,
28657
- TI as SlamProperties,
28658
- bS as Sphere,
28659
- xS as StreamClient,
28713
+ rI as MotionClient,
28714
+ tI as MotionConfiguration,
28715
+ AS as MotorClient,
28716
+ US as MovementSensorAccuracy,
28717
+ qS as MovementSensorClient,
28718
+ LS as MovementSensorPosition,
28719
+ GS as MovementSensorProperties,
28720
+ dI as NavigationClient,
28721
+ lI as NavigationPosition,
28722
+ pI as NavigationProperties,
28723
+ sI as ObstacleDetector,
28724
+ IS as Orientation,
28725
+ oI as OrientationConstraint,
28726
+ gI as Path,
28727
+ SI as PointCloudObject,
28728
+ MS as Pose,
28729
+ bS as PoseInFrame,
28730
+ jS as PoseTrackerClient,
28731
+ dS as PowerMode,
28732
+ BS as PowerSensorClient,
28733
+ ES as RectangularPrism,
28734
+ OS as ResourceName,
28735
+ q as RobotClient,
28736
+ FS as SensorClient,
28737
+ kI as ServoClient,
28738
+ yI as SlamClient,
28739
+ vI as SlamPosition,
28740
+ hI as SlamProperties,
28741
+ wS as Sphere,
28742
+ zS as StreamClient,
28660
28743
  d as Struct,
28661
- JS as SwitchClient,
28744
+ $S as SwitchClient,
28662
28745
  _ as Timestamp,
28663
28746
  Io as TrainingStatus,
28664
- ES as Transform,
28665
- wS as Vector3,
28666
- kI as VisionClient,
28667
- lI as Waypoint,
28668
- OS as WorldState,
28669
- G_ as addMetadata,
28670
- X_ as appApi,
28671
- W_ as appRobotApi,
28747
+ CS as Transform,
28748
+ NS as Vector3,
28749
+ fI as VisionClient,
28750
+ TI as Waypoint,
28751
+ PS as WorldState,
28752
+ F_ as addMetadata,
28753
+ eS as appApi,
28754
+ K_ as appRobotApi,
28672
28755
  MR as armApi,
28673
28756
  bR as baseApi,
28674
- Q_ as billingApi,
28675
- wR as boardApi,
28676
- cS as buttonApi,
28677
- H_ as cameraApi,
28678
- Or as commonApi,
28757
+ nS as billingApi,
28758
+ OR as boardApi,
28759
+ pS as buttonApi,
28760
+ Q_ as cameraApi,
28761
+ wr as commonApi,
28679
28762
  M1 as createRobotClient,
28680
- nS as createViamClient,
28681
- Z_ as dataApi,
28682
- sI as dataManagerApi,
28683
- B_ as deleteMetadata,
28684
- L_ as disableDebugLogging,
28685
- j_ as discoveryApi,
28763
+ sS as createViamClient,
28764
+ aS as dataApi,
28765
+ mI as dataManagerApi,
28766
+ J_ as deleteMetadata,
28767
+ x_ as disableDebugLogging,
28768
+ X_ as discoveryApi,
28686
28769
  L as doCommandFromClient,
28687
- U_ as enableDebugLogging,
28688
- OR as encoderApi,
28689
- x_ as gantryApi,
28690
- F_ as genericComponentApi,
28691
- fI as genericServiceApi,
28692
- J_ as gripperApi,
28770
+ B_ as enableDebugLogging,
28771
+ wR as encoderApi,
28772
+ z_ as gantryApi,
28773
+ Y_ as genericComponentApi,
28774
+ II as genericServiceApi,
28775
+ $_ as gripperApi,
28693
28776
  PR as inputControllerApi,
28694
28777
  P_ as isValidGeoPoint,
28695
- K_ as mlTrainingApi,
28778
+ Z_ as mlTrainingApi,
28696
28779
  YR as motionApi,
28697
- z_ as motorApi,
28780
+ V_ as motorApi,
28698
28781
  AR as movementSensorApi,
28699
28782
  $R as navigationApi,
28700
- Y_ as powerSensorApi,
28701
- eS as provisioningApi,
28702
- V_ as robotApi,
28703
- LS as sensorApi,
28704
- $_ as servoApi,
28783
+ W_ as powerSensorApi,
28784
+ tS as provisioningApi,
28785
+ H_ as robotApi,
28786
+ xS as sensorApi,
28787
+ j_ as servoApi,
28705
28788
  VR as slamApi,
28706
- BS as streamApi,
28707
- FS as switchApi,
28708
- _I as version,
28789
+ JS as streamApi,
28790
+ YS as switchApi,
28791
+ bI as version,
28709
28792
  jR as visionApi
28710
28793
  };