@viamrobotics/sdk 0.70.0 → 0.72.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/data-client.d.ts +107 -3
- package/dist/components/camera/camera.d.ts +1 -1
- package/dist/components/gripper/client.d.ts +2 -0
- package/dist/components/gripper/gripper.d.ts +29 -0
- package/dist/debug.d.ts +82 -0
- package/dist/gen/app/build/v1/build_pb.d.ts +15 -0
- package/dist/gen/app/data/v1/data_connect.d.ts +56 -1
- package/dist/gen/app/data/v1/data_pb.d.ts +396 -1
- package/dist/gen/common/v1/common_pb.d.ts +26 -0
- package/dist/gen/component/arm/v1/arm_pb.d.ts +17 -0
- package/dist/gen/component/gripper/v1/gripper_connect.d.ts +23 -1
- package/dist/gen/component/gripper/v1/gripper_pb.d.ts +118 -0
- package/dist/main.d.ts +2 -1
- package/dist/main.es.js +6000 -5439
- package/dist/main.umd.js +7 -7
- package/dist/robot/client.d.ts +65 -28
- package/dist/rpc/dial.d.ts +1 -0
- package/dist/rpc/index.d.ts +1 -1
- 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.548";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { type JsonValue, type PartialMessage } from '@bufbuild/protobuf';
|
|
1
|
+
import { FieldMask, type JsonValue, type PartialMessage } from '@bufbuild/protobuf';
|
|
2
2
|
import { type Client, type Transport } from '@connectrpc/connect';
|
|
3
|
-
import { BinaryID, CaptureMetadata, Filter, Index, IndexableCollection, Order, TabularDataSource, TabularDataSourceType, DeleteTabularFilter } from '../gen/app/data/v1/data_pb';
|
|
3
|
+
import { BinaryID, CaptureMetadata, Filter, Index, IndexableCollection, Order, Sequence, SequenceResourceFilter, TabularDataSource, TabularDataSourceType, DeleteTabularFilter } from '../gen/app/data/v1/data_pb';
|
|
4
4
|
import { DataPipelinesService } from '../gen/app/datapipelines/v1/data_pipelines_connect';
|
|
5
5
|
import { DataPipeline, DataPipelineRun } from '../gen/app/datapipelines/v1/data_pipelines_pb';
|
|
6
6
|
import type { Dataset as PBDataset } from '../gen/app/dataset/v1/dataset_pb';
|
|
@@ -1103,6 +1103,110 @@ export declare class DataClient {
|
|
|
1103
1103
|
* PIPELINE_SINK
|
|
1104
1104
|
*/
|
|
1105
1105
|
deleteIndex(organizationId: string, collectionType: IndexableCollection, indexName: string, pipelineName?: string): Promise<void>;
|
|
1106
|
+
/**
|
|
1107
|
+
* Create a new sequence.
|
|
1108
|
+
*
|
|
1109
|
+
* @example
|
|
1110
|
+
*
|
|
1111
|
+
* ```ts
|
|
1112
|
+
* const sequenceId = await dataClient.createSequence(
|
|
1113
|
+
* '123abc45-1234-5678-90ab-cdef12345678',
|
|
1114
|
+
* [
|
|
1115
|
+
* {
|
|
1116
|
+
* partId: 'part-id',
|
|
1117
|
+
* resourceName: 'my-sensor',
|
|
1118
|
+
* methodName: 'Readings',
|
|
1119
|
+
* },
|
|
1120
|
+
* ],
|
|
1121
|
+
* ['tag1', 'tag2'],
|
|
1122
|
+
* new Date('2025-01-01'),
|
|
1123
|
+
* new Date('2025-12-31')
|
|
1124
|
+
* );
|
|
1125
|
+
* ```
|
|
1126
|
+
*
|
|
1127
|
+
* @param organizationId The ID of the organization
|
|
1128
|
+
* @param resources The resource filters for the sequence
|
|
1129
|
+
* @param sequenceTags Optional tags for the sequence
|
|
1130
|
+
* @param startTime Optional start time of the sequence
|
|
1131
|
+
* @param endTime Optional end time of the sequence
|
|
1132
|
+
* @returns The ID of the created sequence
|
|
1133
|
+
*/
|
|
1134
|
+
createSequence(organizationId: string, resources: PartialMessage<SequenceResourceFilter>[], sequenceTags?: string[], startTime?: Date, endTime?: Date): Promise<string>;
|
|
1135
|
+
/**
|
|
1136
|
+
* Retrieve a sequence by ID.
|
|
1137
|
+
*
|
|
1138
|
+
* @example
|
|
1139
|
+
*
|
|
1140
|
+
* ```ts
|
|
1141
|
+
* const sequence = await dataClient.getSequence('sequence-id');
|
|
1142
|
+
* ```
|
|
1143
|
+
*
|
|
1144
|
+
* @param id The ID of the sequence
|
|
1145
|
+
* @returns The sequence
|
|
1146
|
+
*/
|
|
1147
|
+
getSequence(id: string): Promise<Sequence>;
|
|
1148
|
+
/**
|
|
1149
|
+
* Update the mutable fields of a sequence.
|
|
1150
|
+
*
|
|
1151
|
+
* @example
|
|
1152
|
+
*
|
|
1153
|
+
* ```ts
|
|
1154
|
+
* await dataClient.updateSequence(
|
|
1155
|
+
* 'sequence-id',
|
|
1156
|
+
* [
|
|
1157
|
+
* {
|
|
1158
|
+
* partId: 'part-id',
|
|
1159
|
+
* resourceName: 'my-sensor',
|
|
1160
|
+
* methodName: 'Readings',
|
|
1161
|
+
* },
|
|
1162
|
+
* ],
|
|
1163
|
+
* ['tag1'],
|
|
1164
|
+
* new Date('2025-01-01'),
|
|
1165
|
+
* new Date('2025-12-31'),
|
|
1166
|
+
* { paths: ['resources', 'sequence_tags'] }
|
|
1167
|
+
* );
|
|
1168
|
+
* ```
|
|
1169
|
+
*
|
|
1170
|
+
* @param id The ID of the sequence to update
|
|
1171
|
+
* @param resources The updated resource filters
|
|
1172
|
+
* @param sequenceTags The updated tags
|
|
1173
|
+
* @param startTime The updated start time
|
|
1174
|
+
* @param endTime The updated end time
|
|
1175
|
+
* @param fieldMask Optional field mask specifying which fields to update
|
|
1176
|
+
*/
|
|
1177
|
+
updateSequence(id: string, resources?: PartialMessage<SequenceResourceFilter>[], sequenceTags?: string[], startTime?: Date, endTime?: Date, fieldMask?: PartialMessage<FieldMask>): Promise<void>;
|
|
1178
|
+
/**
|
|
1179
|
+
* Delete a sequence by ID.
|
|
1180
|
+
*
|
|
1181
|
+
* @example
|
|
1182
|
+
*
|
|
1183
|
+
* ```ts
|
|
1184
|
+
* await dataClient.deleteSequence('sequence-id');
|
|
1185
|
+
* ```
|
|
1186
|
+
*
|
|
1187
|
+
* @param id The ID of the sequence to delete
|
|
1188
|
+
*/
|
|
1189
|
+
deleteSequence(id: string): Promise<void>;
|
|
1190
|
+
/**
|
|
1191
|
+
* List sequences for a given organization.
|
|
1192
|
+
*
|
|
1193
|
+
* @example
|
|
1194
|
+
*
|
|
1195
|
+
* ```ts
|
|
1196
|
+
* const { sequences, nextPageToken } = await dataClient.listSequences(
|
|
1197
|
+
* '123abc45-1234-5678-90ab-cdef12345678'
|
|
1198
|
+
* );
|
|
1199
|
+
* ```
|
|
1200
|
+
*
|
|
1201
|
+
* @param organizationId The ID of the organization
|
|
1202
|
+
* @param pageToken Optional page token for pagination
|
|
1203
|
+
* @param pageSize Optional page size
|
|
1204
|
+
* @returns The list of sequences and a next page token
|
|
1205
|
+
*/
|
|
1206
|
+
listSequences(organizationId: string, pageToken?: string, pageSize?: number): Promise<{
|
|
1207
|
+
sequences: Sequence[];
|
|
1208
|
+
nextPageToken: string;
|
|
1209
|
+
}>;
|
|
1106
1210
|
}
|
|
1107
1211
|
export declare class ListDataPipelineRunsPage {
|
|
1108
1212
|
private readonly dataPipelinesClient;
|
|
@@ -1127,5 +1231,5 @@ export declare class ListDataPipelineRunsPage {
|
|
|
1127
1231
|
*/
|
|
1128
1232
|
nextPage(): Promise<ListDataPipelineRunsPage>;
|
|
1129
1233
|
}
|
|
1130
|
-
export { type BinaryID, type IndexableCollection, type Order, } from '../gen/app/data/v1/data_pb';
|
|
1234
|
+
export { type BinaryID, type IndexableCollection, type Order, type Sequence, type SequenceResourceFilter, } from '../gen/app/data/v1/data_pb';
|
|
1131
1235
|
export { type UploadMetadata } from '../gen/app/datasync/v1/data_sync_pb';
|
|
@@ -21,7 +21,7 @@ export interface NamedImage {
|
|
|
21
21
|
export interface ResponseMetadata {
|
|
22
22
|
capturedAt: Timestamp;
|
|
23
23
|
}
|
|
24
|
-
export type MimeType = '' | 'image/vnd.viam.rgba' | 'image/vnd.viam.
|
|
24
|
+
export type MimeType = '' | 'image/vnd.viam.rgba' | 'image/vnd.viam.dep' | 'image/jpeg' | 'image/png' | 'pointcloud/pcd' | 'unsupported';
|
|
25
25
|
/** Represents any physical hardware that can capture frames. */
|
|
26
26
|
export interface Camera extends Resource {
|
|
27
27
|
/** Get the geometries of the component in their current configuration */
|
|
@@ -20,6 +20,8 @@ export declare class GripperClient implements Gripper {
|
|
|
20
20
|
stop(extra?: {}, callOptions?: CallOptions): Promise<void>;
|
|
21
21
|
isMoving(callOptions?: CallOptions): Promise<boolean>;
|
|
22
22
|
isHoldingSomething(extra?: {}, callOptions?: CallOptions): Promise<boolean>;
|
|
23
|
+
getCurrentInputs(extra?: {}, callOptions?: CallOptions): Promise<number[]>;
|
|
24
|
+
goToInputs(values: number[], extra?: {}, callOptions?: CallOptions): Promise<void>;
|
|
23
25
|
getStatus(callOptions?: CallOptions): Promise<JsonValue>;
|
|
24
26
|
doCommand(command: Struct | Record<string, JsonValue>, callOptions?: CallOptions): Promise<JsonValue>;
|
|
25
27
|
}
|
|
@@ -103,4 +103,33 @@ export interface Gripper extends Resource {
|
|
|
103
103
|
* API](https://docs.viam.com/dev/reference/apis/components/gripper/#isholdingsomething).
|
|
104
104
|
*/
|
|
105
105
|
isHoldingSomething: (extra?: Struct) => Promise<boolean>;
|
|
106
|
+
/**
|
|
107
|
+
* Get the current input values of the gripper.
|
|
108
|
+
*
|
|
109
|
+
* @example
|
|
110
|
+
*
|
|
111
|
+
* ```ts
|
|
112
|
+
* const gripper = new VIAM.GripperClient(machine, 'my_gripper');
|
|
113
|
+
*
|
|
114
|
+
* // Get the current inputs of the gripper
|
|
115
|
+
* const inputs = await gripper.getCurrentInputs();
|
|
116
|
+
* console.log('Current inputs:', inputs);
|
|
117
|
+
* ```
|
|
118
|
+
*/
|
|
119
|
+
getCurrentInputs: (extra?: Struct) => Promise<number[]>;
|
|
120
|
+
/**
|
|
121
|
+
* Move the gripper to the given input values.
|
|
122
|
+
*
|
|
123
|
+
* @example
|
|
124
|
+
*
|
|
125
|
+
* ```ts
|
|
126
|
+
* const gripper = new VIAM.GripperClient(machine, 'my_gripper');
|
|
127
|
+
*
|
|
128
|
+
* // Move the gripper to specific input values
|
|
129
|
+
* await gripper.goToInputs([0.5]);
|
|
130
|
+
* ```
|
|
131
|
+
*
|
|
132
|
+
* @param values - The input values to move the gripper to.
|
|
133
|
+
*/
|
|
134
|
+
goToInputs: (values: number[], extra?: Struct) => Promise<void>;
|
|
106
135
|
}
|
package/dist/debug.d.ts
ADDED
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Structured debug logging for the Viam TypeScript SDK.
|
|
3
|
+
*
|
|
4
|
+
* Enable debug logging by calling {@link setDebugLogWriter} before connecting.
|
|
5
|
+
*
|
|
6
|
+
* @example Log connection events to the browser console:
|
|
7
|
+
*
|
|
8
|
+
* ```ts
|
|
9
|
+
* import {
|
|
10
|
+
* setDebugLogWriter,
|
|
11
|
+
* createConsoleLogWriter,
|
|
12
|
+
* } from '@viamrobotics/sdk';
|
|
13
|
+
* setDebugLogWriter(createConsoleLogWriter());
|
|
14
|
+
* ```
|
|
15
|
+
*
|
|
16
|
+
* @example Write log entries to a file in Node.js:
|
|
17
|
+
*
|
|
18
|
+
* ```ts
|
|
19
|
+
* import fs from 'node:fs';
|
|
20
|
+
* import { setDebugLogWriter } from '@viamrobotics/sdk';
|
|
21
|
+
* const logFile = fs.createWriteStream('viam-debug.log', { flags: 'a' });
|
|
22
|
+
* setDebugLogWriter((entry) =>
|
|
23
|
+
* logFile.write(JSON.stringify(entry) + '\n')
|
|
24
|
+
* );
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* Logged events:
|
|
28
|
+
*
|
|
29
|
+
* - `dial_started` — a new connection attempt began
|
|
30
|
+
* - `dial_success` — the connection was established; includes `connectionId`
|
|
31
|
+
* - `dial_failed` — the connection attempt failed
|
|
32
|
+
* - `grpc_request` — a gRPC request was sent through a connection
|
|
33
|
+
* - `grpc_response` — a gRPC response was received (includes `error` on failure)
|
|
34
|
+
* - `client_closed` — the client was explicitly closed
|
|
35
|
+
* - `ice_disconnected` — the WebRTC ICE connection entered the Disconnected state
|
|
36
|
+
*/
|
|
37
|
+
/** A single structured debug log entry emitted by the Viam SDK. */
|
|
38
|
+
export interface DebugLogEntry {
|
|
39
|
+
/** The time at which the event occurred. */
|
|
40
|
+
timestamp: Date;
|
|
41
|
+
/**
|
|
42
|
+
* The type of event. One of: `dial_started`, `dial_success`, `dial_failed`,
|
|
43
|
+
* `grpc_request`, `grpc_response`, `client_closed`, `ice_disconnected`.
|
|
44
|
+
*/
|
|
45
|
+
event: string;
|
|
46
|
+
/** The ID of the connection this event relates to, when applicable. */
|
|
47
|
+
connectionId?: string;
|
|
48
|
+
[key: string]: unknown;
|
|
49
|
+
}
|
|
50
|
+
/** A function that receives structured debug log entries from the SDK. */
|
|
51
|
+
export type DebugLogWriter = (entry: DebugLogEntry) => void;
|
|
52
|
+
/**
|
|
53
|
+
* Set a writer function to receive structured debug log entries from the SDK.
|
|
54
|
+
* Pass `undefined` to disable debug logging.
|
|
55
|
+
*
|
|
56
|
+
* @example
|
|
57
|
+
*
|
|
58
|
+
* ```ts
|
|
59
|
+
* import {
|
|
60
|
+
* setDebugLogWriter,
|
|
61
|
+
* createConsoleLogWriter,
|
|
62
|
+
* } from '@viamrobotics/sdk';
|
|
63
|
+
* // Enable:
|
|
64
|
+
* setDebugLogWriter(createConsoleLogWriter());
|
|
65
|
+
* // Disable:
|
|
66
|
+
* setDebugLogWriter(undefined);
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
export declare const setDebugLogWriter: (writer: DebugLogWriter | undefined) => void;
|
|
70
|
+
/**
|
|
71
|
+
* Returns true if a debug log writer is currently set.
|
|
72
|
+
*
|
|
73
|
+
* @internal
|
|
74
|
+
*/
|
|
75
|
+
export declare const isDebugLogEnabled: () => boolean;
|
|
76
|
+
/**
|
|
77
|
+
* Write a debug log entry if a writer is currently set.
|
|
78
|
+
*
|
|
79
|
+
* @internal
|
|
80
|
+
*/
|
|
81
|
+
export declare const writeDebugLog: (event: string, fields?: Record<string, unknown>) => void;
|
|
82
|
+
export declare const createConsoleLogWriter: () => DebugLogWriter;
|
|
@@ -96,6 +96,14 @@ export declare class StartBuildRequest extends Message<StartBuildRequest> {
|
|
|
96
96
|
*/
|
|
97
97
|
distro?: string;
|
|
98
98
|
|
|
99
|
+
/**
|
|
100
|
+
* optional target builder. defaults to 'default'.
|
|
101
|
+
* use 'viam-cloudbuild-test' to target the new Viam build service (org must be whitelisted).
|
|
102
|
+
*
|
|
103
|
+
* @generated from field: optional string builder = 9;
|
|
104
|
+
*/
|
|
105
|
+
builder?: string;
|
|
106
|
+
|
|
99
107
|
constructor(data?: PartialMessage<StartBuildRequest>);
|
|
100
108
|
|
|
101
109
|
static readonly runtime: typeof proto3;
|
|
@@ -120,6 +128,13 @@ export declare class StartBuildResponse extends Message<StartBuildResponse> {
|
|
|
120
128
|
*/
|
|
121
129
|
buildId: string;
|
|
122
130
|
|
|
131
|
+
/**
|
|
132
|
+
* present when the requested builder was unavailable for this org and the default builder was used instead.
|
|
133
|
+
*
|
|
134
|
+
* @generated from field: optional string builder_fallback_message = 2;
|
|
135
|
+
*/
|
|
136
|
+
builderFallbackMessage?: string;
|
|
137
|
+
|
|
123
138
|
constructor(data?: PartialMessage<StartBuildResponse>);
|
|
124
139
|
|
|
125
140
|
static readonly runtime: typeof proto3;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { AddBinaryDataToDatasetByIDsRequest, AddBinaryDataToDatasetByIDsResponse, AddBoundingBoxToImageByIDRequest, AddBoundingBoxToImageByIDResponse, AddTagsToBinaryDataByFilterRequest, AddTagsToBinaryDataByFilterResponse, AddTagsToBinaryDataByIDsRequest, AddTagsToBinaryDataByIDsResponse, BinaryDataByFilterRequest, BinaryDataByFilterResponse, BinaryDataByIDsRequest, BinaryDataByIDsResponse, BoundingBoxLabelsByFilterRequest, BoundingBoxLabelsByFilterResponse, ConfigureDatabaseUserRequest, ConfigureDatabaseUserResponse, CreateBinaryDataSignedURLRequest, CreateBinaryDataSignedURLResponse, CreateIndexRequest, CreateIndexResponse, CreateSavedQueryRequest, CreateSavedQueryResponse, DeleteBinaryDataByFilterRequest, DeleteBinaryDataByFilterResponse, DeleteBinaryDataByIDsRequest, DeleteBinaryDataByIDsResponse, DeleteIndexRequest, DeleteIndexResponse, DeleteSavedQueryRequest, DeleteSavedQueryResponse, DeleteTabularDataRequest, DeleteTabularDataResponse, ExportTabularDataRequest, ExportTabularDataResponse, GetDatabaseConnectionRequest, GetDatabaseConnectionResponse, GetLatestTabularDataRequest, GetLatestTabularDataResponse, GetSavedQueryRequest, GetSavedQueryResponse, ListIndexesRequest, ListIndexesResponse, ListSavedQueriesRequest, ListSavedQueriesResponse, RemoveBinaryDataFromDatasetByIDsRequest, RemoveBinaryDataFromDatasetByIDsResponse, RemoveBoundingBoxFromImageByIDRequest, RemoveBoundingBoxFromImageByIDResponse, RemoveTagsFromBinaryDataByFilterRequest, RemoveTagsFromBinaryDataByFilterResponse, RemoveTagsFromBinaryDataByIDsRequest, RemoveTagsFromBinaryDataByIDsResponse, TabularDataByFilterRequest, TabularDataByFilterResponse, TabularDataByMQLRequest, TabularDataByMQLResponse, TabularDataBySQLRequest, TabularDataBySQLResponse, TagsByFilterRequest, TagsByFilterResponse, UpdateBoundingBoxRequest, UpdateBoundingBoxResponse, UpdateSavedQueryRequest, UpdateSavedQueryResponse } from "./data_pb.js";
|
|
6
|
+
import { AddBinaryDataToDatasetByIDsRequest, AddBinaryDataToDatasetByIDsResponse, AddBoundingBoxToImageByIDRequest, AddBoundingBoxToImageByIDResponse, AddTagsToBinaryDataByFilterRequest, AddTagsToBinaryDataByFilterResponse, AddTagsToBinaryDataByIDsRequest, AddTagsToBinaryDataByIDsResponse, BinaryDataByFilterRequest, BinaryDataByFilterResponse, BinaryDataByIDsRequest, BinaryDataByIDsResponse, BoundingBoxLabelsByFilterRequest, BoundingBoxLabelsByFilterResponse, ConfigureDatabaseUserRequest, ConfigureDatabaseUserResponse, CreateBinaryDataSignedURLRequest, CreateBinaryDataSignedURLResponse, CreateIndexRequest, CreateIndexResponse, CreateSavedQueryRequest, CreateSavedQueryResponse, CreateSequenceRequest, CreateSequenceResponse, DeleteBinaryDataByFilterRequest, DeleteBinaryDataByFilterResponse, DeleteBinaryDataByIDsRequest, DeleteBinaryDataByIDsResponse, DeleteIndexRequest, DeleteIndexResponse, DeleteSavedQueryRequest, DeleteSavedQueryResponse, DeleteSequenceRequest, DeleteSequenceResponse, DeleteTabularDataRequest, DeleteTabularDataResponse, ExportTabularDataRequest, ExportTabularDataResponse, GetDatabaseConnectionRequest, GetDatabaseConnectionResponse, GetLatestTabularDataRequest, GetLatestTabularDataResponse, GetSavedQueryRequest, GetSavedQueryResponse, GetSequenceRequest, GetSequenceResponse, ListIndexesRequest, ListIndexesResponse, ListSavedQueriesRequest, ListSavedQueriesResponse, ListSequencesRequest, ListSequencesResponse, RemoveBinaryDataFromDatasetByIDsRequest, RemoveBinaryDataFromDatasetByIDsResponse, RemoveBoundingBoxFromImageByIDRequest, RemoveBoundingBoxFromImageByIDResponse, RemoveTagsFromBinaryDataByFilterRequest, RemoveTagsFromBinaryDataByFilterResponse, RemoveTagsFromBinaryDataByIDsRequest, RemoveTagsFromBinaryDataByIDsResponse, TabularDataByFilterRequest, TabularDataByFilterResponse, TabularDataByMQLRequest, TabularDataByMQLResponse, TabularDataBySQLRequest, TabularDataBySQLResponse, TagsByFilterRequest, TagsByFilterResponse, UpdateBoundingBoxRequest, UpdateBoundingBoxResponse, UpdateSavedQueryRequest, UpdateSavedQueryResponse, UpdateSequenceRequest, UpdateSequenceResponse } from "./data_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -373,6 +373,61 @@ export declare const DataService: {
|
|
|
373
373
|
readonly O: typeof CreateBinaryDataSignedURLResponse,
|
|
374
374
|
readonly kind: MethodKind.Unary,
|
|
375
375
|
},
|
|
376
|
+
/**
|
|
377
|
+
* CreateSequence creates a new sequence.
|
|
378
|
+
*
|
|
379
|
+
* @generated from rpc viam.app.data.v1.DataService.CreateSequence
|
|
380
|
+
*/
|
|
381
|
+
readonly createSequence: {
|
|
382
|
+
readonly name: "CreateSequence",
|
|
383
|
+
readonly I: typeof CreateSequenceRequest,
|
|
384
|
+
readonly O: typeof CreateSequenceResponse,
|
|
385
|
+
readonly kind: MethodKind.Unary,
|
|
386
|
+
},
|
|
387
|
+
/**
|
|
388
|
+
* GetSequence retrieves a sequence by ID.
|
|
389
|
+
*
|
|
390
|
+
* @generated from rpc viam.app.data.v1.DataService.GetSequence
|
|
391
|
+
*/
|
|
392
|
+
readonly getSequence: {
|
|
393
|
+
readonly name: "GetSequence",
|
|
394
|
+
readonly I: typeof GetSequenceRequest,
|
|
395
|
+
readonly O: typeof GetSequenceResponse,
|
|
396
|
+
readonly kind: MethodKind.Unary,
|
|
397
|
+
},
|
|
398
|
+
/**
|
|
399
|
+
* UpdateSequence updates the mutable fields of a sequence.
|
|
400
|
+
*
|
|
401
|
+
* @generated from rpc viam.app.data.v1.DataService.UpdateSequence
|
|
402
|
+
*/
|
|
403
|
+
readonly updateSequence: {
|
|
404
|
+
readonly name: "UpdateSequence",
|
|
405
|
+
readonly I: typeof UpdateSequenceRequest,
|
|
406
|
+
readonly O: typeof UpdateSequenceResponse,
|
|
407
|
+
readonly kind: MethodKind.Unary,
|
|
408
|
+
},
|
|
409
|
+
/**
|
|
410
|
+
* DeleteSequence deletes a sequence by ID.
|
|
411
|
+
*
|
|
412
|
+
* @generated from rpc viam.app.data.v1.DataService.DeleteSequence
|
|
413
|
+
*/
|
|
414
|
+
readonly deleteSequence: {
|
|
415
|
+
readonly name: "DeleteSequence",
|
|
416
|
+
readonly I: typeof DeleteSequenceRequest,
|
|
417
|
+
readonly O: typeof DeleteSequenceResponse,
|
|
418
|
+
readonly kind: MethodKind.Unary,
|
|
419
|
+
},
|
|
420
|
+
/**
|
|
421
|
+
* ListSequences lists sequences for a given organization.
|
|
422
|
+
*
|
|
423
|
+
* @generated from rpc viam.app.data.v1.DataService.ListSequences
|
|
424
|
+
*/
|
|
425
|
+
readonly listSequences: {
|
|
426
|
+
readonly name: "ListSequences",
|
|
427
|
+
readonly I: typeof ListSequencesRequest,
|
|
428
|
+
readonly O: typeof ListSequencesResponse,
|
|
429
|
+
readonly kind: MethodKind.Unary,
|
|
430
|
+
},
|
|
376
431
|
}
|
|
377
432
|
};
|
|
378
433
|
|