@viamrobotics/sdk 0.37.0 → 0.38.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/README.md CHANGED
@@ -29,11 +29,11 @@ npm install @viamrobotics/sdk
29
29
 
30
30
  ## Node
31
31
 
32
- To use this SDK with node, read the [documentation](/Node.md) or view the [example](/examples/node/)
32
+ To use this SDK with node, read the [documentation](https://github.com/viamrobotics/viam-typescript-sdk/blob/main/Node.md) or view the [example](https://github.com/viamrobotics/viam-typescript-sdk/tree/main/examples/node)
33
33
 
34
34
  ## React Native
35
35
 
36
- To use this SDK with React Native, read the [documentation](/ReactNative.md) or view the [example](/examples/react-native/)
36
+ To use this SDK with React Native, read the [documentation](https://github.com/viamrobotics/viam-typescript-sdk/blob/main/ReactNative.md) or view the [example](https://github.com/viamrobotics/viam-typescript-sdk/tree/main/examples/react-native/)
37
37
 
38
38
  ## License
39
39
 
@@ -1 +1 @@
1
- export declare const apiVersion = "v0.1.396";
1
+ export declare const apiVersion = "v0.1.413";
@@ -1,4 +1,5 @@
1
- import type { Struct } from '@bufbuild/protobuf';
1
+ import type { JsonValue } from '@bufbuild/protobuf';
2
+ import { Struct } from '@bufbuild/protobuf';
2
3
  import { type Transport } from '@connectrpc/connect';
3
4
  import { PackageType } from '../gen/app/packages/v1/packages_pb';
4
5
  import { APIKeyWithAuthorizations, Authorization, AuthorizedPermissions, CreateKeyFromExistingKeyAuthorizationsResponse, CreateKeyResponse, CreateModuleResponse, Fragment, FragmentVisibility, GetRobotPartLogsResponse, GetRobotPartResponse, ListOrganizationMembersResponse, Location, LocationAuth, Model, Module, Organization, OrganizationIdentity, OrganizationInvite, OrgDetails, RegistryItem, RegistryItemStatus, Robot, RobotPart, RobotPartHistoryEntry, RotateKeyResponse, RoverRentalRobot, Visibility } from '../gen/app/v1/app_pb';
@@ -607,4 +608,60 @@ export declare class AppClient {
607
608
  * @returns The new key and ID
608
609
  */
609
610
  createKeyFromExistingKeyAuthorizations(id: string): Promise<CreateKeyFromExistingKeyAuthorizationsResponse>;
611
+ /**
612
+ * Retrieves user-defined metadata for an organization.
613
+ *
614
+ * @param id The ID of the organization
615
+ * @returns The metadata associated with the organization
616
+ */
617
+ getOrganizationMetadata(id: string): Promise<Record<string, JsonValue>>;
618
+ /**
619
+ * Updates user-defined metadata for an organization.
620
+ *
621
+ * @param id The ID of the organization
622
+ * @param data The metadata to update
623
+ */
624
+ updateOrganizationMetadata(id: string, data: Record<string, JsonValue>): Promise<void>;
625
+ /**
626
+ * Retrieves user-defined metadata for a location.
627
+ *
628
+ * @param id The ID of the location
629
+ * @returns The metadata associated with the location
630
+ */
631
+ getLocationMetadata(id: string): Promise<Record<string, JsonValue>>;
632
+ /**
633
+ * Updates user-defined metadata for a location.
634
+ *
635
+ * @param id The ID of the location
636
+ * @param data The metadata to update
637
+ */
638
+ updateLocationMetadata(id: string, data: Record<string, JsonValue>): Promise<void>;
639
+ /**
640
+ * Retrieves user-defined metadata for a robot.
641
+ *
642
+ * @param id The ID of the robot
643
+ * @returns The metadata associated with the robot
644
+ */
645
+ getRobotMetadata(id: string): Promise<Record<string, JsonValue>>;
646
+ /**
647
+ * Updates user-defined metadata for a robot.
648
+ *
649
+ * @param id The ID of the robot
650
+ * @param data The metadata to update
651
+ */
652
+ updateRobotMetadata(id: string, data: Record<string, JsonValue>): Promise<void>;
653
+ /**
654
+ * Retrieves user-defined metadata for a robot part.
655
+ *
656
+ * @param id The ID of the robot part
657
+ * @returns The metadata associated with the robot part
658
+ */
659
+ getRobotPartMetadata(id: string): Promise<Record<string, JsonValue>>;
660
+ /**
661
+ * Updates user-defined metadata for a robot part.
662
+ *
663
+ * @param id The ID of the robot part
664
+ * @param data The metadata to update
665
+ */
666
+ updateRobotPartMetadata(id: string, data: Record<string, JsonValue>): Promise<void>;
610
667
  }
@@ -977,6 +977,11 @@ export declare class BinaryDataByIDsRequest extends Message<BinaryDataByIDsReque
977
977
  */
978
978
  binaryIds: BinaryID[];
979
979
 
980
+ /**
981
+ * @generated from field: repeated string binary_data_ids = 4;
982
+ */
983
+ binaryDataIds: string[];
984
+
980
985
  constructor(data?: PartialMessage<BinaryDataByIDsRequest>);
981
986
 
982
987
  static readonly runtime: typeof proto3;
@@ -1197,6 +1202,11 @@ export declare class BinaryMetadata extends Message<BinaryMetadata> {
1197
1202
  */
1198
1203
  datasetIds: string[];
1199
1204
 
1205
+ /**
1206
+ * @generated from field: string binary_data_id = 10;
1207
+ */
1208
+ binaryDataId: string;
1209
+
1200
1210
  constructor(data?: PartialMessage<BinaryMetadata>);
1201
1211
 
1202
1212
  static readonly runtime: typeof proto3;
@@ -1342,6 +1352,11 @@ export declare class DeleteBinaryDataByIDsRequest extends Message<DeleteBinaryDa
1342
1352
  */
1343
1353
  binaryIds: BinaryID[];
1344
1354
 
1355
+ /**
1356
+ * @generated from field: repeated string binary_data_ids = 3;
1357
+ */
1358
+ binaryDataIds: string[];
1359
+
1345
1360
  constructor(data?: PartialMessage<DeleteBinaryDataByIDsRequest>);
1346
1361
 
1347
1362
  static readonly runtime: typeof proto3;
@@ -1394,6 +1409,11 @@ export declare class AddTagsToBinaryDataByIDsRequest extends Message<AddTagsToBi
1394
1409
  */
1395
1410
  binaryIds: BinaryID[];
1396
1411
 
1412
+ /**
1413
+ * @generated from field: repeated string binary_data_ids = 4;
1414
+ */
1415
+ binaryDataIds: string[];
1416
+
1397
1417
  /**
1398
1418
  * @generated from field: repeated string tags = 2;
1399
1419
  */
@@ -1494,6 +1514,11 @@ export declare class RemoveTagsFromBinaryDataByIDsRequest extends Message<Remove
1494
1514
  */
1495
1515
  binaryIds: BinaryID[];
1496
1516
 
1517
+ /**
1518
+ * @generated from field: repeated string binary_data_ids = 4;
1519
+ */
1520
+ binaryDataIds: string[];
1521
+
1497
1522
  /**
1498
1523
  * @generated from field: repeated string tags = 2;
1499
1524
  */
@@ -1661,6 +1686,11 @@ export declare class AddBoundingBoxToImageByIDRequest extends Message<AddBoundin
1661
1686
  */
1662
1687
  binaryId?: BinaryID;
1663
1688
 
1689
+ /**
1690
+ * @generated from field: string binary_data_id = 8;
1691
+ */
1692
+ binaryDataId: string;
1693
+
1664
1694
  /**
1665
1695
  * @generated from field: string label = 2;
1666
1696
  */
@@ -1738,6 +1768,11 @@ export declare class RemoveBoundingBoxFromImageByIDRequest extends Message<Remov
1738
1768
  */
1739
1769
  binaryId?: BinaryID;
1740
1770
 
1771
+ /**
1772
+ * @generated from field: string binary_data_id = 4;
1773
+ */
1774
+ binaryDataId: string;
1775
+
1741
1776
  /**
1742
1777
  * @generated from field: string bbox_id = 2;
1743
1778
  */
@@ -1788,6 +1823,11 @@ export declare class UpdateBoundingBoxRequest extends Message<UpdateBoundingBoxR
1788
1823
  */
1789
1824
  binaryId?: BinaryID;
1790
1825
 
1826
+ /**
1827
+ * @generated from field: string binary_data_id = 8;
1828
+ */
1829
+ binaryDataId: string;
1830
+
1791
1831
  /**
1792
1832
  * @generated from field: string bbox_id = 2;
1793
1833
  */
@@ -2031,6 +2071,11 @@ export declare class AddBinaryDataToDatasetByIDsRequest extends Message<AddBinar
2031
2071
  */
2032
2072
  binaryIds: BinaryID[];
2033
2073
 
2074
+ /**
2075
+ * @generated from field: repeated string binary_data_ids = 3;
2076
+ */
2077
+ binaryDataIds: string[];
2078
+
2034
2079
  /**
2035
2080
  * @generated from field: string dataset_id = 2;
2036
2081
  */
@@ -2081,6 +2126,11 @@ export declare class RemoveBinaryDataFromDatasetByIDsRequest extends Message<Rem
2081
2126
  */
2082
2127
  binaryIds: BinaryID[];
2083
2128
 
2129
+ /**
2130
+ * @generated from field: repeated string binary_data_ids = 3;
2131
+ */
2132
+ binaryDataIds: string[];
2133
+
2084
2134
  /**
2085
2135
  * @generated from field: string dataset_id = 2;
2086
2136
  */
@@ -0,0 +1,74 @@
1
+ // @generated by protoc-gen-connect-es v1.5.0
2
+ // @generated from file app/datapipelines/v1/data_pipelines.proto (package viam.app.datapipelines.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import { CreateDataPipelineRequest, CreateDataPipelineResponse, DeleteDataPipelineRequest, DeleteDataPipelineResponse, GetDataPipelineRequest, GetDataPipelineResponse, ListDataPipelinesRequest, ListDataPipelinesResponse, UpdateDataPipelineRequest, UpdateDataPipelineResponse } from "./data_pipelines_pb.js";
7
+ import { MethodKind } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * DataPipelinesService is used to manage data pipelines.
11
+ *
12
+ * @generated from service viam.app.datapipelines.v1.DataPipelinesService
13
+ */
14
+ export declare const DataPipelinesService: {
15
+ readonly typeName: "viam.app.datapipelines.v1.DataPipelinesService",
16
+ readonly methods: {
17
+ /**
18
+ * GetDataPipeline retrieves a specific data pipeline by its id.
19
+ *
20
+ * @generated from rpc viam.app.datapipelines.v1.DataPipelinesService.GetDataPipeline
21
+ */
22
+ readonly getDataPipeline: {
23
+ readonly name: "GetDataPipeline",
24
+ readonly I: typeof GetDataPipelineRequest,
25
+ readonly O: typeof GetDataPipelineResponse,
26
+ readonly kind: MethodKind.Unary,
27
+ },
28
+ /**
29
+ * ListDataPipelines returns a list of data pipelines based on organization id.
30
+ *
31
+ * @generated from rpc viam.app.datapipelines.v1.DataPipelinesService.ListDataPipelines
32
+ */
33
+ readonly listDataPipelines: {
34
+ readonly name: "ListDataPipelines",
35
+ readonly I: typeof ListDataPipelinesRequest,
36
+ readonly O: typeof ListDataPipelinesResponse,
37
+ readonly kind: MethodKind.Unary,
38
+ },
39
+ /**
40
+ * CreateDataPipeline creates a new data pipeline with the provided configuration.
41
+ *
42
+ * @generated from rpc viam.app.datapipelines.v1.DataPipelinesService.CreateDataPipeline
43
+ */
44
+ readonly createDataPipeline: {
45
+ readonly name: "CreateDataPipeline",
46
+ readonly I: typeof CreateDataPipelineRequest,
47
+ readonly O: typeof CreateDataPipelineResponse,
48
+ readonly kind: MethodKind.Unary,
49
+ },
50
+ /**
51
+ * UpdateDataPipeline modifies an existing data pipeline's configuration.
52
+ *
53
+ * @generated from rpc viam.app.datapipelines.v1.DataPipelinesService.UpdateDataPipeline
54
+ */
55
+ readonly updateDataPipeline: {
56
+ readonly name: "UpdateDataPipeline",
57
+ readonly I: typeof UpdateDataPipelineRequest,
58
+ readonly O: typeof UpdateDataPipelineResponse,
59
+ readonly kind: MethodKind.Unary,
60
+ },
61
+ /**
62
+ * DeleteDataPipeline deletes a data pipeline from the database.
63
+ *
64
+ * @generated from rpc viam.app.datapipelines.v1.DataPipelinesService.DeleteDataPipeline
65
+ */
66
+ readonly deleteDataPipeline: {
67
+ readonly name: "DeleteDataPipeline",
68
+ readonly I: typeof DeleteDataPipelineRequest,
69
+ readonly O: typeof DeleteDataPipelineResponse,
70
+ readonly kind: MethodKind.Unary,
71
+ },
72
+ }
73
+ };
74
+
@@ -0,0 +1,378 @@
1
+ // @generated by protoc-gen-es v1.10.0
2
+ // @generated from file app/datapipelines/v1/data_pipelines.proto (package viam.app.datapipelines.v1, syntax proto3)
3
+ /* eslint-disable */
4
+ // @ts-nocheck
5
+
6
+ import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Timestamp } from "@bufbuild/protobuf";
7
+ import { Message, proto3 } from "@bufbuild/protobuf";
8
+
9
+ /**
10
+ * @generated from message viam.app.datapipelines.v1.DataPipeline
11
+ */
12
+ export declare class DataPipeline extends Message<DataPipeline> {
13
+ /**
14
+ * @generated from field: string id = 1;
15
+ */
16
+ id: string;
17
+
18
+ /**
19
+ * The associated Viam organization ID.
20
+ *
21
+ * @generated from field: string organization_id = 2;
22
+ */
23
+ organizationId: string;
24
+
25
+ /**
26
+ * A unique identifier at the org level.
27
+ *
28
+ * @generated from field: string name = 3;
29
+ */
30
+ name: string;
31
+
32
+ /**
33
+ * A MongoDB aggregation pipeline as a list of BSON documents, where
34
+ * each document is one stage in the pipeline.
35
+ *
36
+ * @generated from field: repeated bytes mql_binary = 4;
37
+ */
38
+ mqlBinary: Uint8Array[];
39
+
40
+ /**
41
+ * A cron expression representing the expected execution schedule in UTC (note this also
42
+ * defines the input time window; an hourly schedule would process 1 hour of data at a time).
43
+ *
44
+ * @generated from field: string schedule = 5;
45
+ */
46
+ schedule: string;
47
+
48
+ /**
49
+ * Whether or not the pipeline is enabled.
50
+ *
51
+ * @generated from field: bool enabled = 6;
52
+ */
53
+ enabled: boolean;
54
+
55
+ /**
56
+ * The time the pipeline was created.
57
+ *
58
+ * @generated from field: google.protobuf.Timestamp created_on = 7;
59
+ */
60
+ createdOn?: Timestamp;
61
+
62
+ /**
63
+ * The time the pipeline was last updated.
64
+ *
65
+ * @generated from field: google.protobuf.Timestamp updated_at = 8;
66
+ */
67
+ updatedAt?: Timestamp;
68
+
69
+ constructor(data?: PartialMessage<DataPipeline>);
70
+
71
+ static readonly runtime: typeof proto3;
72
+ static readonly typeName = "viam.app.datapipelines.v1.DataPipeline";
73
+ static readonly fields: FieldList;
74
+
75
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DataPipeline;
76
+
77
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DataPipeline;
78
+
79
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DataPipeline;
80
+
81
+ static equals(a: DataPipeline | PlainMessage<DataPipeline> | undefined, b: DataPipeline | PlainMessage<DataPipeline> | undefined): boolean;
82
+ }
83
+
84
+ /**
85
+ * @generated from message viam.app.datapipelines.v1.GetDataPipelineRequest
86
+ */
87
+ export declare class GetDataPipelineRequest extends Message<GetDataPipelineRequest> {
88
+ /**
89
+ * The ID of the data pipeline to retrieve.
90
+ *
91
+ * @generated from field: string id = 1;
92
+ */
93
+ id: string;
94
+
95
+ constructor(data?: PartialMessage<GetDataPipelineRequest>);
96
+
97
+ static readonly runtime: typeof proto3;
98
+ static readonly typeName = "viam.app.datapipelines.v1.GetDataPipelineRequest";
99
+ static readonly fields: FieldList;
100
+
101
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetDataPipelineRequest;
102
+
103
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetDataPipelineRequest;
104
+
105
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetDataPipelineRequest;
106
+
107
+ static equals(a: GetDataPipelineRequest | PlainMessage<GetDataPipelineRequest> | undefined, b: GetDataPipelineRequest | PlainMessage<GetDataPipelineRequest> | undefined): boolean;
108
+ }
109
+
110
+ /**
111
+ * @generated from message viam.app.datapipelines.v1.GetDataPipelineResponse
112
+ */
113
+ export declare class GetDataPipelineResponse extends Message<GetDataPipelineResponse> {
114
+ /**
115
+ * @generated from field: viam.app.datapipelines.v1.DataPipeline data_pipeline = 1;
116
+ */
117
+ dataPipeline?: DataPipeline;
118
+
119
+ constructor(data?: PartialMessage<GetDataPipelineResponse>);
120
+
121
+ static readonly runtime: typeof proto3;
122
+ static readonly typeName = "viam.app.datapipelines.v1.GetDataPipelineResponse";
123
+ static readonly fields: FieldList;
124
+
125
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetDataPipelineResponse;
126
+
127
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetDataPipelineResponse;
128
+
129
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetDataPipelineResponse;
130
+
131
+ static equals(a: GetDataPipelineResponse | PlainMessage<GetDataPipelineResponse> | undefined, b: GetDataPipelineResponse | PlainMessage<GetDataPipelineResponse> | undefined): boolean;
132
+ }
133
+
134
+ /**
135
+ * @generated from message viam.app.datapipelines.v1.ListDataPipelinesRequest
136
+ */
137
+ export declare class ListDataPipelinesRequest extends Message<ListDataPipelinesRequest> {
138
+ /**
139
+ * The associated Viam organization ID.
140
+ *
141
+ * @generated from field: string organization_id = 1;
142
+ */
143
+ organizationId: string;
144
+
145
+ constructor(data?: PartialMessage<ListDataPipelinesRequest>);
146
+
147
+ static readonly runtime: typeof proto3;
148
+ static readonly typeName = "viam.app.datapipelines.v1.ListDataPipelinesRequest";
149
+ static readonly fields: FieldList;
150
+
151
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListDataPipelinesRequest;
152
+
153
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListDataPipelinesRequest;
154
+
155
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListDataPipelinesRequest;
156
+
157
+ static equals(a: ListDataPipelinesRequest | PlainMessage<ListDataPipelinesRequest> | undefined, b: ListDataPipelinesRequest | PlainMessage<ListDataPipelinesRequest> | undefined): boolean;
158
+ }
159
+
160
+ /**
161
+ * @generated from message viam.app.datapipelines.v1.ListDataPipelinesResponse
162
+ */
163
+ export declare class ListDataPipelinesResponse extends Message<ListDataPipelinesResponse> {
164
+ /**
165
+ * @generated from field: repeated viam.app.datapipelines.v1.DataPipeline data_pipelines = 1;
166
+ */
167
+ dataPipelines: DataPipeline[];
168
+
169
+ constructor(data?: PartialMessage<ListDataPipelinesResponse>);
170
+
171
+ static readonly runtime: typeof proto3;
172
+ static readonly typeName = "viam.app.datapipelines.v1.ListDataPipelinesResponse";
173
+ static readonly fields: FieldList;
174
+
175
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListDataPipelinesResponse;
176
+
177
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListDataPipelinesResponse;
178
+
179
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListDataPipelinesResponse;
180
+
181
+ static equals(a: ListDataPipelinesResponse | PlainMessage<ListDataPipelinesResponse> | undefined, b: ListDataPipelinesResponse | PlainMessage<ListDataPipelinesResponse> | undefined): boolean;
182
+ }
183
+
184
+ /**
185
+ * @generated from message viam.app.datapipelines.v1.CreateDataPipelineRequest
186
+ */
187
+ export declare class CreateDataPipelineRequest extends Message<CreateDataPipelineRequest> {
188
+ /**
189
+ * The associated Viam organization ID.
190
+ *
191
+ * @generated from field: string organization_id = 1;
192
+ */
193
+ organizationId: string;
194
+
195
+ /**
196
+ * A unique identifier at the org level.
197
+ *
198
+ * @generated from field: string name = 2;
199
+ */
200
+ name: string;
201
+
202
+ /**
203
+ * A MongoDB aggregation pipeline as a list of BSON documents, where
204
+ * each document is one stage in the pipeline.
205
+ *
206
+ * @generated from field: repeated bytes mql_binary = 3;
207
+ */
208
+ mqlBinary: Uint8Array[];
209
+
210
+ /**
211
+ * A cron expression representing the expected execution schedule in UTC (note this also
212
+ * defines the input time window; an hourly schedule would process 1 hour of data at a time).
213
+ *
214
+ * @generated from field: string schedule = 4;
215
+ */
216
+ schedule: string;
217
+
218
+ constructor(data?: PartialMessage<CreateDataPipelineRequest>);
219
+
220
+ static readonly runtime: typeof proto3;
221
+ static readonly typeName = "viam.app.datapipelines.v1.CreateDataPipelineRequest";
222
+ static readonly fields: FieldList;
223
+
224
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateDataPipelineRequest;
225
+
226
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateDataPipelineRequest;
227
+
228
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateDataPipelineRequest;
229
+
230
+ static equals(a: CreateDataPipelineRequest | PlainMessage<CreateDataPipelineRequest> | undefined, b: CreateDataPipelineRequest | PlainMessage<CreateDataPipelineRequest> | undefined): boolean;
231
+ }
232
+
233
+ /**
234
+ * @generated from message viam.app.datapipelines.v1.CreateDataPipelineResponse
235
+ */
236
+ export declare class CreateDataPipelineResponse extends Message<CreateDataPipelineResponse> {
237
+ /**
238
+ * The ID of the newly created data pipeline.
239
+ *
240
+ * @generated from field: string id = 1;
241
+ */
242
+ id: string;
243
+
244
+ constructor(data?: PartialMessage<CreateDataPipelineResponse>);
245
+
246
+ static readonly runtime: typeof proto3;
247
+ static readonly typeName = "viam.app.datapipelines.v1.CreateDataPipelineResponse";
248
+ static readonly fields: FieldList;
249
+
250
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateDataPipelineResponse;
251
+
252
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateDataPipelineResponse;
253
+
254
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateDataPipelineResponse;
255
+
256
+ static equals(a: CreateDataPipelineResponse | PlainMessage<CreateDataPipelineResponse> | undefined, b: CreateDataPipelineResponse | PlainMessage<CreateDataPipelineResponse> | undefined): boolean;
257
+ }
258
+
259
+ /**
260
+ * @generated from message viam.app.datapipelines.v1.UpdateDataPipelineRequest
261
+ */
262
+ export declare class UpdateDataPipelineRequest extends Message<UpdateDataPipelineRequest> {
263
+ /**
264
+ * The ID of the data pipeline to update.
265
+ *
266
+ * @generated from field: string id = 1;
267
+ */
268
+ id: string;
269
+
270
+ /**
271
+ * A unique identifier at the org level.
272
+ *
273
+ * @generated from field: string name = 2;
274
+ */
275
+ name: string;
276
+
277
+ /**
278
+ * A MongoDB aggregation pipeline as a list of BSON documents, where
279
+ * each document is one stage in the pipeline.
280
+ *
281
+ * @generated from field: repeated bytes mql_binary = 3;
282
+ */
283
+ mqlBinary: Uint8Array[];
284
+
285
+ /**
286
+ * A cron expression representing the expected execution schedule in UTC (note this also
287
+ * defines the input time window; an hourly schedule would process 1 hour of data at a time).
288
+ *
289
+ * @generated from field: string schedule = 4;
290
+ */
291
+ schedule: string;
292
+
293
+ /**
294
+ * Whether or not the pipeline is enabled.
295
+ *
296
+ * @generated from field: bool enabled = 5;
297
+ */
298
+ enabled: boolean;
299
+
300
+ constructor(data?: PartialMessage<UpdateDataPipelineRequest>);
301
+
302
+ static readonly runtime: typeof proto3;
303
+ static readonly typeName = "viam.app.datapipelines.v1.UpdateDataPipelineRequest";
304
+ static readonly fields: FieldList;
305
+
306
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateDataPipelineRequest;
307
+
308
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateDataPipelineRequest;
309
+
310
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateDataPipelineRequest;
311
+
312
+ static equals(a: UpdateDataPipelineRequest | PlainMessage<UpdateDataPipelineRequest> | undefined, b: UpdateDataPipelineRequest | PlainMessage<UpdateDataPipelineRequest> | undefined): boolean;
313
+ }
314
+
315
+ /**
316
+ * @generated from message viam.app.datapipelines.v1.UpdateDataPipelineResponse
317
+ */
318
+ export declare class UpdateDataPipelineResponse extends Message<UpdateDataPipelineResponse> {
319
+ constructor(data?: PartialMessage<UpdateDataPipelineResponse>);
320
+
321
+ static readonly runtime: typeof proto3;
322
+ static readonly typeName = "viam.app.datapipelines.v1.UpdateDataPipelineResponse";
323
+ static readonly fields: FieldList;
324
+
325
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateDataPipelineResponse;
326
+
327
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateDataPipelineResponse;
328
+
329
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateDataPipelineResponse;
330
+
331
+ static equals(a: UpdateDataPipelineResponse | PlainMessage<UpdateDataPipelineResponse> | undefined, b: UpdateDataPipelineResponse | PlainMessage<UpdateDataPipelineResponse> | undefined): boolean;
332
+ }
333
+
334
+ /**
335
+ * @generated from message viam.app.datapipelines.v1.DeleteDataPipelineRequest
336
+ */
337
+ export declare class DeleteDataPipelineRequest extends Message<DeleteDataPipelineRequest> {
338
+ /**
339
+ * The ID of the data pipeline to delete.
340
+ *
341
+ * @generated from field: string id = 1;
342
+ */
343
+ id: string;
344
+
345
+ constructor(data?: PartialMessage<DeleteDataPipelineRequest>);
346
+
347
+ static readonly runtime: typeof proto3;
348
+ static readonly typeName = "viam.app.datapipelines.v1.DeleteDataPipelineRequest";
349
+ static readonly fields: FieldList;
350
+
351
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteDataPipelineRequest;
352
+
353
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteDataPipelineRequest;
354
+
355
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteDataPipelineRequest;
356
+
357
+ static equals(a: DeleteDataPipelineRequest | PlainMessage<DeleteDataPipelineRequest> | undefined, b: DeleteDataPipelineRequest | PlainMessage<DeleteDataPipelineRequest> | undefined): boolean;
358
+ }
359
+
360
+ /**
361
+ * @generated from message viam.app.datapipelines.v1.DeleteDataPipelineResponse
362
+ */
363
+ export declare class DeleteDataPipelineResponse extends Message<DeleteDataPipelineResponse> {
364
+ constructor(data?: PartialMessage<DeleteDataPipelineResponse>);
365
+
366
+ static readonly runtime: typeof proto3;
367
+ static readonly typeName = "viam.app.datapipelines.v1.DeleteDataPipelineResponse";
368
+ static readonly fields: FieldList;
369
+
370
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteDataPipelineResponse;
371
+
372
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteDataPipelineResponse;
373
+
374
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteDataPipelineResponse;
375
+
376
+ static equals(a: DeleteDataPipelineResponse | PlainMessage<DeleteDataPipelineResponse> | undefined, b: DeleteDataPipelineResponse | PlainMessage<DeleteDataPipelineResponse> | undefined): boolean;
377
+ }
378
+
@@ -101,6 +101,11 @@ export declare class DataCaptureUploadResponse extends Message<DataCaptureUpload
101
101
  */
102
102
  fileId: string;
103
103
 
104
+ /**
105
+ * @generated from field: string binary_data_id = 2;
106
+ */
107
+ binaryDataId: string;
108
+
104
109
  constructor(data?: PartialMessage<DataCaptureUploadResponse>);
105
110
 
106
111
  static readonly runtime: typeof proto3;
@@ -166,6 +171,11 @@ export declare class FileUploadResponse extends Message<FileUploadResponse> {
166
171
  */
167
172
  fileId: string;
168
173
 
174
+ /**
175
+ * @generated from field: string binary_data_id = 2;
176
+ */
177
+ binaryDataId: string;
178
+
169
179
  constructor(data?: PartialMessage<FileUploadResponse>);
170
180
 
171
181
  static readonly runtime: typeof proto3;
@@ -231,6 +241,11 @@ export declare class StreamingDataCaptureUploadResponse extends Message<Streamin
231
241
  */
232
242
  fileId: string;
233
243
 
244
+ /**
245
+ * @generated from field: string binary_data_id = 2;
246
+ */
247
+ binaryDataId: string;
248
+
234
249
  constructor(data?: PartialMessage<StreamingDataCaptureUploadResponse>);
235
250
 
236
251
  static readonly runtime: typeof proto3;