@viamrobotics/sdk 0.10.0 → 0.10.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -401,9 +401,6 @@ export class TabularDataByMQLRequest extends jspb.Message {
401
401
  getOrganizationId(): string;
402
402
  setOrganizationId(value: string): void;
403
403
 
404
- getMqlQuery(): string;
405
- setMqlQuery(value: string): void;
406
-
407
404
  clearMqlBinaryList(): void;
408
405
  getMqlBinaryList(): Array<Uint8Array | string>;
409
406
  getMqlBinaryList_asU8(): Array<Uint8Array>;
@@ -424,7 +421,6 @@ export class TabularDataByMQLRequest extends jspb.Message {
424
421
  export namespace TabularDataByMQLRequest {
425
422
  export type AsObject = {
426
423
  organizationId: string,
427
- mqlQuery: string,
428
424
  mqlBinaryList: Array<Uint8Array | string>,
429
425
  }
430
426
  }
@@ -361,7 +361,6 @@ export interface PackageTypeMap {
361
361
  PACKAGE_TYPE_ML_MODEL: 2;
362
362
  PACKAGE_TYPE_MODULE: 3;
363
363
  PACKAGE_TYPE_SLAM_MAP: 4;
364
- PACKAGE_TYPE_BOARD_DEFS: 5;
365
364
  }
366
365
 
367
366
  export const PackageType: PackageTypeMap;
@@ -3,6 +3,7 @@
3
3
 
4
4
  import * as jspb from "google-protobuf";
5
5
  import * as app_packages_v1_packages_pb from "../../app/packages/v1/packages_pb";
6
+ import * as common_v1_common_pb from "../../common/v1/common_pb";
6
7
  import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb";
7
8
  import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
8
9
  import * as tagger_v1_tagger_pb from "../../tagger/v1/tagger_pb";
@@ -1730,6 +1731,11 @@ export class GetRobotPartLogsRequest extends jspb.Message {
1730
1731
  getPageToken(): string;
1731
1732
  setPageToken(value: string): void;
1732
1733
 
1734
+ clearLevelsList(): void;
1735
+ getLevelsList(): Array<string>;
1736
+ setLevelsList(value: Array<string>): void;
1737
+ addLevels(value: string, index?: number): string;
1738
+
1733
1739
  serializeBinary(): Uint8Array;
1734
1740
  toObject(includeInstance?: boolean): GetRobotPartLogsRequest.AsObject;
1735
1741
  static toObject(includeInstance: boolean, msg: GetRobotPartLogsRequest): GetRobotPartLogsRequest.AsObject;
@@ -1746,68 +1752,15 @@ export namespace GetRobotPartLogsRequest {
1746
1752
  errorsOnly: boolean,
1747
1753
  filter: string,
1748
1754
  pageToken: string,
1749
- }
1750
- }
1751
-
1752
- export class LogEntry extends jspb.Message {
1753
- getHost(): string;
1754
- setHost(value: string): void;
1755
-
1756
- getLevel(): string;
1757
- setLevel(value: string): void;
1758
-
1759
- hasTime(): boolean;
1760
- clearTime(): void;
1761
- getTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
1762
- setTime(value?: google_protobuf_timestamp_pb.Timestamp): void;
1763
-
1764
- getLoggerName(): string;
1765
- setLoggerName(value: string): void;
1766
-
1767
- getMessage(): string;
1768
- setMessage(value: string): void;
1769
-
1770
- hasCaller(): boolean;
1771
- clearCaller(): void;
1772
- getCaller(): google_protobuf_struct_pb.Struct | undefined;
1773
- setCaller(value?: google_protobuf_struct_pb.Struct): void;
1774
-
1775
- getStack(): string;
1776
- setStack(value: string): void;
1777
-
1778
- clearFieldsList(): void;
1779
- getFieldsList(): Array<google_protobuf_struct_pb.Struct>;
1780
- setFieldsList(value: Array<google_protobuf_struct_pb.Struct>): void;
1781
- addFields(value?: google_protobuf_struct_pb.Struct, index?: number): google_protobuf_struct_pb.Struct;
1782
-
1783
- serializeBinary(): Uint8Array;
1784
- toObject(includeInstance?: boolean): LogEntry.AsObject;
1785
- static toObject(includeInstance: boolean, msg: LogEntry): LogEntry.AsObject;
1786
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
1787
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
1788
- static serializeBinaryToWriter(message: LogEntry, writer: jspb.BinaryWriter): void;
1789
- static deserializeBinary(bytes: Uint8Array): LogEntry;
1790
- static deserializeBinaryFromReader(message: LogEntry, reader: jspb.BinaryReader): LogEntry;
1791
- }
1792
-
1793
- export namespace LogEntry {
1794
- export type AsObject = {
1795
- host: string,
1796
- level: string,
1797
- time?: google_protobuf_timestamp_pb.Timestamp.AsObject,
1798
- loggerName: string,
1799
- message: string,
1800
- caller?: google_protobuf_struct_pb.Struct.AsObject,
1801
- stack: string,
1802
- fieldsList: Array<google_protobuf_struct_pb.Struct.AsObject>,
1755
+ levelsList: Array<string>,
1803
1756
  }
1804
1757
  }
1805
1758
 
1806
1759
  export class GetRobotPartLogsResponse extends jspb.Message {
1807
1760
  clearLogsList(): void;
1808
- getLogsList(): Array<LogEntry>;
1809
- setLogsList(value: Array<LogEntry>): void;
1810
- addLogs(value?: LogEntry, index?: number): LogEntry;
1761
+ getLogsList(): Array<common_v1_common_pb.LogEntry>;
1762
+ setLogsList(value: Array<common_v1_common_pb.LogEntry>): void;
1763
+ addLogs(value?: common_v1_common_pb.LogEntry, index?: number): common_v1_common_pb.LogEntry;
1811
1764
 
1812
1765
  getNextPageToken(): string;
1813
1766
  setNextPageToken(value: string): void;
@@ -1824,7 +1777,7 @@ export class GetRobotPartLogsResponse extends jspb.Message {
1824
1777
 
1825
1778
  export namespace GetRobotPartLogsResponse {
1826
1779
  export type AsObject = {
1827
- logsList: Array<LogEntry.AsObject>,
1780
+ logsList: Array<common_v1_common_pb.LogEntry.AsObject>,
1828
1781
  nextPageToken: string,
1829
1782
  }
1830
1783
  }
@@ -1861,9 +1814,9 @@ export namespace TailRobotPartLogsRequest {
1861
1814
 
1862
1815
  export class TailRobotPartLogsResponse extends jspb.Message {
1863
1816
  clearLogsList(): void;
1864
- getLogsList(): Array<LogEntry>;
1865
- setLogsList(value: Array<LogEntry>): void;
1866
- addLogs(value?: LogEntry, index?: number): LogEntry;
1817
+ getLogsList(): Array<common_v1_common_pb.LogEntry>;
1818
+ setLogsList(value: Array<common_v1_common_pb.LogEntry>): void;
1819
+ addLogs(value?: common_v1_common_pb.LogEntry, index?: number): common_v1_common_pb.LogEntry;
1867
1820
 
1868
1821
  serializeBinary(): Uint8Array;
1869
1822
  toObject(includeInstance?: boolean): TailRobotPartLogsResponse.AsObject;
@@ -1877,7 +1830,7 @@ export class TailRobotPartLogsResponse extends jspb.Message {
1877
1830
 
1878
1831
  export namespace TailRobotPartLogsResponse {
1879
1832
  export type AsObject = {
1880
- logsList: Array<LogEntry.AsObject>,
1833
+ logsList: Array<common_v1_common_pb.LogEntry.AsObject>,
1881
1834
  }
1882
1835
  }
1883
1836
 
@@ -2095,9 +2048,9 @@ export namespace APIKey {
2095
2048
 
2096
2049
  export class GetRobotAPIKeysResponse extends jspb.Message {
2097
2050
  clearApiKeysList(): void;
2098
- getApiKeysList(): Array<APIKey>;
2099
- setApiKeysList(value: Array<APIKey>): void;
2100
- addApiKeys(value?: APIKey, index?: number): APIKey;
2051
+ getApiKeysList(): Array<APIKeyWithAuthorizations>;
2052
+ setApiKeysList(value: Array<APIKeyWithAuthorizations>): void;
2053
+ addApiKeys(value?: APIKeyWithAuthorizations, index?: number): APIKeyWithAuthorizations;
2101
2054
 
2102
2055
  serializeBinary(): Uint8Array;
2103
2056
  toObject(includeInstance?: boolean): GetRobotAPIKeysResponse.AsObject;
@@ -2111,7 +2064,7 @@ export class GetRobotAPIKeysResponse extends jspb.Message {
2111
2064
 
2112
2065
  export namespace GetRobotAPIKeysResponse {
2113
2066
  export type AsObject = {
2114
- apiKeysList: Array<APIKey.AsObject>,
2067
+ apiKeysList: Array<APIKeyWithAuthorizations.AsObject>,
2115
2068
  }
2116
2069
  }
2117
2070
 
@@ -2,7 +2,6 @@
2
2
  // file: app/v1/robot.proto
3
3
 
4
4
  import * as jspb from "google-protobuf";
5
- import * as app_v1_app_pb from "../../app/v1/app_pb";
6
5
  import * as common_v1_common_pb from "../../common/v1/common_pb";
7
6
  import * as google_protobuf_duration_pb from "google-protobuf/google/protobuf/duration_pb";
8
7
  import * as google_protobuf_struct_pb from "google-protobuf/google/protobuf/struct_pb";
@@ -1135,9 +1134,9 @@ export class LogRequest extends jspb.Message {
1135
1134
  setId(value: string): void;
1136
1135
 
1137
1136
  clearLogsList(): void;
1138
- getLogsList(): Array<app_v1_app_pb.LogEntry>;
1139
- setLogsList(value: Array<app_v1_app_pb.LogEntry>): void;
1140
- addLogs(value?: app_v1_app_pb.LogEntry, index?: number): app_v1_app_pb.LogEntry;
1137
+ getLogsList(): Array<common_v1_common_pb.LogEntry>;
1138
+ setLogsList(value: Array<common_v1_common_pb.LogEntry>): void;
1139
+ addLogs(value?: common_v1_common_pb.LogEntry, index?: number): common_v1_common_pb.LogEntry;
1141
1140
 
1142
1141
  serializeBinary(): Uint8Array;
1143
1142
  toObject(includeInstance?: boolean): LogRequest.AsObject;
@@ -1152,7 +1151,7 @@ export class LogRequest extends jspb.Message {
1152
1151
  export namespace LogRequest {
1153
1152
  export type AsObject = {
1154
1153
  id: string,
1155
- logsList: Array<app_v1_app_pb.LogEntry.AsObject>,
1154
+ logsList: Array<common_v1_common_pb.LogEntry.AsObject>,
1156
1155
  }
1157
1156
  }
1158
1157
 
@@ -749,6 +749,60 @@ export namespace GetReadingsResponse {
749
749
  }
750
750
  }
751
751
 
752
+ export class LogEntry extends jspb.Message {
753
+ getHost(): string;
754
+ setHost(value: string): void;
755
+
756
+ getLevel(): string;
757
+ setLevel(value: string): void;
758
+
759
+ hasTime(): boolean;
760
+ clearTime(): void;
761
+ getTime(): google_protobuf_timestamp_pb.Timestamp | undefined;
762
+ setTime(value?: google_protobuf_timestamp_pb.Timestamp): void;
763
+
764
+ getLoggerName(): string;
765
+ setLoggerName(value: string): void;
766
+
767
+ getMessage(): string;
768
+ setMessage(value: string): void;
769
+
770
+ hasCaller(): boolean;
771
+ clearCaller(): void;
772
+ getCaller(): google_protobuf_struct_pb.Struct | undefined;
773
+ setCaller(value?: google_protobuf_struct_pb.Struct): void;
774
+
775
+ getStack(): string;
776
+ setStack(value: string): void;
777
+
778
+ clearFieldsList(): void;
779
+ getFieldsList(): Array<google_protobuf_struct_pb.Struct>;
780
+ setFieldsList(value: Array<google_protobuf_struct_pb.Struct>): void;
781
+ addFields(value?: google_protobuf_struct_pb.Struct, index?: number): google_protobuf_struct_pb.Struct;
782
+
783
+ serializeBinary(): Uint8Array;
784
+ toObject(includeInstance?: boolean): LogEntry.AsObject;
785
+ static toObject(includeInstance: boolean, msg: LogEntry): LogEntry.AsObject;
786
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
787
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
788
+ static serializeBinaryToWriter(message: LogEntry, writer: jspb.BinaryWriter): void;
789
+ static deserializeBinary(bytes: Uint8Array): LogEntry;
790
+ static deserializeBinaryFromReader(message: LogEntry, reader: jspb.BinaryReader): LogEntry;
791
+ }
792
+
793
+ export namespace LogEntry {
794
+ export type AsObject = {
795
+ host: string,
796
+ level: string,
797
+ time?: google_protobuf_timestamp_pb.Timestamp.AsObject,
798
+ loggerName: string,
799
+ message: string,
800
+ caller?: google_protobuf_struct_pb.Struct.AsObject,
801
+ stack: string,
802
+ fieldsList: Array<google_protobuf_struct_pb.Struct.AsObject>,
803
+ }
804
+ }
805
+
752
806
  export const safetyHeartbeatMonitored: jspb.ExtensionFieldInfo<boolean>;
753
807
 
754
808
  export interface KinematicsFileFormatMap {
@@ -449,6 +449,11 @@ export class SourceInfo extends jspb.Message {
449
449
  clearPositionsMap(): void;
450
450
  getMacroCallsMap(): jspb.Map<number, Expr>;
451
451
  clearMacroCallsMap(): void;
452
+ clearExtensionsList(): void;
453
+ getExtensionsList(): Array<SourceInfo.Extension>;
454
+ setExtensionsList(value: Array<SourceInfo.Extension>): void;
455
+ addExtensions(value?: SourceInfo.Extension, index?: number): SourceInfo.Extension;
456
+
452
457
  serializeBinary(): Uint8Array;
453
458
  toObject(includeInstance?: boolean): SourceInfo.AsObject;
454
459
  static toObject(includeInstance: boolean, msg: SourceInfo): SourceInfo.AsObject;
@@ -466,6 +471,72 @@ export namespace SourceInfo {
466
471
  lineOffsetsList: Array<number>,
467
472
  positionsMap: Array<[number, number]>,
468
473
  macroCallsMap: Array<[number, Expr.AsObject]>,
474
+ extensionsList: Array<SourceInfo.Extension.AsObject>,
475
+ }
476
+
477
+ export class Extension extends jspb.Message {
478
+ getId(): string;
479
+ setId(value: string): void;
480
+
481
+ clearAffectedComponentsList(): void;
482
+ getAffectedComponentsList(): Array<SourceInfo.Extension.ComponentMap[keyof SourceInfo.Extension.ComponentMap]>;
483
+ setAffectedComponentsList(value: Array<SourceInfo.Extension.ComponentMap[keyof SourceInfo.Extension.ComponentMap]>): void;
484
+ addAffectedComponents(value: SourceInfo.Extension.ComponentMap[keyof SourceInfo.Extension.ComponentMap], index?: number): SourceInfo.Extension.ComponentMap[keyof SourceInfo.Extension.ComponentMap];
485
+
486
+ hasVersion(): boolean;
487
+ clearVersion(): void;
488
+ getVersion(): SourceInfo.Extension.Version | undefined;
489
+ setVersion(value?: SourceInfo.Extension.Version): void;
490
+
491
+ serializeBinary(): Uint8Array;
492
+ toObject(includeInstance?: boolean): Extension.AsObject;
493
+ static toObject(includeInstance: boolean, msg: Extension): Extension.AsObject;
494
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
495
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
496
+ static serializeBinaryToWriter(message: Extension, writer: jspb.BinaryWriter): void;
497
+ static deserializeBinary(bytes: Uint8Array): Extension;
498
+ static deserializeBinaryFromReader(message: Extension, reader: jspb.BinaryReader): Extension;
499
+ }
500
+
501
+ export namespace Extension {
502
+ export type AsObject = {
503
+ id: string,
504
+ affectedComponentsList: Array<SourceInfo.Extension.ComponentMap[keyof SourceInfo.Extension.ComponentMap]>,
505
+ version?: SourceInfo.Extension.Version.AsObject,
506
+ }
507
+
508
+ export class Version extends jspb.Message {
509
+ getMajor(): number;
510
+ setMajor(value: number): void;
511
+
512
+ getMinor(): number;
513
+ setMinor(value: number): void;
514
+
515
+ serializeBinary(): Uint8Array;
516
+ toObject(includeInstance?: boolean): Version.AsObject;
517
+ static toObject(includeInstance: boolean, msg: Version): Version.AsObject;
518
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
519
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
520
+ static serializeBinaryToWriter(message: Version, writer: jspb.BinaryWriter): void;
521
+ static deserializeBinary(bytes: Uint8Array): Version;
522
+ static deserializeBinaryFromReader(message: Version, reader: jspb.BinaryReader): Version;
523
+ }
524
+
525
+ export namespace Version {
526
+ export type AsObject = {
527
+ major: number,
528
+ minor: number,
529
+ }
530
+ }
531
+
532
+ export interface ComponentMap {
533
+ COMPONENT_UNSPECIFIED: 0;
534
+ COMPONENT_PARSER: 1;
535
+ COMPONENT_TYPE_CHECKER: 2;
536
+ COMPONENT_RUNTIME: 3;
537
+ }
538
+
539
+ export const Component: ComponentMap;
469
540
  }
470
541
  }
471
542
 
@@ -908,6 +908,44 @@ export namespace SendSessionHeartbeatResponse {
908
908
  }
909
909
  }
910
910
 
911
+ export class LogRequest extends jspb.Message {
912
+ clearLogsList(): void;
913
+ getLogsList(): Array<common_v1_common_pb.LogEntry>;
914
+ setLogsList(value: Array<common_v1_common_pb.LogEntry>): void;
915
+ addLogs(value?: common_v1_common_pb.LogEntry, index?: number): common_v1_common_pb.LogEntry;
916
+
917
+ serializeBinary(): Uint8Array;
918
+ toObject(includeInstance?: boolean): LogRequest.AsObject;
919
+ static toObject(includeInstance: boolean, msg: LogRequest): LogRequest.AsObject;
920
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
921
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
922
+ static serializeBinaryToWriter(message: LogRequest, writer: jspb.BinaryWriter): void;
923
+ static deserializeBinary(bytes: Uint8Array): LogRequest;
924
+ static deserializeBinaryFromReader(message: LogRequest, reader: jspb.BinaryReader): LogRequest;
925
+ }
926
+
927
+ export namespace LogRequest {
928
+ export type AsObject = {
929
+ logsList: Array<common_v1_common_pb.LogEntry.AsObject>,
930
+ }
931
+ }
932
+
933
+ export class LogResponse extends jspb.Message {
934
+ serializeBinary(): Uint8Array;
935
+ toObject(includeInstance?: boolean): LogResponse.AsObject;
936
+ static toObject(includeInstance: boolean, msg: LogResponse): LogResponse.AsObject;
937
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
938
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
939
+ static serializeBinaryToWriter(message: LogResponse, writer: jspb.BinaryWriter): void;
940
+ static deserializeBinary(bytes: Uint8Array): LogResponse;
941
+ static deserializeBinaryFromReader(message: LogResponse, reader: jspb.BinaryReader): LogResponse;
942
+ }
943
+
944
+ export namespace LogResponse {
945
+ export type AsObject = {
946
+ }
947
+ }
948
+
911
949
  export interface PeerConnectionTypeMap {
912
950
  PEER_CONNECTION_TYPE_UNSPECIFIED: 0;
913
951
  PEER_CONNECTION_TYPE_GRPC: 1;
@@ -139,6 +139,15 @@ type RobotServiceSendSessionHeartbeat = {
139
139
  readonly responseType: typeof robot_v1_robot_pb.SendSessionHeartbeatResponse;
140
140
  };
141
141
 
142
+ type RobotServiceLog = {
143
+ readonly methodName: string;
144
+ readonly service: typeof RobotService;
145
+ readonly requestStream: false;
146
+ readonly responseStream: false;
147
+ readonly requestType: typeof robot_v1_robot_pb.LogRequest;
148
+ readonly responseType: typeof robot_v1_robot_pb.LogResponse;
149
+ };
150
+
142
151
  export class RobotService {
143
152
  static readonly serviceName: string;
144
153
  static readonly GetOperations: RobotServiceGetOperations;
@@ -156,6 +165,7 @@ export class RobotService {
156
165
  static readonly StopAll: RobotServiceStopAll;
157
166
  static readonly StartSession: RobotServiceStartSession;
158
167
  static readonly SendSessionHeartbeat: RobotServiceSendSessionHeartbeat;
168
+ static readonly Log: RobotServiceLog;
159
169
  }
160
170
 
161
171
  export type ServiceError = { message: string, code: number; metadata: grpc.Metadata }
@@ -317,5 +327,14 @@ export class RobotServiceClient {
317
327
  requestMessage: robot_v1_robot_pb.SendSessionHeartbeatRequest,
318
328
  callback: (error: ServiceError|null, responseMessage: robot_v1_robot_pb.SendSessionHeartbeatResponse|null) => void
319
329
  ): UnaryResponse;
330
+ log(
331
+ requestMessage: robot_v1_robot_pb.LogRequest,
332
+ metadata: grpc.Metadata,
333
+ callback: (error: ServiceError|null, responseMessage: robot_v1_robot_pb.LogResponse|null) => void
334
+ ): UnaryResponse;
335
+ log(
336
+ requestMessage: robot_v1_robot_pb.LogRequest,
337
+ callback: (error: ServiceError|null, responseMessage: robot_v1_robot_pb.LogResponse|null) => void
338
+ ): UnaryResponse;
320
339
  }
321
340
 
@@ -77,76 +77,6 @@ export namespace MoveResponse {
77
77
  }
78
78
  }
79
79
 
80
- export class MoveOnMapNewRequest extends jspb.Message {
81
- getName(): string;
82
- setName(value: string): void;
83
-
84
- hasDestination(): boolean;
85
- clearDestination(): void;
86
- getDestination(): common_v1_common_pb.Pose | undefined;
87
- setDestination(value?: common_v1_common_pb.Pose): void;
88
-
89
- hasComponentName(): boolean;
90
- clearComponentName(): void;
91
- getComponentName(): common_v1_common_pb.ResourceName | undefined;
92
- setComponentName(value?: common_v1_common_pb.ResourceName): void;
93
-
94
- hasSlamServiceName(): boolean;
95
- clearSlamServiceName(): void;
96
- getSlamServiceName(): common_v1_common_pb.ResourceName | undefined;
97
- setSlamServiceName(value?: common_v1_common_pb.ResourceName): void;
98
-
99
- hasMotionConfiguration(): boolean;
100
- clearMotionConfiguration(): void;
101
- getMotionConfiguration(): MotionConfiguration | undefined;
102
- setMotionConfiguration(value?: MotionConfiguration): void;
103
-
104
- hasExtra(): boolean;
105
- clearExtra(): void;
106
- getExtra(): google_protobuf_struct_pb.Struct | undefined;
107
- setExtra(value?: google_protobuf_struct_pb.Struct): void;
108
-
109
- serializeBinary(): Uint8Array;
110
- toObject(includeInstance?: boolean): MoveOnMapNewRequest.AsObject;
111
- static toObject(includeInstance: boolean, msg: MoveOnMapNewRequest): MoveOnMapNewRequest.AsObject;
112
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
113
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
114
- static serializeBinaryToWriter(message: MoveOnMapNewRequest, writer: jspb.BinaryWriter): void;
115
- static deserializeBinary(bytes: Uint8Array): MoveOnMapNewRequest;
116
- static deserializeBinaryFromReader(message: MoveOnMapNewRequest, reader: jspb.BinaryReader): MoveOnMapNewRequest;
117
- }
118
-
119
- export namespace MoveOnMapNewRequest {
120
- export type AsObject = {
121
- name: string,
122
- destination?: common_v1_common_pb.Pose.AsObject,
123
- componentName?: common_v1_common_pb.ResourceName.AsObject,
124
- slamServiceName?: common_v1_common_pb.ResourceName.AsObject,
125
- motionConfiguration?: MotionConfiguration.AsObject,
126
- extra?: google_protobuf_struct_pb.Struct.AsObject,
127
- }
128
- }
129
-
130
- export class MoveOnMapNewResponse extends jspb.Message {
131
- getExecutionId(): string;
132
- setExecutionId(value: string): void;
133
-
134
- serializeBinary(): Uint8Array;
135
- toObject(includeInstance?: boolean): MoveOnMapNewResponse.AsObject;
136
- static toObject(includeInstance: boolean, msg: MoveOnMapNewResponse): MoveOnMapNewResponse.AsObject;
137
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
138
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
139
- static serializeBinaryToWriter(message: MoveOnMapNewResponse, writer: jspb.BinaryWriter): void;
140
- static deserializeBinary(bytes: Uint8Array): MoveOnMapNewResponse;
141
- static deserializeBinaryFromReader(message: MoveOnMapNewResponse, reader: jspb.BinaryReader): MoveOnMapNewResponse;
142
- }
143
-
144
- export namespace MoveOnMapNewResponse {
145
- export type AsObject = {
146
- executionId: string,
147
- }
148
- }
149
-
150
80
  export class MoveOnMapRequest extends jspb.Message {
151
81
  getName(): string;
152
82
  setName(value: string): void;
@@ -171,6 +101,11 @@ export class MoveOnMapRequest extends jspb.Message {
171
101
  getMotionConfiguration(): MotionConfiguration | undefined;
172
102
  setMotionConfiguration(value?: MotionConfiguration): void;
173
103
 
104
+ clearObstaclesList(): void;
105
+ getObstaclesList(): Array<common_v1_common_pb.Geometry>;
106
+ setObstaclesList(value: Array<common_v1_common_pb.Geometry>): void;
107
+ addObstacles(value?: common_v1_common_pb.Geometry, index?: number): common_v1_common_pb.Geometry;
108
+
174
109
  hasExtra(): boolean;
175
110
  clearExtra(): void;
176
111
  getExtra(): google_protobuf_struct_pb.Struct | undefined;
@@ -193,6 +128,7 @@ export namespace MoveOnMapRequest {
193
128
  componentName?: common_v1_common_pb.ResourceName.AsObject,
194
129
  slamServiceName?: common_v1_common_pb.ResourceName.AsObject,
195
130
  motionConfiguration?: MotionConfiguration.AsObject,
131
+ obstaclesList: Array<common_v1_common_pb.Geometry.AsObject>,
196
132
  extra?: google_protobuf_struct_pb.Struct.AsObject,
197
133
  }
198
134
  }
@@ -23,15 +23,6 @@ type MotionServiceMoveOnMap = {
23
23
  readonly responseType: typeof service_motion_v1_motion_pb.MoveOnMapResponse;
24
24
  };
25
25
 
26
- type MotionServiceMoveOnMapNew = {
27
- readonly methodName: string;
28
- readonly service: typeof MotionService;
29
- readonly requestStream: false;
30
- readonly responseStream: false;
31
- readonly requestType: typeof service_motion_v1_motion_pb.MoveOnMapNewRequest;
32
- readonly responseType: typeof service_motion_v1_motion_pb.MoveOnMapNewResponse;
33
- };
34
-
35
26
  type MotionServiceMoveOnGlobe = {
36
27
  readonly methodName: string;
37
28
  readonly service: typeof MotionService;
@@ -90,7 +81,6 @@ export class MotionService {
90
81
  static readonly serviceName: string;
91
82
  static readonly Move: MotionServiceMove;
92
83
  static readonly MoveOnMap: MotionServiceMoveOnMap;
93
- static readonly MoveOnMapNew: MotionServiceMoveOnMapNew;
94
84
  static readonly MoveOnGlobe: MotionServiceMoveOnGlobe;
95
85
  static readonly GetPose: MotionServiceGetPose;
96
86
  static readonly StopPlan: MotionServiceStopPlan;
@@ -149,15 +139,6 @@ export class MotionServiceClient {
149
139
  requestMessage: service_motion_v1_motion_pb.MoveOnMapRequest,
150
140
  callback: (error: ServiceError|null, responseMessage: service_motion_v1_motion_pb.MoveOnMapResponse|null) => void
151
141
  ): UnaryResponse;
152
- moveOnMapNew(
153
- requestMessage: service_motion_v1_motion_pb.MoveOnMapNewRequest,
154
- metadata: grpc.Metadata,
155
- callback: (error: ServiceError|null, responseMessage: service_motion_v1_motion_pb.MoveOnMapNewResponse|null) => void
156
- ): UnaryResponse;
157
- moveOnMapNew(
158
- requestMessage: service_motion_v1_motion_pb.MoveOnMapNewRequest,
159
- callback: (error: ServiceError|null, responseMessage: service_motion_v1_motion_pb.MoveOnMapNewResponse|null) => void
160
- ): UnaryResponse;
161
142
  moveOnGlobe(
162
143
  requestMessage: service_motion_v1_motion_pb.MoveOnGlobeRequest,
163
144
  metadata: grpc.Metadata,