@viamrobotics/sdk 0.39.0 → 0.40.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.
- package/dist/api-version.d.ts +1 -1
- package/dist/app/app-client.d.ts +642 -11
- package/dist/app/data-client.d.ts +325 -0
- package/dist/components/arm/arm.d.ts +82 -7
- package/dist/components/base/base.d.ts +106 -4
- package/dist/components/board/board.d.ts +119 -2
- package/dist/components/button/button.d.ts +12 -1
- package/dist/components/encoder/encoder.d.ts +36 -2
- package/dist/components/gantry/gantry.d.ts +88 -6
- package/dist/components/generic/generic.d.ts +16 -1
- package/dist/components/gripper/gripper.d.ts +62 -5
- package/dist/components/input-controller/input-controller.d.ts +36 -2
- package/dist/components/motor/motor.d.ts +108 -4
- package/dist/components/servo/servo.d.ts +54 -4
- package/dist/components/switch/switch.d.ts +49 -3
- package/dist/gen/app/data/v1/data_pb.d.ts +98 -14
- package/dist/gen/app/datapipelines/v1/data_pipelines_connect.d.ts +34 -1
- package/dist/gen/app/datapipelines/v1/data_pipelines_pb.d.ts +259 -7
- package/dist/gen/app/datasync/v1/data_sync_pb.d.ts +4 -2
- package/dist/gen/app/v1/app_connect.d.ts +21 -1
- package/dist/gen/app/v1/app_pb.d.ts +156 -0
- package/dist/gen/app/v1/billing_connect.d.ts +23 -1
- package/dist/gen/app/v1/billing_pb.d.ts +91 -0
- package/dist/gen/google/rpc/error_details_pb.d.ts +89 -0
- package/dist/main.d.ts +1 -0
- package/dist/main.es.js +6174 -4823
- package/dist/main.umd.js +7 -7
- package/dist/robot/client.d.ts +28 -2
- package/dist/robot/robot.d.ts +80 -8
- package/dist/services/ml-model/client.d.ts +13 -0
- package/dist/services/ml-model/index.d.ts +2 -0
- package/dist/services/ml-model/ml-model.d.ts +7 -0
- package/dist/services/motion/motion.d.ts +161 -2
- package/dist/services/slam/slam.d.ts +47 -2
- package/dist/services/vision/vision.d.ts +77 -0
- package/package.json +1 -1
|
@@ -9,6 +9,15 @@ export interface Motor extends Resource {
|
|
|
9
9
|
/**
|
|
10
10
|
* Set the percentage of the motor's total power that should be employed.
|
|
11
11
|
*
|
|
12
|
+
* @example
|
|
13
|
+
*
|
|
14
|
+
* ```ts
|
|
15
|
+
* const motor = new VIAM.MotorClient(machine, 'my_motor');
|
|
16
|
+
*
|
|
17
|
+
* // Set the power to 40% forwards
|
|
18
|
+
* await motor.setPower(0.4);
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
12
21
|
* @param power - A value between -1 and 1 where negative values indicate a
|
|
13
22
|
* backwards direction and positive values a forward direction.
|
|
14
23
|
*/
|
|
@@ -18,6 +27,15 @@ export interface Motor extends Resource {
|
|
|
18
27
|
* revolutions or indefinitely. Raise an error if position reporting is not
|
|
19
28
|
* supported.
|
|
20
29
|
*
|
|
30
|
+
* @example
|
|
31
|
+
*
|
|
32
|
+
* ```ts
|
|
33
|
+
* const motor = new VIAM.MotorClient(machine, 'my_motor');
|
|
34
|
+
*
|
|
35
|
+
* // Turn the motor 7.2 revolutions at 60 RPM
|
|
36
|
+
* await motor.goFor(60, 7.2);
|
|
37
|
+
* ```
|
|
38
|
+
*
|
|
21
39
|
* @param rpm - Speed in revolutions per minute.
|
|
22
40
|
* @param revolutions - Number of revolutions relative to the motor's starting
|
|
23
41
|
* position. If this value is 0, this will run the motor at the given rpm
|
|
@@ -29,6 +47,15 @@ export interface Motor extends Resource {
|
|
|
29
47
|
* Move the motor to a specific position relative to its home position at a
|
|
30
48
|
* specified speed. Raise an error if position reporting is not supported.
|
|
31
49
|
*
|
|
50
|
+
* @example
|
|
51
|
+
*
|
|
52
|
+
* ```ts
|
|
53
|
+
* const motor = new VIAM.MotorClient(machine, 'my_motor');
|
|
54
|
+
*
|
|
55
|
+
* // Turn the motor to 8.3 revolutions from home at 75 RPM
|
|
56
|
+
* await motor.goTo(75, 8.3);
|
|
57
|
+
* ```
|
|
58
|
+
*
|
|
32
59
|
* @param rpm - Speed in revolutions per minute.
|
|
33
60
|
* @param positionRevolutions - Number of revolutions relative to the motor's
|
|
34
61
|
* home position.
|
|
@@ -38,6 +65,15 @@ export interface Motor extends Resource {
|
|
|
38
65
|
* Move the motor indefinitely at a specified speed. Raise an error if
|
|
39
66
|
* position reporting is not supported.
|
|
40
67
|
*
|
|
68
|
+
* @example
|
|
69
|
+
*
|
|
70
|
+
* ```ts
|
|
71
|
+
* const motor = new VIAM.MotorClient(machine, 'my_motor');
|
|
72
|
+
*
|
|
73
|
+
* // Spin the motor at 75 RPM
|
|
74
|
+
* await motor.setRPM(75);
|
|
75
|
+
* ```
|
|
76
|
+
*
|
|
41
77
|
* @param rpm - Speed in revolutions per minute.
|
|
42
78
|
*/
|
|
43
79
|
setRPM(rpm: number, extra?: Struct): Promise<void>;
|
|
@@ -45,20 +81,88 @@ export interface Motor extends Resource {
|
|
|
45
81
|
* Set the current position of the motor as the new zero position, offset by a
|
|
46
82
|
* given position. Raise an error if position reporting is not supported.
|
|
47
83
|
*
|
|
84
|
+
* @example
|
|
85
|
+
*
|
|
86
|
+
* ```ts
|
|
87
|
+
* const motor = new VIAM.MotorClient(machine, 'my_motor');
|
|
88
|
+
*
|
|
89
|
+
* // Set the current position as the new home position with no offset
|
|
90
|
+
* await motor.resetZeroPosition(0.0);
|
|
91
|
+
* ```
|
|
92
|
+
*
|
|
48
93
|
* @param offset - Position from which to offset the current position.
|
|
49
94
|
*/
|
|
50
95
|
resetZeroPosition(offset: number, extra?: Struct): Promise<void>;
|
|
51
|
-
/**
|
|
96
|
+
/**
|
|
97
|
+
* Turn the motor off.
|
|
98
|
+
*
|
|
99
|
+
* @example
|
|
100
|
+
*
|
|
101
|
+
* ```ts
|
|
102
|
+
* const motor = new VIAM.MotorClient(machine, 'my_motor');
|
|
103
|
+
*
|
|
104
|
+
* // Stop the motor
|
|
105
|
+
* await motor.stop();
|
|
106
|
+
* ```
|
|
107
|
+
*/
|
|
52
108
|
stop(extra?: Struct): Promise<void>;
|
|
53
|
-
/**
|
|
109
|
+
/**
|
|
110
|
+
* Return the motor's properties.
|
|
111
|
+
*
|
|
112
|
+
* @example
|
|
113
|
+
*
|
|
114
|
+
* ```ts
|
|
115
|
+
* const motor = new VIAM.MotorClient(machine, 'my_motor');
|
|
116
|
+
*
|
|
117
|
+
* // Report a dictionary mapping optional properties to whether it is supported by
|
|
118
|
+
* // this motor
|
|
119
|
+
* const properties = await motor.getProperties();
|
|
120
|
+
* console.log('Properties:', properties);
|
|
121
|
+
* ```
|
|
122
|
+
*/
|
|
54
123
|
getProperties(extra?: Struct): Promise<Properties>;
|
|
55
124
|
/**
|
|
56
125
|
* Return the position of the motor relative to its zero position. Raise an
|
|
57
126
|
* error if position reporting is not supported.
|
|
127
|
+
*
|
|
128
|
+
* @example
|
|
129
|
+
*
|
|
130
|
+
* ```ts
|
|
131
|
+
* const motor = new VIAM.MotorClient(machine, 'my_motor');
|
|
132
|
+
*
|
|
133
|
+
* // Get the current position of the motor
|
|
134
|
+
* const position = await motor.getPosition();
|
|
135
|
+
* console.log('Position:', position);
|
|
136
|
+
* ```
|
|
58
137
|
*/
|
|
59
138
|
getPosition(extra?: Struct): Promise<number>;
|
|
60
|
-
/**
|
|
139
|
+
/**
|
|
140
|
+
* Return true if the motor is on.
|
|
141
|
+
*
|
|
142
|
+
* @example
|
|
143
|
+
*
|
|
144
|
+
* ```ts
|
|
145
|
+
* const motor = new VIAM.MotorClient(machine, 'my_motor');
|
|
146
|
+
*
|
|
147
|
+
* // Check whether the motor is currently running
|
|
148
|
+
* const [isPowered, powerPct] = await motor.isPowered();
|
|
149
|
+
* console.log('Powered:', isPowered);
|
|
150
|
+
* console.log('Power percentage:', powerPct);
|
|
151
|
+
* ```
|
|
152
|
+
*/
|
|
61
153
|
isPowered(extra?: Struct): Promise<readonly [boolean, number]>;
|
|
62
|
-
/**
|
|
154
|
+
/**
|
|
155
|
+
* Return true if the motor is in motion.
|
|
156
|
+
*
|
|
157
|
+
* @example
|
|
158
|
+
*
|
|
159
|
+
* ```ts
|
|
160
|
+
* const motor = new VIAM.MotorClient(machine, 'my_motor');
|
|
161
|
+
*
|
|
162
|
+
* // Check whether the motor is currently moving
|
|
163
|
+
* const moving = await motor.isMoving();
|
|
164
|
+
* console.log('Moving:', moving);
|
|
165
|
+
* ```
|
|
166
|
+
*/
|
|
63
167
|
isMoving(): Promise<boolean>;
|
|
64
168
|
}
|
|
@@ -2,12 +2,62 @@ import type { Struct } from '@bufbuild/protobuf';
|
|
|
2
2
|
import type { Resource } from '../../types';
|
|
3
3
|
/** Represents a physical servo. */
|
|
4
4
|
export interface Servo extends Resource {
|
|
5
|
-
/**
|
|
5
|
+
/**
|
|
6
|
+
* Move the servo by a given angle in degrees.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
*
|
|
10
|
+
* ```ts
|
|
11
|
+
* const servo = new VIAM.ServoClient(machine, 'my_servo');
|
|
12
|
+
*
|
|
13
|
+
* // Move the servo from its origin to the desired angle of 10 degrees
|
|
14
|
+
* await servo.move(10);
|
|
15
|
+
*
|
|
16
|
+
* // Move the servo from its origin to the desired angle of 90 degrees
|
|
17
|
+
* await servo.move(90);
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
6
20
|
move(angleDeg: number, extra?: Struct): Promise<void>;
|
|
7
|
-
/**
|
|
21
|
+
/**
|
|
22
|
+
* Return the current set angle of the servo in degrees.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
*
|
|
26
|
+
* ```ts
|
|
27
|
+
* const servo = new VIAM.ServoClient(machine, 'my_servo');
|
|
28
|
+
*
|
|
29
|
+
* // Get the current set angle of the servo
|
|
30
|
+
* const pos = await servo.getPosition();
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
8
33
|
getPosition(extra?: Struct): Promise<number>;
|
|
9
|
-
/**
|
|
34
|
+
/**
|
|
35
|
+
* Stop the servo.
|
|
36
|
+
*
|
|
37
|
+
* @example
|
|
38
|
+
*
|
|
39
|
+
* ```ts
|
|
40
|
+
* const servo = new VIAM.ServoClient(machine, 'my_servo');
|
|
41
|
+
*
|
|
42
|
+
* // Move the servo from its origin to the desired angle of 10 degrees
|
|
43
|
+
* await servo.move(10);
|
|
44
|
+
*
|
|
45
|
+
* // Stop the servo. It is assumed that the servo stops moving immediately
|
|
46
|
+
* await servo.stop();
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
10
49
|
stop(extra?: Struct): Promise<void>;
|
|
11
|
-
/**
|
|
50
|
+
/**
|
|
51
|
+
* Return true if the servo is in motion.
|
|
52
|
+
*
|
|
53
|
+
* @example
|
|
54
|
+
*
|
|
55
|
+
* ```ts
|
|
56
|
+
* const servo = new VIAM.ServoClient(machine, 'my_servo');
|
|
57
|
+
*
|
|
58
|
+
* const moving = await servo.isMoving();
|
|
59
|
+
* console.log('Moving:', moving);
|
|
60
|
+
* ```
|
|
61
|
+
*/
|
|
12
62
|
isMoving(): Promise<boolean>;
|
|
13
63
|
}
|
|
@@ -2,10 +2,56 @@ import type { Struct } from '@bufbuild/protobuf';
|
|
|
2
2
|
import type { Resource } from '../../types';
|
|
3
3
|
/** Represents a physical switch with multiple positions. */
|
|
4
4
|
export interface Switch extends Resource {
|
|
5
|
-
/**
|
|
5
|
+
/**
|
|
6
|
+
* Set the switch to a specific position.
|
|
7
|
+
*
|
|
8
|
+
* @example
|
|
9
|
+
*
|
|
10
|
+
* ```ts
|
|
11
|
+
* const mySwitch = new VIAM.SwitchClient(machine, 'my_switch');
|
|
12
|
+
*
|
|
13
|
+
* // Update the switch from its current position to position 1
|
|
14
|
+
* await mySwitch.setPosition(1);
|
|
15
|
+
*
|
|
16
|
+
* // Update the switch from its current position to position 0
|
|
17
|
+
* await mySwitch.setPosition(0);
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
6
20
|
setPosition: (position: number, extra?: Struct) => Promise<void>;
|
|
7
|
-
/**
|
|
21
|
+
/**
|
|
22
|
+
* Get the current position of the switch.
|
|
23
|
+
*
|
|
24
|
+
* @example
|
|
25
|
+
*
|
|
26
|
+
* ```ts
|
|
27
|
+
* const mySwitch = new VIAM.SwitchClient(machine, 'my_switch');
|
|
28
|
+
*
|
|
29
|
+
* // Update the switch to position 1
|
|
30
|
+
* await mySwitch.setPosition(1);
|
|
31
|
+
*
|
|
32
|
+
* // Get the current set position
|
|
33
|
+
* const pos1 = await mySwitch.getPosition();
|
|
34
|
+
*
|
|
35
|
+
* // Update the switch to position 0
|
|
36
|
+
* await mySwitch.setPosition(0);
|
|
37
|
+
*
|
|
38
|
+
* // Get the current set position
|
|
39
|
+
* const pos2 = await mySwitch.getPosition();
|
|
40
|
+
* ```
|
|
41
|
+
*/
|
|
8
42
|
getPosition: (extra?: Struct) => Promise<number>;
|
|
9
|
-
/**
|
|
43
|
+
/**
|
|
44
|
+
* Get the total number of positions available on the switch.
|
|
45
|
+
*
|
|
46
|
+
* @example
|
|
47
|
+
*
|
|
48
|
+
* ```ts
|
|
49
|
+
* const mySwitch = new VIAM.SwitchClient(machine, 'my_switch');
|
|
50
|
+
*
|
|
51
|
+
* // Get the number of available positions
|
|
52
|
+
* const numPositions = await mySwitch.getNumberOfPositions();
|
|
53
|
+
* console.log('Number of positions:', numPositions);
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
10
56
|
getNumberOfPositions: (extra?: Struct) => Promise<number>;
|
|
11
57
|
}
|
|
@@ -61,6 +61,43 @@ export declare enum TagsFilterType {
|
|
|
61
61
|
UNTAGGED = 3,
|
|
62
62
|
}
|
|
63
63
|
|
|
64
|
+
/**
|
|
65
|
+
* TabularDataSourceType specifies the data source type for TabularDataByMQL queries.
|
|
66
|
+
*
|
|
67
|
+
* @generated from enum viam.app.data.v1.TabularDataSourceType
|
|
68
|
+
*/
|
|
69
|
+
export declare enum TabularDataSourceType {
|
|
70
|
+
/**
|
|
71
|
+
* @generated from enum value: TABULAR_DATA_SOURCE_TYPE_UNSPECIFIED = 0;
|
|
72
|
+
*/
|
|
73
|
+
UNSPECIFIED = 0,
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* TABULAR_DATA_SOURCE_TYPE_STANDARD indicates reading from standard storage. This is
|
|
77
|
+
* the default option and available for all data synced to Viam.
|
|
78
|
+
*
|
|
79
|
+
* @generated from enum value: TABULAR_DATA_SOURCE_TYPE_STANDARD = 1;
|
|
80
|
+
*/
|
|
81
|
+
STANDARD = 1,
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* TABULAR_DATA_SOURCE_TYPE_HOT_STORAGE indicates reading from hot storage. This is a
|
|
85
|
+
* premium feature requiring opting in specific data sources.
|
|
86
|
+
* See docs at https://docs.viam.com/data-ai/capture-data/advanced/advanced-data-capture-sync/#capture-to-the-hot-data-store
|
|
87
|
+
*
|
|
88
|
+
* @generated from enum value: TABULAR_DATA_SOURCE_TYPE_HOT_STORAGE = 2;
|
|
89
|
+
*/
|
|
90
|
+
HOT_STORAGE = 2,
|
|
91
|
+
|
|
92
|
+
/**
|
|
93
|
+
* TABULAR_DATA_SOURCE_TYPE_PIPELINE_SINK indicates reading the output data of
|
|
94
|
+
* a data pipeline. When using this, a pipeline ID needs to be specified.
|
|
95
|
+
*
|
|
96
|
+
* @generated from enum value: TABULAR_DATA_SOURCE_TYPE_PIPELINE_SINK = 3;
|
|
97
|
+
*/
|
|
98
|
+
PIPELINE_SINK = 3,
|
|
99
|
+
}
|
|
100
|
+
|
|
64
101
|
/**
|
|
65
102
|
* DataRequest encapsulates the filter for the data, a limit on the maximum results returned,
|
|
66
103
|
* a last string associated with the last returned document, and the sorting order by time.
|
|
@@ -536,6 +573,40 @@ export declare class TabularDataBySQLResponse extends Message<TabularDataBySQLRe
|
|
|
536
573
|
static equals(a: TabularDataBySQLResponse | PlainMessage<TabularDataBySQLResponse> | undefined, b: TabularDataBySQLResponse | PlainMessage<TabularDataBySQLResponse> | undefined): boolean;
|
|
537
574
|
}
|
|
538
575
|
|
|
576
|
+
/**
|
|
577
|
+
* TabularDataSource specifies the data source for user queries to execute on.
|
|
578
|
+
*
|
|
579
|
+
* @generated from message viam.app.data.v1.TabularDataSource
|
|
580
|
+
*/
|
|
581
|
+
export declare class TabularDataSource extends Message<TabularDataSource> {
|
|
582
|
+
/**
|
|
583
|
+
* @generated from field: viam.app.data.v1.TabularDataSourceType type = 1;
|
|
584
|
+
*/
|
|
585
|
+
type: TabularDataSourceType;
|
|
586
|
+
|
|
587
|
+
/**
|
|
588
|
+
* pipeline_id is the ID of the pipeline to query. Required when using
|
|
589
|
+
* TABULAR_DATA_SOURCE_TYPE_PIPELINE_SINK.
|
|
590
|
+
*
|
|
591
|
+
* @generated from field: optional string pipeline_id = 2;
|
|
592
|
+
*/
|
|
593
|
+
pipelineId?: string;
|
|
594
|
+
|
|
595
|
+
constructor(data?: PartialMessage<TabularDataSource>);
|
|
596
|
+
|
|
597
|
+
static readonly runtime: typeof proto3;
|
|
598
|
+
static readonly typeName = "viam.app.data.v1.TabularDataSource";
|
|
599
|
+
static readonly fields: FieldList;
|
|
600
|
+
|
|
601
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TabularDataSource;
|
|
602
|
+
|
|
603
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TabularDataSource;
|
|
604
|
+
|
|
605
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TabularDataSource;
|
|
606
|
+
|
|
607
|
+
static equals(a: TabularDataSource | PlainMessage<TabularDataSource> | undefined, b: TabularDataSource | PlainMessage<TabularDataSource> | undefined): boolean;
|
|
608
|
+
}
|
|
609
|
+
|
|
539
610
|
/**
|
|
540
611
|
* TabularDataByMQLRequest requests tabular data using an MQL query.
|
|
541
612
|
*
|
|
@@ -557,17 +628,19 @@ export declare class TabularDataByMQLRequest extends Message<TabularDataByMQLReq
|
|
|
557
628
|
mqlBinary: Uint8Array[];
|
|
558
629
|
|
|
559
630
|
/**
|
|
631
|
+
* Deprecated, please use TABULAR_DATA_SOURCE_TYPE_HOT_STORAGE instead.
|
|
632
|
+
*
|
|
560
633
|
* @generated from field: optional bool use_recent_data = 4;
|
|
561
634
|
*/
|
|
562
635
|
useRecentData?: boolean;
|
|
563
636
|
|
|
564
637
|
/**
|
|
565
|
-
*
|
|
566
|
-
*
|
|
638
|
+
* data_source is an optional field that can be used to specify the data source for the query.
|
|
639
|
+
* If not specified, the query will run on "standard" storage.
|
|
567
640
|
*
|
|
568
|
-
* @generated from field: optional
|
|
641
|
+
* @generated from field: optional viam.app.data.v1.TabularDataSource data_source = 6;
|
|
569
642
|
*/
|
|
570
|
-
|
|
643
|
+
dataSource?: TabularDataSource;
|
|
571
644
|
|
|
572
645
|
constructor(data?: PartialMessage<TabularDataByMQLRequest>);
|
|
573
646
|
|
|
@@ -937,6 +1010,7 @@ export declare class BinaryDataByFilterResponse extends Message<BinaryDataByFilt
|
|
|
937
1010
|
* BinaryID is the unique identifier for a file that one can request to be retrieved or modified.
|
|
938
1011
|
*
|
|
939
1012
|
* @generated from message viam.app.data.v1.BinaryID
|
|
1013
|
+
* @deprecated
|
|
940
1014
|
*/
|
|
941
1015
|
export declare class BinaryID extends Message<BinaryID> {
|
|
942
1016
|
/**
|
|
@@ -981,7 +1055,8 @@ export declare class BinaryDataByIDsRequest extends Message<BinaryDataByIDsReque
|
|
|
981
1055
|
includeBinary: boolean;
|
|
982
1056
|
|
|
983
1057
|
/**
|
|
984
|
-
* @generated from field: repeated viam.app.data.v1.BinaryID binary_ids = 3;
|
|
1058
|
+
* @generated from field: repeated viam.app.data.v1.BinaryID binary_ids = 3 [deprecated = true];
|
|
1059
|
+
* @deprecated
|
|
985
1060
|
*/
|
|
986
1061
|
binaryIds: BinaryID[];
|
|
987
1062
|
|
|
@@ -1166,7 +1241,8 @@ export declare class Annotations extends Message<Annotations> {
|
|
|
1166
1241
|
*/
|
|
1167
1242
|
export declare class BinaryMetadata extends Message<BinaryMetadata> {
|
|
1168
1243
|
/**
|
|
1169
|
-
* @generated from field: string id = 1;
|
|
1244
|
+
* @generated from field: string id = 1 [deprecated = true];
|
|
1245
|
+
* @deprecated
|
|
1170
1246
|
*/
|
|
1171
1247
|
id: string;
|
|
1172
1248
|
|
|
@@ -1356,7 +1432,8 @@ export declare class DeleteBinaryDataByFilterResponse extends Message<DeleteBina
|
|
|
1356
1432
|
*/
|
|
1357
1433
|
export declare class DeleteBinaryDataByIDsRequest extends Message<DeleteBinaryDataByIDsRequest> {
|
|
1358
1434
|
/**
|
|
1359
|
-
* @generated from field: repeated viam.app.data.v1.BinaryID binary_ids = 2;
|
|
1435
|
+
* @generated from field: repeated viam.app.data.v1.BinaryID binary_ids = 2 [deprecated = true];
|
|
1436
|
+
* @deprecated
|
|
1360
1437
|
*/
|
|
1361
1438
|
binaryIds: BinaryID[];
|
|
1362
1439
|
|
|
@@ -1413,7 +1490,8 @@ export declare class DeleteBinaryDataByIDsResponse extends Message<DeleteBinaryD
|
|
|
1413
1490
|
*/
|
|
1414
1491
|
export declare class AddTagsToBinaryDataByIDsRequest extends Message<AddTagsToBinaryDataByIDsRequest> {
|
|
1415
1492
|
/**
|
|
1416
|
-
* @generated from field: repeated viam.app.data.v1.BinaryID binary_ids = 3;
|
|
1493
|
+
* @generated from field: repeated viam.app.data.v1.BinaryID binary_ids = 3 [deprecated = true];
|
|
1494
|
+
* @deprecated
|
|
1417
1495
|
*/
|
|
1418
1496
|
binaryIds: BinaryID[];
|
|
1419
1497
|
|
|
@@ -1518,7 +1596,8 @@ export declare class AddTagsToBinaryDataByFilterResponse extends Message<AddTags
|
|
|
1518
1596
|
*/
|
|
1519
1597
|
export declare class RemoveTagsFromBinaryDataByIDsRequest extends Message<RemoveTagsFromBinaryDataByIDsRequest> {
|
|
1520
1598
|
/**
|
|
1521
|
-
* @generated from field: repeated viam.app.data.v1.BinaryID binary_ids = 3;
|
|
1599
|
+
* @generated from field: repeated viam.app.data.v1.BinaryID binary_ids = 3 [deprecated = true];
|
|
1600
|
+
* @deprecated
|
|
1522
1601
|
*/
|
|
1523
1602
|
binaryIds: BinaryID[];
|
|
1524
1603
|
|
|
@@ -1690,7 +1769,8 @@ export declare class TagsByFilterResponse extends Message<TagsByFilterResponse>
|
|
|
1690
1769
|
*/
|
|
1691
1770
|
export declare class AddBoundingBoxToImageByIDRequest extends Message<AddBoundingBoxToImageByIDRequest> {
|
|
1692
1771
|
/**
|
|
1693
|
-
* @generated from field: viam.app.data.v1.BinaryID binary_id = 7;
|
|
1772
|
+
* @generated from field: viam.app.data.v1.BinaryID binary_id = 7 [deprecated = true];
|
|
1773
|
+
* @deprecated
|
|
1694
1774
|
*/
|
|
1695
1775
|
binaryId?: BinaryID;
|
|
1696
1776
|
|
|
@@ -1772,7 +1852,8 @@ export declare class AddBoundingBoxToImageByIDResponse extends Message<AddBoundi
|
|
|
1772
1852
|
*/
|
|
1773
1853
|
export declare class RemoveBoundingBoxFromImageByIDRequest extends Message<RemoveBoundingBoxFromImageByIDRequest> {
|
|
1774
1854
|
/**
|
|
1775
|
-
* @generated from field: viam.app.data.v1.BinaryID binary_id = 3;
|
|
1855
|
+
* @generated from field: viam.app.data.v1.BinaryID binary_id = 3 [deprecated = true];
|
|
1856
|
+
* @deprecated
|
|
1776
1857
|
*/
|
|
1777
1858
|
binaryId?: BinaryID;
|
|
1778
1859
|
|
|
@@ -1827,7 +1908,8 @@ export declare class RemoveBoundingBoxFromImageByIDResponse extends Message<Remo
|
|
|
1827
1908
|
*/
|
|
1828
1909
|
export declare class UpdateBoundingBoxRequest extends Message<UpdateBoundingBoxRequest> {
|
|
1829
1910
|
/**
|
|
1830
|
-
* @generated from field: viam.app.data.v1.BinaryID binary_id = 1;
|
|
1911
|
+
* @generated from field: viam.app.data.v1.BinaryID binary_id = 1 [deprecated = true];
|
|
1912
|
+
* @deprecated
|
|
1831
1913
|
*/
|
|
1832
1914
|
binaryId?: BinaryID;
|
|
1833
1915
|
|
|
@@ -2075,7 +2157,8 @@ export declare class GetDatabaseConnectionResponse extends Message<GetDatabaseCo
|
|
|
2075
2157
|
*/
|
|
2076
2158
|
export declare class AddBinaryDataToDatasetByIDsRequest extends Message<AddBinaryDataToDatasetByIDsRequest> {
|
|
2077
2159
|
/**
|
|
2078
|
-
* @generated from field: repeated viam.app.data.v1.BinaryID binary_ids = 1;
|
|
2160
|
+
* @generated from field: repeated viam.app.data.v1.BinaryID binary_ids = 1 [deprecated = true];
|
|
2161
|
+
* @deprecated
|
|
2079
2162
|
*/
|
|
2080
2163
|
binaryIds: BinaryID[];
|
|
2081
2164
|
|
|
@@ -2130,7 +2213,8 @@ export declare class AddBinaryDataToDatasetByIDsResponse extends Message<AddBina
|
|
|
2130
2213
|
*/
|
|
2131
2214
|
export declare class RemoveBinaryDataFromDatasetByIDsRequest extends Message<RemoveBinaryDataFromDatasetByIDsRequest> {
|
|
2132
2215
|
/**
|
|
2133
|
-
* @generated from field: repeated viam.app.data.v1.BinaryID binary_ids = 1;
|
|
2216
|
+
* @generated from field: repeated viam.app.data.v1.BinaryID binary_ids = 1 [deprecated = true];
|
|
2217
|
+
* @deprecated
|
|
2134
2218
|
*/
|
|
2135
2219
|
binaryIds: BinaryID[];
|
|
2136
2220
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { CreateDataPipelineRequest, CreateDataPipelineResponse, DeleteDataPipelineRequest, DeleteDataPipelineResponse, GetDataPipelineRequest, GetDataPipelineResponse, ListDataPipelinesRequest, ListDataPipelinesResponse, UpdateDataPipelineRequest, UpdateDataPipelineResponse } from "./data_pipelines_pb.js";
|
|
6
|
+
import { CreateDataPipelineRequest, CreateDataPipelineResponse, DeleteDataPipelineRequest, DeleteDataPipelineResponse, DisableDataPipelineRequest, DisableDataPipelineResponse, EnableDataPipelineRequest, EnableDataPipelineResponse, GetDataPipelineRequest, GetDataPipelineResponse, ListDataPipelinesRequest, ListDataPipelinesResponse, ListPipelineRunsRequest, ListPipelineRunsResponse, UpdateDataPipelineRequest, UpdateDataPipelineResponse } from "./data_pipelines_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -69,6 +69,39 @@ export declare const DataPipelinesService: {
|
|
|
69
69
|
readonly O: typeof DeleteDataPipelineResponse,
|
|
70
70
|
readonly kind: MethodKind.Unary,
|
|
71
71
|
},
|
|
72
|
+
/**
|
|
73
|
+
* EnableDataPipeline enables a data pipeline.
|
|
74
|
+
*
|
|
75
|
+
* @generated from rpc viam.app.datapipelines.v1.DataPipelinesService.EnableDataPipeline
|
|
76
|
+
*/
|
|
77
|
+
readonly enableDataPipeline: {
|
|
78
|
+
readonly name: "EnableDataPipeline",
|
|
79
|
+
readonly I: typeof EnableDataPipelineRequest,
|
|
80
|
+
readonly O: typeof EnableDataPipelineResponse,
|
|
81
|
+
readonly kind: MethodKind.Unary,
|
|
82
|
+
},
|
|
83
|
+
/**
|
|
84
|
+
* DisableDataPipeline disables a data pipeline.
|
|
85
|
+
*
|
|
86
|
+
* @generated from rpc viam.app.datapipelines.v1.DataPipelinesService.DisableDataPipeline
|
|
87
|
+
*/
|
|
88
|
+
readonly disableDataPipeline: {
|
|
89
|
+
readonly name: "DisableDataPipeline",
|
|
90
|
+
readonly I: typeof DisableDataPipelineRequest,
|
|
91
|
+
readonly O: typeof DisableDataPipelineResponse,
|
|
92
|
+
readonly kind: MethodKind.Unary,
|
|
93
|
+
},
|
|
94
|
+
/**
|
|
95
|
+
* ListPipelineRuns lists the runs of a data pipeline.
|
|
96
|
+
*
|
|
97
|
+
* @generated from rpc viam.app.datapipelines.v1.DataPipelinesService.ListPipelineRuns
|
|
98
|
+
*/
|
|
99
|
+
readonly listPipelineRuns: {
|
|
100
|
+
readonly name: "ListPipelineRuns",
|
|
101
|
+
readonly I: typeof ListPipelineRunsRequest,
|
|
102
|
+
readonly O: typeof ListPipelineRunsResponse,
|
|
103
|
+
readonly kind: MethodKind.Unary,
|
|
104
|
+
},
|
|
72
105
|
}
|
|
73
106
|
};
|
|
74
107
|
|