@viamrobotics/sdk 0.23.1 → 0.24.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
@@ -29078,7 +29078,481 @@ var backOff_1 = backoff.backOff = backOff, BackOff = (
29078
29078
  });
29079
29079
  }, n;
29080
29080
  }()
29081
- );
29081
+ ), auth_pb = {};
29082
+ (function(n) {
29083
+ var e = googleProtobuf$1, s = e, g = typeof globalThis < "u" && globalThis || typeof window < "u" && window || typeof g < "u" && g || typeof self < "u" && self || function() {
29084
+ return this;
29085
+ }.call(null) || Function("return this")(), u = annotations_pb$1;
29086
+ s.object.extend(proto, u), s.exportSymbol("proto.proto.rpc.v1.AuthenticateRequest", null, g), s.exportSymbol("proto.proto.rpc.v1.AuthenticateResponse", null, g), s.exportSymbol("proto.proto.rpc.v1.AuthenticateToRequest", null, g), s.exportSymbol("proto.proto.rpc.v1.AuthenticateToResponse", null, g), s.exportSymbol("proto.proto.rpc.v1.Credentials", null, g), proto.proto.rpc.v1.Credentials = function(p) {
29087
+ e.Message.initialize(this, p, 0, -1, null, null);
29088
+ }, s.inherits(proto.proto.rpc.v1.Credentials, e.Message), s.DEBUG && !COMPILED && (proto.proto.rpc.v1.Credentials.displayName = "proto.proto.rpc.v1.Credentials"), proto.proto.rpc.v1.AuthenticateRequest = function(p) {
29089
+ e.Message.initialize(this, p, 0, -1, null, null);
29090
+ }, s.inherits(proto.proto.rpc.v1.AuthenticateRequest, e.Message), s.DEBUG && !COMPILED && (proto.proto.rpc.v1.AuthenticateRequest.displayName = "proto.proto.rpc.v1.AuthenticateRequest"), proto.proto.rpc.v1.AuthenticateResponse = function(p) {
29091
+ e.Message.initialize(this, p, 0, -1, null, null);
29092
+ }, s.inherits(proto.proto.rpc.v1.AuthenticateResponse, e.Message), s.DEBUG && !COMPILED && (proto.proto.rpc.v1.AuthenticateResponse.displayName = "proto.proto.rpc.v1.AuthenticateResponse"), proto.proto.rpc.v1.AuthenticateToRequest = function(p) {
29093
+ e.Message.initialize(this, p, 0, -1, null, null);
29094
+ }, s.inherits(proto.proto.rpc.v1.AuthenticateToRequest, e.Message), s.DEBUG && !COMPILED && (proto.proto.rpc.v1.AuthenticateToRequest.displayName = "proto.proto.rpc.v1.AuthenticateToRequest"), proto.proto.rpc.v1.AuthenticateToResponse = function(p) {
29095
+ e.Message.initialize(this, p, 0, -1, null, null);
29096
+ }, s.inherits(proto.proto.rpc.v1.AuthenticateToResponse, e.Message), s.DEBUG && !COMPILED && (proto.proto.rpc.v1.AuthenticateToResponse.displayName = "proto.proto.rpc.v1.AuthenticateToResponse"), e.Message.GENERATE_TO_OBJECT && (proto.proto.rpc.v1.Credentials.prototype.toObject = function(p) {
29097
+ return proto.proto.rpc.v1.Credentials.toObject(p, this);
29098
+ }, proto.proto.rpc.v1.Credentials.toObject = function(p, l) {
29099
+ var o = {
29100
+ type: e.Message.getFieldWithDefault(l, 1, ""),
29101
+ payload: e.Message.getFieldWithDefault(l, 2, "")
29102
+ };
29103
+ return p && (o.$jspbMessageInstance = l), o;
29104
+ }), proto.proto.rpc.v1.Credentials.deserializeBinary = function(p) {
29105
+ var l = new e.BinaryReader(p), o = new proto.proto.rpc.v1.Credentials();
29106
+ return proto.proto.rpc.v1.Credentials.deserializeBinaryFromReader(o, l);
29107
+ }, proto.proto.rpc.v1.Credentials.deserializeBinaryFromReader = function(p, l) {
29108
+ for (; l.nextField() && !l.isEndGroup(); ) {
29109
+ var o = l.getFieldNumber();
29110
+ switch (o) {
29111
+ case 1:
29112
+ var r = (
29113
+ /** @type {string} */
29114
+ l.readString()
29115
+ );
29116
+ p.setType(r);
29117
+ break;
29118
+ case 2:
29119
+ var r = (
29120
+ /** @type {string} */
29121
+ l.readString()
29122
+ );
29123
+ p.setPayload(r);
29124
+ break;
29125
+ default:
29126
+ l.skipField();
29127
+ break;
29128
+ }
29129
+ }
29130
+ return p;
29131
+ }, proto.proto.rpc.v1.Credentials.prototype.serializeBinary = function() {
29132
+ var p = new e.BinaryWriter();
29133
+ return proto.proto.rpc.v1.Credentials.serializeBinaryToWriter(this, p), p.getResultBuffer();
29134
+ }, proto.proto.rpc.v1.Credentials.serializeBinaryToWriter = function(p, l) {
29135
+ var o = void 0;
29136
+ o = p.getType(), o.length > 0 && l.writeString(
29137
+ 1,
29138
+ o
29139
+ ), o = p.getPayload(), o.length > 0 && l.writeString(
29140
+ 2,
29141
+ o
29142
+ );
29143
+ }, proto.proto.rpc.v1.Credentials.prototype.getType = function() {
29144
+ return (
29145
+ /** @type {string} */
29146
+ e.Message.getFieldWithDefault(this, 1, "")
29147
+ );
29148
+ }, proto.proto.rpc.v1.Credentials.prototype.setType = function(p) {
29149
+ return e.Message.setProto3StringField(this, 1, p);
29150
+ }, proto.proto.rpc.v1.Credentials.prototype.getPayload = function() {
29151
+ return (
29152
+ /** @type {string} */
29153
+ e.Message.getFieldWithDefault(this, 2, "")
29154
+ );
29155
+ }, proto.proto.rpc.v1.Credentials.prototype.setPayload = function(p) {
29156
+ return e.Message.setProto3StringField(this, 2, p);
29157
+ }, e.Message.GENERATE_TO_OBJECT && (proto.proto.rpc.v1.AuthenticateRequest.prototype.toObject = function(p) {
29158
+ return proto.proto.rpc.v1.AuthenticateRequest.toObject(p, this);
29159
+ }, proto.proto.rpc.v1.AuthenticateRequest.toObject = function(p, l) {
29160
+ var o, r = {
29161
+ entity: e.Message.getFieldWithDefault(l, 1, ""),
29162
+ credentials: (o = l.getCredentials()) && proto.proto.rpc.v1.Credentials.toObject(p, o)
29163
+ };
29164
+ return p && (r.$jspbMessageInstance = l), r;
29165
+ }), proto.proto.rpc.v1.AuthenticateRequest.deserializeBinary = function(p) {
29166
+ var l = new e.BinaryReader(p), o = new proto.proto.rpc.v1.AuthenticateRequest();
29167
+ return proto.proto.rpc.v1.AuthenticateRequest.deserializeBinaryFromReader(o, l);
29168
+ }, proto.proto.rpc.v1.AuthenticateRequest.deserializeBinaryFromReader = function(p, l) {
29169
+ for (; l.nextField() && !l.isEndGroup(); ) {
29170
+ var o = l.getFieldNumber();
29171
+ switch (o) {
29172
+ case 1:
29173
+ var r = (
29174
+ /** @type {string} */
29175
+ l.readString()
29176
+ );
29177
+ p.setEntity(r);
29178
+ break;
29179
+ case 2:
29180
+ var r = new proto.proto.rpc.v1.Credentials();
29181
+ l.readMessage(r, proto.proto.rpc.v1.Credentials.deserializeBinaryFromReader), p.setCredentials(r);
29182
+ break;
29183
+ default:
29184
+ l.skipField();
29185
+ break;
29186
+ }
29187
+ }
29188
+ return p;
29189
+ }, proto.proto.rpc.v1.AuthenticateRequest.prototype.serializeBinary = function() {
29190
+ var p = new e.BinaryWriter();
29191
+ return proto.proto.rpc.v1.AuthenticateRequest.serializeBinaryToWriter(this, p), p.getResultBuffer();
29192
+ }, proto.proto.rpc.v1.AuthenticateRequest.serializeBinaryToWriter = function(p, l) {
29193
+ var o = void 0;
29194
+ o = p.getEntity(), o.length > 0 && l.writeString(
29195
+ 1,
29196
+ o
29197
+ ), o = p.getCredentials(), o != null && l.writeMessage(
29198
+ 2,
29199
+ o,
29200
+ proto.proto.rpc.v1.Credentials.serializeBinaryToWriter
29201
+ );
29202
+ }, proto.proto.rpc.v1.AuthenticateRequest.prototype.getEntity = function() {
29203
+ return (
29204
+ /** @type {string} */
29205
+ e.Message.getFieldWithDefault(this, 1, "")
29206
+ );
29207
+ }, proto.proto.rpc.v1.AuthenticateRequest.prototype.setEntity = function(p) {
29208
+ return e.Message.setProto3StringField(this, 1, p);
29209
+ }, proto.proto.rpc.v1.AuthenticateRequest.prototype.getCredentials = function() {
29210
+ return (
29211
+ /** @type{?proto.proto.rpc.v1.Credentials} */
29212
+ e.Message.getWrapperField(this, proto.proto.rpc.v1.Credentials, 2)
29213
+ );
29214
+ }, proto.proto.rpc.v1.AuthenticateRequest.prototype.setCredentials = function(p) {
29215
+ return e.Message.setWrapperField(this, 2, p);
29216
+ }, proto.proto.rpc.v1.AuthenticateRequest.prototype.clearCredentials = function() {
29217
+ return this.setCredentials(void 0);
29218
+ }, proto.proto.rpc.v1.AuthenticateRequest.prototype.hasCredentials = function() {
29219
+ return e.Message.getField(this, 2) != null;
29220
+ }, e.Message.GENERATE_TO_OBJECT && (proto.proto.rpc.v1.AuthenticateResponse.prototype.toObject = function(p) {
29221
+ return proto.proto.rpc.v1.AuthenticateResponse.toObject(p, this);
29222
+ }, proto.proto.rpc.v1.AuthenticateResponse.toObject = function(p, l) {
29223
+ var o = {
29224
+ accessToken: e.Message.getFieldWithDefault(l, 1, "")
29225
+ };
29226
+ return p && (o.$jspbMessageInstance = l), o;
29227
+ }), proto.proto.rpc.v1.AuthenticateResponse.deserializeBinary = function(p) {
29228
+ var l = new e.BinaryReader(p), o = new proto.proto.rpc.v1.AuthenticateResponse();
29229
+ return proto.proto.rpc.v1.AuthenticateResponse.deserializeBinaryFromReader(o, l);
29230
+ }, proto.proto.rpc.v1.AuthenticateResponse.deserializeBinaryFromReader = function(p, l) {
29231
+ for (; l.nextField() && !l.isEndGroup(); ) {
29232
+ var o = l.getFieldNumber();
29233
+ switch (o) {
29234
+ case 1:
29235
+ var r = (
29236
+ /** @type {string} */
29237
+ l.readString()
29238
+ );
29239
+ p.setAccessToken(r);
29240
+ break;
29241
+ default:
29242
+ l.skipField();
29243
+ break;
29244
+ }
29245
+ }
29246
+ return p;
29247
+ }, proto.proto.rpc.v1.AuthenticateResponse.prototype.serializeBinary = function() {
29248
+ var p = new e.BinaryWriter();
29249
+ return proto.proto.rpc.v1.AuthenticateResponse.serializeBinaryToWriter(this, p), p.getResultBuffer();
29250
+ }, proto.proto.rpc.v1.AuthenticateResponse.serializeBinaryToWriter = function(p, l) {
29251
+ var o = void 0;
29252
+ o = p.getAccessToken(), o.length > 0 && l.writeString(
29253
+ 1,
29254
+ o
29255
+ );
29256
+ }, proto.proto.rpc.v1.AuthenticateResponse.prototype.getAccessToken = function() {
29257
+ return (
29258
+ /** @type {string} */
29259
+ e.Message.getFieldWithDefault(this, 1, "")
29260
+ );
29261
+ }, proto.proto.rpc.v1.AuthenticateResponse.prototype.setAccessToken = function(p) {
29262
+ return e.Message.setProto3StringField(this, 1, p);
29263
+ }, e.Message.GENERATE_TO_OBJECT && (proto.proto.rpc.v1.AuthenticateToRequest.prototype.toObject = function(p) {
29264
+ return proto.proto.rpc.v1.AuthenticateToRequest.toObject(p, this);
29265
+ }, proto.proto.rpc.v1.AuthenticateToRequest.toObject = function(p, l) {
29266
+ var o = {
29267
+ entity: e.Message.getFieldWithDefault(l, 1, "")
29268
+ };
29269
+ return p && (o.$jspbMessageInstance = l), o;
29270
+ }), proto.proto.rpc.v1.AuthenticateToRequest.deserializeBinary = function(p) {
29271
+ var l = new e.BinaryReader(p), o = new proto.proto.rpc.v1.AuthenticateToRequest();
29272
+ return proto.proto.rpc.v1.AuthenticateToRequest.deserializeBinaryFromReader(o, l);
29273
+ }, proto.proto.rpc.v1.AuthenticateToRequest.deserializeBinaryFromReader = function(p, l) {
29274
+ for (; l.nextField() && !l.isEndGroup(); ) {
29275
+ var o = l.getFieldNumber();
29276
+ switch (o) {
29277
+ case 1:
29278
+ var r = (
29279
+ /** @type {string} */
29280
+ l.readString()
29281
+ );
29282
+ p.setEntity(r);
29283
+ break;
29284
+ default:
29285
+ l.skipField();
29286
+ break;
29287
+ }
29288
+ }
29289
+ return p;
29290
+ }, proto.proto.rpc.v1.AuthenticateToRequest.prototype.serializeBinary = function() {
29291
+ var p = new e.BinaryWriter();
29292
+ return proto.proto.rpc.v1.AuthenticateToRequest.serializeBinaryToWriter(this, p), p.getResultBuffer();
29293
+ }, proto.proto.rpc.v1.AuthenticateToRequest.serializeBinaryToWriter = function(p, l) {
29294
+ var o = void 0;
29295
+ o = p.getEntity(), o.length > 0 && l.writeString(
29296
+ 1,
29297
+ o
29298
+ );
29299
+ }, proto.proto.rpc.v1.AuthenticateToRequest.prototype.getEntity = function() {
29300
+ return (
29301
+ /** @type {string} */
29302
+ e.Message.getFieldWithDefault(this, 1, "")
29303
+ );
29304
+ }, proto.proto.rpc.v1.AuthenticateToRequest.prototype.setEntity = function(p) {
29305
+ return e.Message.setProto3StringField(this, 1, p);
29306
+ }, e.Message.GENERATE_TO_OBJECT && (proto.proto.rpc.v1.AuthenticateToResponse.prototype.toObject = function(p) {
29307
+ return proto.proto.rpc.v1.AuthenticateToResponse.toObject(p, this);
29308
+ }, proto.proto.rpc.v1.AuthenticateToResponse.toObject = function(p, l) {
29309
+ var o = {
29310
+ accessToken: e.Message.getFieldWithDefault(l, 1, "")
29311
+ };
29312
+ return p && (o.$jspbMessageInstance = l), o;
29313
+ }), proto.proto.rpc.v1.AuthenticateToResponse.deserializeBinary = function(p) {
29314
+ var l = new e.BinaryReader(p), o = new proto.proto.rpc.v1.AuthenticateToResponse();
29315
+ return proto.proto.rpc.v1.AuthenticateToResponse.deserializeBinaryFromReader(o, l);
29316
+ }, proto.proto.rpc.v1.AuthenticateToResponse.deserializeBinaryFromReader = function(p, l) {
29317
+ for (; l.nextField() && !l.isEndGroup(); ) {
29318
+ var o = l.getFieldNumber();
29319
+ switch (o) {
29320
+ case 1:
29321
+ var r = (
29322
+ /** @type {string} */
29323
+ l.readString()
29324
+ );
29325
+ p.setAccessToken(r);
29326
+ break;
29327
+ default:
29328
+ l.skipField();
29329
+ break;
29330
+ }
29331
+ }
29332
+ return p;
29333
+ }, proto.proto.rpc.v1.AuthenticateToResponse.prototype.serializeBinary = function() {
29334
+ var p = new e.BinaryWriter();
29335
+ return proto.proto.rpc.v1.AuthenticateToResponse.serializeBinaryToWriter(this, p), p.getResultBuffer();
29336
+ }, proto.proto.rpc.v1.AuthenticateToResponse.serializeBinaryToWriter = function(p, l) {
29337
+ var o = void 0;
29338
+ o = p.getAccessToken(), o.length > 0 && l.writeString(
29339
+ 1,
29340
+ o
29341
+ );
29342
+ }, proto.proto.rpc.v1.AuthenticateToResponse.prototype.getAccessToken = function() {
29343
+ return (
29344
+ /** @type {string} */
29345
+ e.Message.getFieldWithDefault(this, 1, "")
29346
+ );
29347
+ }, proto.proto.rpc.v1.AuthenticateToResponse.prototype.setAccessToken = function(p) {
29348
+ return e.Message.setProto3StringField(this, 1, p);
29349
+ }, s.object.extend(n, proto.proto.rpc.v1);
29350
+ })(auth_pb);
29351
+ var proto_rpc_v1_auth_pb = auth_pb, grpc$u = grpcWebClient_umdExports$1.grpc, AuthService = function() {
29352
+ function n() {
29353
+ }
29354
+ return n.serviceName = "proto.rpc.v1.AuthService", n;
29355
+ }();
29356
+ AuthService.Authenticate = {
29357
+ methodName: "Authenticate",
29358
+ service: AuthService,
29359
+ requestStream: !1,
29360
+ responseStream: !1,
29361
+ requestType: proto_rpc_v1_auth_pb.AuthenticateRequest,
29362
+ responseType: proto_rpc_v1_auth_pb.AuthenticateResponse
29363
+ };
29364
+ function AuthServiceClient(n, e) {
29365
+ this.serviceHost = n, this.options = e || {};
29366
+ }
29367
+ AuthServiceClient.prototype.authenticate = function n(e, s, g) {
29368
+ arguments.length === 2 && (g = arguments[1]);
29369
+ var u = grpc$u.unary(AuthService.Authenticate, {
29370
+ request: e,
29371
+ host: this.serviceHost,
29372
+ metadata: s,
29373
+ transport: this.options.transport,
29374
+ debug: this.options.debug,
29375
+ onEnd: function(p) {
29376
+ if (g)
29377
+ if (p.status !== grpc$u.Code.OK) {
29378
+ var l = new Error(p.statusMessage);
29379
+ l.code = p.status, l.metadata = p.trailers, g(l, null);
29380
+ } else
29381
+ g(null, p.message);
29382
+ }
29383
+ });
29384
+ return {
29385
+ cancel: function() {
29386
+ g = null, u.close();
29387
+ }
29388
+ };
29389
+ };
29390
+ var AuthServiceClient_1 = AuthServiceClient, ExternalAuthService = function() {
29391
+ function n() {
29392
+ }
29393
+ return n.serviceName = "proto.rpc.v1.ExternalAuthService", n;
29394
+ }();
29395
+ ExternalAuthService.AuthenticateTo = {
29396
+ methodName: "AuthenticateTo",
29397
+ service: ExternalAuthService,
29398
+ requestStream: !1,
29399
+ responseStream: !1,
29400
+ requestType: proto_rpc_v1_auth_pb.AuthenticateToRequest,
29401
+ responseType: proto_rpc_v1_auth_pb.AuthenticateToResponse
29402
+ };
29403
+ function ExternalAuthServiceClient(n, e) {
29404
+ this.serviceHost = n, this.options = e || {};
29405
+ }
29406
+ ExternalAuthServiceClient.prototype.authenticateTo = function n(e, s, g) {
29407
+ arguments.length === 2 && (g = arguments[1]);
29408
+ var u = grpc$u.unary(ExternalAuthService.AuthenticateTo, {
29409
+ request: e,
29410
+ host: this.serviceHost,
29411
+ metadata: s,
29412
+ transport: this.options.transport,
29413
+ debug: this.options.debug,
29414
+ onEnd: function(p) {
29415
+ if (g)
29416
+ if (p.status !== grpc$u.Code.OK) {
29417
+ var l = new Error(p.statusMessage);
29418
+ l.code = p.status, l.metadata = p.trailers, g(l, null);
29419
+ } else
29420
+ g(null, p.message);
29421
+ }
29422
+ });
29423
+ return {
29424
+ cancel: function() {
29425
+ g = null, u.close();
29426
+ }
29427
+ };
29428
+ };
29429
+ const apiVersion = "v0.1.339", promisify = async (n, e) => new Promise((s, g) => {
29430
+ n(e, new grpcWebClient_umdExports$1.grpc.Metadata(), (u, p) => {
29431
+ if (u) {
29432
+ g(u);
29433
+ return;
29434
+ }
29435
+ if (!p) {
29436
+ g(new Error("no response"));
29437
+ return;
29438
+ }
29439
+ s(p);
29440
+ });
29441
+ }), doCommandFromClient = async function n(e, s, g, u = {}) {
29442
+ const p = new common.DoCommandRequest();
29443
+ p.setName(s), p.setCommand(struct_pb.Struct.fromJavaScript(g)), u.requestLogger?.(p);
29444
+ const o = (await promisify(e.doCommand.bind(e), p)).getResult()?.toJavaScript();
29445
+ return o || {};
29446
+ }, encodeVector3 = (n) => {
29447
+ const e = new common.Vector3();
29448
+ return e.setX(n.x), e.setY(n.y), e.setZ(n.z), e;
29449
+ }, encodePose = (n) => {
29450
+ const e = new common.Pose();
29451
+ return e.setX(n.x), e.setY(n.y), e.setZ(n.z), e.setOX(n.oX), e.setOY(n.oY), e.setOZ(n.oZ), e.setTheta(n.theta), e;
29452
+ }, encodePoseInFrame = (n) => {
29453
+ if (!n.pose)
29454
+ throw new Error("no pose");
29455
+ const e = new common.PoseInFrame();
29456
+ return e.setPose(encodePose(n.pose)), e.setReferenceFrame(n.referenceFrame), e;
29457
+ }, encodeResourceName = (n) => {
29458
+ const e = new common.ResourceName();
29459
+ return e.setNamespace(n.namespace), e.setType(n.type), e.setSubtype(n.subtype), e.setName(n.name), e;
29460
+ }, encodeGeometry = (n) => {
29461
+ const e = new common.Geometry();
29462
+ if (n.label && e.setLabel(n.label), n.center !== void 0 && e.setCenter(encodePose(n.center)), n.sphere !== void 0) {
29463
+ const s = new common.Sphere();
29464
+ s.setRadiusMm(n.sphere.radiusMm), e.setSphere(s);
29465
+ }
29466
+ if (n.box !== void 0) {
29467
+ const s = new common.RectangularPrism();
29468
+ n.box.dimsMm !== void 0 && s.setDimsMm(encodeVector3(n.box.dimsMm)), e.setBox(s);
29469
+ }
29470
+ if (n.capsule !== void 0) {
29471
+ const s = new common.Capsule();
29472
+ s.setLengthMm(n.capsule.lengthMm), s.setRadiusMm(n.capsule.radiusMm), e.setCapsule(s);
29473
+ }
29474
+ return e;
29475
+ }, encodeGeometriesInFrame = (n) => {
29476
+ const e = new common.GeometriesInFrame();
29477
+ return e.setReferenceFrame(n.referenceFrame), e.setGeometriesList(n.geometriesList.map((s) => encodeGeometry(s))), e;
29478
+ }, encodeTransform = (n) => {
29479
+ const e = new common.Transform();
29480
+ return e.setReferenceFrame(n.referenceFrame), n.physicalObject !== void 0 && e.setPhysicalObject(encodeGeometry(n.physicalObject)), n.poseInObserverFrame !== void 0 && e.setPoseInObserverFrame(encodePoseInFrame(n.poseInObserverFrame)), e;
29481
+ }, encodeWorldState = (n) => {
29482
+ const e = new common.WorldState();
29483
+ return e.setObstaclesList(
29484
+ n.obstaclesList.map((s) => encodeGeometriesInFrame(s))
29485
+ ), e.setTransformsList(n.transformsList.map((s) => encodeTransform(s))), e;
29486
+ }, encodeGeoPoint = (n) => {
29487
+ const e = new common.GeoPoint();
29488
+ return e.setLatitude(n.latitude), e.setLongitude(n.longitude), e;
29489
+ }, encodeGeoGeometry = (n) => {
29490
+ const e = new common.GeoGeometry();
29491
+ return n.location && e.setLocation(encodeGeoPoint(n.location)), e.setGeometriesList(n.geometriesList.map((s) => encodeGeometry(s))), e;
29492
+ };
29493
+ class MetadataTransport {
29494
+ metadata;
29495
+ transport;
29496
+ constructor(e, s, g) {
29497
+ this.transport = e(s), this.metadata = g ?? new grpcWebClient_umdExports$1.grpc.Metadata(), this.metadata.set(
29498
+ "viam-client",
29499
+ `typescript;v0.24.0;${apiVersion}`
29500
+ );
29501
+ }
29502
+ start(e) {
29503
+ this.metadata.forEach((s, g) => {
29504
+ e.set(s, g);
29505
+ }), this.transport.start(e);
29506
+ }
29507
+ sendMessage(e) {
29508
+ this.transport.sendMessage(e);
29509
+ }
29510
+ finishSend() {
29511
+ this.transport.finishSend();
29512
+ }
29513
+ cancel() {
29514
+ this.transport.cancel();
29515
+ }
29516
+ }
29517
+ const isCredential = (n) => "authEntity" in n, createViamTransportFactory = async (n, e) => e.type === "access-token" ? createWithAccessToken(n, e) : createWithCredential(n, e), createWithAccessToken = async (n, e) => {
29518
+ const s = await dialDirect$1(n);
29519
+ return (g) => new ViamTransport(s, g, e.payload);
29520
+ }, getAccessTokenFromCredential = async (n, e) => {
29521
+ if (e.type === "robot-secret")
29522
+ throw new Error(
29523
+ "credential type cannot be 'robot-secret'. Must be either 'robot-location-secret' or 'api-key'."
29524
+ );
29525
+ if (!e.authEntity)
29526
+ throw new Error(
29527
+ "auth entity cannot be null, undefined, or an empty value."
29528
+ );
29529
+ const s = await dialDirect$1(n), g = new AuthServiceClient_1(n, {
29530
+ transport: s
29531
+ }), u = e.authEntity, p = new auth_pb.Credentials();
29532
+ p.setType(e.type), p.setPayload(e.payload);
29533
+ const l = new auth_pb.AuthenticateRequest();
29534
+ return l.setEntity(u), l.setCredentials(p), { type: "access-token", payload: await new Promise((r, i) => {
29535
+ g.authenticate(l, new grpcWebClient_umdExports$1.grpc.Metadata(), (t, c) => {
29536
+ if (t) {
29537
+ i(t);
29538
+ return;
29539
+ }
29540
+ r(c?.getAccessToken().toString() ?? "");
29541
+ });
29542
+ }) };
29543
+ }, createWithCredential = async (n, e) => {
29544
+ const s = await getAccessTokenFromCredential(
29545
+ n,
29546
+ e
29547
+ ), g = await dialDirect$1(n);
29548
+ return (u) => new ViamTransport(g, u, s.payload);
29549
+ };
29550
+ class ViamTransport extends MetadataTransport {
29551
+ constructor(e, s, g) {
29552
+ const u = new grpcWebClient_umdExports$1.grpc.Metadata({ authorization: `Bearer ${g}` });
29553
+ super(e, s, u);
29554
+ }
29555
+ }
29082
29556
  const DIAL_TIMEOUT = 5e3;
29083
29557
  var MachineConnectionEvent = /* @__PURE__ */ ((n) => (n.CONNECTING = "connecting", n.CONNECTED = "connected", n.DISCONNECTING = "disconnecting", n.DISCONNECTED = "disconnected", n))(MachineConnectionEvent || {});
29084
29558
  class EventDispatcher {
@@ -29871,7 +30345,7 @@ var arm_pb = {};
29871
30345
  }, s.object.extend(n, proto.viam.component.arm.v1);
29872
30346
  })(arm_pb);
29873
30347
  const pb$h = /* @__PURE__ */ getDefaultExportFromCjs(arm_pb);
