@viamrobotics/sdk 0.75.0 → 0.76.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/api-version.d.ts +1 -1
- package/dist/app/ml-training-client.d.ts +1 -1
- package/dist/components/arm/arm.d.ts +42 -0
- package/dist/components/arm/client.d.ts +3 -0
- package/dist/components/arm.d.ts +1 -1
- package/dist/gen/app/data/v1/data_pb.d.ts +10 -0
- package/dist/gen/app/datapipelines/v1/data_pipelines_pb.d.ts +8 -0
- package/dist/gen/app/mltraining/v1/ml_training_pb.d.ts +66 -0
- package/dist/gen/app/v1/app_pb.d.ts +47 -0
- package/dist/gen/app/v1/robot_pb.d.ts +118 -0
- package/dist/gen/component/arm/v1/arm_connect.d.ts +43 -1
- package/dist/gen/component/arm/v1/arm_pb.d.ts +499 -1
- package/dist/gen/proto/rpc/webrtc/v1/signaling_pb.d.ts +18 -0
- package/dist/main.d.ts +1 -1
- package/dist/main.es.js +3627 -3262
- package/dist/main.umd.js +5 -5
- package/dist/robot/client.d.ts +24 -0
- package/package.json +1 -1
package/dist/api-version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const apiVersion = "v0.1.
|
|
1
|
+
export declare const apiVersion = "v0.1.580";
|
|
@@ -122,4 +122,4 @@ export declare class MlTrainingClient {
|
|
|
122
122
|
*/
|
|
123
123
|
deleteCompletedTrainingJob(id: string): Promise<null>;
|
|
124
124
|
}
|
|
125
|
-
export { ModelType, TrainingStatus } from '../gen/app/mltraining/v1/ml_training_pb';
|
|
125
|
+
export { ModelType, TrainingStatus, Visibility } from '../gen/app/mltraining/v1/ml_training_pb';
|
|
@@ -5,6 +5,7 @@ import type { Geometry, Mesh } from '../../gen/common/v1/common_pb';
|
|
|
5
5
|
import type { GetKinematicsResult } from '../../utils';
|
|
6
6
|
export type ArmJointPositions = PlainMessage<armApi.JointPositions>;
|
|
7
7
|
export declare const ArmJointPositions: typeof armApi.JointPositions;
|
|
8
|
+
export type Properties = armApi.GetPropertiesResponse;
|
|
8
9
|
/** Represents a physical robot arm that exists in three-dimensional space. */
|
|
9
10
|
export interface Arm extends Resource {
|
|
10
11
|
/**
|
|
@@ -156,4 +157,45 @@ export interface Arm extends Resource {
|
|
|
156
157
|
* API](https://docs.viam.com/dev/reference/apis/components/arm/#ismoving).
|
|
157
158
|
*/
|
|
158
159
|
isMoving: () => Promise<boolean>;
|
|
160
|
+
/**
|
|
161
|
+
* Get the optional features the arm supports.
|
|
162
|
+
*
|
|
163
|
+
* @example
|
|
164
|
+
*
|
|
165
|
+
* ```ts
|
|
166
|
+
* const arm = new VIAM.ArmClient(machine, 'my_arm');
|
|
167
|
+
* const properties = await arm.getProperties();
|
|
168
|
+
* console.log(properties);
|
|
169
|
+
* ```
|
|
170
|
+
*/
|
|
171
|
+
getProperties: (extra?: Struct) => Promise<Properties>;
|
|
172
|
+
/**
|
|
173
|
+
* Enter or exit manual mode for an arm that supports it.
|
|
174
|
+
*
|
|
175
|
+
* @example
|
|
176
|
+
*
|
|
177
|
+
* ```ts
|
|
178
|
+
* const arm = new VIAM.ArmClient(machine, 'my_arm');
|
|
179
|
+
*
|
|
180
|
+
* // Enter manual mode for 60 seconds
|
|
181
|
+
* await arm.setManualMode(true, 60);
|
|
182
|
+
* ```
|
|
183
|
+
*
|
|
184
|
+
* @param manualMode - Whether to enter (true) or exit (false) manual mode.
|
|
185
|
+
* @param enabledFor - How long to stay in manual mode, in seconds. 0 or undefined means no time
|
|
186
|
+
* limit.
|
|
187
|
+
*/
|
|
188
|
+
setManualMode: (manualMode: boolean, enabledFor?: number, extra?: Struct) => Promise<void>;
|
|
189
|
+
/**
|
|
190
|
+
* Get whether the arm is currently in manual mode.
|
|
191
|
+
*
|
|
192
|
+
* @example
|
|
193
|
+
*
|
|
194
|
+
* ```ts
|
|
195
|
+
* const arm = new VIAM.ArmClient(machine, 'my_arm');
|
|
196
|
+
* const manualMode = await arm.getManualMode();
|
|
197
|
+
* console.log(manualMode);
|
|
198
|
+
* ```
|
|
199
|
+
*/
|
|
200
|
+
getManualMode: (extra?: Struct) => Promise<boolean>;
|
|
159
201
|
}
|
|
@@ -25,6 +25,9 @@ export declare class ArmClient implements Arm {
|
|
|
25
25
|
moveToJointPositions(jointPositionsList: number[], extra?: {}, callOptions?: CallOptions): Promise<void>;
|
|
26
26
|
getJointPositions(extra?: {}, callOptions?: CallOptions): Promise<JointPositions>;
|
|
27
27
|
stop(extra?: {}, callOptions?: CallOptions): Promise<void>;
|
|
28
|
+
getProperties(extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/component/arm/v1/arm_pb").GetPropertiesResponse>;
|
|
29
|
+
setManualMode(manualMode: boolean, enabledFor?: number, extra?: {}, callOptions?: CallOptions): Promise<void>;
|
|
30
|
+
getManualMode(extra?: {}, callOptions?: CallOptions): Promise<boolean>;
|
|
28
31
|
isMoving(callOptions?: CallOptions): Promise<boolean>;
|
|
29
32
|
getStatus(callOptions?: CallOptions): Promise<JsonValue>;
|
|
30
33
|
doCommand(command: Struct | Record<string, JsonValue>, callOptions?: CallOptions): Promise<JsonValue>;
|
package/dist/components/arm.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { ArmJointPositions, type Arm } from './arm/arm';
|
|
1
|
+
export { ArmJointPositions, type Arm, type Properties } from './arm/arm';
|
|
2
2
|
export { ArmClient } from './arm/client';
|
|
@@ -3539,6 +3539,11 @@ export declare class SequencesByDatasetIDRequest extends Message<SequencesByData
|
|
|
3539
3539
|
*/
|
|
3540
3540
|
pageSize: number;
|
|
3541
3541
|
|
|
3542
|
+
/**
|
|
3543
|
+
* @generated from field: bool count_only = 4;
|
|
3544
|
+
*/
|
|
3545
|
+
countOnly: boolean;
|
|
3546
|
+
|
|
3542
3547
|
constructor(data?: PartialMessage<SequencesByDatasetIDRequest>);
|
|
3543
3548
|
|
|
3544
3549
|
static readonly runtime: typeof proto3;
|
|
@@ -3568,6 +3573,11 @@ export declare class SequencesByDatasetIDResponse extends Message<SequencesByDat
|
|
|
3568
3573
|
*/
|
|
3569
3574
|
nextPageToken: string;
|
|
3570
3575
|
|
|
3576
|
+
/**
|
|
3577
|
+
* @generated from field: uint64 count = 3;
|
|
3578
|
+
*/
|
|
3579
|
+
count: bigint;
|
|
3580
|
+
|
|
3571
3581
|
constructor(data?: PartialMessage<SequencesByDatasetIDResponse>);
|
|
3572
3582
|
|
|
3573
3583
|
static readonly runtime: typeof proto3;
|
|
@@ -626,6 +626,14 @@ export declare class DataPipelineRun extends Message<DataPipelineRun> {
|
|
|
626
626
|
*/
|
|
627
627
|
errorMessage: string;
|
|
628
628
|
|
|
629
|
+
/**
|
|
630
|
+
* The data source type the run executed against. Runs that predate this field
|
|
631
|
+
* report the pipeline's configured data source type.
|
|
632
|
+
*
|
|
633
|
+
* @generated from field: viam.app.data.v1.TabularDataSourceType data_source_type = 8;
|
|
634
|
+
*/
|
|
635
|
+
dataSourceType: TabularDataSourceType;
|
|
636
|
+
|
|
629
637
|
constructor(data?: PartialMessage<DataPipelineRun>);
|
|
630
638
|
|
|
631
639
|
static readonly runtime: typeof proto3;
|
|
@@ -102,6 +102,26 @@ export declare enum TrainingStatus {
|
|
|
102
102
|
CANCELING = 6,
|
|
103
103
|
}
|
|
104
104
|
|
|
105
|
+
/**
|
|
106
|
+
* @generated from enum viam.app.mltraining.v1.Visibility
|
|
107
|
+
*/
|
|
108
|
+
export declare enum Visibility {
|
|
109
|
+
/**
|
|
110
|
+
* @generated from enum value: VISIBILITY_UNSPECIFIED = 0;
|
|
111
|
+
*/
|
|
112
|
+
UNSPECIFIED = 0,
|
|
113
|
+
|
|
114
|
+
/**
|
|
115
|
+
* @generated from enum value: VISIBILITY_PRIVATE = 1;
|
|
116
|
+
*/
|
|
117
|
+
PRIVATE = 1,
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* @generated from enum value: VISIBILITY_PUBLIC = 2;
|
|
121
|
+
*/
|
|
122
|
+
PUBLIC = 2,
|
|
123
|
+
}
|
|
124
|
+
|
|
105
125
|
/**
|
|
106
126
|
* @generated from message viam.app.mltraining.v1.SubmitTrainingJobRequest
|
|
107
127
|
*/
|
|
@@ -665,6 +685,16 @@ export declare class GetTrainingJobLogsResponse extends Message<GetTrainingJobLo
|
|
|
665
685
|
* @generated from message viam.app.mltraining.v1.ListSupportedContainersRequest
|
|
666
686
|
*/
|
|
667
687
|
export declare class ListSupportedContainersRequest extends Message<ListSupportedContainersRequest> {
|
|
688
|
+
/**
|
|
689
|
+
* Optional. Scopes the response to the containers available to this
|
|
690
|
+
* organization: the Viam-managed catalog plus the org's registered
|
|
691
|
+
* custom training containers. If unset, only the Viam-managed catalog
|
|
692
|
+
* is returned.
|
|
693
|
+
*
|
|
694
|
+
* @generated from field: string organization_id = 1;
|
|
695
|
+
*/
|
|
696
|
+
organizationId: string;
|
|
697
|
+
|
|
668
698
|
constructor(data?: PartialMessage<ListSupportedContainersRequest>);
|
|
669
699
|
|
|
670
700
|
static readonly runtime: typeof proto3;
|
|
@@ -690,8 +720,12 @@ export declare class ListSupportedContainersResponse extends Message<ListSupport
|
|
|
690
720
|
* "tf:2.15": Container {
|
|
691
721
|
* key: "tf:2.15"
|
|
692
722
|
* uri: "us-docker.pkg.dev/vertex-ai/training/tf-gpu.2-15.py310:latest"
|
|
723
|
+
* framework: Tensorflow
|
|
693
724
|
* description: "Tensorflow 2.15"
|
|
694
725
|
* eol: { seconds: 1772630400, nanos: 0 } // 2026-03-03T00:00:00Z
|
|
726
|
+
* created_on: 2026-01-15T01:30:15.01Z
|
|
727
|
+
* organization_id: "xyz"
|
|
728
|
+
* visibility: VISIBILITY_PUBLIC
|
|
695
729
|
* }
|
|
696
730
|
* }
|
|
697
731
|
*
|
|
@@ -719,6 +753,8 @@ export declare class ListSupportedContainersResponse extends Message<ListSupport
|
|
|
719
753
|
*/
|
|
720
754
|
export declare class Container extends Message<Container> {
|
|
721
755
|
/**
|
|
756
|
+
* custom container keys are derived from the Docker URI (image:tag)
|
|
757
|
+
*
|
|
722
758
|
* @generated from field: string key = 1;
|
|
723
759
|
*/
|
|
724
760
|
key: string;
|
|
@@ -729,20 +765,50 @@ export declare class Container extends Message<Container> {
|
|
|
729
765
|
uri: string;
|
|
730
766
|
|
|
731
767
|
/**
|
|
768
|
+
* unset for custom containers
|
|
769
|
+
*
|
|
732
770
|
* @generated from field: string framework = 3;
|
|
733
771
|
*/
|
|
734
772
|
framework: string;
|
|
735
773
|
|
|
736
774
|
/**
|
|
775
|
+
* will serve as display name
|
|
776
|
+
*
|
|
737
777
|
* @generated from field: string description = 4;
|
|
738
778
|
*/
|
|
739
779
|
description: string;
|
|
740
780
|
|
|
741
781
|
/**
|
|
782
|
+
* unset for custom containers
|
|
783
|
+
*
|
|
742
784
|
* @generated from field: google.protobuf.Timestamp eol = 5;
|
|
743
785
|
*/
|
|
744
786
|
eol?: Timestamp;
|
|
745
787
|
|
|
788
|
+
/**
|
|
789
|
+
* @generated from field: string organization_id = 6;
|
|
790
|
+
*/
|
|
791
|
+
organizationId: string;
|
|
792
|
+
|
|
793
|
+
/**
|
|
794
|
+
* @generated from field: google.protobuf.Timestamp created_on = 7;
|
|
795
|
+
*/
|
|
796
|
+
createdOn?: Timestamp;
|
|
797
|
+
|
|
798
|
+
/**
|
|
799
|
+
* unique id of the container
|
|
800
|
+
*
|
|
801
|
+
* @generated from field: string id = 8;
|
|
802
|
+
*/
|
|
803
|
+
id: string;
|
|
804
|
+
|
|
805
|
+
/**
|
|
806
|
+
* public or private
|
|
807
|
+
*
|
|
808
|
+
* @generated from field: viam.app.mltraining.v1.Visibility visibility = 9;
|
|
809
|
+
*/
|
|
810
|
+
visibility: Visibility;
|
|
811
|
+
|
|
746
812
|
constructor(data?: PartialMessage<Container>);
|
|
747
813
|
|
|
748
814
|
static readonly runtime: typeof proto3;
|
|
@@ -96,6 +96,34 @@ export declare enum LoginMethod {
|
|
|
96
96
|
APPLE = 4,
|
|
97
97
|
}
|
|
98
98
|
|
|
99
|
+
/**
|
|
100
|
+
* LogOrder is the order in which logs are returned, by time.
|
|
101
|
+
*
|
|
102
|
+
* @generated from enum viam.app.v1.LogOrder
|
|
103
|
+
*/
|
|
104
|
+
export declare enum LogOrder {
|
|
105
|
+
/**
|
|
106
|
+
* LOG_ORDER_UNSPECIFIED is treated as LOG_ORDER_DESCENDING.
|
|
107
|
+
*
|
|
108
|
+
* @generated from enum value: LOG_ORDER_UNSPECIFIED = 0;
|
|
109
|
+
*/
|
|
110
|
+
UNSPECIFIED = 0,
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* oldest logs first
|
|
114
|
+
*
|
|
115
|
+
* @generated from enum value: LOG_ORDER_ASCENDING = 1;
|
|
116
|
+
*/
|
|
117
|
+
ASCENDING = 1,
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* newest logs first
|
|
121
|
+
*
|
|
122
|
+
* @generated from enum value: LOG_ORDER_DESCENDING = 2;
|
|
123
|
+
*/
|
|
124
|
+
DESCENDING = 2,
|
|
125
|
+
}
|
|
126
|
+
|
|
99
127
|
/**
|
|
100
128
|
* @generated from enum viam.app.v1.FragmentVisibility
|
|
101
129
|
*/
|
|
@@ -3296,6 +3324,25 @@ export declare class GetRobotPartLogsRequest extends Message<GetRobotPartLogsReq
|
|
|
3296
3324
|
*/
|
|
3297
3325
|
userFacingOnly?: boolean;
|
|
3298
3326
|
|
|
3327
|
+
/**
|
|
3328
|
+
* logs are returned newest first when the order field is empty
|
|
3329
|
+
*
|
|
3330
|
+
* @generated from field: optional viam.app.v1.LogOrder order = 11;
|
|
3331
|
+
*/
|
|
3332
|
+
order?: LogOrder;
|
|
3333
|
+
|
|
3334
|
+
/**
|
|
3335
|
+
* range is a duration string in minutes, hours, or days (e.g. "10m", "10h", "10d")
|
|
3336
|
+
* that is resolved against whichever of start and end is present:
|
|
3337
|
+
* end only: [end - range, end]
|
|
3338
|
+
* start only: [start, start + range]
|
|
3339
|
+
* neither: [now - range, now]
|
|
3340
|
+
* Specifying range together with both start and end is an error.
|
|
3341
|
+
*
|
|
3342
|
+
* @generated from field: optional string range = 12;
|
|
3343
|
+
*/
|
|
3344
|
+
range?: string;
|
|
3345
|
+
|
|
3299
3346
|
constructor(data?: PartialMessage<GetRobotPartLogsRequest>);
|
|
3300
3347
|
|
|
3301
3348
|
static readonly runtime: typeof proto3;
|
|
@@ -823,6 +823,14 @@ export declare class AuthConfig extends Message<AuthConfig> {
|
|
|
823
823
|
*/
|
|
824
824
|
externalAuthConfig?: ExternalAuthConfig;
|
|
825
825
|
|
|
826
|
+
/**
|
|
827
|
+
* user_permissions represents the map of Users to Permissions for
|
|
828
|
+
* this machine.
|
|
829
|
+
*
|
|
830
|
+
* @generated from field: repeated viam.app.v1.UserPermission user_permissions = 4;
|
|
831
|
+
*/
|
|
832
|
+
userPermissions: UserPermission[];
|
|
833
|
+
|
|
826
834
|
constructor(data?: PartialMessage<AuthConfig>);
|
|
827
835
|
|
|
828
836
|
static readonly runtime: typeof proto3;
|
|
@@ -838,6 +846,116 @@ export declare class AuthConfig extends Message<AuthConfig> {
|
|
|
838
846
|
static equals(a: AuthConfig | PlainMessage<AuthConfig> | undefined, b: AuthConfig | PlainMessage<AuthConfig> | undefined): boolean;
|
|
839
847
|
}
|
|
840
848
|
|
|
849
|
+
/**
|
|
850
|
+
* A UserPermission describes a User and the permissions granted to
|
|
851
|
+
* that user.
|
|
852
|
+
*
|
|
853
|
+
* @generated from message viam.app.v1.UserPermission
|
|
854
|
+
*/
|
|
855
|
+
export declare class UserPermission extends Message<UserPermission> {
|
|
856
|
+
/**
|
|
857
|
+
* user is the User this UserPermission applies to. A User can only be
|
|
858
|
+
* listed in a single UserPermission for a set of UserPermissions.
|
|
859
|
+
*
|
|
860
|
+
* @generated from field: viam.app.v1.User user = 1;
|
|
861
|
+
*/
|
|
862
|
+
user?: User;
|
|
863
|
+
|
|
864
|
+
/**
|
|
865
|
+
* @generated from field: repeated viam.app.v1.Permission permissions = 2;
|
|
866
|
+
*/
|
|
867
|
+
permissions: Permission[];
|
|
868
|
+
|
|
869
|
+
constructor(data?: PartialMessage<UserPermission>);
|
|
870
|
+
|
|
871
|
+
static readonly runtime: typeof proto3;
|
|
872
|
+
static readonly typeName = "viam.app.v1.UserPermission";
|
|
873
|
+
static readonly fields: FieldList;
|
|
874
|
+
|
|
875
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UserPermission;
|
|
876
|
+
|
|
877
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UserPermission;
|
|
878
|
+
|
|
879
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UserPermission;
|
|
880
|
+
|
|
881
|
+
static equals(a: UserPermission | PlainMessage<UserPermission> | undefined, b: UserPermission | PlainMessage<UserPermission> | undefined): boolean;
|
|
882
|
+
}
|
|
883
|
+
|
|
884
|
+
/**
|
|
885
|
+
* A User describes a single user that a set of Permissions applies to.
|
|
886
|
+
*
|
|
887
|
+
* @generated from message viam.app.v1.User
|
|
888
|
+
*/
|
|
889
|
+
export declare class User extends Message<User> {
|
|
890
|
+
/**
|
|
891
|
+
* type is the type of user. Can be "api-key-id", "app-user-id", or "default".
|
|
892
|
+
*
|
|
893
|
+
* @generated from field: string type = 1;
|
|
894
|
+
*/
|
|
895
|
+
type: string;
|
|
896
|
+
|
|
897
|
+
/**
|
|
898
|
+
* id is the API Key ID if type is "api-key-id", the Viam app user ID if
|
|
899
|
+
* type is "app-user-id", and empty if type is "default".
|
|
900
|
+
*
|
|
901
|
+
* @generated from field: string id = 2;
|
|
902
|
+
*/
|
|
903
|
+
id: string;
|
|
904
|
+
|
|
905
|
+
constructor(data?: PartialMessage<User>);
|
|
906
|
+
|
|
907
|
+
static readonly runtime: typeof proto3;
|
|
908
|
+
static readonly typeName = "viam.app.v1.User";
|
|
909
|
+
static readonly fields: FieldList;
|
|
910
|
+
|
|
911
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): User;
|
|
912
|
+
|
|
913
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): User;
|
|
914
|
+
|
|
915
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): User;
|
|
916
|
+
|
|
917
|
+
static equals(a: User | PlainMessage<User> | undefined, b: User | PlainMessage<User> | undefined): boolean;
|
|
918
|
+
}
|
|
919
|
+
|
|
920
|
+
/**
|
|
921
|
+
* A Permission describes a User's ability to invoke methods on resources.
|
|
922
|
+
*
|
|
923
|
+
* @generated from message viam.app.v1.Permission
|
|
924
|
+
*/
|
|
925
|
+
export declare class Permission extends Message<Permission> {
|
|
926
|
+
/**
|
|
927
|
+
* resources are the names of the resources this permission applies to,
|
|
928
|
+
* e.g. ["cam1", "cam2", "cam3"].
|
|
929
|
+
*
|
|
930
|
+
* @generated from field: repeated string resources = 1;
|
|
931
|
+
*/
|
|
932
|
+
resources: string[];
|
|
933
|
+
|
|
934
|
+
/**
|
|
935
|
+
* allowed_methods is a list of fully qualified gRPC methods the user
|
|
936
|
+
* may invoke on the listed resources, e.g.
|
|
937
|
+
* ["/viam.component.camera.v1.CameraService/GetImages",
|
|
938
|
+
* "/viam.component.camera.v1.CameraService/GetProperties"].
|
|
939
|
+
*
|
|
940
|
+
* @generated from field: repeated string allowed_methods = 2;
|
|
941
|
+
*/
|
|
942
|
+
allowedMethods: string[];
|
|
943
|
+
|
|
944
|
+
constructor(data?: PartialMessage<Permission>);
|
|
945
|
+
|
|
946
|
+
static readonly runtime: typeof proto3;
|
|
947
|
+
static readonly typeName = "viam.app.v1.Permission";
|
|
948
|
+
static readonly fields: FieldList;
|
|
949
|
+
|
|
950
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Permission;
|
|
951
|
+
|
|
952
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Permission;
|
|
953
|
+
|
|
954
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Permission;
|
|
955
|
+
|
|
956
|
+
static equals(a: Permission | PlainMessage<Permission> | undefined, b: Permission | PlainMessage<Permission> | undefined): boolean;
|
|
957
|
+
}
|
|
958
|
+
|
|
841
959
|
/**
|
|
842
960
|
* @generated from message viam.app.v1.JWKSFile
|
|
843
961
|
*/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { GetEndPositionRequest, GetEndPositionResponse, GetJointPositionsRequest, GetJointPositionsResponse, IsMovingRequest, IsMovingResponse, MoveThroughJointPositionsRequest, MoveThroughJointPositionsResponse, MoveToJointPositionsRequest, MoveToJointPositionsResponse, MoveToPositionRequest, MoveToPositionResponse, StopRequest, StopResponse } from "./arm_pb.js";
|
|
6
|
+
import { GetEndPositionRequest, GetEndPositionResponse, GetJointPositionsRequest, GetJointPositionsResponse, GetManualModeRequest, GetManualModeResponse, GetPropertiesRequest, GetPropertiesResponse, IsMovingRequest, IsMovingResponse, MoveThroughJointPositionsRequest, MoveThroughJointPositionsResponse, MoveThroughJointPositionsStreamedRequest, MoveThroughJointPositionsStreamedResponse, MoveToJointPositionsRequest, MoveToJointPositionsResponse, MoveToPositionRequest, MoveToPositionResponse, SetManualModeRequest, SetManualModeResponse, StopRequest, StopResponse } from "./arm_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
import { DoCommandRequest, DoCommandResponse, Get3DModelsRequest, Get3DModelsResponse, GetGeometriesRequest, GetGeometriesResponse, GetKinematicsRequest, GetKinematicsResponse, GetStatusRequest, GetStatusResponse } from "../../../common/v1/common_pb.js";
|
|
9
9
|
|
|
@@ -74,6 +74,15 @@ export declare const ArmService: {
|
|
|
74
74
|
readonly O: typeof MoveThroughJointPositionsResponse,
|
|
75
75
|
readonly kind: MethodKind.Unary,
|
|
76
76
|
},
|
|
77
|
+
/**
|
|
78
|
+
* @generated from rpc viam.component.arm.v1.ArmService.MoveThroughJointPositionsStreamed
|
|
79
|
+
*/
|
|
80
|
+
readonly moveThroughJointPositionsStreamed: {
|
|
81
|
+
readonly name: "MoveThroughJointPositionsStreamed",
|
|
82
|
+
readonly I: typeof MoveThroughJointPositionsStreamedRequest,
|
|
83
|
+
readonly O: typeof MoveThroughJointPositionsStreamedResponse,
|
|
84
|
+
readonly kind: MethodKind.BiDiStreaming,
|
|
85
|
+
},
|
|
77
86
|
/**
|
|
78
87
|
* Stop stops a robot's arm
|
|
79
88
|
*
|
|
@@ -151,6 +160,39 @@ export declare const ArmService: {
|
|
|
151
160
|
readonly O: typeof Get3DModelsResponse,
|
|
152
161
|
readonly kind: MethodKind.Unary,
|
|
153
162
|
},
|
|
163
|
+
/**
|
|
164
|
+
* SetManualMode enters or exits manual mode for an arm that supports it
|
|
165
|
+
*
|
|
166
|
+
* @generated from rpc viam.component.arm.v1.ArmService.SetManualMode
|
|
167
|
+
*/
|
|
168
|
+
readonly setManualMode: {
|
|
169
|
+
readonly name: "SetManualMode",
|
|
170
|
+
readonly I: typeof SetManualModeRequest,
|
|
171
|
+
readonly O: typeof SetManualModeResponse,
|
|
172
|
+
readonly kind: MethodKind.Unary,
|
|
173
|
+
},
|
|
174
|
+
/**
|
|
175
|
+
* GetManualMode returns whether the arm is currently in manual mode
|
|
176
|
+
*
|
|
177
|
+
* @generated from rpc viam.component.arm.v1.ArmService.GetManualMode
|
|
178
|
+
*/
|
|
179
|
+
readonly getManualMode: {
|
|
180
|
+
readonly name: "GetManualMode",
|
|
181
|
+
readonly I: typeof GetManualModeRequest,
|
|
182
|
+
readonly O: typeof GetManualModeResponse,
|
|
183
|
+
readonly kind: MethodKind.Unary,
|
|
184
|
+
},
|
|
185
|
+
/**
|
|
186
|
+
* GetProperties returns a message indicating which features the arm supports
|
|
187
|
+
*
|
|
188
|
+
* @generated from rpc viam.component.arm.v1.ArmService.GetProperties
|
|
189
|
+
*/
|
|
190
|
+
readonly getProperties: {
|
|
191
|
+
readonly name: "GetProperties",
|
|
192
|
+
readonly I: typeof GetPropertiesRequest,
|
|
193
|
+
readonly O: typeof GetPropertiesResponse,
|
|
194
|
+
readonly kind: MethodKind.Unary,
|
|
195
|
+
},
|
|
154
196
|
}
|
|
155
197
|
};
|
|
156
198
|
|