29874
- var component_arm_v1_arm_pb = arm_pb, common_v1_common_pb$n = common_pb, grpc$u = grpcWebClient_umdExports$1.grpc, ArmService = function() {
30348
+ var component_arm_v1_arm_pb = arm_pb, common_v1_common_pb$n = common_pb, grpc$t = grpcWebClient_umdExports$1.grpc, ArmService = function() {
29875
30349
  function n() {
29876
30350
  }
29877
30351
  return n.serviceName = "viam.component.arm.v1.ArmService", n;
@@ -29953,7 +30427,7 @@ function ArmServiceClient(n, e) {
29953
30427
  }
29954
30428
  ArmServiceClient.prototype.getEndPosition = function n(e, s, g) {
29955
30429
  arguments.length === 2 && (g = arguments[1]);
29956
- var u = grpc$u.unary(ArmService.GetEndPosition, {
30430
+ var u = grpc$t.unary(ArmService.GetEndPosition, {
29957
30431
  request: e,
29958
30432
  host: this.serviceHost,
29959
30433
  metadata: s,
@@ -29961,7 +30435,7 @@ ArmServiceClient.prototype.getEndPosition = function n(e, s, g) {
29961
30435
  debug: this.options.debug,
29962
30436
  onEnd: function(p) {
29963
30437
  if (g)
29964
- if (p.status !== grpc$u.Code.OK) {
30438
+ if (p.status !== grpc$t.Code.OK) {
29965
30439
  var l = new Error(p.statusMessage);
29966
30440
  l.code = p.status, l.metadata = p.trailers, g(l, null);
29967
30441
  } else
@@ -29976,7 +30450,7 @@ ArmServiceClient.prototype.getEndPosition = function n(e, s, g) {
29976
30450
  };
29977
30451
  ArmServiceClient.prototype.moveToPosition = function n(e, s, g) {
29978
30452
  arguments.length === 2 && (g = arguments[1]);
29979
- var u = grpc$u.unary(ArmService.MoveToPosition, {
30453
+ var u = grpc$t.unary(ArmService.MoveToPosition, {
29980
30454
  request: e,
29981
30455
  host: this.serviceHost,
29982
30456
  metadata: s,
@@ -29984,7 +30458,7 @@ ArmServiceClient.prototype.moveToPosition = function n(e, s, g) {
29984
30458
  debug: this.options.debug,
29985
30459
  onEnd: function(p) {
29986
30460
  if (g)
29987
- if (p.status !== grpc$u.Code.OK) {
30461
+ if (p.status !== grpc$t.Code.OK) {
29988
30462
  var l = new Error(p.statusMessage);
29989
30463
  l.code = p.status, l.metadata = p.trailers, g(l, null);
29990
30464
  } else
@@ -29999,7 +30473,7 @@ ArmServiceClient.prototype.moveToPosition = function n(e, s, g) {
29999
30473
  };
30000
30474
  ArmServiceClient.prototype.getJointPositions = function n(e, s, g) {
30001
30475
  arguments.length === 2 && (g = arguments[1]);
30002
- var u = grpc$u.unary(ArmService.GetJointPositions, {
30476
+ var u = grpc$t.unary(ArmService.GetJointPositions, {
30003
30477
  request: e,
30004
30478
  host: this.serviceHost,
30005
30479
  metadata: s,
@@ -30007,7 +30481,7 @@ ArmServiceClient.prototype.getJointPositions = function n(e, s, g) {
30007
30481
  debug: this.options.debug,
30008
30482
  onEnd: function(p) {
30009
30483
  if (g)
30010
- if (p.status !== grpc$u.Code.OK) {
30484
+ if (p.status !== grpc$t.Code.OK) {
30011
30485
  var l = new Error(p.statusMessage);
30012
30486
  l.code = p.status, l.metadata = p.trailers, g(l, null);
30013
30487
  } else
@@ -30022,7 +30496,7 @@ ArmServiceClient.prototype.getJointPositions = function n(e, s, g) {
30022
30496
  };
30023
30497
  ArmServiceClient.prototype.moveToJointPositions = function n(e, s, g) {
30024
30498
  arguments.length === 2 && (g = arguments[1]);
30025
- var u = grpc$u.unary(ArmService.MoveToJointPositions, {
30499
+ var u = grpc$t.unary(ArmService.MoveToJointPositions, {
30026
30500
  request: e,
30027
30501
  host: this.serviceHost,
30028
30502
  metadata: s,
@@ -30030,7 +30504,7 @@ ArmServiceClient.prototype.moveToJointPositions = function n(e, s, g) {
30030
30504
  debug: this.options.debug,
30031
30505
  onEnd: function(p) {
30032
30506
  if (g)
30033
- if (p.status !== grpc$u.Code.OK) {
30507
+ if (p.status !== grpc$t.Code.OK) {
30034
30508
  var l = new Error(p.statusMessage);
30035
30509
  l.code = p.status, l.metadata = p.trailers, g(l, null);
30036
30510
  } else
@@ -30045,7 +30519,7 @@ ArmServiceClient.prototype.moveToJointPositions = function n(e, s, g) {
30045
30519
  };
30046
30520
  ArmServiceClient.prototype.stop = function n(e, s, g) {
30047
30521
  arguments.length === 2 && (g = arguments[1]);
30048
- var u = grpc$u.unary(ArmService.Stop, {
30522
+ var u = grpc$t.unary(ArmService.Stop, {
30049
30523
  request: e,
30050
30524
  host: this.serviceHost,
30051
30525
  metadata: s,
@@ -30053,7 +30527,7 @@ ArmServiceClient.prototype.stop = function n(e, s, g) {
30053
30527
  debug: this.options.debug,
30054
30528
  onEnd: function(p) {
30055
30529
  if (g)
30056
- if (p.status !== grpc$u.Code.OK) {
30530
+ if (p.status !== grpc$t.Code.OK) {
30057
30531
  var l = new Error(p.statusMessage);
30058
30532
  l.code = p.status, l.metadata = p.trailers, g(l, null);
30059
30533
  } else
@@ -30068,7 +30542,7 @@ ArmServiceClient.prototype.stop = function n(e, s, g) {
30068
30542
  };
30069
30543
  ArmServiceClient.prototype.isMoving = function n(e, s, g) {
30070
30544
  arguments.length === 2 && (g = arguments[1]);
30071
- var u = grpc$u.unary(ArmService.IsMoving, {
30545
+ var u = grpc$t.unary(ArmService.IsMoving, {
30072
30546
  request: e,
30073
30547
  host: this.serviceHost,
30074
30548
  metadata: s,
@@ -30076,7 +30550,7 @@ ArmServiceClient.prototype.isMoving = function n(e, s, g) {
30076
30550
  debug: this.options.debug,
30077
30551
  onEnd: function(p) {
30078
30552
  if (g)
30079
- if (p.status !== grpc$u.Code.OK) {
30553
+ if (p.status !== grpc$t.Code.OK) {
30080
30554
  var l = new Error(p.statusMessage);
30081
30555
  l.code = p.status, l.metadata = p.trailers, g(l, null);
30082
30556
  } else
@@ -30091,7 +30565,7 @@ ArmServiceClient.prototype.isMoving = function n(e, s, g) {
30091
30565
  };
30092
30566
  ArmServiceClient.prototype.doCommand = function n(e, s, g) {
30093
30567
  arguments.length === 2 && (g = arguments[1]);
30094
- var u = grpc$u.unary(ArmService.DoCommand, {
30568
+ var u = grpc$t.unary(ArmService.DoCommand, {
30095
30569
  request: e,
30096
30570
  host: this.serviceHost,
30097
30571
  metadata: s,
@@ -30099,7 +30573,7 @@ ArmServiceClient.prototype.doCommand = function n(e, s, g) {
30099
30573
  debug: this.options.debug,
30100
30574
  onEnd: function(p) {
30101
30575
  if (g)
30102
- if (p.status !== grpc$u.Code.OK) {
30576
+ if (p.status !== grpc$t.Code.OK) {
30103
30577
  var l = new Error(p.statusMessage);
30104
30578
  l.code = p.status, l.metadata = p.trailers, g(l, null);
30105
30579
  } else
@@ -30114,7 +30588,7 @@ ArmServiceClient.prototype.doCommand = function n(e, s, g) {
30114
30588
  };
30115
30589
  ArmServiceClient.prototype.getKinematics = function n(e, s, g) {
30116
30590
  arguments.length === 2 && (g = arguments[1]);
30117
- var u = grpc$u.unary(ArmService.GetKinematics, {
30591
+ var u = grpc$t.unary(ArmService.GetKinematics, {
30118
30592
  request: e,
30119
30593
  host: this.serviceHost,
30120
30594
  metadata: s,
@@ -30122,7 +30596,7 @@ ArmServiceClient.prototype.getKinematics = function n(e, s, g) {
30122
30596
  debug: this.options.debug,
30123
30597
  onEnd: function(p) {
30124
30598
  if (g)
30125
- if (p.status !== grpc$u.Code.OK) {
30599
+ if (p.status !== grpc$t.Code.OK) {
30126
30600
  var l = new Error(p.statusMessage);
30127
30601
  l.code = p.status, l.metadata = p.trailers, g(l, null);
30128
30602
  } else
@@ -30137,7 +30611,7 @@ ArmServiceClient.prototype.getKinematics = function n(e, s, g) {
30137
30611
  };
30138
30612
  ArmServiceClient.prototype.getGeometries = function n(e, s, g) {
30139
30613
  arguments.length === 2 && (g = arguments[1]);
30140
- var u = grpc$u.unary(ArmService.GetGeometries, {
30614
+ var u = grpc$t.unary(ArmService.GetGeometries, {
30141
30615
  request: e,
30142
30616
  host: this.serviceHost,
30143
30617
  metadata: s,
@@ -30145,7 +30619,7 @@ ArmServiceClient.prototype.getGeometries = function n(e, s, g) {
30145
30619
  debug: this.options.debug,
30146
30620
  onEnd: function(p) {
30147
30621
  if (g)
30148
- if (p.status !== grpc$u.Code.OK) {
30622
+ if (p.status !== grpc$t.Code.OK) {
30149
30623
  var l = new Error(p.statusMessage);
30150
30624
  l.code = p.status, l.metadata = p.trailers, g(l, null);
30151
30625
  } else
@@ -31003,7 +31477,7 @@ var ArmServiceClient_1 = ArmServiceClient, base_pb = {};
31003
31477
  }, s.object.extend(n, proto.viam.component.base.v1);
31004
31478
  })(base_pb);
31005
31479
  const pb$g = /* @__PURE__ */ getDefaultExportFromCjs(base_pb);
31006
- var component_base_v1_base_pb = base_pb, common_v1_common_pb$m = common_pb, grpc$t = grpcWebClient_umdExports$1.grpc, BaseService = function() {
31480
+ var component_base_v1_base_pb = base_pb, common_v1_common_pb$m = common_pb, grpc$s = grpcWebClient_umdExports$1.grpc, BaseService = function() {
31007
31481
  function n() {
31008
31482
  }
31009
31483
  return n.serviceName = "viam.component.base.v1.BaseService", n;
@@ -31085,7 +31559,7 @@ function BaseServiceClient(n, e) {
31085
31559
  }
31086
31560
  BaseServiceClient.prototype.moveStraight = function n(e, s, g) {
31087
31561
  arguments.length === 2 && (g = arguments[1]);
31088
- var u = grpc$t.unary(BaseService.MoveStraight, {
31562
+ var u = grpc$s.unary(BaseService.MoveStraight, {
31089
31563
  request: e,
31090
31564
  host: this.serviceHost,
31091
31565
  metadata: s,
@@ -31093,7 +31567,7 @@ BaseServiceClient.prototype.moveStraight = function n(e, s, g) {
31093
31567
  debug: this.options.debug,
31094
31568
  onEnd: function(p) {
31095
31569
  if (g)
31096
- if (p.status !== grpc$t.Code.OK) {
31570
+ if (p.status !== grpc$s.Code.OK) {
31097
31571
  var l = new Error(p.statusMessage);
31098
31572
  l.code = p.status, l.metadata = p.trailers, g(l, null);
31099
31573
  } else
@@ -31108,7 +31582,7 @@ BaseServiceClient.prototype.moveStraight = function n(e, s, g) {
31108
31582
  };
31109
31583
  BaseServiceClient.prototype.spin = function n(e, s, g) {
31110
31584
  arguments.length === 2 && (g = arguments[1]);
31111
- var u = grpc$t.unary(BaseService.Spin, {
31585
+ var u = grpc$s.unary(BaseService.Spin, {
31112
31586
  request: e,
31113
31587
  host: this.serviceHost,
31114
31588
  metadata: s,
@@ -31116,7 +31590,7 @@ BaseServiceClient.prototype.spin = function n(e, s, g) {
31116
31590
  debug: this.options.debug,
31117
31591
  onEnd: function(p) {
31118
31592
  if (g)
31119
- if (p.status !== grpc$t.Code.OK) {
31593
+ if (p.status !== grpc$s.Code.OK) {
31120
31594
  var l = new Error(p.statusMessage);
31121
31595
  l.code = p.status, l.metadata = p.trailers, g(l, null);
31122
31596
  } else
@@ -31131,7 +31605,7 @@ BaseServiceClient.prototype.spin = function n(e, s, g) {
31131
31605
  };
31132
31606
  BaseServiceClient.prototype.setPower = function n(e, s, g) {
31133
31607
  arguments.length === 2 && (g = arguments[1]);
31134
- var u = grpc$t.unary(BaseService.SetPower, {
31608
+ var u = grpc$s.unary(BaseService.SetPower, {
31135
31609
  request: e,
31136
31610
  host: this.serviceHost,
31137
31611
  metadata: s,
@@ -31139,7 +31613,7 @@ BaseServiceClient.prototype.setPower = function n(e, s, g) {
31139
31613
  debug: this.options.debug,
31140
31614
  onEnd: function(p) {
31141
31615
  if (g)
31142
- if (p.status !== grpc$t.Code.OK) {
31616
+ if (p.status !== grpc$s.Code.OK) {
31143
31617
  var l = new Error(p.statusMessage);
31144
31618
  l.code = p.status, l.metadata = p.trailers, g(l, null);
31145
31619
  } else
@@ -31154,7 +31628,7 @@ BaseServiceClient.prototype.setPower = function n(e, s, g) {
31154
31628
  };
31155
31629
  BaseServiceClient.prototype.setVelocity = function n(e, s, g) {
31156
31630
  arguments.length === 2 && (g = arguments[1]);
31157
- var u = grpc$t.unary(BaseService.SetVelocity, {
31631
+ var u = grpc$s.unary(BaseService.SetVelocity, {
31158
31632
  request: e,
31159
31633
  host: this.serviceHost,
31160
31634
  metadata: s,
@@ -31162,7 +31636,7 @@ BaseServiceClient.prototype.setVelocity = function n(e, s, g) {
31162
31636
  debug: this.options.debug,
31163
31637
  onEnd: function(p) {
31164
31638
  if (g)
31165
- if (p.status !== grpc$t.Code.OK) {
31639
+ if (p.status !== grpc$s.Code.OK) {
31166
31640
  var l = new Error(p.statusMessage);
31167
31641
  l.code = p.status, l.metadata = p.trailers, g(l, null);
31168
31642
  } else
@@ -31177,7 +31651,7 @@ BaseServiceClient.prototype.setVelocity = function n(e, s, g) {
31177
31651
  };
31178
31652
  BaseServiceClient.prototype.stop = function n(e, s, g) {
31179
31653
  arguments.length === 2 && (g = arguments[1]);
31180
- var u = grpc$t.unary(BaseService.Stop, {
31654
+ var u = grpc$s.unary(BaseService.Stop, {
31181
31655
  request: e,
31182
31656
  host: this.serviceHost,
31183
31657
  metadata: s,
@@ -31185,7 +31659,7 @@ BaseServiceClient.prototype.stop = function n(e, s, g) {
31185
31659
  debug: this.options.debug,
31186
31660
  onEnd: function(p) {
31187
31661
  if (g)
31188
- if (p.status !== grpc$t.Code.OK) {
31662
+ if (p.status !== grpc$s.Code.OK) {
31189
31663
  var l = new Error(p.statusMessage);
31190
31664
  l.code = p.status, l.metadata = p.trailers, g(l, null);
31191
31665
  } else
@@ -31200,7 +31674,7 @@ BaseServiceClient.prototype.stop = function n(e, s, g) {
31200
31674
  };
31201
31675
  BaseServiceClient.prototype.isMoving = function n(e, s, g) {
31202
31676
  arguments.length === 2 && (g = arguments[1]);
31203
- var u = grpc$t.unary(BaseService.IsMoving, {
31677
+ var u = grpc$s.unary(BaseService.IsMoving, {
31204
31678
  request: e,
31205
31679
  host: this.serviceHost,
31206
31680
  metadata: s,
@@ -31208,7 +31682,7 @@ BaseServiceClient.prototype.isMoving = function n(e, s, g) {
31208
31682
  debug: this.options.debug,
31209
31683
  onEnd: function(p) {
31210
31684
  if (g)
31211
- if (p.status !== grpc$t.Code.OK) {
31685
+ if (p.status !== grpc$s.Code.OK) {
31212
31686
  var l = new Error(p.statusMessage);
31213
31687
  l.code = p.status, l.metadata = p.trailers, g(l, null);
31214
31688
  } else
@@ -31223,7 +31697,7 @@ BaseServiceClient.prototype.isMoving = function n(e, s, g) {
31223
31697
  };
31224
31698
  BaseServiceClient.prototype.doCommand = function n(e, s, g) {
31225
31699
  arguments.length === 2 && (g = arguments[1]);
31226
- var u = grpc$t.unary(BaseService.DoCommand, {
31700
+ var u = grpc$s.unary(BaseService.DoCommand, {
31227
31701
  request: e,
31228
31702
  host: this.serviceHost,
31229
31703
  metadata: s,
@@ -31231,7 +31705,7 @@ BaseServiceClient.prototype.doCommand = function n(e, s, g) {
31231
31705
  debug: this.options.debug,
31232
31706
  onEnd: function(p) {
31233
31707
  if (g)
31234
- if (p.status !== grpc$t.Code.OK) {
31708
+ if (p.status !== grpc$s.Code.OK) {
31235
31709
  var l = new Error(p.statusMessage);
31236
31710
  l.code = p.status, l.metadata = p.trailers, g(l, null);
31237
31711
  } else
@@ -31246,7 +31720,7 @@ BaseServiceClient.prototype.doCommand = function n(e, s, g) {
31246
31720
  };
31247
31721
  BaseServiceClient.prototype.getGeometries = function n(e, s, g) {
31248
31722
  arguments.length === 2 && (g = arguments[1]);
31249
- var u = grpc$t.unary(BaseService.GetGeometries, {
31723
+ var u = grpc$s.unary(BaseService.GetGeometries, {
31250
31724
  request: e,
31251
31725
  host: this.serviceHost,
31252
31726
  metadata: s,
@@ -31254,7 +31728,7 @@ BaseServiceClient.prototype.getGeometries = function n(e, s, g) {
31254
31728
  debug: this.options.debug,
31255
31729
  onEnd: function(p) {
31256
31730
  if (g)
31257
- if (p.status !== grpc$t.Code.OK) {
31731
+ if (p.status !== grpc$s.Code.OK) {
31258
31732
  var l = new Error(p.statusMessage);
31259
31733
  l.code = p.status, l.metadata = p.trailers, g(l, null);
31260
31734
  } else
@@ -31269,7 +31743,7 @@ BaseServiceClient.prototype.getGeometries = function n(e, s, g) {
31269
31743
  };
31270
31744
  BaseServiceClient.prototype.getProperties = function n(e, s, g) {
31271
31745
  arguments.length === 2 && (g = arguments[1]);
31272
- var u = grpc$t.unary(BaseService.GetProperties, {
31746
+ var u = grpc$s.unary(BaseService.GetProperties, {
31273
31747
  request: e,
31274
31748
  host: this.serviceHost,
31275
31749
  metadata: s,
@@ -31277,7 +31751,7 @@ BaseServiceClient.prototype.getProperties = function n(e, s, g) {
31277
31751
  debug: this.options.debug,
31278
31752
  onEnd: function(p) {
31279
31753
  if (g)
31280
- if (p.status !== grpc$t.Code.OK) {
31754
+ if (p.status !== grpc$s.Code.OK) {
31281
31755
  var l = new Error(p.statusMessage);
31282
31756
  l.code = p.status, l.metadata = p.trailers, g(l, null);
31283
31757
  } else
@@ -32862,7 +33336,7 @@ var BaseServiceClient_1 = BaseServiceClient, board_pb = {};
32862
33336
  }, s.object.extend(n, proto.viam.component.board.v1);
32863
33337
  })(board_pb);
32864
33338
  const pb$f = /* @__PURE__ */ getDefaultExportFromCjs(board_pb);
32865
- var component_board_v1_board_pb = board_pb, common_v1_common_pb$l = common_pb, grpc$s = grpcWebClient_umdExports$1.grpc, BoardService = function() {
33339
+ var component_board_v1_board_pb = board_pb, common_v1_common_pb$l = common_pb, grpc$r = grpcWebClient_umdExports$1.grpc, BoardService = function() {
32866
33340
  function n() {
32867
33341
  }
32868
33342
  return n.serviceName = "viam.component.board.v1.BoardService", n;
@@ -32976,7 +33450,7 @@ function BoardServiceClient(n, e) {
32976
33450
  }
32977
33451
  BoardServiceClient.prototype.setGPIO = function n(e, s, g) {
32978
33452
  arguments.length === 2 && (g = arguments[1]);
32979
- var u = grpc$s.unary(BoardService.SetGPIO, {
33453
+ var u = grpc$r.unary(BoardService.SetGPIO, {
32980
33454
  request: e,
32981
33455
  host: this.serviceHost,
32982
33456
  metadata: s,
@@ -32984,7 +33458,7 @@ BoardServiceClient.prototype.setGPIO = function n(e, s, g) {
32984
33458
  debug: this.options.debug,
32985
33459
  onEnd: function(p) {
32986
33460
  if (g)
32987
- if (p.status !== grpc$s.Code.OK) {
33461
+ if (p.status !== grpc$r.Code.OK) {
32988
33462
  var l = new Error(p.statusMessage);
32989
33463
  l.code = p.status, l.metadata = p.trailers, g(l, null);
32990
33464
  } else
@@ -32999,7 +33473,7 @@ BoardServiceClient.prototype.setGPIO = function n(e, s, g) {
32999
33473
  };
33000
33474
  BoardServiceClient.prototype.getGPIO = function n(e, s, g) {
33001
33475
  arguments.length === 2 && (g = arguments[1]);
33002
- var u = grpc$s.unary(BoardService.GetGPIO, {
33476
+ var u = grpc$r.unary(BoardService.GetGPIO, {
33003
33477
  request: e,
33004
33478
  host: this.serviceHost,
33005
33479
  metadata: s,
@@ -33007,7 +33481,7 @@ BoardServiceClient.prototype.getGPIO = function n(e, s, g) {
33007
33481
  debug: this.options.debug,
33008
33482
  onEnd: function(p) {
33009
33483
  if (g)
33010
- if (p.status !== grpc$s.Code.OK) {
33484
+ if (p.status !== grpc$r.Code.OK) {
33011
33485
  var l = new Error(p.statusMessage);
33012
33486
  l.code = p.status, l.metadata = p.trailers, g(l, null);
33013
33487
  } else
@@ -33022,7 +33496,7 @@ BoardServiceClient.prototype.getGPIO = function n(e, s, g) {
33022
33496
  };
33023
33497
  BoardServiceClient.prototype.pWM = function n(e, s, g) {
33024
33498
  arguments.length === 2 && (g = arguments[1]);
33025
- var u = grpc$s.unary(BoardService.PWM, {
33499
+ var u = grpc$r.unary(BoardService.PWM, {
33026
33500
  request: e,
33027
33501
  host: this.serviceHost,
33028
33502
  metadata: s,
@@ -33030,7 +33504,7 @@ BoardServiceClient.prototype.pWM = function n(e, s, g) {
33030
33504
  debug: this.options.debug,
33031
33505
  onEnd: function(p) {
33032
33506
  if (g)
33033
- if (p.status !== grpc$s.Code.OK) {
33507
+ if (p.status !== grpc$r.Code.OK) {
33034
33508
  var l = new Error(p.statusMessage);
33035
33509
  l.code = p.status, l.metadata = p.trailers, g(l, null);
33036
33510
  } else
@@ -33045,7 +33519,7 @@ BoardServiceClient.prototype.pWM = function n(e, s, g) {
33045
33519
  };
33046
33520
  BoardServiceClient.prototype.setPWM = function n(e, s, g) {
33047
33521
  arguments.length === 2 && (g = arguments[1]);
33048
- var u = grpc$s.unary(BoardService.SetPWM, {
33522
+ var u = grpc$r.unary(BoardService.SetPWM, {
33049
33523
  request: e,
33050
33524
  host: this.serviceHost,
33051
33525
  metadata: s,
@@ -33053,7 +33527,7 @@ BoardServiceClient.prototype.setPWM = function n(e, s, g) {
33053
33527
  debug: this.options.debug,
33054
33528
  onEnd: function(p) {
33055
33529
  if (g)
33056
- if (p.status !== grpc$s.Code.OK) {
33530
+ if (p.status !== grpc$r.Code.OK) {
33057
33531
  var l = new Error(p.statusMessage);
33058
33532
  l.code = p.status, l.metadata = p.trailers, g(l, null);
33059
33533
  } else
@@ -33068,7 +33542,7 @@ BoardServiceClient.prototype.setPWM = function n(e, s, g) {
33068
33542
  };
33069
33543
  BoardServiceClient.prototype.pWMFrequency = function n(e, s, g) {
33070
33544
  arguments.length === 2 && (g = arguments[1]);
33071
- var u = grpc$s.unary(BoardService.PWMFrequency, {
33545
+ var u = grpc$r.unary(BoardService.PWMFrequency, {
33072
33546
  request: e,
33073
33547
  host: this.serviceHost,
33074
33548
  metadata: s,
@@ -33076,7 +33550,7 @@ BoardServiceClient.prototype.pWMFrequency = function n(e, s, g) {
33076
33550
  debug: this.options.debug,
33077
33551
  onEnd: function(p) {
33078
33552
  if (g)
33079
- if (p.status !== grpc$s.Code.OK) {
33553
+ if (p.status !== grpc$r.Code.OK) {
33080
33554
  var l = new Error(p.statusMessage);
33081
33555
  l.code = p.status, l.metadata = p.trailers, g(l, null);
33082
33556
  } else
@@ -33091,7 +33565,7 @@ BoardServiceClient.prototype.pWMFrequency = function n(e, s, g) {
33091
33565
  };
33092
33566
  BoardServiceClient.prototype.setPWMFrequency = function n(e, s, g) {
33093
33567
  arguments.length === 2 && (g = arguments[1]);
33094
- var u = grpc$s.unary(BoardService.SetPWMFrequency, {
33568
+ var u = grpc$r.unary(BoardService.SetPWMFrequency, {
33095
33569
  request: e,
33096
33570
  host: this.serviceHost,
33097
33571
  metadata: s,
@@ -33099,7 +33573,7 @@ BoardServiceClient.prototype.setPWMFrequency = function n(e, s, g) {
33099
33573
  debug: this.options.debug,
33100
33574
  onEnd: function(p) {
33101
33575
  if (g)
33102
- if (p.status !== grpc$s.Code.OK) {
33576
+ if (p.status !== grpc$r.Code.OK) {
33103
33577
  var l = new Error(p.statusMessage);
33104
33578
  l.code = p.status, l.metadata = p.trailers, g(l, null);
33105
33579
  } else
@@ -33114,7 +33588,7 @@ BoardServiceClient.prototype.setPWMFrequency = function n(e, s, g) {
33114
33588
  };
33115
33589
  BoardServiceClient.prototype.doCommand = function n(e, s, g) {
33116
33590
  arguments.length === 2 && (g = arguments[1]);
33117
- var u = grpc$s.unary(BoardService.DoCommand, {
33591
+ var u = grpc$r.unary(BoardService.DoCommand, {
33118
33592
  request: e,
33119
33593
  host: this.serviceHost,
33120
33594
  metadata: s,
@@ -33122,7 +33596,7 @@ BoardServiceClient.prototype.doCommand = function n(e, s, g) {
33122
33596
  debug: this.options.debug,
33123
33597
  onEnd: function(p) {
33124
33598
  if (g)
33125
- if (p.status !== grpc$s.Code.OK) {
33599
+ if (p.status !== grpc$r.Code.OK) {
33126
33600
  var l = new Error(p.statusMessage);
33127
33601
  l.code = p.status, l.metadata = p.trailers, g(l, null);
33128
33602
  } else
@@ -33137,7 +33611,7 @@ BoardServiceClient.prototype.doCommand = function n(e, s, g) {
33137
33611
  };
33138
33612
  BoardServiceClient.prototype.readAnalogReader = function n(e, s, g) {
33139
33613
  arguments.length === 2 && (g = arguments[1]);
33140
- var u = grpc$s.unary(BoardService.ReadAnalogReader, {
33614
+ var u = grpc$r.unary(BoardService.ReadAnalogReader, {
33141
33615
  request: e,
33142
33616
  host: this.serviceHost,
33143
33617
  metadata: s,
@@ -33145,7 +33619,7 @@ BoardServiceClient.prototype.readAnalogReader = function n(e, s, g) {
33145
33619
  debug: this.options.debug,
33146
33620
  onEnd: function(p) {
33147
33621
  if (g)
33148
- if (p.status !== grpc$s.Code.OK) {
33622
+ if (p.status !== grpc$r.Code.OK) {
33149
33623
  var l = new Error(p.statusMessage);
33150
33624
  l.code = p.status, l.metadata = p.trailers, g(l, null);
33151
33625
  } else
@@ -33160,7 +33634,7 @@ BoardServiceClient.prototype.readAnalogReader = function n(e, s, g) {
33160
33634
  };
33161
33635
  BoardServiceClient.prototype.writeAnalog = function n(e, s, g) {
33162
33636
  arguments.length === 2 && (g = arguments[1]);
33163
- var u = grpc$s.unary(BoardService.WriteAnalog, {
33637
+ var u = grpc$r.unary(BoardService.WriteAnalog, {
33164
33638
  request: e,
33165
33639
  host: this.serviceHost,
33166
33640
  metadata: s,
@@ -33168,7 +33642,7 @@ BoardServiceClient.prototype.writeAnalog = function n(e, s, g) {
33168
33642
  debug: this.options.debug,
33169
33643
  onEnd: function(p) {
33170
33644
  if (g)
33171
- if (p.status !== grpc$s.Code.OK) {
33645
+ if (p.status !== grpc$r.Code.OK) {
33172
33646
  var l = new Error(p.statusMessage);
33173
33647
  l.code = p.status, l.metadata = p.trailers, g(l, null);
33174
33648
  } else
@@ -33183,7 +33657,7 @@ BoardServiceClient.prototype.writeAnalog = function n(e, s, g) {
33183
33657
  };
33184
33658
  BoardServiceClient.prototype.getDigitalInterruptValue = function n(e, s, g) {
33185
33659
  arguments.length === 2 && (g = arguments[1]);
33186
- var u = grpc$s.unary(BoardService.GetDigitalInterruptValue, {
33660
+ var u = grpc$r.unary(BoardService.GetDigitalInterruptValue, {
33187
33661
  request: e,
33188
33662
  host: this.serviceHost,
33189
33663
  metadata: s,
@@ -33191,7 +33665,7 @@ BoardServiceClient.prototype.getDigitalInterruptValue = function n(e, s, g) {
33191
33665
  debug: this.options.debug,
33192
33666
  onEnd: function(p) {
33193
33667
  if (g)
33194
- if (p.status !== grpc$s.Code.OK) {
33668
+ if (p.status !== grpc$r.Code.OK) {
33195
33669
  var l = new Error(p.statusMessage);
33196
33670
  l.code = p.status, l.metadata = p.trailers, g(l, null);
33197
33671
  } else
@@ -33209,7 +33683,7 @@ BoardServiceClient.prototype.streamTicks = function n(e, s) {
33209
33683
  data: [],
33210
33684
  end: [],
33211
33685
  status: []
33212
- }, u = grpc$s.invoke(BoardService.StreamTicks, {
33686
+ }, u = grpc$r.invoke(BoardService.StreamTicks, {
33213
33687
  request: e,
33214
33688
  host: this.serviceHost,
33215
33689
  metadata: s,
@@ -33239,7 +33713,7 @@ BoardServiceClient.prototype.streamTicks = function n(e, s) {
33239
33713
  };
33240
33714
  BoardServiceClient.prototype.setPowerMode = function n(e, s, g) {
33241
33715
  arguments.length === 2 && (g = arguments[1]);
33242
- var u = grpc$s.unary(BoardService.SetPowerMode, {
33716
+ var u = grpc$r.unary(BoardService.SetPowerMode, {
33243
33717
  request: e,
33244
33718
  host: this.serviceHost,
33245
33719
  metadata: s,
@@ -33247,7 +33721,7 @@ BoardServiceClient.prototype.setPowerMode = function n(e, s, g) {
33247
33721
  debug: this.options.debug,
33248
33722
  onEnd: function(p) {
33249
33723
  if (g)
33250
- if (p.status !== grpc$s.Code.OK) {
33724
+ if (p.status !== grpc$r.Code.OK) {
33251
33725
  var l = new Error(p.statusMessage);
33252
33726
  l.code = p.status, l.metadata = p.trailers, g(l, null);
33253
33727
  } else
@@ -33262,7 +33736,7 @@ BoardServiceClient.prototype.setPowerMode = function n(e, s, g) {
33262
33736
  };
33263
33737
  BoardServiceClient.prototype.getGeometries = function n(e, s, g) {
33264
33738
  arguments.length === 2 && (g = arguments[1]);
33265
- var u = grpc$s.unary(BoardService.GetGeometries, {
33739
+ var u = grpc$r.unary(BoardService.GetGeometries, {
33266
33740
  request: e,
33267
33741
  host: this.serviceHost,
33268
33742
  metadata: s,
@@ -33270,7 +33744,7 @@ BoardServiceClient.prototype.getGeometries = function n(e, s, g) {
33270
33744
  debug: this.options.debug,
33271
33745
  onEnd: function(p) {
33272
33746
  if (g)
33273
- if (p.status !== grpc$s.Code.OK) {
33747
+ if (p.status !== grpc$r.Code.OK) {
33274
33748
  var l = new Error(p.statusMessage);
33275
33749
  l.code = p.status, l.metadata = p.trailers, g(l, null);
33276
33750
  } else
@@ -33667,7 +34141,7 @@ var BoardServiceClient_1 = BoardServiceClient, encoder_pb = {};
33667
34141
  }, s.object.extend(n, proto.viam.component.encoder.v1);
33668
34142
  })(encoder_pb);
33669
34143
  const encoderApi = /* @__PURE__ */ getDefaultExportFromCjs(encoder_pb);
33670
- var component_encoder_v1_encoder_pb = encoder_pb, common_v1_common_pb$k = common_pb, grpc$r = grpcWebClient_umdExports$1.grpc, EncoderService = function() {
34144
+ var component_encoder_v1_encoder_pb = encoder_pb, common_v1_common_pb$k = common_pb, grpc$q = grpcWebClient_umdExports$1.grpc, EncoderService = function() {
33671
34145
  function n() {
33672
34146
  }
33673
34147
  return n.serviceName = "viam.component.encoder.v1.EncoderService", n;
@@ -33717,7 +34191,7 @@ function EncoderServiceClient(n, e) {
33717
34191
  }
33718
34192
  EncoderServiceClient.prototype.getPosition = function n(e, s, g) {
33719
34193
  arguments.length === 2 && (g = arguments[1]);
33720
- var u = grpc$r.unary(EncoderService.GetPosition, {
34194
+ var u = grpc$q.unary(EncoderService.GetPosition, {
33721
34195
  request: e,
33722
34196
  host: this.serviceHost,
33723
34197
  metadata: s,
@@ -33725,7 +34199,7 @@ EncoderServiceClient.prototype.getPosition = function n(e, s, g) {
33725
34199
  debug: this.options.debug,
33726
34200
  onEnd: function(p) {
33727
34201
  if (g)
33728
- if (p.status !== grpc$r.Code.OK) {
34202
+ if (p.status !== grpc$q.Code.OK) {
33729
34203
  var l = new Error(p.statusMessage);
33730
34204
  l.code = p.status, l.metadata = p.trailers, g(l, null);
33731
34205
  } else
@@ -33740,7 +34214,7 @@ EncoderServiceClient.prototype.getPosition = function n(e, s, g) {
33740
34214
  };
33741
34215
  EncoderServiceClient.prototype.resetPosition = function n(e, s, g) {
33742
34216
  arguments.length === 2 && (g = arguments[1]);
33743
- var u = grpc$r.unary(EncoderService.ResetPosition, {
34217
+ var u = grpc$q.unary(EncoderService.ResetPosition, {
33744
34218
  request: e,
33745
34219
  host: this.serviceHost,
33746
34220
  metadata: s,
@@ -33748,7 +34222,7 @@ EncoderServiceClient.prototype.resetPosition = function n(e, s, g) {
33748
34222
  debug: this.options.debug,
33749
34223
  onEnd: function(p) {
33750
34224
  if (g)
33751
- if (p.status !== grpc$r.Code.OK) {
34225
+ if (p.status !== grpc$q.Code.OK) {
33752
34226
  var l = new Error(p.statusMessage);
33753
34227
  l.code = p.status, l.metadata = p.trailers, g(l, null);
33754
34228
  } else
@@ -33763,7 +34237,7 @@ EncoderServiceClient.prototype.resetPosition = function n(e, s, g) {
33763
34237
  };
33764
34238
  EncoderServiceClient.prototype.getProperties = function n(e, s, g) {
33765
34239
  arguments.length === 2 && (g = arguments[1]);
33766
- var u = grpc$r.unary(EncoderService.GetProperties, {
34240
+ var u = grpc$q.unary(EncoderService.GetProperties, {
33767
34241
  request: e,
33768
34242
  host: this.serviceHost,
33769
34243
  metadata: s,
@@ -33771,7 +34245,7 @@ EncoderServiceClient.prototype.getProperties = function n(e, s, g) {
33771
34245
  debug: this.options.debug,
33772
34246
  onEnd: function(p) {
33773
34247
  if (g)
33774
- if (p.status !== grpc$r.Code.OK) {
34248
+ if (p.status !== grpc$q.Code.OK) {
33775
34249
  var l = new Error(p.statusMessage);
33776
34250
  l.code = p.status, l.metadata = p.trailers, g(l, null);
33777
34251
  } else
@@ -33786,7 +34260,7 @@ EncoderServiceClient.prototype.getProperties = function n(e, s, g) {
33786
34260
  };
33787
34261
  EncoderServiceClient.prototype.doCommand = function n(e, s, g) {
33788
34262
  arguments.length === 2 && (g = arguments[1]);
33789
- var u = grpc$r.unary(EncoderService.DoCommand, {
34263
+ var u = grpc$q.unary(EncoderService.DoCommand, {
33790
34264
  request: e,
33791
34265
  host: this.serviceHost,
33792
34266
  metadata: s,
@@ -33794,7 +34268,7 @@ EncoderServiceClient.prototype.doCommand = function n(e, s, g) {
33794
34268
  debug: this.options.debug,
33795
34269
  onEnd: function(p) {
33796
34270
  if (g)
33797
- if (p.status !== grpc$r.Code.OK) {
34271
+ if (p.status !== grpc$q.Code.OK) {
33798
34272
  var l = new Error(p.statusMessage);
33799
34273
  l.code = p.status, l.metadata = p.trailers, g(l, null);
33800
34274
  } else
@@ -33809,7 +34283,7 @@ EncoderServiceClient.prototype.doCommand = function n(e, s, g) {
33809
34283
  };
33810
34284
  EncoderServiceClient.prototype.getGeometries = function n(e, s, g) {
33811
34285
  arguments.length === 2 && (g = arguments[1]);
33812
- var u = grpc$r.unary(EncoderService.GetGeometries, {
34286
+ var u = grpc$q.unary(EncoderService.GetGeometries, {
33813
34287
  request: e,
33814
34288
  host: this.serviceHost,
33815
34289
  metadata: s,
@@ -33817,7 +34291,7 @@ EncoderServiceClient.prototype.getGeometries = function n(e, s, g) {
33817
34291
  debug: this.options.debug,
33818
34292
  onEnd: function(p) {
33819
34293
  if (g)
33820
- if (p.status !== grpc$r.Code.OK) {
34294
+ if (p.status !== grpc$q.Code.OK) {
33821
34295
  var l = new Error(p.statusMessage);
33822
34296
  l.code = p.status, l.metadata = p.trailers, g(l, null);
33823
34297
  } else
@@ -34581,7 +35055,7 @@ var EncoderServiceClient_1 = EncoderServiceClient, gantry_pb = {};
34581
35055
  }, s.object.extend(n, proto.viam.component.gantry.v1);
34582
35056
  })(gantry_pb);
34583
35057
  const pb$e = /* @__PURE__ */ getDefaultExportFromCjs(gantry_pb);
34584
- var component_gantry_v1_gantry_pb = gantry_pb, common_v1_common_pb$j = common_pb, grpc$q = grpcWebClient_umdExports$1.grpc, GantryService = function() {
35058
+ var component_gantry_v1_gantry_pb = gantry_pb, common_v1_common_pb$j = common_pb, grpc$p = grpcWebClient_umdExports$1.grpc, GantryService = function() {
34585
35059
  function n() {
34586
35060
  }
34587
35061
  return n.serviceName = "viam.component.gantry.v1.GantryService", n;
@@ -34655,7 +35129,7 @@ function GantryServiceClient(n, e) {
34655
35129
  }
34656
35130
  GantryServiceClient.prototype.getPosition = function n(e, s, g) {
34657
35131
  arguments.length === 2 && (g = arguments[1]);
34658
- var u = grpc$q.unary(GantryService.GetPosition, {
35132
+ var u = grpc$p.unary(GantryService.GetPosition, {
34659
35133
  request: e,
34660
35134
  host: this.serviceHost,
34661
35135
  metadata: s,
@@ -34663,7 +35137,7 @@ GantryServiceClient.prototype.getPosition = function n(e, s, g) {
34663
35137
  debug: this.options.debug,
34664
35138
  onEnd: function(p) {
34665
35139
  if (g)
34666
- if (p.status !== grpc$q.Code.OK) {
35140
+ if (p.status !== grpc$p.Code.OK) {
34667
35141
  var l = new Error(p.statusMessage);
34668
35142
  l.code = p.status, l.metadata = p.trailers, g(l, null);
34669
35143
  } else
@@ -34678,7 +35152,7 @@ GantryServiceClient.prototype.getPosition = function n(e, s, g) {
34678
35152
  };
34679
35153
  GantryServiceClient.prototype.moveToPosition = function n(e, s, g) {
34680
35154
  arguments.length === 2 && (g = arguments[1]);
34681
- var u = grpc$q.unary(GantryService.MoveToPosition, {
35155
+ var u = grpc$p.unary(GantryService.MoveToPosition, {
34682
35156
  request: e,
34683
35157
  host: this.serviceHost,
34684
35158
  metadata: s,
@@ -34686,7 +35160,7 @@ GantryServiceClient.prototype.moveToPosition = function n(e, s, g) {
34686
35160
  debug: this.options.debug,
34687
35161
  onEnd: function(p) {
34688
35162
  if (g)
34689
- if (p.status !== grpc$q.Code.OK) {
35163
+ if (p.status !== grpc$p.Code.OK) {
34690
35164
  var l = new Error(p.statusMessage);
34691
35165
  l.code = p.status, l.metadata = p.trailers, g(l, null);
34692
35166
  } else
@@ -34701,7 +35175,7 @@ GantryServiceClient.prototype.moveToPosition = function n(e, s, g) {
34701
35175
  };
34702
35176
  GantryServiceClient.prototype.home = function n(e, s, g) {
34703
35177
  arguments.length === 2 && (g = arguments[1]);
34704
- var u = grpc$q.unary(GantryService.Home, {
35178
+ var u = grpc$p.unary(GantryService.Home, {
34705
35179
  request: e,
34706
35180
  host: this.serviceHost,
34707
35181
  metadata: s,
@@ -34709,7 +35183,7 @@ GantryServiceClient.prototype.home = function n(e, s, g) {
34709
35183
  debug: this.options.debug,
34710
35184
  onEnd: function(p) {
34711
35185
  if (g)
34712
- if (p.status !== grpc$q.Code.OK) {
35186
+ if (p.status !== grpc$p.Code.OK) {
34713
35187
  var l = new Error(p.statusMessage);
34714
35188
  l.code = p.status, l.metadata = p.trailers, g(l, null);
34715
35189
  } else
@@ -34724,7 +35198,7 @@ GantryServiceClient.prototype.home = function n(e, s, g) {
34724
35198
  };
34725
35199
  GantryServiceClient.prototype.getLengths = function n(e, s, g) {
34726
35200
  arguments.length === 2 && (g = arguments[1]);
34727
- var u = grpc$q.unary(GantryService.GetLengths, {
35201
+ var u = grpc$p.unary(GantryService.GetLengths, {
34728
35202
  request: e,
34729
35203
  host: this.serviceHost,
34730
35204
  metadata: s,
@@ -34732,7 +35206,7 @@ GantryServiceClient.prototype.getLengths = function n(e, s, g) {
34732
35206
  debug: this.options.debug,
34733
35207
  onEnd: function(p) {
34734
35208
  if (g)
34735
- if (p.status !== grpc$q.Code.OK) {
35209
+ if (p.status !== grpc$p.Code.OK) {
34736
35210
  var l = new Error(p.statusMessage);
34737
35211
  l.code = p.status, l.metadata = p.trailers, g(l, null);
34738
35212
  } else
@@ -34747,7 +35221,7 @@ GantryServiceClient.prototype.getLengths = function n(e, s, g) {
34747
35221
  };
34748
35222
  GantryServiceClient.prototype.stop = function n(e, s, g) {
34749
35223
  arguments.length === 2 && (g = arguments[1]);
34750
- var u = grpc$q.unary(GantryService.Stop, {
35224
+ var u = grpc$p.unary(GantryService.Stop, {
34751
35225
  request: e,
34752
35226
  host: this.serviceHost,
34753
35227
  metadata: s,
@@ -34755,7 +35229,7 @@ GantryServiceClient.prototype.stop = function n(e, s, g) {
34755
35229
  debug: this.options.debug,
34756
35230
  onEnd: function(p) {
34757
35231
  if (g)
34758
- if (p.status !== grpc$q.Code.OK) {
35232
+ if (p.status !== grpc$p.Code.OK) {
34759
35233
  var l = new Error(p.statusMessage);
34760
35234
  l.code = p.status, l.metadata = p.trailers, g(l, null);
34761
35235
  } else
@@ -34770,7 +35244,7 @@ GantryServiceClient.prototype.stop = function n(e, s, g) {
34770
35244
  };
34771
35245
  GantryServiceClient.prototype.isMoving = function n(e, s, g) {
34772
35246
  arguments.length === 2 && (g = arguments[1]);
34773
- var u = grpc$q.unary(GantryService.IsMoving, {
35247
+ var u = grpc$p.unary(GantryService.IsMoving, {
34774
35248
  request: e,
34775
35249
  host: this.serviceHost,
34776
35250
  metadata: s,
@@ -34778,7 +35252,7 @@ GantryServiceClient.prototype.isMoving = function n(e, s, g) {
34778
35252
  debug: this.options.debug,
34779
35253
  onEnd: function(p) {
34780
35254
  if (g)
34781
- if (p.status !== grpc$q.Code.OK) {
35255
+ if (p.status !== grpc$p.Code.OK) {
34782
35256
  var l = new Error(p.statusMessage);
34783
35257
  l.code = p.status, l.metadata = p.trailers, g(l, null);
34784
35258
  } else
@@ -34793,7 +35267,7 @@ GantryServiceClient.prototype.isMoving = function n(e, s, g) {
34793
35267
  };
34794
35268
  GantryServiceClient.prototype.doCommand = function n(e, s, g) {
34795
35269
  arguments.length === 2 && (g = arguments[1]);
34796
- var u = grpc$q.unary(GantryService.DoCommand, {
35270
+ var u = grpc$p.unary(GantryService.DoCommand, {
34797
35271
  request: e,
34798
35272
  host: this.serviceHost,
34799
35273
  metadata: s,
@@ -34801,7 +35275,7 @@ GantryServiceClient.prototype.doCommand = function n(e, s, g) {
34801
35275
  debug: this.options.debug,
34802
35276
  onEnd: function(p) {
34803
35277
  if (g)
34804
- if (p.status !== grpc$q.Code.OK) {
35278
+ if (p.status !== grpc$p.Code.OK) {
34805
35279
  var l = new Error(p.statusMessage);
34806
35280
  l.code = p.status, l.metadata = p.trailers, g(l, null);
34807
35281
  } else
@@ -34816,7 +35290,7 @@ GantryServiceClient.prototype.doCommand = function n(e, s, g) {
34816
35290
  };
34817
35291
  GantryServiceClient.prototype.getGeometries = function n(e, s, g) {
34818
35292
  arguments.length === 2 && (g = arguments[1]);
34819
- var u = grpc$q.unary(GantryService.GetGeometries, {
35293
+ var u = grpc$p.unary(GantryService.GetGeometries, {
34820
35294
  request: e,
34821
35295
  host: this.serviceHost,
34822
35296
  metadata: s,
@@ -34824,7 +35298,7 @@ GantryServiceClient.prototype.getGeometries = function n(e, s, g) {
34824
35298
  debug: this.options.debug,
34825
35299
  onEnd: function(p) {
34826
35300
  if (g)
34827
- if (p.status !== grpc$q.Code.OK) {
35301
+ if (p.status !== grpc$p.Code.OK) {
34828
35302
  var l = new Error(p.statusMessage);
34829
35303
  l.code = p.status, l.metadata = p.trailers, g(l, null);
34830
35304
  } else
@@ -34843,7 +35317,7 @@ var GantryServiceClient_1 = GantryServiceClient, generic_pb$1 = {}, jspb$2 = goo
34843
35317
  goog$2.object.extend(proto, common_v1_common_pb$i);
34844
35318
  var google_api_annotations_pb$2 = annotations_pb$1;
34845
35319
  goog$2.object.extend(proto, google_api_annotations_pb$2);
34846
- var common_v1_common_pb$h = common_pb, grpc$p = grpcWebClient_umdExports$1.grpc, GenericService$1 = function() {
35320
+ var common_v1_common_pb$h = common_pb, grpc$o = grpcWebClient_umdExports$1.grpc, GenericService$1 = function() {
34847
35321
  function n() {
34848
35322
  }
34849
35323
  return n.serviceName = "viam.component.generic.v1.GenericService", n;
@@ -34869,7 +35343,7 @@ function GenericServiceClient$1(n, e) {
34869
35343
  }
34870
35344
  GenericServiceClient$1.prototype.doCommand = function n(e, s, g) {
34871
35345
  arguments.length === 2 && (g = arguments[1]);
34872
- var u = grpc$p.unary(GenericService$1.DoCommand, {
35346
+ var u = grpc$o.unary(GenericService$1.DoCommand, {
34873
35347
  request: e,
34874
35348
  host: this.serviceHost,
34875
35349
  metadata: s,
@@ -34877,7 +35351,7 @@ GenericServiceClient$1.prototype.doCommand = function n(e, s, g) {
34877
35351
  debug: this.options.debug,
34878
35352
  onEnd: function(p) {
34879
35353
  if (g)
34880
- if (p.status !== grpc$p.Code.OK) {
35354
+ if (p.status !== grpc$o.Code.OK) {
34881
35355
  var l = new Error(p.statusMessage);
34882
35356
  l.code = p.status, l.metadata = p.trailers, g(l, null);
34883
35357
  } else
@@ -34892,7 +35366,7 @@ GenericServiceClient$1.prototype.doCommand = function n(e, s, g) {
34892
35366
  };
34893
35367
  GenericServiceClient$1.prototype.getGeometries = function n(e, s, g) {
34894
35368
  arguments.length === 2 && (g = arguments[1]);
34895
- var u = grpc$p.unary(GenericService$1.GetGeometries, {
35369
+ var u = grpc$o.unary(GenericService$1.GetGeometries, {
34896
35370
  request: e,
34897
35371
  host: this.serviceHost,
34898
35372
  metadata: s,
@@ -34900,7 +35374,7 @@ GenericServiceClient$1.prototype.getGeometries = function n(e, s, g) {
34900
35374
  debug: this.options.debug,
34901
35375
  onEnd: function(p) {
34902
35376
  if (g)
34903
- if (p.status !== grpc$p.Code.OK) {
35377
+ if (p.status !== grpc$o.Code.OK) {
34904
35378
  var l = new Error(p.statusMessage);
34905
35379
  l.code = p.status, l.metadata = p.trailers, g(l, null);
34906
35380
  } else
@@ -35323,7 +35797,7 @@ var GenericServiceClient_1$1 = GenericServiceClient$1, gripper_pb = {};
35323
35797
  }, s.object.extend(n, proto.viam.component.gripper.v1);
35324
35798
  })(gripper_pb);
35325
35799
  const pb$d = /* @__PURE__ */ getDefaultExportFromCjs(gripper_pb);
35326
- var component_gripper_v1_gripper_pb = gripper_pb, common_v1_common_pb$g = common_pb, grpc$o = grpcWebClient_umdExports$1.grpc, GripperService = function() {
35800
+ var component_gripper_v1_gripper_pb = gripper_pb, common_v1_common_pb$g = common_pb, grpc$n = grpcWebClient_umdExports$1.grpc, GripperService = function() {
35327
35801
  function n() {
35328
35802
  }
35329
35803
  return n.serviceName = "viam.component.gripper.v1.GripperService", n;
@@ -35381,7 +35855,7 @@ function GripperServiceClient(n, e) {
35381
35855
  }
35382
35856
  GripperServiceClient.prototype.open = function n(e, s, g) {
35383
35857
  arguments.length === 2 && (g = arguments[1]);
35384
- var u = grpc$o.unary(GripperService.Open, {
35858
+ var u = grpc$n.unary(GripperService.Open, {
35385
35859
  request: e,
35386
35860
  host: this.serviceHost,
35387
35861
  metadata: s,
@@ -35389,7 +35863,7 @@ GripperServiceClient.prototype.open = function n(e, s, g) {
35389
35863
  debug: this.options.debug,
35390
35864
  onEnd: function(p) {
35391
35865
  if (g)
35392
- if (p.status !== grpc$o.Code.OK) {
35866
+ if (p.status !== grpc$n.Code.OK) {
35393
35867
  var l = new Error(p.statusMessage);
35394
35868
  l.code = p.status, l.metadata = p.trailers, g(l, null);
35395
35869
  } else
@@ -35404,7 +35878,7 @@ GripperServiceClient.prototype.open = function n(e, s, g) {
35404
35878
  };
35405
35879
  GripperServiceClient.prototype.grab = function n(e, s, g) {
35406
35880
  arguments.length === 2 && (g = arguments[1]);
35407
- var u = grpc$o.unary(GripperService.Grab, {
35881
+ var u = grpc$n.unary(GripperService.Grab, {
35408
35882
  request: e,
35409
35883
  host: this.serviceHost,
35410
35884
  metadata: s,
@@ -35412,7 +35886,7 @@ GripperServiceClient.prototype.grab = function n(e, s, g) {
35412
35886
  debug: this.options.debug,
35413
35887
  onEnd: function(p) {
35414
35888
  if (g)
35415
- if (p.status !== grpc$o.Code.OK) {
35889
+ if (p.status !== grpc$n.Code.OK) {
35416
35890
  var l = new Error(p.statusMessage);
35417
35891
  l.code = p.status, l.metadata = p.trailers, g(l, null);
35418
35892
  } else
@@ -35427,7 +35901,7 @@ GripperServiceClient.prototype.grab = function n(e, s, g) {
35427
35901
  };
35428
35902
  GripperServiceClient.prototype.stop = function n(e, s, g) {
35429
35903
  arguments.length === 2 && (g = arguments[1]);
35430
- var u = grpc$o.unary(GripperService.Stop, {
35904
+ var u = grpc$n.unary(GripperService.Stop, {
35431
35905
  request: e,
35432
35906
  host: this.serviceHost,
35433
35907
  metadata: s,
@@ -35435,7 +35909,7 @@ GripperServiceClient.prototype.stop = function n(e, s, g) {
35435
35909
  debug: this.options.debug,
35436
35910
  onEnd: function(p) {
35437
35911
  if (g)
35438
- if (p.status !== grpc$o.Code.OK) {
35912
+ if (p.status !== grpc$n.Code.OK) {
35439
35913
  var l = new Error(p.statusMessage);
35440
35914
  l.code = p.status, l.metadata = p.trailers, g(l, null);
35441
35915
  } else
@@ -35450,7 +35924,7 @@ GripperServiceClient.prototype.stop = function n(e, s, g) {
35450
35924
  };
35451
35925
  GripperServiceClient.prototype.isMoving = function n(e, s, g) {
35452
35926
  arguments.length === 2 && (g = arguments[1]);
35453
- var u = grpc$o.unary(GripperService.IsMoving, {
35927
+ var u = grpc$n.unary(GripperService.IsMoving, {
35454
35928
  request: e,
35455
35929
  host: this.serviceHost,
35456
35930
  metadata: s,
@@ -35458,7 +35932,7 @@ GripperServiceClient.prototype.isMoving = function n(e, s, g) {
35458
35932
  debug: this.options.debug,
35459
35933
  onEnd: function(p) {
35460
35934
  if (g)
35461
- if (p.status !== grpc$o.Code.OK) {
35935
+ if (p.status !== grpc$n.Code.OK) {
35462
35936
  var l = new Error(p.statusMessage);
35463
35937
  l.code = p.status, l.metadata = p.trailers, g(l, null);
35464
35938
  } else
@@ -35473,7 +35947,7 @@ GripperServiceClient.prototype.isMoving = function n(e, s, g) {
35473
35947
  };
35474
35948
  GripperServiceClient.prototype.doCommand = function n(e, s, g) {
35475
35949
  arguments.length === 2 && (g = arguments[1]);
35476
- var u = grpc$o.unary(GripperService.DoCommand, {
35950
+ var u = grpc$n.unary(GripperService.DoCommand, {
35477
35951
  request: e,
35478
35952
  host: this.serviceHost,
35479
35953
  metadata: s,
@@ -35481,7 +35955,7 @@ GripperServiceClient.prototype.doCommand = function n(e, s, g) {
35481
35955
  debug: this.options.debug,
35482
35956
  onEnd: function(p) {
35483
35957
  if (g)
35484
- if (p.status !== grpc$o.Code.OK) {
35958
+ if (p.status !== grpc$n.Code.OK) {
35485
35959
  var l = new Error(p.statusMessage);
35486
35960
  l.code = p.status, l.metadata = p.trailers, g(l, null);
35487
35961
  } else
@@ -35496,7 +35970,7 @@ GripperServiceClient.prototype.doCommand = function n(e, s, g) {
35496
35970
  };
35497
35971
  GripperServiceClient.prototype.getGeometries = function n(e, s, g) {
35498
35972
  arguments.length === 2 && (g = arguments[1]);
35499
- var u = grpc$o.unary(GripperService.GetGeometries, {
35973
+ var u = grpc$n.unary(GripperService.GetGeometries, {
35500
35974
  request: e,
35501
35975
  host: this.serviceHost,
35502
35976
  metadata: s,
@@ -35504,7 +35978,7 @@ GripperServiceClient.prototype.getGeometries = function n(e, s, g) {
35504
35978
  debug: this.options.debug,
35505
35979
  onEnd: function(p) {
35506
35980
  if (g)
35507
- if (p.status !== grpc$o.Code.OK) {
35981
+ if (p.status !== grpc$n.Code.OK) {
35508
35982
  var l = new Error(p.statusMessage);
35509
35983
  l.code = p.status, l.metadata = p.trailers, g(l, null);
35510
35984
  } else
@@ -36247,7 +36721,7 @@ var GripperServiceClient_1 = GripperServiceClient, input_controller_pb$1 = {};
36247
36721
  }, s.object.extend(n, proto.viam.component.inputcontroller.v1);
36248
36722
  })(input_controller_pb$1);
36249
36723
  const input_controller_pb = /* @__PURE__ */ getDefaultExportFromCjs(input_controller_pb$1);
36250
- var component_inputcontroller_v1_input_controller_pb = input_controller_pb$1, common_v1_common_pb$f = common_pb, grpc$n = grpcWebClient_umdExports$1.grpc, InputControllerService = function() {
36724
+ var component_inputcontroller_v1_input_controller_pb = input_controller_pb$1, common_v1_common_pb$f = common_pb, grpc$m = grpcWebClient_umdExports$1.grpc, InputControllerService = function() {
36251
36725
  function n() {
36252
36726
  }
36253
36727
  return n.serviceName = "viam.component.inputcontroller.v1.InputControllerService", n;
@@ -36305,7 +36779,7 @@ function InputControllerServiceClient(n, e) {
36305
36779
  }
36306
36780
  InputControllerServiceClient.prototype.getControls = function n(e, s, g) {
36307
36781
  arguments.length === 2 && (g = arguments[1]);
36308
- var u = grpc$n.unary(InputControllerService.GetControls, {
36782
+ var u = grpc$m.unary(InputControllerService.GetControls, {
36309
36783
  request: e,
36310
36784
  host: this.serviceHost,
36311
36785
  metadata: s,
@@ -36313,7 +36787,7 @@ InputControllerServiceClient.prototype.getControls = function n(e, s, g) {
36313
36787
  debug: this.options.debug,
36314
36788
  onEnd: function(p) {
36315
36789
  if (g)
36316
- if (p.status !== grpc$n.Code.OK) {
36790
+ if (p.status !== grpc$m.Code.OK) {
36317
36791
  var l = new Error(p.statusMessage);
36318
36792
  l.code = p.status, l.metadata = p.trailers, g(l, null);
36319
36793
  } else
@@ -36328,7 +36802,7 @@ InputControllerServiceClient.prototype.getControls = function n(e, s, g) {
36328
36802
  };
36329
36803
  InputControllerServiceClient.prototype.getEvents = function n(e, s, g) {
36330
36804
  arguments.length === 2 && (g = arguments[1]);
36331
- var u = grpc$n.unary(InputControllerService.GetEvents, {
36805
+ var u = grpc$m.unary(InputControllerService.GetEvents, {
36332
36806
  request: e,
36333
36807
  host: this.serviceHost,
36334
36808
  metadata: s,
@@ -36336,7 +36810,7 @@ InputControllerServiceClient.prototype.getEvents = function n(e, s, g) {
36336
36810
  debug: this.options.debug,
36337
36811
  onEnd: function(p) {
36338
36812
  if (g)
36339
- if (p.status !== grpc$n.Code.OK) {
36813
+ if (p.status !== grpc$m.Code.OK) {
36340
36814
  var l = new Error(p.statusMessage);
36341
36815
  l.code = p.status, l.metadata = p.trailers, g(l, null);
36342
36816
  } else
@@ -36354,7 +36828,7 @@ InputControllerServiceClient.prototype.streamEvents = function n(e, s) {
36354
36828
  data: [],
36355
36829
  end: [],
36356
36830
  status: []
36357
- }, u = grpc$n.invoke(InputControllerService.StreamEvents, {
36831
+ }, u = grpc$m.invoke(InputControllerService.StreamEvents, {
36358
36832
  request: e,
36359
36833
  host: this.serviceHost,
36360
36834
  metadata: s,
@@ -36384,7 +36858,7 @@ InputControllerServiceClient.prototype.streamEvents = function n(e, s) {
36384
36858
  };
36385
36859
  InputControllerServiceClient.prototype.triggerEvent = function n(e, s, g) {
36386
36860
  arguments.length === 2 && (g = arguments[1]);
36387
- var u = grpc$n.unary(InputControllerService.TriggerEvent, {
36861
+ var u = grpc$m.unary(InputControllerService.TriggerEvent, {
36388
36862
  request: e,
36389
36863
  host: this.serviceHost,
36390
36864
  metadata: s,
@@ -36392,7 +36866,7 @@ InputControllerServiceClient.prototype.triggerEvent = function n(e, s, g) {
36392
36866
  debug: this.options.debug,
36393
36867
  onEnd: function(p) {
36394
36868
  if (g)
36395
- if (p.status !== grpc$n.Code.OK) {
36869
+ if (p.status !== grpc$m.Code.OK) {
36396
36870
  var l = new Error(p.statusMessage);
36397
36871
  l.code = p.status, l.metadata = p.trailers, g(l, null);
36398
36872
  } else
@@ -36407,7 +36881,7 @@ InputControllerServiceClient.prototype.triggerEvent = function n(e, s, g) {
36407
36881
  };
36408
36882
  InputControllerServiceClient.prototype.doCommand = function n(e, s, g) {
36409
36883
  arguments.length === 2 && (g = arguments[1]);
36410
- var u = grpc$n.unary(InputControllerService.DoCommand, {
36884
+ var u = grpc$m.unary(InputControllerService.DoCommand, {
36411
36885
  request: e,
36412
36886
  host: this.serviceHost,
36413
36887
  metadata: s,
@@ -36415,7 +36889,7 @@ InputControllerServiceClient.prototype.doCommand = function n(e, s, g) {
36415
36889
  debug: this.options.debug,
36416
36890
  onEnd: function(p) {
36417
36891
  if (g)
36418
- if (p.status !== grpc$n.Code.OK) {
36892
+ if (p.status !== grpc$m.Code.OK) {
36419
36893
  var l = new Error(p.statusMessage);
36420
36894
  l.code = p.status, l.metadata = p.trailers, g(l, null);
36421
36895
  } else
@@ -36430,7 +36904,7 @@ InputControllerServiceClient.prototype.doCommand = function n(e, s, g) {
36430
36904
  };
36431
36905
  InputControllerServiceClient.prototype.getGeometries = function n(e, s, g) {
36432
36906
  arguments.length === 2 && (g = arguments[1]);
36433
- var u = grpc$n.unary(InputControllerService.GetGeometries, {
36907
+ var u = grpc$m.unary(InputControllerService.GetGeometries, {
36434
36908
  request: e,
36435
36909
  host: this.serviceHost,
36436
36910
  metadata: s,
@@ -36438,7 +36912,7 @@ InputControllerServiceClient.prototype.getGeometries = function n(e, s, g) {
36438
36912
  debug: this.options.debug,
36439
36913
  onEnd: function(p) {
36440
36914
  if (g)
36441
- if (p.status !== grpc$n.Code.OK) {
36915
+ if (p.status !== grpc$m.Code.OK) {
36442
36916
  var l = new Error(p.statusMessage);
36443
36917
  l.code = p.status, l.metadata = p.trailers, g(l, null);
36444
36918
  } else
@@ -37642,7 +38116,7 @@ var InputControllerServiceClient_1 = InputControllerServiceClient, motor_pb = {}
37642
38116
  }, s.object.extend(n, proto.viam.component.motor.v1);
37643
38117
  })(motor_pb);
37644
38118
  const motorApi = /* @__PURE__ */ getDefaultExportFromCjs(motor_pb);
37645
- var component_motor_v1_motor_pb = motor_pb, common_v1_common_pb$e = common_pb, grpc$m = grpcWebClient_umdExports$1.grpc, MotorService = function() {
38119
+ var component_motor_v1_motor_pb = motor_pb, common_v1_common_pb$e = common_pb, grpc$l = grpcWebClient_umdExports$1.grpc, MotorService = function() {
37646
38120
  function n() {
37647
38121
  }
37648
38122
  return n.serviceName = "viam.component.motor.v1.MotorService", n;
@@ -37748,7 +38222,7 @@ function MotorServiceClient(n, e) {
37748
38222
  }
37749
38223
  MotorServiceClient.prototype.setPower = function n(e, s, g) {
37750
38224
  arguments.length === 2 && (g = arguments[1]);
37751
- var u = grpc$m.unary(MotorService.SetPower, {
38225
+ var u = grpc$l.unary(MotorService.SetPower, {
37752
38226
  request: e,
37753
38227
  host: this.serviceHost,
37754
38228
  metadata: s,
@@ -37756,7 +38230,7 @@ MotorServiceClient.prototype.setPower = function n(e, s, g) {
37756
38230
  debug: this.options.debug,
37757
38231
  onEnd: function(p) {
37758
38232
  if (g)
37759
- if (p.status !== grpc$m.Code.OK) {
38233
+ if (p.status !== grpc$l.Code.OK) {
37760
38234
  var l = new Error(p.statusMessage);
37761
38235
  l.code = p.status, l.metadata = p.trailers, g(l, null);
37762
38236
  } else
@@ -37771,7 +38245,7 @@ MotorServiceClient.prototype.setPower = function n(e, s, g) {
37771
38245
  };
37772
38246
  MotorServiceClient.prototype.goFor = function n(e, s, g) {
37773
38247
  arguments.length === 2 && (g = arguments[1]);
37774
- var u = grpc$m.unary(MotorService.GoFor, {
38248
+ var u = grpc$l.unary(MotorService.GoFor, {
37775
38249
  request: e,
37776
38250
  host: this.serviceHost,
37777
38251
  metadata: s,
@@ -37779,7 +38253,7 @@ MotorServiceClient.prototype.goFor = function n(e, s, g) {
37779
38253
  debug: this.options.debug,
37780
38254
  onEnd: function(p) {
37781
38255
  if (g)
37782
- if (p.status !== grpc$m.Code.OK) {
38256
+ if (p.status !== grpc$l.Code.OK) {
37783
38257
  var l = new Error(p.statusMessage);
37784
38258
  l.code = p.status, l.metadata = p.trailers, g(l, null);
37785
38259
  } else
@@ -37794,7 +38268,7 @@ MotorServiceClient.prototype.goFor = function n(e, s, g) {
37794
38268
  };
37795
38269
  MotorServiceClient.prototype.goTo = function n(e, s, g) {
37796
38270
  arguments.length === 2 && (g = arguments[1]);
37797
- var u = grpc$m.unary(MotorService.GoTo, {
38271
+ var u = grpc$l.unary(MotorService.GoTo, {
37798
38272
  request: e,
37799
38273
  host: this.serviceHost,
37800
38274
  metadata: s,
@@ -37802,7 +38276,7 @@ MotorServiceClient.prototype.goTo = function n(e, s, g) {
37802
38276
  debug: this.options.debug,
37803
38277
  onEnd: function(p) {
37804
38278
  if (g)
37805
- if (p.status !== grpc$m.Code.OK) {
38279
+ if (p.status !== grpc$l.Code.OK) {
37806
38280
  var l = new Error(p.statusMessage);
37807
38281
  l.code = p.status, l.metadata = p.trailers, g(l, null);
37808
38282
  } else
@@ -37817,7 +38291,7 @@ MotorServiceClient.prototype.goTo = function n(e, s, g) {
37817
38291
  };
37818
38292
  MotorServiceClient.prototype.setRPM = function n(e, s, g) {
37819
38293
  arguments.length === 2 && (g = arguments[1]);
37820
- var u = grpc$m.unary(MotorService.SetRPM, {
38294
+ var u = grpc$l.unary(MotorService.SetRPM, {
37821
38295
  request: e,
37822
38296
  host: this.serviceHost,
37823
38297
  metadata: s,
@@ -37825,7 +38299,7 @@ MotorServiceClient.prototype.setRPM = function n(e, s, g) {
37825
38299
  debug: this.options.debug,
37826
38300
  onEnd: function(p) {
37827
38301
  if (g)
37828
- if (p.status !== grpc$m.Code.OK) {
38302
+ if (p.status !== grpc$l.Code.OK) {
37829
38303
  var l = new Error(p.statusMessage);
37830
38304
  l.code = p.status, l.metadata = p.trailers, g(l, null);
37831
38305
  } else
@@ -37840,7 +38314,7 @@ MotorServiceClient.prototype.setRPM = function n(e, s, g) {
37840
38314
  };
37841
38315
  MotorServiceClient.prototype.resetZeroPosition = function n(e, s, g) {
37842
38316
  arguments.length === 2 && (g = arguments[1]);
37843
- var u = grpc$m.unary(MotorService.ResetZeroPosition, {
38317
+ var u = grpc$l.unary(MotorService.ResetZeroPosition, {
37844
38318
  request: e,
37845
38319
  host: this.serviceHost,
37846
38320
  metadata: s,
@@ -37848,7 +38322,7 @@ MotorServiceClient.prototype.resetZeroPosition = function n(e, s, g) {
37848
38322
  debug: this.options.debug,
37849
38323
  onEnd: function(p) {
37850
38324
  if (g)
37851
- if (p.status !== grpc$m.Code.OK) {
38325
+ if (p.status !== grpc$l.Code.OK) {
37852
38326
  var l = new Error(p.statusMessage);
37853
38327
  l.code = p.status, l.metadata = p.trailers, g(l, null);
37854
38328
  } else
@@ -37863,7 +38337,7 @@ MotorServiceClient.prototype.resetZeroPosition = function n(e, s, g) {
37863
38337
  };
37864
38338
  MotorServiceClient.prototype.getPosition = function n(e, s, g) {
37865
38339
  arguments.length === 2 && (g = arguments[1]);
37866
- var u = grpc$m.unary(MotorService.GetPosition, {
38340
+ var u = grpc$l.unary(MotorService.GetPosition, {
37867
38341
  request: e,
37868
38342
  host: this.serviceHost,
37869
38343
  metadata: s,
@@ -37871,7 +38345,7 @@ MotorServiceClient.prototype.getPosition = function n(e, s, g) {
37871
38345
  debug: this.options.debug,
37872
38346
  onEnd: function(p) {
37873
38347
  if (g)
37874
- if (p.status !== grpc$m.Code.OK) {
38348
+ if (p.status !== grpc$l.Code.OK) {
37875
38349
  var l = new Error(p.statusMessage);
37876
38350
  l.code = p.status, l.metadata = p.trailers, g(l, null);
37877
38351
  } else
@@ -37886,7 +38360,7 @@ MotorServiceClient.prototype.getPosition = function n(e, s, g) {
37886
38360
  };
37887
38361
  MotorServiceClient.prototype.getProperties = function n(e, s, g) {
37888
38362
  arguments.length === 2 && (g = arguments[1]);
37889
- var u = grpc$m.unary(MotorService.GetProperties, {
38363
+ var u = grpc$l.unary(MotorService.GetProperties, {
37890
38364
  request: e,
37891
38365
  host: this.serviceHost,
37892
38366
  metadata: s,
@@ -37894,7 +38368,7 @@ MotorServiceClient.prototype.getProperties = function n(e, s, g) {
37894
38368
  debug: this.options.debug,
37895
38369
  onEnd: function(p) {
37896
38370
  if (g)
37897
- if (p.status !== grpc$m.Code.OK) {
38371
+ if (p.status !== grpc$l.Code.OK) {
37898
38372
  var l = new Error(p.statusMessage);
37899
38373
  l.code = p.status, l.metadata = p.trailers, g(l, null);
37900
38374
  } else
@@ -37909,7 +38383,7 @@ MotorServiceClient.prototype.getProperties = function n(e, s, g) {
37909
38383
  };
37910
38384
  MotorServiceClient.prototype.stop = function n(e, s, g) {
37911
38385
  arguments.length === 2 && (g = arguments[1]);
37912
- var u = grpc$m.unary(MotorService.Stop, {
38386
+ var u = grpc$l.unary(MotorService.Stop, {
37913
38387
  request: e,
37914
38388
  host: this.serviceHost,
37915
38389
  metadata: s,
@@ -37917,7 +38391,7 @@ MotorServiceClient.prototype.stop = function n(e, s, g) {
37917
38391
  debug: this.options.debug,
37918
38392
  onEnd: function(p) {
37919
38393
  if (g)
37920
- if (p.status !== grpc$m.Code.OK) {
38394
+ if (p.status !== grpc$l.Code.OK) {
37921
38395
  var l = new Error(p.statusMessage);
37922
38396
  l.code = p.status, l.metadata = p.trailers, g(l, null);
37923
38397
  } else
@@ -37932,7 +38406,7 @@ MotorServiceClient.prototype.stop = function n(e, s, g) {
37932
38406
  };
37933
38407
  MotorServiceClient.prototype.isPowered = function n(e, s, g) {
37934
38408
  arguments.length === 2 && (g = arguments[1]);
37935
- var u = grpc$m.unary(MotorService.IsPowered, {
38409
+ var u = grpc$l.unary(MotorService.IsPowered, {
37936
38410
  request: e,
37937
38411
  host: this.serviceHost,
37938
38412
  metadata: s,
@@ -37940,7 +38414,7 @@ MotorServiceClient.prototype.isPowered = function n(e, s, g) {
37940
38414
  debug: this.options.debug,
37941
38415
  onEnd: function(p) {
37942
38416
  if (g)
37943
- if (p.status !== grpc$m.Code.OK) {
38417
+ if (p.status !== grpc$l.Code.OK) {
37944
38418
  var l = new Error(p.statusMessage);
37945
38419
  l.code = p.status, l.metadata = p.trailers, g(l, null);
37946
38420
  } else
@@ -37955,7 +38429,7 @@ MotorServiceClient.prototype.isPowered = function n(e, s, g) {
37955
38429
  };
37956
38430
  MotorServiceClient.prototype.isMoving = function n(e, s, g) {
37957
38431
  arguments.length === 2 && (g = arguments[1]);
37958
- var u = grpc$m.unary(MotorService.IsMoving, {
38432
+ var u = grpc$l.unary(MotorService.IsMoving, {
37959
38433
  request: e,
37960
38434
  host: this.serviceHost,
37961
38435
  metadata: s,
@@ -37963,7 +38437,7 @@ MotorServiceClient.prototype.isMoving = function n(e, s, g) {
37963
38437
  debug: this.options.debug,
37964
38438
  onEnd: function(p) {
37965
38439
  if (g)
37966
- if (p.status !== grpc$m.Code.OK) {
38440
+ if (p.status !== grpc$l.Code.OK) {
37967
38441
  var l = new Error(p.statusMessage);
37968
38442
  l.code = p.status, l.metadata = p.trailers, g(l, null);
37969
38443
  } else
@@ -37978,7 +38452,7 @@ MotorServiceClient.prototype.isMoving = function n(e, s, g) {
37978
38452
  };
37979
38453
  MotorServiceClient.prototype.doCommand = function n(e, s, g) {
37980
38454
  arguments.length === 2 && (g = arguments[1]);
37981
- var u = grpc$m.unary(MotorService.DoCommand, {
38455
+ var u = grpc$l.unary(MotorService.DoCommand, {
37982
38456
  request: e,
37983
38457
  host: this.serviceHost,
37984
38458
  metadata: s,
@@ -37986,7 +38460,7 @@ MotorServiceClient.prototype.doCommand = function n(e, s, g) {
37986
38460
  debug: this.options.debug,
37987
38461
  onEnd: function(p) {
37988
38462
  if (g)
37989
- if (p.status !== grpc$m.Code.OK) {
38463
+ if (p.status !== grpc$l.Code.OK) {
37990
38464
  var l = new Error(p.statusMessage);
37991
38465
  l.code = p.status, l.metadata = p.trailers, g(l, null);
37992
38466
  } else
@@ -38001,7 +38475,7 @@ MotorServiceClient.prototype.doCommand = function n(e, s, g) {
38001
38475
  };
38002
38476
  MotorServiceClient.prototype.getGeometries = function n(e, s, g) {
38003
38477
  arguments.length === 2 && (g = arguments[1]);
38004
- var u = grpc$m.unary(MotorService.GetGeometries, {
38478
+ var u = grpc$l.unary(MotorService.GetGeometries, {
38005
38479
  request: e,
38006
38480
  host: this.serviceHost,
38007
38481
  metadata: s,
@@ -38009,7 +38483,7 @@ MotorServiceClient.prototype.getGeometries = function n(e, s, g) {
38009
38483
  debug: this.options.debug,
38010
38484
  onEnd: function(p) {
38011
38485
  if (g)
38012
- if (p.status !== grpc$m.Code.OK) {
38486
+ if (p.status !== grpc$l.Code.OK) {
38013
38487
  var l = new Error(p.statusMessage);
38014
38488
  l.code = p.status, l.metadata = p.trailers, g(l, null);
38015
38489
  } else
@@ -39125,7 +39599,7 @@ var MotorServiceClient_1 = MotorServiceClient, movementsensor_pb = {};
39125
39599
  }, s.object.extend(n, proto.viam.component.movementsensor.v1);
39126
39600
  })(movementsensor_pb);
39127
39601
  const pb$c = /* @__PURE__ */ getDefaultExportFromCjs(movementsensor_pb);
39128
- var component_movementsensor_v1_movementsensor_pb = movementsensor_pb, common_v1_common_pb$d = common_pb, grpc$l = grpcWebClient_umdExports$1.grpc, MovementSensorService = function() {
39602
+ var component_movementsensor_v1_movementsensor_pb = movementsensor_pb, common_v1_common_pb$d = common_pb, grpc$k = grpcWebClient_umdExports$1.grpc, MovementSensorService = function() {
39129
39603
  function n() {
39130
39604
  }
39131
39605
  return n.serviceName = "viam.component.movementsensor.v1.MovementSensorService", n;
@@ -39223,7 +39697,7 @@ function MovementSensorServiceClient(n, e) {
39223
39697
  }
39224
39698
  MovementSensorServiceClient.prototype.getLinearVelocity = function n(e, s, g) {
39225
39699
  arguments.length === 2 && (g = arguments[1]);
39226
- var u = grpc$l.unary(MovementSensorService.GetLinearVelocity, {
39700
+ var u = grpc$k.unary(MovementSensorService.GetLinearVelocity, {
39227
39701
  request: e,
39228
39702
  host: this.serviceHost,
39229
39703
  metadata: s,
@@ -39231,7 +39705,7 @@ MovementSensorServiceClient.prototype.getLinearVelocity = function n(e, s, g) {
39231
39705
  debug: this.options.debug,
39232
39706
  onEnd: function(p) {
39233
39707
  if (g)
39234
- if (p.status !== grpc$l.Code.OK) {
39708
+ if (p.status !== grpc$k.Code.OK) {
39235
39709
  var l = new Error(p.statusMessage);
39236
39710
  l.code = p.status, l.metadata = p.trailers, g(l, null);
39237
39711
  } else
@@ -39246,7 +39720,7 @@ MovementSensorServiceClient.prototype.getLinearVelocity = function n(e, s, g) {
39246
39720
  };
39247
39721
  MovementSensorServiceClient.prototype.getAngularVelocity = function n(e, s, g) {
39248
39722
  arguments.length === 2 && (g = arguments[1]);
39249
- var u = grpc$l.unary(MovementSensorService.GetAngularVelocity, {
39723
+ var u = grpc$k.unary(MovementSensorService.GetAngularVelocity, {
39250
39724
  request: e,
39251
39725
  host: this.serviceHost,
39252
39726
  metadata: s,
@@ -39254,7 +39728,7 @@ MovementSensorServiceClient.prototype.getAngularVelocity = function n(e, s, g) {
39254
39728
  debug: this.options.debug,
39255
39729
  onEnd: function(p) {
39256
39730
  if (g)
39257
- if (p.status !== grpc$l.Code.OK) {
39731
+ if (p.status !== grpc$k.Code.OK) {
39258
39732
  var l = new Error(p.statusMessage);
39259
39733
  l.code = p.status, l.metadata = p.trailers, g(l, null);
39260
39734
  } else
@@ -39269,7 +39743,7 @@ MovementSensorServiceClient.prototype.getAngularVelocity = function n(e, s, g) {
39269
39743
  };
39270
39744
  MovementSensorServiceClient.prototype.getCompassHeading = function n(e, s, g) {
39271
39745
  arguments.length === 2 && (g = arguments[1]);
39272
- var u = grpc$l.unary(MovementSensorService.GetCompassHeading, {
39746
+ var u = grpc$k.unary(MovementSensorService.GetCompassHeading, {
39273
39747
  request: e,
39274
39748
  host: this.serviceHost,
39275
39749
  metadata: s,
@@ -39277,7 +39751,7 @@ MovementSensorServiceClient.prototype.getCompassHeading = function n(e, s, g) {
39277
39751
  debug: this.options.debug,
39278
39752
  onEnd: function(p) {
39279
39753
  if (g)
39280
- if (p.status !== grpc$l.Code.OK) {
39754
+ if (p.status !== grpc$k.Code.OK) {
39281
39755
  var l = new Error(p.statusMessage);
39282
39756
  l.code = p.status, l.metadata = p.trailers, g(l, null);
39283
39757
  } else
@@ -39292,7 +39766,7 @@ MovementSensorServiceClient.prototype.getCompassHeading = function n(e, s, g) {
39292
39766
  };
39293
39767
  MovementSensorServiceClient.prototype.getOrientation = function n(e, s, g) {
39294
39768
  arguments.length === 2 && (g = arguments[1]);
39295
- var u = grpc$l.unary(MovementSensorService.GetOrientation, {
39769
+ var u = grpc$k.unary(MovementSensorService.GetOrientation, {
39296
39770
  request: e,
39297
39771
  host: this.serviceHost,
39298
39772
  metadata: s,
@@ -39300,7 +39774,7 @@ MovementSensorServiceClient.prototype.getOrientation = function n(e, s, g) {
39300
39774
  debug: this.options.debug,
39301
39775
  onEnd: function(p) {
39302
39776
  if (g)
39303
- if (p.status !== grpc$l.Code.OK) {
39777
+ if (p.status !== grpc$k.Code.OK) {
39304
39778
  var l = new Error(p.statusMessage);
39305
39779
  l.code = p.status, l.metadata = p.trailers, g(l, null);
39306
39780
  } else
@@ -39315,7 +39789,7 @@ MovementSensorServiceClient.prototype.getOrientation = function n(e, s, g) {
39315
39789
  };
39316
39790
  MovementSensorServiceClient.prototype.getPosition = function n(e, s, g) {
39317
39791
  arguments.length === 2 && (g = arguments[1]);
39318
- var u = grpc$l.unary(MovementSensorService.GetPosition, {
39792
+ var u = grpc$k.unary(MovementSensorService.GetPosition, {
39319
39793
  request: e,
39320
39794
  host: this.serviceHost,
39321
39795
  metadata: s,
@@ -39323,7 +39797,7 @@ MovementSensorServiceClient.prototype.getPosition = function n(e, s, g) {
39323
39797
  debug: this.options.debug,
39324
39798
  onEnd: function(p) {
39325
39799
  if (g)
39326
- if (p.status !== grpc$l.Code.OK) {
39800
+ if (p.status !== grpc$k.Code.OK) {
39327
39801
  var l = new Error(p.statusMessage);
39328
39802
  l.code = p.status, l.metadata = p.trailers, g(l, null);
39329
39803
  } else
@@ -39338,7 +39812,7 @@ MovementSensorServiceClient.prototype.getPosition = function n(e, s, g) {
39338
39812
  };
39339
39813
  MovementSensorServiceClient.prototype.getProperties = function n(e, s, g) {
39340
39814
  arguments.length === 2 && (g = arguments[1]);
39341
- var u = grpc$l.unary(MovementSensorService.GetProperties, {
39815
+ var u = grpc$k.unary(MovementSensorService.GetProperties, {
39342
39816
  request: e,
39343
39817
  host: this.serviceHost,
39344
39818
  metadata: s,
@@ -39346,7 +39820,7 @@ MovementSensorServiceClient.prototype.getProperties = function n(e, s, g) {
39346
39820
  debug: this.options.debug,
39347
39821
  onEnd: function(p) {
39348
39822
  if (g)
39349
- if (p.status !== grpc$l.Code.OK) {
39823
+ if (p.status !== grpc$k.Code.OK) {
39350
39824
  var l = new Error(p.statusMessage);
39351
39825
  l.code = p.status, l.metadata = p.trailers, g(l, null);
39352
39826
  } else
@@ -39361,7 +39835,7 @@ MovementSensorServiceClient.prototype.getProperties = function n(e, s, g) {
39361
39835
  };
39362
39836
  MovementSensorServiceClient.prototype.getAccuracy = function n(e, s, g) {
39363
39837
  arguments.length === 2 && (g = arguments[1]);
39364
- var u = grpc$l.unary(MovementSensorService.GetAccuracy, {
39838
+ var u = grpc$k.unary(MovementSensorService.GetAccuracy, {
39365
39839
  request: e,
39366
39840
  host: this.serviceHost,
39367
39841
  metadata: s,
@@ -39369,7 +39843,7 @@ MovementSensorServiceClient.prototype.getAccuracy = function n(e, s, g) {
39369
39843
  debug: this.options.debug,
39370
39844
  onEnd: function(p) {
39371
39845
  if (g)
39372
- if (p.status !== grpc$l.Code.OK) {
39846
+ if (p.status !== grpc$k.Code.OK) {
39373
39847
  var l = new Error(p.statusMessage);
39374
39848
  l.code = p.status, l.metadata = p.trailers, g(l, null);
39375
39849
  } else
@@ -39384,7 +39858,7 @@ MovementSensorServiceClient.prototype.getAccuracy = function n(e, s, g) {
39384
39858
  };
39385
39859
  MovementSensorServiceClient.prototype.getLinearAcceleration = function n(e, s, g) {
39386
39860
  arguments.length === 2 && (g = arguments[1]);
39387
- var u = grpc$l.unary(MovementSensorService.GetLinearAcceleration, {
39861
+ var u = grpc$k.unary(MovementSensorService.GetLinearAcceleration, {
39388
39862
  request: e,
39389
39863
  host: this.serviceHost,
39390
39864
  metadata: s,
@@ -39392,7 +39866,7 @@ MovementSensorServiceClient.prototype.getLinearAcceleration = function n(e, s, g
39392
39866
  debug: this.options.debug,
39393
39867
  onEnd: function(p) {
39394
39868
  if (g)
39395
- if (p.status !== grpc$l.Code.OK) {
39869
+ if (p.status !== grpc$k.Code.OK) {
39396
39870
  var l = new Error(p.statusMessage);
39397
39871
  l.code = p.status, l.metadata = p.trailers, g(l, null);
39398
39872
  } else
@@ -39407,7 +39881,7 @@ MovementSensorServiceClient.prototype.getLinearAcceleration = function n(e, s, g
39407
39881
  };
39408
39882
  MovementSensorServiceClient.prototype.doCommand = function n(e, s, g) {
39409
39883
  arguments.length === 2 && (g = arguments[1]);
39410
- var u = grpc$l.unary(MovementSensorService.DoCommand, {
39884
+ var u = grpc$k.unary(MovementSensorService.DoCommand, {
39411
39885
  request: e,
39412
39886
  host: this.serviceHost,
39413
39887
  metadata: s,
@@ -39415,7 +39889,7 @@ MovementSensorServiceClient.prototype.doCommand = function n(e, s, g) {
39415
39889
  debug: this.options.debug,
39416
39890
  onEnd: function(p) {
39417
39891
  if (g)
39418
- if (p.status !== grpc$l.Code.OK) {
39892
+ if (p.status !== grpc$k.Code.OK) {
39419
39893
  var l = new Error(p.statusMessage);
39420
39894
  l.code = p.status, l.metadata = p.trailers, g(l, null);
39421
39895
  } else
@@ -39430,7 +39904,7 @@ MovementSensorServiceClient.prototype.doCommand = function n(e, s, g) {
39430
39904
  };
39431
39905
  MovementSensorServiceClient.prototype.getGeometries = function n(e, s, g) {
39432
39906
  arguments.length === 2 && (g = arguments[1]);
39433
- var u = grpc$l.unary(MovementSensorService.GetGeometries, {
39907
+ var u = grpc$k.unary(MovementSensorService.GetGeometries, {
39434
39908
  request: e,
39435
39909
  host: this.serviceHost,
39436
39910
  metadata: s,
@@ -39438,7 +39912,7 @@ MovementSensorServiceClient.prototype.getGeometries = function n(e, s, g) {
39438
39912
  debug: this.options.debug,
39439
39913
  onEnd: function(p) {
39440
39914
  if (g)
39441
- if (p.status !== grpc$l.Code.OK) {
39915
+ if (p.status !== grpc$k.Code.OK) {
39442
39916
  var l = new Error(p.statusMessage);
39443
39917
  l.code = p.status, l.metadata = p.trailers, g(l, null);
39444
39918
  } else
@@ -39453,7 +39927,7 @@ MovementSensorServiceClient.prototype.getGeometries = function n(e, s, g) {
39453
39927
  };
39454
39928
  MovementSensorServiceClient.prototype.getReadings = function n(e, s, g) {
39455
39929
  arguments.length === 2 && (g = arguments[1]);
39456
- var u = grpc$l.unary(MovementSensorService.GetReadings, {
39930
+ var u = grpc$k.unary(MovementSensorService.GetReadings, {
39457
39931
  request: e,
39458
39932
  host: this.serviceHost,
39459
39933
  metadata: s,
@@ -39461,7 +39935,7 @@ MovementSensorServiceClient.prototype.getReadings = function n(e, s, g) {
39461
39935
  debug: this.options.debug,
39462
39936
  onEnd: function(p) {
39463
39937
  if (g)
39464
- if (p.status !== grpc$l.Code.OK) {
39938
+ if (p.status !== grpc$k.Code.OK) {
39465
39939
  var l = new Error(p.statusMessage);
39466
39940
  l.code = p.status, l.metadata = p.trailers, g(l, null);
39467
39941
  } else
@@ -39852,7 +40326,7 @@ var MovementSensorServiceClient_1 = MovementSensorServiceClient, powersensor_pb
39852
40326
  }, s.object.extend(n, proto.viam.component.powersensor.v1);
39853
40327
  })(powersensor_pb);
39854
40328
  const pb$b = /* @__PURE__ */ getDefaultExportFromCjs(powersensor_pb);
39855
- var component_powersensor_v1_powersensor_pb = powersensor_pb, common_v1_common_pb$c = common_pb, grpc$k = grpcWebClient_umdExports$1.grpc, PowerSensorService = function() {
40329
+ var component_powersensor_v1_powersensor_pb = powersensor_pb, common_v1_common_pb$c = common_pb, grpc$j = grpcWebClient_umdExports$1.grpc, PowerSensorService = function() {
39856
40330
  function n() {
39857
40331
  }
39858
40332
  return n.serviceName = "viam.component.powersensor.v1.PowerSensorService", n;
@@ -39902,7 +40376,7 @@ function PowerSensorServiceClient(n, e) {
39902
40376
  }
39903
40377
  PowerSensorServiceClient.prototype.getVoltage = function n(e, s, g) {
39904
40378
  arguments.length === 2 && (g = arguments[1]);
39905
- var u = grpc$k.unary(PowerSensorService.GetVoltage, {
40379
+ var u = grpc$j.unary(PowerSensorService.GetVoltage, {
39906
40380
  request: e,
39907
40381
  host: this.serviceHost,
39908
40382
  metadata: s,
@@ -39910,7 +40384,7 @@ PowerSensorServiceClient.prototype.getVoltage = function n(e, s, g) {
39910
40384
  debug: this.options.debug,
39911
40385
  onEnd: function(p) {
39912
40386
  if (g)
39913
- if (p.status !== grpc$k.Code.OK) {
40387
+ if (p.status !== grpc$j.Code.OK) {
39914
40388
  var l = new Error(p.statusMessage);
39915
40389
  l.code = p.status, l.metadata = p.trailers, g(l, null);
39916
40390
  } else
@@ -39925,7 +40399,7 @@ PowerSensorServiceClient.prototype.getVoltage = function n(e, s, g) {
39925
40399
  };
39926
40400
  PowerSensorServiceClient.prototype.getCurrent = function n(e, s, g) {
39927
40401
  arguments.length === 2 && (g = arguments[1]);
39928
- var u = grpc$k.unary(PowerSensorService.GetCurrent, {
40402
+ var u = grpc$j.unary(PowerSensorService.GetCurrent, {
39929
40403
  request: e,
39930
40404
  host: this.serviceHost,
39931
40405
  metadata: s,
@@ -39933,7 +40407,7 @@ PowerSensorServiceClient.prototype.getCurrent = function n(e, s, g) {
39933
40407
  debug: this.options.debug,
39934
40408
  onEnd: function(p) {
39935
40409
  if (g)
39936
- if (p.status !== grpc$k.Code.OK) {
40410
+ if (p.status !== grpc$j.Code.OK) {
39937
40411
  var l = new Error(p.statusMessage);
39938
40412
  l.code = p.status, l.metadata = p.trailers, g(l, null);
39939
40413
  } else
@@ -39948,7 +40422,7 @@ PowerSensorServiceClient.prototype.getCurrent = function n(e, s, g) {
39948
40422
  };
39949
40423
  PowerSensorServiceClient.prototype.getPower = function n(e, s, g) {
39950
40424
  arguments.length === 2 && (g = arguments[1]);
39951
- var u = grpc$k.unary(PowerSensorService.GetPower, {
40425
+ var u = grpc$j.unary(PowerSensorService.GetPower, {
39952
40426
  request: e,
39953
40427
  host: this.serviceHost,
39954
40428
  metadata: s,
@@ -39956,7 +40430,7 @@ PowerSensorServiceClient.prototype.getPower = function n(e, s, g) {
39956
40430
  debug: this.options.debug,
39957
40431
  onEnd: function(p) {
39958
40432
  if (g)
39959
- if (p.status !== grpc$k.Code.OK) {
40433
+ if (p.status !== grpc$j.Code.OK) {
39960
40434
  var l = new Error(p.statusMessage);
39961
40435
  l.code = p.status, l.metadata = p.trailers, g(l, null);
39962
40436
  } else
@@ -39971,7 +40445,7 @@ PowerSensorServiceClient.prototype.getPower = function n(e, s, g) {
39971
40445
  };
39972
40446
  PowerSensorServiceClient.prototype.getReadings = function n(e, s, g) {
39973
40447
  arguments.length === 2 && (g = arguments[1]);
39974
- var u = grpc$k.unary(PowerSensorService.GetReadings, {
40448
+ var u = grpc$j.unary(PowerSensorService.GetReadings, {
39975
40449
  request: e,
39976
40450
  host: this.serviceHost,
39977
40451
  metadata: s,
@@ -39979,7 +40453,7 @@ PowerSensorServiceClient.prototype.getReadings = function n(e, s, g) {
39979
40453
  debug: this.options.debug,
39980
40454
  onEnd: function(p) {
39981
40455
  if (g)
39982
- if (p.status !== grpc$k.Code.OK) {
40456
+ if (p.status !== grpc$j.Code.OK) {
39983
40457
  var l = new Error(p.statusMessage);
39984
40458
  l.code = p.status, l.metadata = p.trailers, g(l, null);
39985
40459
  } else
@@ -39994,7 +40468,7 @@ PowerSensorServiceClient.prototype.getReadings = function n(e, s, g) {
39994
40468
  };
39995
40469
  PowerSensorServiceClient.prototype.doCommand = function n(e, s, g) {
39996
40470
  arguments.length === 2 && (g = arguments[1]);
39997
- var u = grpc$k.unary(PowerSensorService.DoCommand, {
40471
+ var u = grpc$j.unary(PowerSensorService.DoCommand, {
39998
40472
  request: e,
39999
40473
  host: this.serviceHost,
40000
40474
  metadata: s,
@@ -40002,7 +40476,7 @@ PowerSensorServiceClient.prototype.doCommand = function n(e, s, g) {
40002
40476
  debug: this.options.debug,
40003
40477
  onEnd: function(p) {
40004
40478
  if (g)
40005
- if (p.status !== grpc$k.Code.OK) {
40479
+ if (p.status !== grpc$j.Code.OK) {
40006
40480
  var l = new Error(p.statusMessage);
40007
40481
  l.code = p.status, l.metadata = p.trailers, g(l, null);
40008
40482
  } else
@@ -40486,7 +40960,7 @@ var PowerSensorServiceClient_1 = PowerSensorServiceClient, servo_pb = {};
40486
40960
  }, s.object.extend(n, proto.viam.component.servo.v1);
40487
40961
  })(servo_pb);
40488
40962
  const pb$a = /* @__PURE__ */ getDefaultExportFromCjs(servo_pb);
40489
- var component_servo_v1_servo_pb = servo_pb, common_v1_common_pb$b = common_pb, grpc$j = grpcWebClient_umdExports$1.grpc, ServoService = function() {
40963
+ var component_servo_v1_servo_pb = servo_pb, common_v1_common_pb$b = common_pb, grpc$i = grpcWebClient_umdExports$1.grpc, ServoService = function() {
40490
40964
  function n() {
40491
40965
  }
40492
40966
  return n.serviceName = "viam.component.servo.v1.ServoService", n;
@@ -40544,7 +41018,7 @@ function ServoServiceClient(n, e) {
40544
41018
  }
40545
41019
  ServoServiceClient.prototype.move = function n(e, s, g) {
40546
41020
  arguments.length === 2 && (g = arguments[1]);
40547
- var u = grpc$j.unary(ServoService.Move, {
41021
+ var u = grpc$i.unary(ServoService.Move, {
40548
41022
  request: e,
40549
41023
  host: this.serviceHost,
40550
41024
  metadata: s,
@@ -40552,7 +41026,7 @@ ServoServiceClient.prototype.move = function n(e, s, g) {
40552
41026
  debug: this.options.debug,
40553
41027
  onEnd: function(p) {
40554
41028
  if (g)
40555
- if (p.status !== grpc$j.Code.OK) {
41029
+ if (p.status !== grpc$i.Code.OK) {
40556
41030
  var l = new Error(p.statusMessage);
40557
41031
  l.code = p.status, l.metadata = p.trailers, g(l, null);
40558
41032
  } else
@@ -40567,7 +41041,7 @@ ServoServiceClient.prototype.move = function n(e, s, g) {
40567
41041
  };
40568
41042
  ServoServiceClient.prototype.getPosition = function n(e, s, g) {
40569
41043
  arguments.length === 2 && (g = arguments[1]);
40570
- var u = grpc$j.unary(ServoService.GetPosition, {
41044
+ var u = grpc$i.unary(ServoService.GetPosition, {
40571
41045
  request: e,
40572
41046
  host: this.serviceHost,
40573
41047
  metadata: s,
@@ -40575,7 +41049,7 @@ ServoServiceClient.prototype.getPosition = function n(e, s, g) {
40575
41049
  debug: this.options.debug,
40576
41050
  onEnd: function(p) {
40577
41051
  if (g)
40578
- if (p.status !== grpc$j.Code.OK) {
41052
+ if (p.status !== grpc$i.Code.OK) {
40579
41053
  var l = new Error(p.statusMessage);
40580
41054
  l.code = p.status, l.metadata = p.trailers, g(l, null);
40581
41055
  } else
@@ -40590,7 +41064,7 @@ ServoServiceClient.prototype.getPosition = function n(e, s, g) {
40590
41064
  };
40591
41065
  ServoServiceClient.prototype.stop = function n(e, s, g) {
40592
41066
  arguments.length === 2 && (g = arguments[1]);
40593
- var u = grpc$j.unary(ServoService.Stop, {
41067
+ var u = grpc$i.unary(ServoService.Stop, {
40594
41068
  request: e,
40595
41069
  host: this.serviceHost,
40596
41070
  metadata: s,
@@ -40598,7 +41072,7 @@ ServoServiceClient.prototype.stop = function n(e, s, g) {
40598
41072
  debug: this.options.debug,
40599
41073
  onEnd: function(p) {
40600
41074
  if (g)
40601
- if (p.status !== grpc$j.Code.OK) {
41075
+ if (p.status !== grpc$i.Code.OK) {
40602
41076
  var l = new Error(p.statusMessage);
40603
41077
  l.code = p.status, l.metadata = p.trailers, g(l, null);
40604
41078
  } else
@@ -40613,7 +41087,7 @@ ServoServiceClient.prototype.stop = function n(e, s, g) {
40613
41087
  };
40614
41088
  ServoServiceClient.prototype.isMoving = function n(e, s, g) {
40615
41089
  arguments.length === 2 && (g = arguments[1]);
40616
- var u = grpc$j.unary(ServoService.IsMoving, {
41090
+ var u = grpc$i.unary(ServoService.IsMoving, {
40617
41091
  request: e,
40618
41092
  host: this.serviceHost,
40619
41093
  metadata: s,
@@ -40621,7 +41095,7 @@ ServoServiceClient.prototype.isMoving = function n(e, s, g) {
40621
41095
  debug: this.options.debug,
40622
41096
  onEnd: function(p) {
40623
41097
  if (g)
40624
- if (p.status !== grpc$j.Code.OK) {
41098
+ if (p.status !== grpc$i.Code.OK) {
40625
41099
  var l = new Error(p.statusMessage);
40626
41100
  l.code = p.status, l.metadata = p.trailers, g(l, null);
40627
41101
  } else
@@ -40636,7 +41110,7 @@ ServoServiceClient.prototype.isMoving = function n(e, s, g) {
40636
41110
  };
40637
41111
  ServoServiceClient.prototype.doCommand = function n(e, s, g) {
40638
41112
  arguments.length === 2 && (g = arguments[1]);
40639
- var u = grpc$j.unary(ServoService.DoCommand, {
41113
+ var u = grpc$i.unary(ServoService.DoCommand, {
40640
41114
  request: e,
40641
41115
  host: this.serviceHost,
40642
41116
  metadata: s,
@@ -40644,7 +41118,7 @@ ServoServiceClient.prototype.doCommand = function n(e, s, g) {
40644
41118
  debug: this.options.debug,
40645
41119
  onEnd: function(p) {
40646
41120
  if (g)
40647
- if (p.status !== grpc$j.Code.OK) {
41121
+ if (p.status !== grpc$i.Code.OK) {
40648
41122
  var l = new Error(p.statusMessage);
40649
41123
  l.code = p.status, l.metadata = p.trailers, g(l, null);
40650
41124
  } else
@@ -40659,7 +41133,7 @@ ServoServiceClient.prototype.doCommand = function n(e, s, g) {
40659
41133
  };
40660
41134
  ServoServiceClient.prototype.getGeometries = function n(e, s, g) {
40661
41135
  arguments.length === 2 && (g = arguments[1]);
40662
- var u = grpc$j.unary(ServoService.GetGeometries, {
41136
+ var u = grpc$i.unary(ServoService.GetGeometries, {
40663
41137
  request: e,
40664
41138
  host: this.serviceHost,
40665
41139
  metadata: s,
@@ -40667,7 +41141,7 @@ ServoServiceClient.prototype.getGeometries = function n(e, s, g) {
40667
41141
  debug: this.options.debug,
40668
41142
  onEnd: function(p) {
40669
41143
  if (g)
40670
- if (p.status !== grpc$j.Code.OK) {
41144
+ if (p.status !== grpc$i.Code.OK) {
40671
41145
  var l = new Error(p.statusMessage);
40672
41146
  l.code = p.status, l.metadata = p.trailers, g(l, null);
40673
41147
  } else
@@ -40680,7 +41154,7 @@ ServoServiceClient.prototype.getGeometries = function n(e, s, g) {
40680
41154
  }
40681
41155
  };
40682
41156
  };
40683
- var ServoServiceClient_1 = ServoServiceClient, robot_v1_robot_pb = robot_pb, grpc$i = grpcWebClient_umdExports$1.grpc, RobotService = function() {
41157
+ var ServoServiceClient_1 = ServoServiceClient, robot_v1_robot_pb = robot_pb, grpc$h = grpcWebClient_umdExports$1.grpc, RobotService = function() {
40684
41158
  function n() {
40685
41159
  }
40686
41160
  return n.serviceName = "viam.robot.v1.RobotService", n;
@@ -40858,7 +41332,7 @@ function RobotServiceClient(n, e) {
40858
41332
  }
40859
41333
  RobotServiceClient.prototype.getOperations = function n(e, s, g) {
40860
41334
  arguments.length === 2 && (g = arguments[1]);
40861
- var u = grpc$i.unary(RobotService.GetOperations, {
41335
+ var u = grpc$h.unary(RobotService.GetOperations, {
40862
41336
  request: e,
40863
41337
  host: this.serviceHost,
40864
41338
  metadata: s,
@@ -40866,7 +41340,7 @@ RobotServiceClient.prototype.getOperations = function n(e, s, g) {
40866
41340
  debug: this.options.debug,
40867
41341
  onEnd: function(p) {
40868
41342
  if (g)
40869
- if (p.status !== grpc$i.Code.OK) {
41343
+ if (p.status !== grpc$h.Code.OK) {
40870
41344
  var l = new Error(p.statusMessage);
40871
41345
  l.code = p.status, l.metadata = p.trailers, g(l, null);
40872
41346
  } else
@@ -40881,7 +41355,7 @@ RobotServiceClient.prototype.getOperations = function n(e, s, g) {
40881
41355
  };
40882
41356
  RobotServiceClient.prototype.getSessions = function n(e, s, g) {
40883
41357
  arguments.length === 2 && (g = arguments[1]);
40884
- var u = grpc$i.unary(RobotService.GetSessions, {
41358
+ var u = grpc$h.unary(RobotService.GetSessions, {
40885
41359
  request: e,
40886
41360
  host: this.serviceHost,
40887
41361
  metadata: s,
@@ -40889,7 +41363,7 @@ RobotServiceClient.prototype.getSessions = function n(e, s, g) {
40889
41363
  debug: this.options.debug,
40890
41364
  onEnd: function(p) {
40891
41365
  if (g)
40892
- if (p.status !== grpc$i.Code.OK) {
41366
+ if (p.status !== grpc$h.Code.OK) {
40893
41367
  var l = new Error(p.statusMessage);
40894
41368
  l.code = p.status, l.metadata = p.trailers, g(l, null);
40895
41369
  } else
@@ -40904,7 +41378,7 @@ RobotServiceClient.prototype.getSessions = function n(e, s, g) {
40904
41378
  };
40905
41379
  RobotServiceClient.prototype.resourceNames = function n(e, s, g) {
40906
41380
  arguments.length === 2 && (g = arguments[1]);
40907
- var u = grpc$i.unary(RobotService.ResourceNames, {
41381
+ var u = grpc$h.unary(RobotService.ResourceNames, {
40908
41382
  request: e,
40909
41383
  host: this.serviceHost,
40910
41384
  metadata: s,
@@ -40912,7 +41386,7 @@ RobotServiceClient.prototype.resourceNames = function n(e, s, g) {
40912
41386
  debug: this.options.debug,
40913
41387
  onEnd: function(p) {
40914
41388
  if (g)
40915
- if (p.status !== grpc$i.Code.OK) {
41389
+ if (p.status !== grpc$h.Code.OK) {
40916
41390
  var l = new Error(p.statusMessage);
40917
41391
  l.code = p.status, l.metadata = p.trailers, g(l, null);
40918
41392
  } else
@@ -40927,7 +41401,7 @@ RobotServiceClient.prototype.resourceNames = function n(e, s, g) {
40927
41401
  };
40928
41402
  RobotServiceClient.prototype.resourceRPCSubtypes = function n(e, s, g) {
40929
41403
  arguments.length === 2 && (g = arguments[1]);
40930
- var u = grpc$i.unary(RobotService.ResourceRPCSubtypes, {
41404
+ var u = grpc$h.unary(RobotService.ResourceRPCSubtypes, {
40931
41405
  request: e,
40932
41406
  host: this.serviceHost,
40933
41407
  metadata: s,
@@ -40935,7 +41409,7 @@ RobotServiceClient.prototype.resourceRPCSubtypes = function n(e, s, g) {
40935
41409
  debug: this.options.debug,
40936
41410
  onEnd: function(p) {
40937
41411
  if (g)
40938
- if (p.status !== grpc$i.Code.OK) {
41412
+ if (p.status !== grpc$h.Code.OK) {
40939
41413
  var l = new Error(p.statusMessage);
40940
41414
  l.code = p.status, l.metadata = p.trailers, g(l, null);
40941
41415
  } else
@@ -40950,7 +41424,7 @@ RobotServiceClient.prototype.resourceRPCSubtypes = function n(e, s, g) {
40950
41424
  };
40951
41425
  RobotServiceClient.prototype.cancelOperation = function n(e, s, g) {
40952
41426
  arguments.length === 2 && (g = arguments[1]);
40953
- var u = grpc$i.unary(RobotService.CancelOperation, {
41427
+ var u = grpc$h.unary(RobotService.CancelOperation, {
40954
41428
  request: e,
40955
41429
  host: this.serviceHost,
40956
41430
  metadata: s,
@@ -40958,7 +41432,7 @@ RobotServiceClient.prototype.cancelOperation = function n(e, s, g) {
40958
41432
  debug: this.options.debug,
40959
41433
  onEnd: function(p) {
40960
41434
  if (g)
40961
- if (p.status !== grpc$i.Code.OK) {
41435
+ if (p.status !== grpc$h.Code.OK) {
40962
41436
  var l = new Error(p.statusMessage);
40963
41437
  l.code = p.status, l.metadata = p.trailers, g(l, null);
40964
41438
  } else
@@ -40973,7 +41447,7 @@ RobotServiceClient.prototype.cancelOperation = function n(e, s, g) {
40973
41447
  };
40974
41448
  RobotServiceClient.prototype.blockForOperation = function n(e, s, g) {
40975
41449
  arguments.length === 2 && (g = arguments[1]);
40976
- var u = grpc$i.unary(RobotService.BlockForOperation, {
41450
+ var u = grpc$h.unary(RobotService.BlockForOperation, {
40977
41451
  request: e,
40978
41452
  host: this.serviceHost,
40979
41453
  metadata: s,
@@ -40981,7 +41455,7 @@ RobotServiceClient.prototype.blockForOperation = function n(e, s, g) {
40981
41455
  debug: this.options.debug,
40982
41456
  onEnd: function(p) {
40983
41457
  if (g)
40984
- if (p.status !== grpc$i.Code.OK) {
41458
+ if (p.status !== grpc$h.Code.OK) {
40985
41459
  var l = new Error(p.statusMessage);
40986
41460
  l.code = p.status, l.metadata = p.trailers, g(l, null);
40987
41461
  } else
@@ -40996,7 +41470,7 @@ RobotServiceClient.prototype.blockForOperation = function n(e, s, g) {
40996
41470
  };
40997
41471
  RobotServiceClient.prototype.discoverComponents = function n(e, s, g) {
40998
41472
  arguments.length === 2 && (g = arguments[1]);
40999
- var u = grpc$i.unary(RobotService.DiscoverComponents, {
41473
+ var u = grpc$h.unary(RobotService.DiscoverComponents, {
41000
41474
  request: e,
41001
41475
  host: this.serviceHost,
41002
41476
  metadata: s,
@@ -41004,7 +41478,7 @@ RobotServiceClient.prototype.discoverComponents = function n(e, s, g) {
41004
41478
  debug: this.options.debug,
41005
41479
  onEnd: function(p) {
41006
41480
  if (g)
41007
- if (p.status !== grpc$i.Code.OK) {
41481
+ if (p.status !== grpc$h.Code.OK) {
41008
41482
  var l = new Error(p.statusMessage);
41009
41483
  l.code = p.status, l.metadata = p.trailers, g(l, null);
41010
41484
  } else
@@ -41019,7 +41493,7 @@ RobotServiceClient.prototype.discoverComponents = function n(e, s, g) {
41019
41493
  };
41020
41494
  RobotServiceClient.prototype.frameSystemConfig = function n(e, s, g) {
41021
41495
  arguments.length === 2 && (g = arguments[1]);
41022
- var u = grpc$i.unary(RobotService.FrameSystemConfig, {
41496
+ var u = grpc$h.unary(RobotService.FrameSystemConfig, {
41023
41497
  request: e,
41024
41498
  host: this.serviceHost,
41025
41499
  metadata: s,
@@ -41027,7 +41501,7 @@ RobotServiceClient.prototype.frameSystemConfig = function n(e, s, g) {
41027
41501
  debug: this.options.debug,
41028
41502
  onEnd: function(p) {
41029
41503
  if (g)
41030
- if (p.status !== grpc$i.Code.OK) {
41504
+ if (p.status !== grpc$h.Code.OK) {
41031
41505
  var l = new Error(p.statusMessage);
41032
41506
  l.code = p.status, l.metadata = p.trailers, g(l, null);
41033
41507
  } else
@@ -41042,7 +41516,7 @@ RobotServiceClient.prototype.frameSystemConfig = function n(e, s, g) {
41042
41516
  };
41043
41517
  RobotServiceClient.prototype.transformPose = function n(e, s, g) {
41044
41518
  arguments.length === 2 && (g = arguments[1]);
41045
- var u = grpc$i.unary(RobotService.TransformPose, {
41519
+ var u = grpc$h.unary(RobotService.TransformPose, {
41046
41520
  request: e,
41047
41521
  host: this.serviceHost,
41048
41522
  metadata: s,
@@ -41050,7 +41524,7 @@ RobotServiceClient.prototype.transformPose = function n(e, s, g) {
41050
41524
  debug: this.options.debug,
41051
41525
  onEnd: function(p) {
41052
41526
  if (g)
41053
- if (p.status !== grpc$i.Code.OK) {
41527
+ if (p.status !== grpc$h.Code.OK) {
41054
41528
  var l = new Error(p.statusMessage);
41055
41529
  l.code = p.status, l.metadata = p.trailers, g(l, null);
41056
41530
  } else
@@ -41065,7 +41539,7 @@ RobotServiceClient.prototype.transformPose = function n(e, s, g) {
41065
41539
  };
41066
41540
  RobotServiceClient.prototype.transformPCD = function n(e, s, g) {
41067
41541
  arguments.length === 2 && (g = arguments[1]);
41068
- var u = grpc$i.unary(RobotService.TransformPCD, {
41542
+ var u = grpc$h.unary(RobotService.TransformPCD, {
41069
41543
  request: e,
41070
41544
  host: this.serviceHost,
41071
41545
  metadata: s,
@@ -41073,7 +41547,7 @@ RobotServiceClient.prototype.transformPCD = function n(e, s, g) {
41073
41547
  debug: this.options.debug,
41074
41548
  onEnd: function(p) {
41075
41549
  if (g)
41076
- if (p.status !== grpc$i.Code.OK) {
41550
+ if (p.status !== grpc$h.Code.OK) {
41077
41551
  var l = new Error(p.statusMessage);
41078
41552
  l.code = p.status, l.metadata = p.trailers, g(l, null);
41079
41553
  } else
@@ -41088,7 +41562,7 @@ RobotServiceClient.prototype.transformPCD = function n(e, s, g) {
41088
41562
  };
41089
41563
  RobotServiceClient.prototype.getStatus = function n(e, s, g) {
41090
41564
  arguments.length === 2 && (g = arguments[1]);
41091
- var u = grpc$i.unary(RobotService.GetStatus, {
41565
+ var u = grpc$h.unary(RobotService.GetStatus, {
41092
41566
  request: e,
41093
41567
  host: this.serviceHost,
41094
41568
  metadata: s,
@@ -41096,7 +41570,7 @@ RobotServiceClient.prototype.getStatus = function n(e, s, g) {
41096
41570
  debug: this.options.debug,
41097
41571
  onEnd: function(p) {
41098
41572
  if (g)
41099
- if (p.status !== grpc$i.Code.OK) {
41573
+ if (p.status !== grpc$h.Code.OK) {
41100
41574
  var l = new Error(p.statusMessage);
41101
41575
  l.code = p.status, l.metadata = p.trailers, g(l, null);
41102
41576
  } else
@@ -41114,7 +41588,7 @@ RobotServiceClient.prototype.streamStatus = function n(e, s) {
41114
41588
  data: [],
41115
41589
  end: [],
41116
41590
  status: []
41117
- }, u = grpc$i.invoke(RobotService.StreamStatus, {
41591
+ }, u = grpc$h.invoke(RobotService.StreamStatus, {
41118
41592
  request: e,
41119
41593
  host: this.serviceHost,
41120
41594
  metadata: s,
@@ -41144,7 +41618,7 @@ RobotServiceClient.prototype.streamStatus = function n(e, s) {
41144
41618
  };
41145
41619
  RobotServiceClient.prototype.stopAll = function n(e, s, g) {
41146
41620
  arguments.length === 2 && (g = arguments[1]);
41147
- var u = grpc$i.unary(RobotService.StopAll, {
41621
+ var u = grpc$h.unary(RobotService.StopAll, {
41148
41622
  request: e,
41149
41623
  host: this.serviceHost,
41150
41624
  metadata: s,
@@ -41152,7 +41626,7 @@ RobotServiceClient.prototype.stopAll = function n(e, s, g) {
41152
41626
  debug: this.options.debug,
41153
41627
  onEnd: function(p) {
41154
41628
  if (g)
41155
- if (p.status !== grpc$i.Code.OK) {
41629
+ if (p.status !== grpc$h.Code.OK) {
41156
41630
  var l = new Error(p.statusMessage);
41157
41631
  l.code = p.status, l.metadata = p.trailers, g(l, null);
41158
41632
  } else
@@ -41167,7 +41641,7 @@ RobotServiceClient.prototype.stopAll = function n(e, s, g) {
41167
41641
  };
41168
41642
  RobotServiceClient.prototype.startSession = function n(e, s, g) {
41169
41643
  arguments.length === 2 && (g = arguments[1]);
41170
- var u = grpc$i.unary(RobotService.StartSession, {
41644
+ var u = grpc$h.unary(RobotService.StartSession, {
41171
41645
  request: e,
41172
41646
  host: this.serviceHost,
41173
41647
  metadata: s,
@@ -41175,7 +41649,7 @@ RobotServiceClient.prototype.startSession = function n(e, s, g) {
41175
41649
  debug: this.options.debug,
41176
41650
  onEnd: function(p) {
41177
41651
  if (g)
41178
- if (p.status !== grpc$i.Code.OK) {
41652
+ if (p.status !== grpc$h.Code.OK) {
41179
41653
  var l = new Error(p.statusMessage);
41180
41654
  l.code = p.status, l.metadata = p.trailers, g(l, null);
41181
41655
  } else
@@ -41190,7 +41664,7 @@ RobotServiceClient.prototype.startSession = function n(e, s, g) {
41190
41664
  };
41191
41665
  RobotServiceClient.prototype.sendSessionHeartbeat = function n(e, s, g) {
41192
41666
  arguments.length === 2 && (g = arguments[1]);
41193
- var u = grpc$i.unary(RobotService.SendSessionHeartbeat, {
41667
+ var u = grpc$h.unary(RobotService.SendSessionHeartbeat, {
41194
41668
  request: e,
41195
41669
  host: this.serviceHost,
41196
41670
  metadata: s,
@@ -41198,7 +41672,7 @@ RobotServiceClient.prototype.sendSessionHeartbeat = function n(e, s, g) {
41198
41672
  debug: this.options.debug,
41199
41673
  onEnd: function(p) {
41200
41674
  if (g)
41201
- if (p.status !== grpc$i.Code.OK) {
41675
+ if (p.status !== grpc$h.Code.OK) {
41202
41676
  var l = new Error(p.statusMessage);
41203
41677
  l.code = p.status, l.metadata = p.trailers, g(l, null);
41204
41678
  } else
@@ -41213,7 +41687,7 @@ RobotServiceClient.prototype.sendSessionHeartbeat = function n(e, s, g) {
41213
41687
  };
41214
41688
  RobotServiceClient.prototype.log = function n(e, s, g) {
41215
41689
  arguments.length === 2 && (g = arguments[1]);
41216
- var u = grpc$i.unary(RobotService.Log, {
41690
+ var u = grpc$h.unary(RobotService.Log, {
41217
41691
  request: e,
41218
41692
  host: this.serviceHost,
41219
41693
  metadata: s,
@@ -41221,7 +41695,7 @@ RobotServiceClient.prototype.log = function n(e, s, g) {
41221
41695
  debug: this.options.debug,
41222
41696
  onEnd: function(p) {
41223
41697
  if (g)
41224
- if (p.status !== grpc$i.Code.OK) {
41698
+ if (p.status !== grpc$h.Code.OK) {
41225
41699
  var l = new Error(p.statusMessage);
41226
41700
  l.code = p.status, l.metadata = p.trailers, g(l, null);
41227
41701
  } else
@@ -41236,7 +41710,7 @@ RobotServiceClient.prototype.log = function n(e, s, g) {
41236
41710
  };
41237
41711
  RobotServiceClient.prototype.getCloudMetadata = function n(e, s, g) {
41238
41712
  arguments.length === 2 && (g = arguments[1]);
41239
- var u = grpc$i.unary(RobotService.GetCloudMetadata, {
41713
+ var u = grpc$h.unary(RobotService.GetCloudMetadata, {
41240
41714
  request: e,
41241
41715
  host: this.serviceHost,
41242
41716
  metadata: s,
@@ -41244,7 +41718,7 @@ RobotServiceClient.prototype.getCloudMetadata = function n(e, s, g) {
41244
41718
  debug: this.options.debug,
41245
41719
  onEnd: function(p) {
41246
41720
  if (g)
41247
- if (p.status !== grpc$i.Code.OK) {
41721
+ if (p.status !== grpc$h.Code.OK) {
41248
41722
  var l = new Error(p.statusMessage);
41249
41723
  l.code = p.status, l.metadata = p.trailers, g(l, null);
41250
41724
  } else
@@ -41259,7 +41733,7 @@ RobotServiceClient.prototype.getCloudMetadata = function n(e, s, g) {
41259
41733
  };
41260
41734
  RobotServiceClient.prototype.restartModule = function n(e, s, g) {
41261
41735
  arguments.length === 2 && (g = arguments[1]);
41262
- var u = grpc$i.unary(RobotService.RestartModule, {
41736
+ var u = grpc$h.unary(RobotService.RestartModule, {
41263
41737
  request: e,
41264
41738
  host: this.serviceHost,
41265
41739
  metadata: s,
@@ -41267,7 +41741,7 @@ RobotServiceClient.prototype.restartModule = function n(e, s, g) {
41267
41741
  debug: this.options.debug,
41268
41742
  onEnd: function(p) {
41269
41743
  if (g)
41270
- if (p.status !== grpc$i.Code.OK) {
41744
+ if (p.status !== grpc$h.Code.OK) {
41271
41745
  var l = new Error(p.statusMessage);
41272
41746
  l.code = p.status, l.metadata = p.trailers, g(l, null);
41273
41747
  } else
@@ -41282,7 +41756,7 @@ RobotServiceClient.prototype.restartModule = function n(e, s, g) {
41282
41756
  };
41283
41757
  RobotServiceClient.prototype.shutdown = function n(e, s, g) {
41284
41758
  arguments.length === 2 && (g = arguments[1]);
41285
- var u = grpc$i.unary(RobotService.Shutdown, {
41759
+ var u = grpc$h.unary(RobotService.Shutdown, {
41286
41760
  request: e,
41287
41761
  host: this.serviceHost,
41288
41762
  metadata: s,
@@ -41290,7 +41764,7 @@ RobotServiceClient.prototype.shutdown = function n(e, s, g) {
41290
41764
  debug: this.options.debug,
41291
41765
  onEnd: function(p) {
41292
41766
  if (g)
41293
- if (p.status !== grpc$i.Code.OK) {
41767
+ if (p.status !== grpc$h.Code.OK) {
41294
41768
  var l = new Error(p.statusMessage);
41295
41769
  l.code = p.status, l.metadata = p.trailers, g(l, null);
41296
41770
  } else
@@ -41305,7 +41779,7 @@ RobotServiceClient.prototype.shutdown = function n(e, s, g) {
41305
41779
  };
41306
41780
  RobotServiceClient.prototype.getMachineStatus = function n(e, s, g) {
41307
41781
  arguments.length === 2 && (g = arguments[1]);
41308
- var u = grpc$i.unary(RobotService.GetMachineStatus, {
41782
+ var u = grpc$h.unary(RobotService.GetMachineStatus, {
41309
41783
  request: e,
41310
41784
  host: this.serviceHost,
41311
41785
  metadata: s,
@@ -41313,7 +41787,7 @@ RobotServiceClient.prototype.getMachineStatus = function n(e, s, g) {
41313
41787
  debug: this.options.debug,
41314
41788
  onEnd: function(p) {
41315
41789
  if (g)
41316
- if (p.status !== grpc$i.Code.OK) {
41790
+ if (p.status !== grpc$h.Code.OK) {
41317
41791
  var l = new Error(p.statusMessage);
41318
41792
  l.code = p.status, l.metadata = p.trailers, g(l, null);
41319
41793
  } else
@@ -41328,7 +41802,7 @@ RobotServiceClient.prototype.getMachineStatus = function n(e, s, g) {
41328
41802
  };
41329
41803
  RobotServiceClient.prototype.getVersion = function n(e, s, g) {
41330
41804
  arguments.length === 2 && (g = arguments[1]);
41331
- var u = grpc$i.unary(RobotService.GetVersion, {
41805
+ var u = grpc$h.unary(RobotService.GetVersion, {
41332
41806
  request: e,
41333
41807
  host: this.serviceHost,
41334
41808
  metadata: s,
@@ -41336,7 +41810,7 @@ RobotServiceClient.prototype.getVersion = function n(e, s, g) {
41336
41810
  debug: this.options.debug,
41337
41811
  onEnd: function(p) {
41338
41812
  if (g)
41339
- if (p.status !== grpc$i.Code.OK) {
41813
+ if (p.status !== grpc$h.Code.OK) {
41340
41814
  var l = new Error(p.statusMessage);
41341
41815
  l.code = p.status, l.metadata = p.trailers, g(l, null);
41342
41816
  } else
@@ -43699,7 +44173,7 @@ var RobotServiceClient_1 = RobotServiceClient, motion_pb = {};
43699
44173
  }, s.object.extend(n, proto.viam.service.motion.v1);
43700
44174
  })(motion_pb);
43701
44175
  const pb$9 = /* @__PURE__ */ getDefaultExportFromCjs(motion_pb);
43702
- var service_motion_v1_motion_pb = motion_pb, common_v1_common_pb$a = common_pb, grpc$h = grpcWebClient_umdExports$1.grpc, MotionService = function() {
44176
+ var service_motion_v1_motion_pb = motion_pb, common_v1_common_pb$a = common_pb, grpc$g = grpcWebClient_umdExports$1.grpc, MotionService = function() {
43703
44177
  function n() {
43704
44178
  }
43705
44179
  return n.serviceName = "viam.service.motion.v1.MotionService", n;
@@ -43773,7 +44247,7 @@ function MotionServiceClient(n, e) {
43773
44247
  }
43774
44248
  MotionServiceClient.prototype.move = function n(e, s, g) {
43775
44249
  arguments.length === 2 && (g = arguments[1]);
43776
- var u = grpc$h.unary(MotionService.Move, {
44250
+ var u = grpc$g.unary(MotionService.Move, {
43777
44251
  request: e,
43778
44252
  host: this.serviceHost,
43779
44253
  metadata: s,
@@ -43781,7 +44255,7 @@ MotionServiceClient.prototype.move = function n(e, s, g) {
43781
44255
  debug: this.options.debug,
43782
44256
  onEnd: function(p) {
43783
44257
  if (g)
43784
- if (p.status !== grpc$h.Code.OK) {
44258
+ if (p.status !== grpc$g.Code.OK) {
43785
44259
  var l = new Error(p.statusMessage);
43786
44260
  l.code = p.status, l.metadata = p.trailers, g(l, null);
43787
44261
  } else
@@ -43796,7 +44270,7 @@ MotionServiceClient.prototype.move = function n(e, s, g) {
43796
44270
  };
43797
44271
  MotionServiceClient.prototype.moveOnMap = function n(e, s, g) {
43798
44272
  arguments.length === 2 && (g = arguments[1]);
43799
- var u = grpc$h.unary(MotionService.MoveOnMap, {
44273
+ var u = grpc$g.unary(MotionService.MoveOnMap, {
43800
44274
  request: e,
43801
44275
  host: this.serviceHost,
43802
44276
  metadata: s,
@@ -43804,7 +44278,7 @@ MotionServiceClient.prototype.moveOnMap = function n(e, s, g) {
43804
44278
  debug: this.options.debug,
43805
44279
  onEnd: function(p) {
43806
44280
  if (g)
43807
- if (p.status !== grpc$h.Code.OK) {
44281
+ if (p.status !== grpc$g.Code.OK) {
43808
44282
  var l = new Error(p.statusMessage);
43809
44283
  l.code = p.status, l.metadata = p.trailers, g(l, null);
43810
44284
  } else
@@ -43819,7 +44293,7 @@ MotionServiceClient.prototype.moveOnMap = function n(e, s, g) {
43819
44293
  };
43820
44294
  MotionServiceClient.prototype.moveOnGlobe = function n(e, s, g) {
43821
44295
  arguments.length === 2 && (g = arguments[1]);
43822
- var u = grpc$h.unary(MotionService.MoveOnGlobe, {
44296
+ var u = grpc$g.unary(MotionService.MoveOnGlobe, {
43823
44297
  request: e,
43824
44298
  host: this.serviceHost,
43825
44299
  metadata: s,
@@ -43827,7 +44301,7 @@ MotionServiceClient.prototype.moveOnGlobe = function n(e, s, g) {
43827
44301
  debug: this.options.debug,
43828
44302
  onEnd: function(p) {
43829
44303
  if (g)
43830
- if (p.status !== grpc$h.Code.OK) {
44304
+ if (p.status !== grpc$g.Code.OK) {
43831
44305
  var l = new Error(p.statusMessage);
43832
44306
  l.code = p.status, l.metadata = p.trailers, g(l, null);
43833
44307
  } else
@@ -43842,7 +44316,7 @@ MotionServiceClient.prototype.moveOnGlobe = function n(e, s, g) {
43842
44316
  };
43843
44317
  MotionServiceClient.prototype.getPose = function n(e, s, g) {
43844
44318
  arguments.length === 2 && (g = arguments[1]);
43845
- var u = grpc$h.unary(MotionService.GetPose, {
44319
+ var u = grpc$g.unary(MotionService.GetPose, {
43846
44320
  request: e,
43847
44321
  host: this.serviceHost,
43848
44322
  metadata: s,
@@ -43850,7 +44324,7 @@ MotionServiceClient.prototype.getPose = function n(e, s, g) {
43850
44324
  debug: this.options.debug,
43851
44325
  onEnd: function(p) {
43852
44326
  if (g)
43853
- if (p.status !== grpc$h.Code.OK) {
44327
+ if (p.status !== grpc$g.Code.OK) {
43854
44328
  var l = new Error(p.statusMessage);
43855
44329
  l.code = p.status, l.metadata = p.trailers, g(l, null);
43856
44330
  } else
@@ -43865,7 +44339,7 @@ MotionServiceClient.prototype.getPose = function n(e, s, g) {
43865
44339
  };
43866
44340
  MotionServiceClient.prototype.stopPlan = function n(e, s, g) {
43867
44341
  arguments.length === 2 && (g = arguments[1]);
43868
- var u = grpc$h.unary(MotionService.StopPlan, {
44342
+ var u = grpc$g.unary(MotionService.StopPlan, {
43869
44343
  request: e,
43870
44344
  host: this.serviceHost,
43871
44345
  metadata: s,
@@ -43873,7 +44347,7 @@ MotionServiceClient.prototype.stopPlan = function n(e, s, g) {
43873
44347
  debug: this.options.debug,
43874
44348
  onEnd: function(p) {
43875
44349
  if (g)
43876
- if (p.status !== grpc$h.Code.OK) {
44350
+ if (p.status !== grpc$g.Code.OK) {
43877
44351
  var l = new Error(p.statusMessage);
43878
44352
  l.code = p.status, l.metadata = p.trailers, g(l, null);
43879
44353
  } else
@@ -43888,7 +44362,7 @@ MotionServiceClient.prototype.stopPlan = function n(e, s, g) {
43888
44362
  };
43889
44363
  MotionServiceClient.prototype.listPlanStatuses = function n(e, s, g) {
43890
44364
  arguments.length === 2 && (g = arguments[1]);
43891
- var u = grpc$h.unary(MotionService.ListPlanStatuses, {
44365
+ var u = grpc$g.unary(MotionService.ListPlanStatuses, {
43892
44366
  request: e,
43893
44367
  host: this.serviceHost,
43894
44368
  metadata: s,
@@ -43896,7 +44370,7 @@ MotionServiceClient.prototype.listPlanStatuses = function n(e, s, g) {
43896
44370
  debug: this.options.debug,
43897
44371
  onEnd: function(p) {
43898
44372
  if (g)
43899
- if (p.status !== grpc$h.Code.OK) {
44373
+ if (p.status !== grpc$g.Code.OK) {
43900
44374
  var l = new Error(p.statusMessage);
43901
44375
  l.code = p.status, l.metadata = p.trailers, g(l, null);
43902
44376
  } else
@@ -43911,7 +44385,7 @@ MotionServiceClient.prototype.listPlanStatuses = function n(e, s, g) {
43911
44385
  };
43912
44386
  MotionServiceClient.prototype.getPlan = function n(e, s, g) {
43913
44387
  arguments.length === 2 && (g = arguments[1]);
43914
- var u = grpc$h.unary(MotionService.GetPlan, {
44388
+ var u = grpc$g.unary(MotionService.GetPlan, {
43915
44389
  request: e,
43916
44390
  host: this.serviceHost,
43917
44391
  metadata: s,
@@ -43919,7 +44393,7 @@ MotionServiceClient.prototype.getPlan = function n(e, s, g) {
43919
44393
  debug: this.options.debug,
43920
44394
  onEnd: function(p) {
43921
44395
  if (g)
43922
- if (p.status !== grpc$h.Code.OK) {
44396
+ if (p.status !== grpc$g.Code.OK) {
43923
44397
  var l = new Error(p.statusMessage);
43924
44398
  l.code = p.status, l.metadata = p.trailers, g(l, null);
43925
44399
  } else
@@ -43934,7 +44408,7 @@ MotionServiceClient.prototype.getPlan = function n(e, s, g) {
43934
44408
  };
43935
44409
  MotionServiceClient.prototype.doCommand = function n(e, s, g) {
43936
44410
  arguments.length === 2 && (g = arguments[1]);
43937
- var u = grpc$h.unary(MotionService.DoCommand, {
44411
+ var u = grpc$g.unary(MotionService.DoCommand, {
43938
44412
  request: e,
43939
44413
  host: this.serviceHost,
43940
44414
  metadata: s,
@@ -43942,7 +44416,7 @@ MotionServiceClient.prototype.doCommand = function n(e, s, g) {
43942
44416
  debug: this.options.debug,
43943
44417
  onEnd: function(p) {
43944
44418
  if (g)
43945
- if (p.status !== grpc$h.Code.OK) {
44419
+ if (p.status !== grpc$g.Code.OK) {
43946
44420
  var l = new Error(p.statusMessage);
43947
44421
  l.code = p.status, l.metadata = p.trailers, g(l, null);
43948
44422
  } else
@@ -45111,7 +45585,7 @@ var MotionServiceClient_1 = MotionServiceClient, navigation_pb = {};
45111
45585
  }, s.object.extend(n, proto.viam.service.navigation.v1);
45112
45586
  })(navigation_pb);
45113
45587
  const pb$8 = /* @__PURE__ */ getDefaultExportFromCjs(navigation_pb);
45114
- var service_navigation_v1_navigation_pb = navigation_pb, common_v1_common_pb$9 = common_pb, grpc$g = grpcWebClient_umdExports$1.grpc, NavigationService = function() {
45588
+ var service_navigation_v1_navigation_pb = navigation_pb, common_v1_common_pb$9 = common_pb, grpc$f = grpcWebClient_umdExports$1.grpc, NavigationService = function() {
45115
45589
  function n() {
45116
45590
  }
45117
45591
  return n.serviceName = "viam.service.navigation.v1.NavigationService", n;
@@ -45201,7 +45675,7 @@ function NavigationServiceClient(n, e) {
45201
45675
  }
45202
45676
  NavigationServiceClient.prototype.getMode = function n(e, s, g) {
45203
45677
  arguments.length === 2 && (g = arguments[1]);
45204
- var u = grpc$g.unary(NavigationService.GetMode, {
45678
+ var u = grpc$f.unary(NavigationService.GetMode, {
45205
45679
  request: e,
45206
45680
  host: this.serviceHost,
45207
45681
  metadata: s,
@@ -45209,7 +45683,7 @@ NavigationServiceClient.prototype.getMode = function n(e, s, g) {
45209
45683
  debug: this.options.debug,
45210
45684
  onEnd: function(p) {
45211
45685
  if (g)
45212
- if (p.status !== grpc$g.Code.OK) {
45686
+ if (p.status !== grpc$f.Code.OK) {
45213
45687
  var l = new Error(p.statusMessage);
45214
45688
  l.code = p.status, l.metadata = p.trailers, g(l, null);
45215
45689
  } else
@@ -45224,7 +45698,7 @@ NavigationServiceClient.prototype.getMode = function n(e, s, g) {
45224
45698
  };
45225
45699
  NavigationServiceClient.prototype.setMode = function n(e, s, g) {
45226
45700
  arguments.length === 2 && (g = arguments[1]);
45227
- var u = grpc$g.unary(NavigationService.SetMode, {
45701
+ var u = grpc$f.unary(NavigationService.SetMode, {
45228
45702
  request: e,
45229
45703
  host: this.serviceHost,
45230
45704
  metadata: s,
@@ -45232,7 +45706,7 @@ NavigationServiceClient.prototype.setMode = function n(e, s, g) {
45232
45706
  debug: this.options.debug,
45233
45707
  onEnd: function(p) {
45234
45708
  if (g)
45235
- if (p.status !== grpc$g.Code.OK) {
45709
+ if (p.status !== grpc$f.Code.OK) {
45236
45710
  var l = new Error(p.statusMessage);
45237
45711
  l.code = p.status, l.metadata = p.trailers, g(l, null);
45238
45712
  } else
@@ -45247,7 +45721,7 @@ NavigationServiceClient.prototype.setMode = function n(e, s, g) {
45247
45721
  };
45248
45722
  NavigationServiceClient.prototype.getLocation = function n(e, s, g) {
45249
45723
  arguments.length === 2 && (g = arguments[1]);
45250
- var u = grpc$g.unary(NavigationService.GetLocation, {
45724
+ var u = grpc$f.unary(NavigationService.GetLocation, {
45251
45725
  request: e,
45252
45726
  host: this.serviceHost,
45253
45727
  metadata: s,
@@ -45255,7 +45729,7 @@ NavigationServiceClient.prototype.getLocation = function n(e, s, g) {
45255
45729
  debug: this.options.debug,
45256
45730
  onEnd: function(p) {
45257
45731
  if (g)
45258
- if (p.status !== grpc$g.Code.OK) {
45732
+ if (p.status !== grpc$f.Code.OK) {
45259
45733
  var l = new Error(p.statusMessage);
45260
45734
  l.code = p.status, l.metadata = p.trailers, g(l, null);
45261
45735
  } else
@@ -45270,7 +45744,7 @@ NavigationServiceClient.prototype.getLocation = function n(e, s, g) {
45270
45744
  };
45271
45745
  NavigationServiceClient.prototype.getWaypoints = function n(e, s, g) {
45272
45746
  arguments.length === 2 && (g = arguments[1]);
45273
- var u = grpc$g.unary(NavigationService.GetWaypoints, {
45747
+ var u = grpc$f.unary(NavigationService.GetWaypoints, {
45274
45748
  request: e,
45275
45749
  host: this.serviceHost,
45276
45750
  metadata: s,
@@ -45278,7 +45752,7 @@ NavigationServiceClient.prototype.getWaypoints = function n(e, s, g) {
45278
45752
  debug: this.options.debug,
45279
45753
  onEnd: function(p) {
45280
45754
  if (g)
45281
- if (p.status !== grpc$g.Code.OK) {
45755
+ if (p.status !== grpc$f.Code.OK) {
45282
45756
  var l = new Error(p.statusMessage);
45283
45757
  l.code = p.status, l.metadata = p.trailers, g(l, null);
45284
45758
  } else
@@ -45293,7 +45767,7 @@ NavigationServiceClient.prototype.getWaypoints = function n(e, s, g) {
45293
45767
  };
45294
45768
  NavigationServiceClient.prototype.addWaypoint = function n(e, s, g) {
45295
45769
  arguments.length === 2 && (g = arguments[1]);
45296
- var u = grpc$g.unary(NavigationService.AddWaypoint, {
45770
+ var u = grpc$f.unary(NavigationService.AddWaypoint, {
45297
45771
  request: e,
45298
45772
  host: this.serviceHost,
45299
45773
  metadata: s,
@@ -45301,7 +45775,7 @@ NavigationServiceClient.prototype.addWaypoint = function n(e, s, g) {
45301
45775
  debug: this.options.debug,
45302
45776
  onEnd: function(p) {
45303
45777
  if (g)
45304
- if (p.status !== grpc$g.Code.OK) {
45778
+ if (p.status !== grpc$f.Code.OK) {
45305
45779
  var l = new Error(p.statusMessage);
45306
45780
  l.code = p.status, l.metadata = p.trailers, g(l, null);
45307
45781
  } else
@@ -45316,7 +45790,7 @@ NavigationServiceClient.prototype.addWaypoint = function n(e, s, g) {
45316
45790
  };
45317
45791
  NavigationServiceClient.prototype.removeWaypoint = function n(e, s, g) {
45318
45792
  arguments.length === 2 && (g = arguments[1]);
45319
- var u = grpc$g.unary(NavigationService.RemoveWaypoint, {
45793
+ var u = grpc$f.unary(NavigationService.RemoveWaypoint, {
45320
45794
  request: e,
45321
45795
  host: this.serviceHost,
45322
45796
  metadata: s,
@@ -45324,7 +45798,7 @@ NavigationServiceClient.prototype.removeWaypoint = function n(e, s, g) {
45324
45798
  debug: this.options.debug,
45325
45799
  onEnd: function(p) {
45326
45800
  if (g)
45327
- if (p.status !== grpc$g.Code.OK) {
45801
+ if (p.status !== grpc$f.Code.OK) {
45328
45802
  var l = new Error(p.statusMessage);
45329
45803
  l.code = p.status, l.metadata = p.trailers, g(l, null);
45330
45804
  } else
@@ -45339,7 +45813,7 @@ NavigationServiceClient.prototype.removeWaypoint = function n(e, s, g) {
45339
45813
  };
45340
45814
  NavigationServiceClient.prototype.getObstacles = function n(e, s, g) {
45341
45815
  arguments.length === 2 && (g = arguments[1]);
45342
- var u = grpc$g.unary(NavigationService.GetObstacles, {
45816
+ var u = grpc$f.unary(NavigationService.GetObstacles, {
45343
45817
  request: e,
45344
45818
  host: this.serviceHost,
45345
45819
  metadata: s,
@@ -45347,7 +45821,7 @@ NavigationServiceClient.prototype.getObstacles = function n(e, s, g) {
45347
45821
  debug: this.options.debug,
45348
45822
  onEnd: function(p) {
45349
45823
  if (g)
45350
- if (p.status !== grpc$g.Code.OK) {
45824
+ if (p.status !== grpc$f.Code.OK) {
45351
45825
  var l = new Error(p.statusMessage);
45352
45826
  l.code = p.status, l.metadata = p.trailers, g(l, null);
45353
45827
  } else
@@ -45362,7 +45836,7 @@ NavigationServiceClient.prototype.getObstacles = function n(e, s, g) {
45362
45836
  };
45363
45837
  NavigationServiceClient.prototype.getPaths = function n(e, s, g) {
45364
45838
  arguments.length === 2 && (g = arguments[1]);
45365
- var u = grpc$g.unary(NavigationService.GetPaths, {
45839
+ var u = grpc$f.unary(NavigationService.GetPaths, {
45366
45840
  request: e,
45367
45841
  host: this.serviceHost,
45368
45842
  metadata: s,
@@ -45370,7 +45844,7 @@ NavigationServiceClient.prototype.getPaths = function n(e, s, g) {
45370
45844
  debug: this.options.debug,
45371
45845
  onEnd: function(p) {
45372
45846
  if (g)
45373
- if (p.status !== grpc$g.Code.OK) {
45847
+ if (p.status !== grpc$f.Code.OK) {
45374
45848
  var l = new Error(p.statusMessage);
45375
45849
  l.code = p.status, l.metadata = p.trailers, g(l, null);
45376
45850
  } else
@@ -45385,7 +45859,7 @@ NavigationServiceClient.prototype.getPaths = function n(e, s, g) {
45385
45859
  };
45386
45860
  NavigationServiceClient.prototype.getProperties = function n(e, s, g) {
45387
45861
  arguments.length === 2 && (g = arguments[1]);
45388
- var u = grpc$g.unary(NavigationService.GetProperties, {
45862
+ var u = grpc$f.unary(NavigationService.GetProperties, {
45389
45863
  request: e,
45390
45864
  host: this.serviceHost,
45391
45865
  metadata: s,
@@ -45393,7 +45867,7 @@ NavigationServiceClient.prototype.getProperties = function n(e, s, g) {
45393
45867
  debug: this.options.debug,
45394
45868
  onEnd: function(p) {
45395
45869
  if (g)
45396
- if (p.status !== grpc$g.Code.OK) {
45870
+ if (p.status !== grpc$f.Code.OK) {
45397
45871
  var l = new Error(p.statusMessage);
45398
45872
  l.code = p.status, l.metadata = p.trailers, g(l, null);
45399
45873
  } else
@@ -45408,7 +45882,7 @@ NavigationServiceClient.prototype.getProperties = function n(e, s, g) {
45408
45882
  };
45409
45883
  NavigationServiceClient.prototype.doCommand = function n(e, s, g) {
45410
45884
  arguments.length === 2 && (g = arguments[1]);
45411
- var u = grpc$g.unary(NavigationService.DoCommand, {
45885
+ var u = grpc$f.unary(NavigationService.DoCommand, {
45412
45886
  request: e,
45413
45887
  host: this.serviceHost,
45414
45888
  metadata: s,
@@ -45416,7 +45890,7 @@ NavigationServiceClient.prototype.doCommand = function n(e, s, g) {
45416
45890
  debug: this.options.debug,
45417
45891
  onEnd: function(p) {
45418
45892
  if (g)
45419
- if (p.status !== grpc$g.Code.OK) {
45893
+ if (p.status !== grpc$f.Code.OK) {
45420
45894
  var l = new Error(p.statusMessage);
45421
45895
  l.code = p.status, l.metadata = p.trailers, g(l, null);
45422
45896
  } else
@@ -45763,7 +46237,7 @@ var NavigationServiceClient_1 = NavigationServiceClient, sensors_pb$1 = {};
45763
46237
  }, s.object.extend(n, proto.viam.service.sensors.v1);
45764
46238
  })(sensors_pb$1);
45765
46239
  const sensors_pb = /* @__PURE__ */ getDefaultExportFromCjs(sensors_pb$1);
45766
- var service_sensors_v1_sensors_pb = sensors_pb$1, common_v1_common_pb$8 = common_pb, grpc$f = grpcWebClient_umdExports$1.grpc, SensorsService = function() {
46240
+ var service_sensors_v1_sensors_pb = sensors_pb$1, common_v1_common_pb$8 = common_pb, grpc$e = grpcWebClient_umdExports$1.grpc, SensorsService = function() {
45767
46241
  function n() {
45768
46242
  }
45769
46243
  return n.serviceName = "viam.service.sensors.v1.SensorsService", n;
@@ -45797,7 +46271,7 @@ function SensorsServiceClient(n, e) {
45797
46271
  }
45798
46272
  SensorsServiceClient.prototype.getSensors = function n(e, s, g) {
45799
46273
  arguments.length === 2 && (g = arguments[1]);
45800
- var u = grpc$f.unary(SensorsService.GetSensors, {
46274
+ var u = grpc$e.unary(SensorsService.GetSensors, {
45801
46275
  request: e,
45802
46276
  host: this.serviceHost,
45803
46277
  metadata: s,
@@ -45805,7 +46279,7 @@ SensorsServiceClient.prototype.getSensors = function n(e, s, g) {
45805
46279
  debug: this.options.debug,
45806
46280
  onEnd: function(p) {
45807
46281
  if (g)
45808
- if (p.status !== grpc$f.Code.OK) {
46282
+ if (p.status !== grpc$e.Code.OK) {
45809
46283
  var l = new Error(p.statusMessage);
45810
46284
  l.code = p.status, l.metadata = p.trailers, g(l, null);
45811
46285
  } else
@@ -45820,7 +46294,7 @@ SensorsServiceClient.prototype.getSensors = function n(e, s, g) {
45820
46294
  };
45821
46295
  SensorsServiceClient.prototype.getReadings = function n(e, s, g) {
45822
46296
  arguments.length === 2 && (g = arguments[1]);
45823
- var u = grpc$f.unary(SensorsService.GetReadings, {
46297
+ var u = grpc$e.unary(SensorsService.GetReadings, {
45824
46298
  request: e,
45825
46299
  host: this.serviceHost,
45826
46300
  metadata: s,
@@ -45828,7 +46302,7 @@ SensorsServiceClient.prototype.getReadings = function n(e, s, g) {
45828
46302
  debug: this.options.debug,
45829
46303
  onEnd: function(p) {
45830
46304
  if (g)
45831
- if (p.status !== grpc$f.Code.OK) {
46305
+ if (p.status !== grpc$e.Code.OK) {
45832
46306
  var l = new Error(p.statusMessage);
45833
46307
  l.code = p.status, l.metadata = p.trailers, g(l, null);
45834
46308
  } else
@@ -45843,7 +46317,7 @@ SensorsServiceClient.prototype.getReadings = function n(e, s, g) {
45843
46317
  };
45844
46318
  SensorsServiceClient.prototype.doCommand = function n(e, s, g) {
45845
46319
  arguments.length === 2 && (g = arguments[1]);
45846
- var u = grpc$f.unary(SensorsService.DoCommand, {
46320
+ var u = grpc$e.unary(SensorsService.DoCommand, {
45847
46321
  request: e,
45848
46322
  host: this.serviceHost,
45849
46323
  metadata: s,
@@ -45851,7 +46325,7 @@ SensorsServiceClient.prototype.doCommand = function n(e, s, g) {
45851
46325
  debug: this.options.debug,
45852
46326
  onEnd: function(p) {
45853
46327
  if (g)
45854
- if (p.status !== grpc$f.Code.OK) {
46328
+ if (p.status !== grpc$e.Code.OK) {
45855
46329
  var l = new Error(p.statusMessage);
45856
46330
  l.code = p.status, l.metadata = p.trailers, g(l, null);
45857
46331
  } else
@@ -46424,7 +46898,7 @@ var SensorsServiceClient_1 = SensorsServiceClient, slam_pb = {};
46424
46898
  }, s.object.extend(n, proto.viam.service.slam.v1);
46425
46899
  })(slam_pb);
46426
46900
  const pb$7 = /* @__PURE__ */ getDefaultExportFromCjs(slam_pb);
46427
- var service_slam_v1_slam_pb = slam_pb, common_v1_common_pb$7 = common_pb, grpc$e = grpcWebClient_umdExports$1.grpc, SLAMService = function() {
46901
+ var service_slam_v1_slam_pb = slam_pb, common_v1_common_pb$7 = common_pb, grpc$d = grpcWebClient_umdExports$1.grpc, SLAMService = function() {
46428
46902
  function n() {
46429
46903
  }
46430
46904
  return n.serviceName = "viam.service.slam.v1.SLAMService", n;
@@ -46474,7 +46948,7 @@ function SLAMServiceClient(n, e) {
46474
46948
  }
46475
46949
  SLAMServiceClient.prototype.getPosition = function n(e, s, g) {
46476
46950
  arguments.length === 2 && (g = arguments[1]);
46477
- var u = grpc$e.unary(SLAMService.GetPosition, {
46951
+ var u = grpc$d.unary(SLAMService.GetPosition, {
46478
46952
  request: e,
46479
46953
  host: this.serviceHost,
46480
46954
  metadata: s,
@@ -46482,7 +46956,7 @@ SLAMServiceClient.prototype.getPosition = function n(e, s, g) {
46482
46956
  debug: this.options.debug,
46483
46957
  onEnd: function(p) {
46484
46958
  if (g)
46485
- if (p.status !== grpc$e.Code.OK) {
46959
+ if (p.status !== grpc$d.Code.OK) {
46486
46960
  var l = new Error(p.statusMessage);
46487
46961
  l.code = p.status, l.metadata = p.trailers, g(l, null);
46488
46962
  } else
@@ -46500,7 +46974,7 @@ SLAMServiceClient.prototype.getPointCloudMap = function n(e, s) {
46500
46974
  data: [],
46501
46975
  end: [],
46502
46976
  status: []
46503
- }, u = grpc$e.invoke(SLAMService.GetPointCloudMap, {
46977
+ }, u = grpc$d.invoke(SLAMService.GetPointCloudMap, {
46504
46978
  request: e,
46505
46979
  host: this.serviceHost,
46506
46980
  metadata: s,
@@ -46533,7 +47007,7 @@ SLAMServiceClient.prototype.getInternalState = function n(e, s) {
46533
47007
  data: [],
46534
47008
  end: [],
46535
47009
  status: []
46536
- }, u = grpc$e.invoke(SLAMService.GetInternalState, {
47010
+ }, u = grpc$d.invoke(SLAMService.GetInternalState, {
46537
47011
  request: e,
46538
47012
  host: this.serviceHost,
46539
47013
  metadata: s,
@@ -46563,7 +47037,7 @@ SLAMServiceClient.prototype.getInternalState = function n(e, s) {
46563
47037
  };
46564
47038
  SLAMServiceClient.prototype.getProperties = function n(e, s, g) {
46565
47039
  arguments.length === 2 && (g = arguments[1]);
46566
- var u = grpc$e.unary(SLAMService.GetProperties, {
47040
+ var u = grpc$d.unary(SLAMService.GetProperties, {
46567
47041
  request: e,
46568
47042
  host: this.serviceHost,
46569
47043
  metadata: s,
@@ -46571,7 +47045,7 @@ SLAMServiceClient.prototype.getProperties = function n(e, s, g) {
46571
47045
  debug: this.options.debug,
46572
47046
  onEnd: function(p) {
46573
47047
  if (g)
46574
- if (p.status !== grpc$e.Code.OK) {
47048
+ if (p.status !== grpc$d.Code.OK) {
46575
47049
  var l = new Error(p.statusMessage);
46576
47050
  l.code = p.status, l.metadata = p.trailers, g(l, null);
46577
47051
  } else
@@ -46586,7 +47060,7 @@ SLAMServiceClient.prototype.getProperties = function n(e, s, g) {
46586
47060
  };
46587
47061
  SLAMServiceClient.prototype.doCommand = function n(e, s, g) {
46588
47062
  arguments.length === 2 && (g = arguments[1]);
46589
- var u = grpc$e.unary(SLAMService.DoCommand, {
47063
+ var u = grpc$d.unary(SLAMService.DoCommand, {
46590
47064
  request: e,
46591
47065
  host: this.serviceHost,
46592
47066
  metadata: s,
@@ -46594,7 +47068,7 @@ SLAMServiceClient.prototype.doCommand = function n(e, s, g) {
46594
47068
  debug: this.options.debug,
46595
47069
  onEnd: function(p) {
46596
47070
  if (g)
46597
- if (p.status !== grpc$e.Code.OK) {
47071
+ if (p.status !== grpc$d.Code.OK) {
46598
47072
  var l = new Error(p.statusMessage);
46599
47073
  l.code = p.status, l.metadata = p.trailers, g(l, null);
46600
47074
  } else
@@ -49613,7 +50087,7 @@ const pb$6 = /* @__PURE__ */ getDefaultExportFromCjs(camera_pb);
49613
50087
  }, s.object.extend(n, proto.viam.service.vision.v1);
49614
50088
  })(vision_pb);
49615
50089
  const pb$5 = /* @__PURE__ */ getDefaultExportFromCjs(vision_pb);
49616
- var service_vision_v1_vision_pb = vision_pb, common_v1_common_pb$6 = common_pb, grpc$d = grpcWebClient_umdExports$1.grpc, VisionService = function() {
50090
+ var service_vision_v1_vision_pb = vision_pb, common_v1_common_pb$6 = common_pb, grpc$c = grpcWebClient_umdExports$1.grpc, VisionService = function() {
49617
50091
  function n() {
49618
50092
  }
49619
50093
  return n.serviceName = "viam.service.vision.v1.VisionService", n;
@@ -49687,7 +50161,7 @@ function VisionServiceClient(n, e) {
49687
50161
  }
49688
50162
  VisionServiceClient.prototype.getDetectionsFromCamera = function n(e, s, g) {
49689
50163
  arguments.length === 2 && (g = arguments[1]);
49690
- var u = grpc$d.unary(VisionService.GetDetectionsFromCamera, {
50164
+ var u = grpc$c.unary(VisionService.GetDetectionsFromCamera, {
49691
50165
  request: e,
49692
50166
  host: this.serviceHost,
49693
50167
  metadata: s,
@@ -49695,7 +50169,7 @@ VisionServiceClient.prototype.getDetectionsFromCamera = function n(e, s, g) {
49695
50169
  debug: this.options.debug,
49696
50170
  onEnd: function(p) {
49697
50171
  if (g)
49698
- if (p.status !== grpc$d.Code.OK) {
50172
+ if (p.status !== grpc$c.Code.OK) {
49699
50173
  var l = new Error(p.statusMessage);
49700
50174
  l.code = p.status, l.metadata = p.trailers, g(l, null);
49701
50175
  } else
@@ -49710,7 +50184,7 @@ VisionServiceClient.prototype.getDetectionsFromCamera = function n(e, s, g) {
49710
50184
  };
49711
50185
  VisionServiceClient.prototype.getDetections = function n(e, s, g) {
49712
50186
  arguments.length === 2 && (g = arguments[1]);
49713
- var u = grpc$d.unary(VisionService.GetDetections, {
50187
+ var u = grpc$c.unary(VisionService.GetDetections, {
49714
50188
  request: e,
49715
50189
  host: this.serviceHost,
49716
50190
  metadata: s,
@@ -49718,7 +50192,7 @@ VisionServiceClient.prototype.getDetections = function n(e, s, g) {
49718
50192
  debug: this.options.debug,
49719
50193
  onEnd: function(p) {
49720
50194
  if (g)
49721
- if (p.status !== grpc$d.Code.OK) {
50195
+ if (p.status !== grpc$c.Code.OK) {
49722
50196
  var l = new Error(p.statusMessage);
49723
50197
  l.code = p.status, l.metadata = p.trailers, g(l, null);
49724
50198
  } else
@@ -49733,7 +50207,7 @@ VisionServiceClient.prototype.getDetections = function n(e, s, g) {
49733
50207
  };
49734
50208
  VisionServiceClient.prototype.getClassificationsFromCamera = function n(e, s, g) {
49735
50209
  arguments.length === 2 && (g = arguments[1]);
49736
- var u = grpc$d.unary(VisionService.GetClassificationsFromCamera, {
50210
+ var u = grpc$c.unary(VisionService.GetClassificationsFromCamera, {
49737
50211
  request: e,
49738
50212
  host: this.serviceHost,
49739
50213
  metadata: s,
@@ -49741,7 +50215,7 @@ VisionServiceClient.prototype.getClassificationsFromCamera = function n(e, s, g)
49741
50215
  debug: this.options.debug,
49742
50216
  onEnd: function(p) {
49743
50217
  if (g)
49744
- if (p.status !== grpc$d.Code.OK) {
50218
+ if (p.status !== grpc$c.Code.OK) {
49745
50219
  var l = new Error(p.statusMessage);
49746
50220
  l.code = p.status, l.metadata = p.trailers, g(l, null);
49747
50221
  } else
@@ -49756,7 +50230,7 @@ VisionServiceClient.prototype.getClassificationsFromCamera = function n(e, s, g)
49756
50230
  };
49757
50231
  VisionServiceClient.prototype.getClassifications = function n(e, s, g) {
49758
50232
  arguments.length === 2 && (g = arguments[1]);
49759
- var u = grpc$d.unary(VisionService.GetClassifications, {
50233
+ var u = grpc$c.unary(VisionService.GetClassifications, {
49760
50234
  request: e,
49761
50235
  host: this.serviceHost,
49762
50236
  metadata: s,
@@ -49764,7 +50238,7 @@ VisionServiceClient.prototype.getClassifications = function n(e, s, g) {
49764
50238
  debug: this.options.debug,
49765
50239
  onEnd: function(p) {
49766
50240
  if (g)
49767
- if (p.status !== grpc$d.Code.OK) {
50241
+ if (p.status !== grpc$c.Code.OK) {
49768
50242
  var l = new Error(p.statusMessage);
49769
50243
  l.code = p.status, l.metadata = p.trailers, g(l, null);
49770
50244
  } else
@@ -49779,7 +50253,7 @@ VisionServiceClient.prototype.getClassifications = function n(e, s, g) {
49779
50253
  };
49780
50254
  VisionServiceClient.prototype.getObjectPointClouds = function n(e, s, g) {
49781
50255
  arguments.length === 2 && (g = arguments[1]);
49782
- var u = grpc$d.unary(VisionService.GetObjectPointClouds, {
50256
+ var u = grpc$c.unary(VisionService.GetObjectPointClouds, {
49783
50257
  request: e,
49784
50258
  host: this.serviceHost,
49785
50259
  metadata: s,
@@ -49787,7 +50261,7 @@ VisionServiceClient.prototype.getObjectPointClouds = function n(e, s, g) {
49787
50261
  debug: this.options.debug,
49788
50262
  onEnd: function(p) {
49789
50263
  if (g)
49790
- if (p.status !== grpc$d.Code.OK) {
50264
+ if (p.status !== grpc$c.Code.OK) {
49791
50265
  var l = new Error(p.statusMessage);
49792
50266
  l.code = p.status, l.metadata = p.trailers, g(l, null);
49793
50267
  } else
@@ -49802,7 +50276,7 @@ VisionServiceClient.prototype.getObjectPointClouds = function n(e, s, g) {
49802
50276
  };
49803
50277
  VisionServiceClient.prototype.getProperties = function n(e, s, g) {
49804
50278
  arguments.length === 2 && (g = arguments[1]);
49805
- var u = grpc$d.unary(VisionService.GetProperties, {
50279
+ var u = grpc$c.unary(VisionService.GetProperties, {
49806
50280
  request: e,
49807
50281
  host: this.serviceHost,
49808
50282
  metadata: s,
@@ -49810,7 +50284,7 @@ VisionServiceClient.prototype.getProperties = function n(e, s, g) {
49810
50284
  debug: this.options.debug,
49811
50285
  onEnd: function(p) {
49812
50286
  if (g)
49813
- if (p.status !== grpc$d.Code.OK) {
50287
+ if (p.status !== grpc$c.Code.OK) {
49814
50288
  var l = new Error(p.statusMessage);
49815
50289
  l.code = p.status, l.metadata = p.trailers, g(l, null);
49816
50290
  } else
@@ -49825,7 +50299,7 @@ VisionServiceClient.prototype.getProperties = function n(e, s, g) {
49825
50299
  };
49826
50300
  VisionServiceClient.prototype.captureAllFromCamera = function n(e, s, g) {
49827
50301
  arguments.length === 2 && (g = arguments[1]);
49828
- var u = grpc$d.unary(VisionService.CaptureAllFromCamera, {
50302
+ var u = grpc$c.unary(VisionService.CaptureAllFromCamera, {
49829
50303
  request: e,
49830
50304
  host: this.serviceHost,
49831
50305
  metadata: s,
@@ -49833,7 +50307,7 @@ VisionServiceClient.prototype.captureAllFromCamera = function n(e, s, g) {
49833
50307
  debug: this.options.debug,
49834
50308
  onEnd: function(p) {
49835
50309
  if (g)
49836
- if (p.status !== grpc$d.Code.OK) {
50310
+ if (p.status !== grpc$c.Code.OK) {
49837
50311
  var l = new Error(p.statusMessage);
49838
50312
  l.code = p.status, l.metadata = p.trailers, g(l, null);
49839
50313
  } else
@@ -49848,7 +50322,7 @@ VisionServiceClient.prototype.captureAllFromCamera = function n(e, s, g) {
49848
50322
  };
49849
50323
  VisionServiceClient.prototype.doCommand = function n(e, s, g) {
49850
50324
  arguments.length === 2 && (g = arguments[1]);
49851
- var u = grpc$d.unary(VisionService.DoCommand, {
50325
+ var u = grpc$c.unary(VisionService.DoCommand, {
49852
50326
  request: e,
49853
50327
  host: this.serviceHost,
49854
50328
  metadata: s,
@@ -49856,7 +50330,7 @@ VisionServiceClient.prototype.doCommand = function n(e, s, g) {
49856
50330
  debug: this.options.debug,
49857
50331
  onEnd: function(p) {
49858
50332
  if (g)
49859
- if (p.status !== grpc$d.Code.OK) {
50333
+ if (p.status !== grpc$c.Code.OK) {
49860
50334
  var l = new Error(p.statusMessage);
49861
50335
  l.code = p.status, l.metadata = p.trailers, g(l, null);
49862
50336
  } else
@@ -49882,94 +50356,6 @@ class ViamResponseStream extends EventDispatcher {
49882
50356
  this.listeners = {}, this.stream.cancel();
49883
50357
  }
49884
50358
  }
49885
- const apiVersion = "v0.1.338", promisify = async (n, e) => new Promise((s, g) => {
49886
- n(e, new grpcWebClient_umdExports$1.grpc.Metadata(), (u, p) => {
49887
- if (u) {
49888
- g(u);
49889
- return;
49890
- }
49891
- if (!p) {
49892
- g(new Error("no response"));
49893
- return;
49894
- }
49895
- s(p);
49896
- });
49897
- }), doCommandFromClient = async function n(e, s, g, u = {}) {
49898
- const p = new common.DoCommandRequest();
49899
- p.setName(s), p.setCommand(struct_pb.Struct.fromJavaScript(g)), u.requestLogger?.(p);
49900
- const o = (await promisify(e.doCommand.bind(e), p)).getResult()?.toJavaScript();
49901
- return o || {};
49902
- }, encodeVector3 = (n) => {
49903
- const e = new common.Vector3();
49904
- return e.setX(n.x), e.setY(n.y), e.setZ(n.z), e;
49905
- }, encodePose = (n) => {
49906
- const e = new common.Pose();
49907
- return e.setX(n.x), e.setY(n.y), e.setZ(n.z), e.setOX(n.oX), e.setOY(n.oY), e.setOZ(n.oZ), e.setTheta(n.theta), e;
49908
- }, encodePoseInFrame = (n) => {
49909
- if (!n.pose)
49910
- throw new Error("no pose");
49911
- const e = new common.PoseInFrame();
49912
- return e.setPose(encodePose(n.pose)), e.setReferenceFrame(n.referenceFrame), e;
49913
- }, encodeResourceName = (n) => {
49914
- const e = new common.ResourceName();
49915
- return e.setNamespace(n.namespace), e.setType(n.type), e.setSubtype(n.subtype), e.setName(n.name), e;
49916
- }, encodeGeometry = (n) => {
49917
- const e = new common.Geometry();
49918
- if (n.label && e.setLabel(n.label), n.center !== void 0 && e.setCenter(encodePose(n.center)), n.sphere !== void 0) {
49919
- const s = new common.Sphere();
49920
- s.setRadiusMm(n.sphere.radiusMm), e.setSphere(s);
49921
- }
49922
- if (n.box !== void 0) {
49923
- const s = new common.RectangularPrism();
49924
- n.box.dimsMm !== void 0 && s.setDimsMm(encodeVector3(n.box.dimsMm)), e.setBox(s);
49925
- }
49926
- if (n.capsule !== void 0) {
49927
- const s = new common.Capsule();
49928
- s.setLengthMm(n.capsule.lengthMm), s.setRadiusMm(n.capsule.radiusMm), e.setCapsule(s);
49929
- }
49930
- return e;
49931
- }, encodeGeometriesInFrame = (n) => {
49932
- const e = new common.GeometriesInFrame();
49933
- return e.setReferenceFrame(n.referenceFrame), e.setGeometriesList(n.geometriesList.map((s) => encodeGeometry(s))), e;
49934
- }, encodeTransform = (n) => {
49935
- const e = new common.Transform();
49936
- return e.setReferenceFrame(n.referenceFrame), n.physicalObject !== void 0 && e.setPhysicalObject(encodeGeometry(n.physicalObject)), n.poseInObserverFrame !== void 0 && e.setPoseInObserverFrame(encodePoseInFrame(n.poseInObserverFrame)), e;
49937
- }, encodeWorldState = (n) => {
49938
- const e = new common.WorldState();
49939
- return e.setObstaclesList(
49940
- n.obstaclesList.map((s) => encodeGeometriesInFrame(s))
49941
- ), e.setTransformsList(n.transformsList.map((s) => encodeTransform(s))), e;
49942
- }, encodeGeoPoint = (n) => {
49943
- const e = new common.GeoPoint();
49944
- return e.setLatitude(n.latitude), e.setLongitude(n.longitude), e;
49945
- }, encodeGeoGeometry = (n) => {
49946
- const e = new common.GeoGeometry();
49947
- return n.location && e.setLocation(encodeGeoPoint(n.location)), e.setGeometriesList(n.geometriesList.map((s) => encodeGeometry(s))), e;
49948
- };
49949
- class MetadataTransport {
49950
- metadata;
49951
- transport;
49952
- constructor(e, s, g) {
49953
- this.transport = e(s), this.metadata = g ?? new grpcWebClient_umdExports$1.grpc.Metadata(), this.metadata.set(
49954
- "viam-client",
49955
- `typescript;v0.23.1;${apiVersion}`
49956
- );
49957
- }
49958
- start(e) {
49959
- this.metadata.forEach((s, g) => {
49960
- e.set(s, g);
49961
- }), this.transport.start(e);
49962
- }
49963
- sendMessage(e) {
49964
- this.transport.sendMessage(e);
49965
- }
49966
- finishSend() {
49967
- this.transport.finishSend();
49968
- }
49969
- cancel() {
49970
- this.transport.cancel();
49971
- }
49972
- }
49973
50359
  const timeoutBlob$1 = new Blob(
49974
50360
  [
49975
50361
  `self.onmessage = function(e) {
@@ -50206,6 +50592,7 @@ class RobotClient extends EventDispatcher {
50206
50592
  connectResolve;
50207
50593
  savedAuthEntity;
50208
50594
  savedCreds;
50595
+ closed;
50209
50596
  robotServiceClient;
50210
50597
  armServiceClient;
50211
50598
  baseServiceClient;
@@ -50247,9 +50634,10 @@ class RobotClient extends EventDispatcher {
50247
50634
  this.on(p, () => {
50248
50635
  this.emit("connectionstatechange", { eventType: p });
50249
50636
  });
50637
+ this.closed = !1;
50250
50638
  }
50251
50639
  onDisconnect(e) {
50252
- this.emit(MachineConnectionEvent.DISCONNECTED, e ?? {}), !this.noReconnect && (console.debug("Connection closed, will try to reconnect"), backOff_1(async () => this.connect(), {
50640
+ this.emit(MachineConnectionEvent.DISCONNECTED, e ?? {}), !this.noReconnect && (this.closed || (console.debug("Connection closed, will try to reconnect"), backOff_1(async () => this.connect(), {
50253
50641
  maxDelay: this.reconnectMaxWait,
50254
50642
  numOfAttempts: this.reconnectMaxAttempts,
50255
50643
  retry: (s, g) => (console.debug(
@@ -50259,7 +50647,7 @@ class RobotClient extends EventDispatcher {
50259
50647
  console.debug("Reconnected successfully!");
50260
50648
  }).catch(() => {
50261
50649
  console.debug(`Reached max attempts: ${this.reconnectMaxAttempts}`);
50262
- }));
50650
+ })));
50263
50651
  }
50264
50652
  get noReconnect() {
50265
50653
  return this.webrtcOptions?.noReconnect ?? this.directOptions?.noReconnect;
@@ -50377,7 +50765,7 @@ class RobotClient extends EventDispatcher {
50377
50765
  async disconnect() {
50378
50766
  for (this.emit(MachineConnectionEvent.DISCONNECTING, {}); this.connecting; )
50379
50767
  await this.connecting;
50380
- this.peerConn && (this.peerConn.close(), this.peerConn = void 0), this.sessionManager.reset(), this.emit(MachineConnectionEvent.DISCONNECTED, {});
50768
+ this.peerConn && (this.peerConn.close(), this.peerConn = void 0), this.sessionManager.reset(), this.closed = !0, this.emit(MachineConnectionEvent.DISCONNECTED, {});
50381
50769
  }
50382
50770
  isConnected() {
50383
50771
  return this.peerConn?.iceConnectionState === "connected";
@@ -50390,7 +50778,7 @@ class RobotClient extends EventDispatcher {
50390
50778
  priority: g,
50391
50779
  dialTimeout: u
50392
50780
  } = {}) {
50393
- if (this.emit(MachineConnectionEvent.CONNECTING, {}), this.connecting) {
50781
+ if (this.emit(MachineConnectionEvent.CONNECTING, {}), this.closed = !1, this.connecting) {
50394
50782
  for (; this.connecting; )
50395
50783
  await this.connecting;
50396
50784
  return;
@@ -50401,14 +50789,13 @@ class RobotClient extends EventDispatcher {
50401
50789
  try {
50402
50790
  const p = {
50403
50791
  authEntity: e,
50404
- credentials: s,
50405
50792
  webrtcOptions: {
50406
50793
  disableTrickleICE: !1,
50407
50794
  rtcConfig: this.webrtcOptions?.rtcConfig
50408
50795
  },
50409
50796
  dialTimeout: u ?? DIAL_TIMEOUT
50410
50797
  };
50411
- if (g !== void 0 && p.webrtcOptions && (p.webrtcOptions.additionalSdpFields = { "x-priority": g }), this.savedAuthEntity = e, this.savedCreds = s, this.webrtcOptions?.enabled) {
50798
+ if (s && (isCredential(s) ? p.credentials = s : p.accessToken = s.payload), g !== void 0 && p.webrtcOptions && (p.webrtcOptions.additionalSdpFields = { "x-priority": g }), this.savedAuthEntity = e, this.savedCreds = s, this.webrtcOptions?.enabled) {
50412
50799
  p.webrtcOptions && (p.webrtcOptions.signalingAuthEntity = p.authEntity, p.webrtcOptions.signalingCredentials = p.credentials);
50413
50800
  const i = await dialWebRTC$1(
50414
50801
  this.webrtcOptions.signalingAddress || this.serviceHost,
@@ -50619,12 +51006,11 @@ const isPosInt = (n) => !!(n > 0 && Number.isInteger(n)), isLocalConnection = (n
50619
51006
  let l;
50620
51007
  n.disableSessions && (l = { disabled: !0 });
50621
51008
  const o = new RobotClient(e, p, l);
50622
- let r;
50623
- return n.credential && (r = n.credential), await o.connect({
51009
+ return await o.connect({
50624
51010
  authEntity: n.authEntity ?? e,
50625
- creds: r,
50626
51011
  priority: n.priority,
50627
- dialTimeout: n.dialTimeout ?? DIAL_TIMEOUT
51012
+ dialTimeout: n.dialTimeout ?? DIAL_TIMEOUT,
51013
+ creds: n.credential
50628
51014
  }), console.debug("connected via WebRTC"), o;
50629
51015
  }, isDialWebRTCConf = (n) => {
50630
51016
  const e = n;
@@ -50666,393 +51052,6 @@ const isPosInt = (n) => !!(n > 0 && Number.isInteger(n)), isLocalConnection = (n
50666
51052
  `Value of max reconnect wait (${n.reconnectMaxWait}) should be a positive integer`
50667
51053
  );
50668
51054
  };
50669
- var auth_pb = {};
50670
- (function(n) {
50671
- var e = googleProtobuf$1, s = e, g = typeof globalThis < "u" && globalThis || typeof window < "u" && window || typeof g < "u" && g || typeof self < "u" && self || function() {
50672
- return this;
50673
- }.call(null) || Function("return this")(), u = annotations_pb$1;
50674
- s.object.extend(proto, u), s.exportSymbol("proto.proto.rpc.v1.AuthenticateRequest", null, g), s.exportSymbol("proto.proto.rpc.v1.AuthenticateResponse", null, g), s.exportSymbol("proto.proto.rpc.v1.AuthenticateToRequest", null, g), s.exportSymbol("proto.proto.rpc.v1.AuthenticateToResponse", null, g), s.exportSymbol("proto.proto.rpc.v1.Credentials", null, g), proto.proto.rpc.v1.Credentials = function(p) {
50675
- e.Message.initialize(this, p, 0, -1, null, null);
50676
- }, s.inherits(proto.proto.rpc.v1.Credentials, e.Message), s.DEBUG && !COMPILED && (proto.proto.rpc.v1.Credentials.displayName = "proto.proto.rpc.v1.Credentials"), proto.proto.rpc.v1.AuthenticateRequest = function(p) {
50677
- e.Message.initialize(this, p, 0, -1, null, null);
50678
- }, s.inherits(proto.proto.rpc.v1.AuthenticateRequest, e.Message), s.DEBUG && !COMPILED && (proto.proto.rpc.v1.AuthenticateRequest.displayName = "proto.proto.rpc.v1.AuthenticateRequest"), proto.proto.rpc.v1.AuthenticateResponse = function(p) {
50679
- e.Message.initialize(this, p, 0, -1, null, null);
50680
- }, s.inherits(proto.proto.rpc.v1.AuthenticateResponse, e.Message), s.DEBUG && !COMPILED && (proto.proto.rpc.v1.AuthenticateResponse.displayName = "proto.proto.rpc.v1.AuthenticateResponse"), proto.proto.rpc.v1.AuthenticateToRequest = function(p) {
50681
- e.Message.initialize(this, p, 0, -1, null, null);
50682
- }, s.inherits(proto.proto.rpc.v1.AuthenticateToRequest, e.Message), s.DEBUG && !COMPILED && (proto.proto.rpc.v1.AuthenticateToRequest.displayName = "proto.proto.rpc.v1.AuthenticateToRequest"), proto.proto.rpc.v1.AuthenticateToResponse = function(p) {
50683
- e.Message.initialize(this, p, 0, -1, null, null);
50684
- }, s.inherits(proto.proto.rpc.v1.AuthenticateToResponse, e.Message), s.DEBUG && !COMPILED && (proto.proto.rpc.v1.AuthenticateToResponse.displayName = "proto.proto.rpc.v1.AuthenticateToResponse"), e.Message.GENERATE_TO_OBJECT && (proto.proto.rpc.v1.Credentials.prototype.toObject = function(p) {
50685
- return proto.proto.rpc.v1.Credentials.toObject(p, this);
50686
- }, proto.proto.rpc.v1.Credentials.toObject = function(p, l) {
50687
- var o = {
50688
- type: e.Message.getFieldWithDefault(l, 1, ""),
50689
- payload: e.Message.getFieldWithDefault(l, 2, "")
50690
- };
50691
- return p && (o.$jspbMessageInstance = l), o;
50692
- }), proto.proto.rpc.v1.Credentials.deserializeBinary = function(p) {
50693
- var l = new e.BinaryReader(p), o = new proto.proto.rpc.v1.Credentials();
50694
- return proto.proto.rpc.v1.Credentials.deserializeBinaryFromReader(o, l);
50695
- }, proto.proto.rpc.v1.Credentials.deserializeBinaryFromReader = function(p, l) {
50696
- for (; l.nextField() && !l.isEndGroup(); ) {
50697
- var o = l.getFieldNumber();
50698
- switch (o) {
50699
- case 1:
50700
- var r = (
50701
- /** @type {string} */
50702
- l.readString()
50703
- );
50704
- p.setType(r);
50705
- break;
50706
- case 2:
50707
- var r = (
50708
- /** @type {string} */
50709
- l.readString()
50710
- );
50711
- p.setPayload(r);
50712
- break;
50713
- default:
50714
- l.skipField();
50715
- break;
50716
- }
50717
- }
50718
- return p;
50719
- }, proto.proto.rpc.v1.Credentials.prototype.serializeBinary = function() {
50720
- var p = new e.BinaryWriter();
50721
- return proto.proto.rpc.v1.Credentials.serializeBinaryToWriter(this, p), p.getResultBuffer();
50722
- }, proto.proto.rpc.v1.Credentials.serializeBinaryToWriter = function(p, l) {
50723
- var o = void 0;
50724
- o = p.getType(), o.length > 0 && l.writeString(
50725
- 1,
50726
- o
50727
- ), o = p.getPayload(), o.length > 0 && l.writeString(
50728
- 2,
50729
- o
50730
- );
50731
- }, proto.proto.rpc.v1.Credentials.prototype.getType = function() {
50732
- return (
50733
- /** @type {string} */
50734
- e.Message.getFieldWithDefault(this, 1, "")
50735
- );
50736
- }, proto.proto.rpc.v1.Credentials.prototype.setType = function(p) {
50737
- return e.Message.setProto3StringField(this, 1, p);
50738
- }, proto.proto.rpc.v1.Credentials.prototype.getPayload = function() {
50739
- return (
50740
- /** @type {string} */
50741
- e.Message.getFieldWithDefault(this, 2, "")
50742
- );
50743
- }, proto.proto.rpc.v1.Credentials.prototype.setPayload = function(p) {
50744
- return e.Message.setProto3StringField(this, 2, p);
50745
- }, e.Message.GENERATE_TO_OBJECT && (proto.proto.rpc.v1.AuthenticateRequest.prototype.toObject = function(p) {
50746
- return proto.proto.rpc.v1.AuthenticateRequest.toObject(p, this);
50747
- }, proto.proto.rpc.v1.AuthenticateRequest.toObject = function(p, l) {
50748
- var o, r = {
50749
- entity: e.Message.getFieldWithDefault(l, 1, ""),
50750
- credentials: (o = l.getCredentials()) && proto.proto.rpc.v1.Credentials.toObject(p, o)
50751
- };
50752
- return p && (r.$jspbMessageInstance = l), r;
50753
- }), proto.proto.rpc.v1.AuthenticateRequest.deserializeBinary = function(p) {
50754
- var l = new e.BinaryReader(p), o = new proto.proto.rpc.v1.AuthenticateRequest();
50755
- return proto.proto.rpc.v1.AuthenticateRequest.deserializeBinaryFromReader(o, l);
50756
- }, proto.proto.rpc.v1.AuthenticateRequest.deserializeBinaryFromReader = function(p, l) {
50757
- for (; l.nextField() && !l.isEndGroup(); ) {
50758
- var o = l.getFieldNumber();
50759
- switch (o) {
50760
- case 1:
50761
- var r = (
50762
- /** @type {string} */
50763
- l.readString()
50764
- );
50765
- p.setEntity(r);
50766
- break;
50767
- case 2:
50768
- var r = new proto.proto.rpc.v1.Credentials();
50769
- l.readMessage(r, proto.proto.rpc.v1.Credentials.deserializeBinaryFromReader), p.setCredentials(r);
50770
- break;
50771
- default:
50772
- l.skipField();
50773
- break;
50774
- }
50775
- }
50776
- return p;
50777
- }, proto.proto.rpc.v1.AuthenticateRequest.prototype.serializeBinary = function() {
50778
- var p = new e.BinaryWriter();
50779
- return proto.proto.rpc.v1.AuthenticateRequest.serializeBinaryToWriter(this, p), p.getResultBuffer();
50780
- }, proto.proto.rpc.v1.AuthenticateRequest.serializeBinaryToWriter = function(p, l) {
50781
- var o = void 0;
50782
- o = p.getEntity(), o.length > 0 && l.writeString(
50783
- 1,
50784
- o
50785
- ), o = p.getCredentials(), o != null && l.writeMessage(
50786
- 2,
50787
- o,
50788
- proto.proto.rpc.v1.Credentials.serializeBinaryToWriter
50789
- );
50790
- }, proto.proto.rpc.v1.AuthenticateRequest.prototype.getEntity = function() {
50791
- return (
50792
- /** @type {string} */
50793
- e.Message.getFieldWithDefault(this, 1, "")
50794
- );
50795
- }, proto.proto.rpc.v1.AuthenticateRequest.prototype.setEntity = function(p) {
50796
- return e.Message.setProto3StringField(this, 1, p);
50797
- }, proto.proto.rpc.v1.AuthenticateRequest.prototype.getCredentials = function() {
50798
- return (
50799
- /** @type{?proto.proto.rpc.v1.Credentials} */
50800
- e.Message.getWrapperField(this, proto.proto.rpc.v1.Credentials, 2)
50801
- );
50802
- }, proto.proto.rpc.v1.AuthenticateRequest.prototype.setCredentials = function(p) {
50803
- return e.Message.setWrapperField(this, 2, p);
50804
- }, proto.proto.rpc.v1.AuthenticateRequest.prototype.clearCredentials = function() {
50805
- return this.setCredentials(void 0);
50806
- }, proto.proto.rpc.v1.AuthenticateRequest.prototype.hasCredentials = function() {
50807
- return e.Message.getField(this, 2) != null;
50808
- }, e.Message.GENERATE_TO_OBJECT && (proto.proto.rpc.v1.AuthenticateResponse.prototype.toObject = function(p) {
50809
- return proto.proto.rpc.v1.AuthenticateResponse.toObject(p, this);
50810
- }, proto.proto.rpc.v1.AuthenticateResponse.toObject = function(p, l) {
50811
- var o = {
50812
- accessToken: e.Message.getFieldWithDefault(l, 1, "")
50813
- };
50814
- return p && (o.$jspbMessageInstance = l), o;
50815
- }), proto.proto.rpc.v1.AuthenticateResponse.deserializeBinary = function(p) {
50816
- var l = new e.BinaryReader(p), o = new proto.proto.rpc.v1.AuthenticateResponse();
50817
- return proto.proto.rpc.v1.AuthenticateResponse.deserializeBinaryFromReader(o, l);
50818
- }, proto.proto.rpc.v1.AuthenticateResponse.deserializeBinaryFromReader = function(p, l) {
50819
- for (; l.nextField() && !l.isEndGroup(); ) {
50820
- var o = l.getFieldNumber();
50821
- switch (o) {
50822
- case 1:
50823
- var r = (
50824
- /** @type {string} */
50825
- l.readString()
50826
- );
50827
- p.setAccessToken(r);
50828
- break;
50829
- default:
50830
- l.skipField();
50831
- break;
50832
- }
50833
- }
50834
- return p;
50835
- }, proto.proto.rpc.v1.AuthenticateResponse.prototype.serializeBinary = function() {
50836
- var p = new e.BinaryWriter();
50837
- return proto.proto.rpc.v1.AuthenticateResponse.serializeBinaryToWriter(this, p), p.getResultBuffer();
50838
- }, proto.proto.rpc.v1.AuthenticateResponse.serializeBinaryToWriter = function(p, l) {
50839
- var o = void 0;
50840
- o = p.getAccessToken(), o.length > 0 && l.writeString(
50841
- 1,
50842
- o
50843
- );
50844
- }, proto.proto.rpc.v1.AuthenticateResponse.prototype.getAccessToken = function() {
50845
- return (
50846
- /** @type {string} */
50847
- e.Message.getFieldWithDefault(this, 1, "")
50848
- );
50849
- }, proto.proto.rpc.v1.AuthenticateResponse.prototype.setAccessToken = function(p) {
50850
- return e.Message.setProto3StringField(this, 1, p);
50851
- }, e.Message.GENERATE_TO_OBJECT && (proto.proto.rpc.v1.AuthenticateToRequest.prototype.toObject = function(p) {
50852
- return proto.proto.rpc.v1.AuthenticateToRequest.toObject(p, this);
50853
- }, proto.proto.rpc.v1.AuthenticateToRequest.toObject = function(p, l) {
50854
- var o = {
50855
- entity: e.Message.getFieldWithDefault(l, 1, "")
50856
- };
50857
- return p && (o.$jspbMessageInstance = l), o;
50858
- }), proto.proto.rpc.v1.AuthenticateToRequest.deserializeBinary = function(p) {
50859
- var l = new e.BinaryReader(p), o = new proto.proto.rpc.v1.AuthenticateToRequest();
50860
- return proto.proto.rpc.v1.AuthenticateToRequest.deserializeBinaryFromReader(o, l);
50861
- }, proto.proto.rpc.v1.AuthenticateToRequest.deserializeBinaryFromReader = function(p, l) {
50862
- for (; l.nextField() && !l.isEndGroup(); ) {
50863
- var o = l.getFieldNumber();
50864
- switch (o) {
50865
- case 1:
50866
- var r = (
50867
- /** @type {string} */
50868
- l.readString()
50869
- );
50870
- p.setEntity(r);
50871
- break;
50872
- default:
50873
- l.skipField();
50874
- break;
50875
- }
50876
- }
50877
- return p;
50878
- }, proto.proto.rpc.v1.AuthenticateToRequest.prototype.serializeBinary = function() {
50879
- var p = new e.BinaryWriter();
50880
- return proto.proto.rpc.v1.AuthenticateToRequest.serializeBinaryToWriter(this, p), p.getResultBuffer();
50881
- }, proto.proto.rpc.v1.AuthenticateToRequest.serializeBinaryToWriter = function(p, l) {
50882
- var o = void 0;
50883
- o = p.getEntity(), o.length > 0 && l.writeString(
50884
- 1,
50885
- o
50886
- );
50887
- }, proto.proto.rpc.v1.AuthenticateToRequest.prototype.getEntity = function() {
50888
- return (
50889
- /** @type {string} */
50890
- e.Message.getFieldWithDefault(this, 1, "")
50891
- );
50892
- }, proto.proto.rpc.v1.AuthenticateToRequest.prototype.setEntity = function(p) {
50893
- return e.Message.setProto3StringField(this, 1, p);
50894
- }, e.Message.GENERATE_TO_OBJECT && (proto.proto.rpc.v1.AuthenticateToResponse.prototype.toObject = function(p) {
50895
- return proto.proto.rpc.v1.AuthenticateToResponse.toObject(p, this);
50896
- }, proto.proto.rpc.v1.AuthenticateToResponse.toObject = function(p, l) {
50897
- var o = {
50898
- accessToken: e.Message.getFieldWithDefault(l, 1, "")
50899
- };
50900
- return p && (o.$jspbMessageInstance = l), o;
50901
- }), proto.proto.rpc.v1.AuthenticateToResponse.deserializeBinary = function(p) {
50902
- var l = new e.BinaryReader(p), o = new proto.proto.rpc.v1.AuthenticateToResponse();
50903
- return proto.proto.rpc.v1.AuthenticateToResponse.deserializeBinaryFromReader(o, l);
50904
- }, proto.proto.rpc.v1.AuthenticateToResponse.deserializeBinaryFromReader = function(p, l) {
50905
- for (; l.nextField() && !l.isEndGroup(); ) {
50906
- var o = l.getFieldNumber();
50907
- switch (o) {
50908
- case 1:
50909
- var r = (
50910
- /** @type {string} */
50911
- l.readString()
50912
- );
50913
- p.setAccessToken(r);
50914
- break;
50915
- default:
50916
- l.skipField();
50917
- break;
50918
- }
50919
- }
50920
- return p;
50921
- }, proto.proto.rpc.v1.AuthenticateToResponse.prototype.serializeBinary = function() {
50922
- var p = new e.BinaryWriter();
50923
- return proto.proto.rpc.v1.AuthenticateToResponse.serializeBinaryToWriter(this, p), p.getResultBuffer();
50924
- }, proto.proto.rpc.v1.AuthenticateToResponse.serializeBinaryToWriter = function(p, l) {
50925
- var o = void 0;
50926
- o = p.getAccessToken(), o.length > 0 && l.writeString(
50927
- 1,
50928
- o
50929
- );
50930
- }, proto.proto.rpc.v1.AuthenticateToResponse.prototype.getAccessToken = function() {
50931
- return (
50932
- /** @type {string} */
50933
- e.Message.getFieldWithDefault(this, 1, "")
50934
- );
50935
- }, proto.proto.rpc.v1.AuthenticateToResponse.prototype.setAccessToken = function(p) {
50936
- return e.Message.setProto3StringField(this, 1, p);
50937
- }, s.object.extend(n, proto.proto.rpc.v1);
50938
- })(auth_pb);
50939
- var proto_rpc_v1_auth_pb = auth_pb, grpc$c = grpcWebClient_umdExports$1.grpc, AuthService = function() {
50940
- function n() {
50941
- }
50942
- return n.serviceName = "proto.rpc.v1.AuthService", n;
50943
- }();
50944
- AuthService.Authenticate = {
50945
- methodName: "Authenticate",
50946
- service: AuthService,
50947
- requestStream: !1,
50948
- responseStream: !1,
50949
- requestType: proto_rpc_v1_auth_pb.AuthenticateRequest,
50950
- responseType: proto_rpc_v1_auth_pb.AuthenticateResponse
50951
- };
50952
- function AuthServiceClient(n, e) {
50953
- this.serviceHost = n, this.options = e || {};
50954
- }
50955
- AuthServiceClient.prototype.authenticate = function n(e, s, g) {
50956
- arguments.length === 2 && (g = arguments[1]);
50957
- var u = grpc$c.unary(AuthService.Authenticate, {
50958
- request: e,
50959
- host: this.serviceHost,
50960
- metadata: s,
50961
- transport: this.options.transport,
50962
- debug: this.options.debug,
50963
- onEnd: function(p) {
50964
- if (g)
50965
- if (p.status !== grpc$c.Code.OK) {
50966
- var l = new Error(p.statusMessage);
50967
- l.code = p.status, l.metadata = p.trailers, g(l, null);
50968
- } else
50969
- g(null, p.message);
50970
- }
50971
- });
50972
- return {
50973
- cancel: function() {
50974
- g = null, u.close();
50975
- }
50976
- };
50977
- };
50978
- var AuthServiceClient_1 = AuthServiceClient, ExternalAuthService = function() {
50979
- function n() {
50980
- }
50981
- return n.serviceName = "proto.rpc.v1.ExternalAuthService", n;
50982
- }();
50983
- ExternalAuthService.AuthenticateTo = {
50984
- methodName: "AuthenticateTo",
50985
- service: ExternalAuthService,
50986
- requestStream: !1,
50987
- responseStream: !1,
50988
- requestType: proto_rpc_v1_auth_pb.AuthenticateToRequest,
50989
- responseType: proto_rpc_v1_auth_pb.AuthenticateToResponse
50990
- };
50991
- function ExternalAuthServiceClient(n, e) {
50992
- this.serviceHost = n, this.options = e || {};
50993
- }
50994
- ExternalAuthServiceClient.prototype.authenticateTo = function n(e, s, g) {
50995
- arguments.length === 2 && (g = arguments[1]);
50996
- var u = grpc$c.unary(ExternalAuthService.AuthenticateTo, {
50997
- request: e,
50998
- host: this.serviceHost,
50999
- metadata: s,
51000
- transport: this.options.transport,
51001
- debug: this.options.debug,
51002
- onEnd: function(p) {
51003
- if (g)
51004
- if (p.status !== grpc$c.Code.OK) {
51005
- var l = new Error(p.statusMessage);
51006
- l.code = p.status, l.metadata = p.trailers, g(l, null);
51007
- } else
51008
- g(null, p.message);
51009
- }
51010
- });
51011
- return {
51012
- cancel: function() {
51013
- g = null, u.close();
51014
- }
51015
- };
51016
- };
51017
- const isCredential = (n) => "authEntity" in n, createViamTransportFactory = async (n, e) => e.type === "access-token" ? createWithAccessToken(n, e) : createWithCredential(n, e), createWithAccessToken = async (n, e) => {
51018
- const s = await dialDirect$1(n);
51019
- return (g) => new ViamTransport(s, g, e.payload);
51020
- }, getAccessTokenFromCredential = async (n, e) => {
51021
- if (e.type === "robot-secret")
51022
- throw new Error(
51023
- "credential type cannot be 'robot-secret'. Must be either 'robot-location-secret' or 'api-key'."
51024
- );
51025
- if (!e.authEntity)
51026
- throw new Error(
51027
- "auth entity cannot be null, undefined, or an empty value."
51028
- );
51029
- const s = await dialDirect$1(n), g = new AuthServiceClient_1(n, {
51030
- transport: s
51031
- }), u = e.authEntity, p = new auth_pb.Credentials();
51032
- p.setType(e.type), p.setPayload(e.payload);
51033
- const l = new auth_pb.AuthenticateRequest();
51034
- return l.setEntity(u), l.setCredentials(p), { type: "access-token", payload: await new Promise((r, i) => {
51035
- g.authenticate(l, new grpcWebClient_umdExports$1.grpc.Metadata(), (t, c) => {
51036
- if (t) {
51037
- i(t);
51038
- return;
51039
- }
51040
- r(c?.getAccessToken().toString() ?? "");
51041
- });
51042
- }) };
51043
- }, createWithCredential = async (n, e) => {
51044
- const s = await getAccessTokenFromCredential(
51045
- n,
51046
- e
51047
- ), g = await dialDirect$1(n);
51048
- return (u) => new ViamTransport(g, u, s.payload);
51049
- };
51050
- class ViamTransport extends MetadataTransport {
51051
- constructor(e, s, g) {
51052
- const u = new grpcWebClient_umdExports$1.grpc.Metadata({ authorization: `Bearer ${g}` });
51053
- super(e, s, u);
51054
- }
51055
- }
51056
51055
  var data_pb = {};
51057
51056
  (function(n) {
51058
51057
  var e = googleProtobuf$1, s = e, g = typeof globalThis < "u" && globalThis || typeof window < "u" && window || typeof g < "u" && g || typeof self < "u" && self || function() {
@@ -58153,13 +58152,13 @@ class DataClient {
58153
58152
  * @returns The file ID of the uploaded data
58154
58153
  */
58155
58154
  async tabularDataCaptureUpload(e, s, g, u, p, l, o) {
58156
- if (o?.length !== e.length)
58155
+ if (l.length !== e.length)
58157
58156
  throw new Error("dataRequestTimes and data lengths must be equal.");
58158
58157
  const { dataSyncService: r } = this, i = new dataSyncPb.UploadMetadata();
58159
- i.setPartId(s), i.setComponentType(g), i.setComponentName(u), i.setMethodName(p), i.setType(dataSyncPb.DataType.DATA_TYPE_TABULAR_SENSOR), i.setTagsList(l ?? []);
58158
+ i.setPartId(s), i.setComponentType(g), i.setComponentName(u), i.setMethodName(p), i.setType(dataSyncPb.DataType.DATA_TYPE_TABULAR_SENSOR), i.setTagsList(o ?? []);
58160
58159
  const t = [];
58161
58160
  for (const [d, y] of e.entries()) {
58162
- const m = new dataSyncPb.SensorData(), f = new dataSyncPb.SensorMetadata(), h = o[d];
58161
+ const m = new dataSyncPb.SensorData(), f = new dataSyncPb.SensorMetadata(), h = l[d];
58163
58162
  h && (f.setTimeRequested(timestamp_pb$1.Timestamp.fromDate(h[0])), f.setTimeReceived(timestamp_pb$1.Timestamp.fromDate(h[1]))), m.setMetadata(f), m.setStruct(struct_pb.Struct.fromJavaScript(y)), t.push(m);
58164
58163
  }
58165
58164
  const c = new dataSyncPb.DataCaptureUploadRequest();
@@ -58191,9 +58190,9 @@ class DataClient {
58191
58190
  */
58192
58191
  async binaryDataCaptureUpload(e, s, g, u, p, l, o, r) {
58193
58192
  const { dataSyncService: i } = this, t = new dataSyncPb.UploadMetadata();
58194
- t.setPartId(s), t.setComponentType(g), t.setComponentName(u), t.setMethodName(p), t.setType(dataSyncPb.DataType.DATA_TYPE_BINARY_SENSOR), t.setTagsList(o ?? []), l && t.setFileExtension(l);
58193
+ t.setPartId(s), t.setComponentType(g), t.setComponentName(u), t.setMethodName(p), t.setType(dataSyncPb.DataType.DATA_TYPE_BINARY_SENSOR), t.setTagsList(r ?? []), l && t.setFileExtension(l);
58195
58194
  const c = new dataSyncPb.SensorData(), v = new dataSyncPb.SensorMetadata();
58196
- r && (v.setTimeRequested(timestamp_pb$1.Timestamp.fromDate(r[0])), v.setTimeReceived(timestamp_pb$1.Timestamp.fromDate(r[1]))), c.setMetadata(v), c.setBinary(e);
58195
+ v.setTimeRequested(timestamp_pb$1.Timestamp.fromDate(o[0])), v.setTimeReceived(timestamp_pb$1.Timestamp.fromDate(o[1])), c.setMetadata(v), c.setBinary(e);
58197
58196
  const d = new dataSyncPb.DataCaptureUploadRequest();
58198
58197
  return d.setMetadata(t), d.setSensorContentsList([c]), (await promisify(i.dataCaptureUpload.bind(i), d)).getFileId();
58199
58198
  }
@@ -75913,7 +75912,7 @@ var billing_pb = {};
75913
75912
  var e = googleProtobuf$1, s = e, g = typeof globalThis < "u" && globalThis || typeof window < "u" && window || typeof g < "u" && g || typeof self < "u" && self || function() {
75914
75913
  return this;
75915
75914
  }.call(null) || Function("return this")(), u = timestamp_pb$1;
75916
- s.object.extend(proto, u), s.exportSymbol("proto.viam.app.v1.BillableResourceEvent", null, g), s.exportSymbol("proto.viam.app.v1.GetCurrentMonthUsageRequest", null, g), s.exportSymbol("proto.viam.app.v1.GetCurrentMonthUsageResponse", null, g), s.exportSymbol("proto.viam.app.v1.GetInvoicePdfRequest", null, g), s.exportSymbol("proto.viam.app.v1.GetInvoicePdfResponse", null, g), s.exportSymbol("proto.viam.app.v1.GetInvoicesSummaryRequest", null, g), s.exportSymbol("proto.viam.app.v1.GetInvoicesSummaryResponse", null, g), s.exportSymbol("proto.viam.app.v1.GetOrgBillingInformationRequest", null, g), s.exportSymbol("proto.viam.app.v1.GetOrgBillingInformationResponse", null, g), s.exportSymbol("proto.viam.app.v1.Invoice", null, g), s.exportSymbol("proto.viam.app.v1.InvoiceSummary", null, g), s.exportSymbol("proto.viam.app.v1.PaymentMethodCard", null, g), s.exportSymbol("proto.viam.app.v1.PaymentMethodType", null, g), proto.viam.app.v1.InvoiceSummary = function(p) {
75915
+ s.object.extend(proto, u), s.exportSymbol("proto.viam.app.v1.BillableResourceEvent", null, g), s.exportSymbol("proto.viam.app.v1.GetCurrentMonthUsageRequest", null, g), s.exportSymbol("proto.viam.app.v1.GetCurrentMonthUsageResponse", null, g), s.exportSymbol("proto.viam.app.v1.GetInvoicePdfRequest", null, g), s.exportSymbol("proto.viam.app.v1.GetInvoicePdfResponse", null, g), s.exportSymbol("proto.viam.app.v1.GetInvoicesSummaryRequest", null, g), s.exportSymbol("proto.viam.app.v1.GetInvoicesSummaryResponse", null, g), s.exportSymbol("proto.viam.app.v1.GetOrgBillingInformationRequest", null, g), s.exportSymbol("proto.viam.app.v1.GetOrgBillingInformationResponse", null, g), s.exportSymbol("proto.viam.app.v1.Invoice", null, g), s.exportSymbol("proto.viam.app.v1.InvoiceSummary", null, g), s.exportSymbol("proto.viam.app.v1.PaymentMethodCard", null, g), s.exportSymbol("proto.viam.app.v1.PaymentMethodType", null, g), s.exportSymbol("proto.viam.app.v1.SendPaymentRequiredEmailRequest", null, g), s.exportSymbol("proto.viam.app.v1.SendPaymentRequiredEmailResponse", null, g), proto.viam.app.v1.InvoiceSummary = function(p) {
75917
75916
  e.Message.initialize(this, p, 0, -1, null, null);
75918
75917
  }, s.inherits(proto.viam.app.v1.InvoiceSummary, e.Message), s.DEBUG && !COMPILED && (proto.viam.app.v1.InvoiceSummary.displayName = "proto.viam.app.v1.InvoiceSummary"), proto.viam.app.v1.BillableResourceEvent = function(p) {
75919
75918
  e.Message.initialize(this, p, 0, -1, null, null);
@@ -75937,7 +75936,11 @@ var billing_pb = {};
75937
75936
  e.Message.initialize(this, p, 0, -1, null, null);
75938
75937
  }, s.inherits(proto.viam.app.v1.GetInvoicePdfRequest, e.Message), s.DEBUG && !COMPILED && (proto.viam.app.v1.GetInvoicePdfRequest.displayName = "proto.viam.app.v1.GetInvoicePdfRequest"), proto.viam.app.v1.GetInvoicePdfResponse = function(p) {
75939
75938
  e.Message.initialize(this, p, 0, -1, null, null);
75940
- }, s.inherits(proto.viam.app.v1.GetInvoicePdfResponse, e.Message), s.DEBUG && !COMPILED && (proto.viam.app.v1.GetInvoicePdfResponse.displayName = "proto.viam.app.v1.GetInvoicePdfResponse"), e.Message.GENERATE_TO_OBJECT && (proto.viam.app.v1.InvoiceSummary.prototype.toObject = function(p) {
75939
+ }, s.inherits(proto.viam.app.v1.GetInvoicePdfResponse, e.Message), s.DEBUG && !COMPILED && (proto.viam.app.v1.GetInvoicePdfResponse.displayName = "proto.viam.app.v1.GetInvoicePdfResponse"), proto.viam.app.v1.SendPaymentRequiredEmailRequest = function(p) {
75940
+ e.Message.initialize(this, p, 0, -1, null, null);
75941
+ }, s.inherits(proto.viam.app.v1.SendPaymentRequiredEmailRequest, e.Message), s.DEBUG && !COMPILED && (proto.viam.app.v1.SendPaymentRequiredEmailRequest.displayName = "proto.viam.app.v1.SendPaymentRequiredEmailRequest"), proto.viam.app.v1.SendPaymentRequiredEmailResponse = function(p) {
75942
+ e.Message.initialize(this, p, 0, -1, null, null);
75943
+ }, s.inherits(proto.viam.app.v1.SendPaymentRequiredEmailResponse, e.Message), s.DEBUG && !COMPILED && (proto.viam.app.v1.SendPaymentRequiredEmailResponse.displayName = "proto.viam.app.v1.SendPaymentRequiredEmailResponse"), e.Message.GENERATE_TO_OBJECT && (proto.viam.app.v1.InvoiceSummary.prototype.toObject = function(p) {
75941
75944
  return proto.viam.app.v1.InvoiceSummary.toObject(p, this);
75942
75945
  }, proto.viam.app.v1.InvoiceSummary.toObject = function(p, l) {
75943
75946
  var o, r = {
@@ -77132,6 +77135,89 @@ var billing_pb = {};
77132
77135
  );
77133
77136
  }, proto.viam.app.v1.GetInvoicePdfResponse.prototype.setChunk = function(p) {
77134
77137
  return e.Message.setProto3BytesField(this, 1, p);
77138
+ }, e.Message.GENERATE_TO_OBJECT && (proto.viam.app.v1.SendPaymentRequiredEmailRequest.prototype.toObject = function(p) {
77139
+ return proto.viam.app.v1.SendPaymentRequiredEmailRequest.toObject(p, this);
77140
+ }, proto.viam.app.v1.SendPaymentRequiredEmailRequest.toObject = function(p, l) {
77141
+ var o = {
77142
+ customerOrgId: e.Message.getFieldWithDefault(l, 1, ""),
77143
+ billingOwnerOrgId: e.Message.getFieldWithDefault(l, 2, "")
77144
+ };
77145
+ return p && (o.$jspbMessageInstance = l), o;
77146
+ }), proto.viam.app.v1.SendPaymentRequiredEmailRequest.deserializeBinary = function(p) {
77147
+ var l = new e.BinaryReader(p), o = new proto.viam.app.v1.SendPaymentRequiredEmailRequest();
77148
+ return proto.viam.app.v1.SendPaymentRequiredEmailRequest.deserializeBinaryFromReader(o, l);
77149
+ }, proto.viam.app.v1.SendPaymentRequiredEmailRequest.deserializeBinaryFromReader = function(p, l) {
77150
+ for (; l.nextField() && !l.isEndGroup(); ) {
77151
+ var o = l.getFieldNumber();
77152
+ switch (o) {
77153
+ case 1:
77154
+ var r = (
77155
+ /** @type {string} */
77156
+ l.readString()
77157
+ );
77158
+ p.setCustomerOrgId(r);
77159
+ break;
77160
+ case 2:
77161
+ var r = (
77162
+ /** @type {string} */
77163
+ l.readString()
77164
+ );
77165
+ p.setBillingOwnerOrgId(r);
77166
+ break;
77167
+ default:
77168
+ l.skipField();
77169
+ break;
77170
+ }
77171
+ }
77172
+ return p;
77173
+ }, proto.viam.app.v1.SendPaymentRequiredEmailRequest.prototype.serializeBinary = function() {
77174
+ var p = new e.BinaryWriter();
77175
+ return proto.viam.app.v1.SendPaymentRequiredEmailRequest.serializeBinaryToWriter(this, p), p.getResultBuffer();
77176
+ }, proto.viam.app.v1.SendPaymentRequiredEmailRequest.serializeBinaryToWriter = function(p, l) {
77177
+ var o = void 0;
77178
+ o = p.getCustomerOrgId(), o.length > 0 && l.writeString(
77179
+ 1,
77180
+ o
77181
+ ), o = p.getBillingOwnerOrgId(), o.length > 0 && l.writeString(
77182
+ 2,
77183
+ o
77184
+ );
77185
+ }, proto.viam.app.v1.SendPaymentRequiredEmailRequest.prototype.getCustomerOrgId = function() {
77186
+ return (
77187
+ /** @type {string} */
77188
+ e.Message.getFieldWithDefault(this, 1, "")
77189
+ );
77190
+ }, proto.viam.app.v1.SendPaymentRequiredEmailRequest.prototype.setCustomerOrgId = function(p) {
77191
+ return e.Message.setProto3StringField(this, 1, p);
77192
+ }, proto.viam.app.v1.SendPaymentRequiredEmailRequest.prototype.getBillingOwnerOrgId = function() {
77193
+ return (
77194
+ /** @type {string} */
77195
+ e.Message.getFieldWithDefault(this, 2, "")
77196
+ );
77197
+ }, proto.viam.app.v1.SendPaymentRequiredEmailRequest.prototype.setBillingOwnerOrgId = function(p) {
77198
+ return e.Message.setProto3StringField(this, 2, p);
77199
+ }, e.Message.GENERATE_TO_OBJECT && (proto.viam.app.v1.SendPaymentRequiredEmailResponse.prototype.toObject = function(p) {
77200
+ return proto.viam.app.v1.SendPaymentRequiredEmailResponse.toObject(p, this);
77201
+ }, proto.viam.app.v1.SendPaymentRequiredEmailResponse.toObject = function(p, l) {
77202
+ var o = {};
77203
+ return p && (o.$jspbMessageInstance = l), o;
77204
+ }), proto.viam.app.v1.SendPaymentRequiredEmailResponse.deserializeBinary = function(p) {
77205
+ var l = new e.BinaryReader(p), o = new proto.viam.app.v1.SendPaymentRequiredEmailResponse();
77206
+ return proto.viam.app.v1.SendPaymentRequiredEmailResponse.deserializeBinaryFromReader(o, l);
77207
+ }, proto.viam.app.v1.SendPaymentRequiredEmailResponse.deserializeBinaryFromReader = function(p, l) {
77208
+ for (; l.nextField() && !l.isEndGroup(); ) {
77209
+ var o = l.getFieldNumber();
77210
+ switch (o) {
77211
+ default:
77212
+ l.skipField();
77213
+ break;
77214
+ }
77215
+ }
77216
+ return p;
77217
+ }, proto.viam.app.v1.SendPaymentRequiredEmailResponse.prototype.serializeBinary = function() {
77218
+ var p = new e.BinaryWriter();
77219
+ return proto.viam.app.v1.SendPaymentRequiredEmailResponse.serializeBinaryToWriter(this, p), p.getResultBuffer();
77220
+ }, proto.viam.app.v1.SendPaymentRequiredEmailResponse.serializeBinaryToWriter = function(p, l) {
77135
77221
  }, proto.viam.app.v1.PaymentMethodType = {
77136
77222
  PAYMENT_METHOD_TYPE_UNSPECIFIED: 0,
77137
77223
  PAYMENT_METHOD_TYPE_CARD: 1
@@ -77175,6 +77261,14 @@ BillingService.GetInvoicePdf = {
77175
77261
  requestType: app_v1_billing_pb.GetInvoicePdfRequest,
77176
77262
  responseType: app_v1_billing_pb.GetInvoicePdfResponse
77177
77263
  };
77264
+ BillingService.SendPaymentRequiredEmail = {
77265
+ methodName: "SendPaymentRequiredEmail",
77266
+ service: BillingService,
77267
+ requestStream: !1,
77268
+ responseStream: !1,
77269
+ requestType: app_v1_billing_pb.SendPaymentRequiredEmailRequest,
77270
+ responseType: app_v1_billing_pb.SendPaymentRequiredEmailResponse
77271
+ };
77178
77272
  function BillingServiceClient(n, e) {
77179
77273
  this.serviceHost = n, this.options = e || {};
77180
77274
  }
@@ -77280,6 +77374,29 @@ BillingServiceClient.prototype.getInvoicePdf = function n(e, s) {
77280
77374
  }
77281
77375
  };
77282
77376
  };
77377
+ BillingServiceClient.prototype.sendPaymentRequiredEmail = function n(e, s, g) {
77378
+ arguments.length === 2 && (g = arguments[1]);
77379
+ var u = grpc$7.unary(BillingService.SendPaymentRequiredEmail, {
77380
+ request: e,
77381
+ host: this.serviceHost,
77382
+ metadata: s,
77383
+ transport: this.options.transport,
77384
+ debug: this.options.debug,
77385
+ onEnd: function(p) {
77386
+ if (g)
77387
+ if (p.status !== grpc$7.Code.OK) {
77388
+ var l = new Error(p.statusMessage);
77389
+ l.code = p.status, l.metadata = p.trailers, g(l, null);
77390
+ } else
77391
+ g(null, p.message);
77392
+ }
77393
+ });
77394
+ return {
77395
+ cancel: function() {
77396
+ g = null, u.close();
77397
+ }
77398
+ };
77399
+ };
77283
77400
  var BillingServiceClient_1 = BillingServiceClient;
77284
77401
  class BillingClient {
77285
77402
  service;
@@ -80626,7 +80743,7 @@ class GenericClient {
80626
80743
  return doCommandFromClient(s, this.name, e, this.options);
80627
80744
  }
80628
80745
  }
80629
- const version = "0.23.1";
80746
+ const version = "0.24.0";
80630
80747
  export {
80631
80748
  ArmClient,
80632
80749
  BaseClient,