@viamrobotics/sdk 0.43.0 → 0.45.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/app-client.d.ts +43 -1
- package/dist/app/data-client.d.ts +3 -2
- package/dist/components/switch/client.d.ts +1 -1
- package/dist/components/switch/switch.d.ts +4 -2
- package/dist/gen/app/data/v1/data_pb.d.ts +10 -0
- package/dist/gen/app/datapipelines/v1/data_pipelines_pb.d.ts +22 -0
- package/dist/gen/app/v1/app_connect.d.ts +10 -1
- package/dist/gen/app/v1/app_pb.d.ts +189 -0
- package/dist/gen/app/v1/robot_pb.d.ts +68 -0
- package/dist/gen/component/gripper/v1/gripper_connect.d.ts +12 -1
- package/dist/gen/component/gripper/v1/gripper_pb.d.ts +58 -0
- package/dist/gen/component/switch/v1/switch_pb.d.ts +5 -0
- package/dist/gen/provisioning/v1/provisioning_connect.d.ts +13 -1
- package/dist/gen/provisioning/v1/provisioning_pb.d.ts +43 -0
- package/dist/main.es.js +3719 -3475
- package/dist/main.umd.js +7 -7
- package/dist/robot/client.d.ts +6 -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.452";
|
package/dist/app/app-client.d.ts
CHANGED
|
@@ -2,7 +2,7 @@ import type { JsonValue } from '@bufbuild/protobuf';
|
|
|
2
2
|
import { Struct } from '@bufbuild/protobuf';
|
|
3
3
|
import { type Transport } from '@connectrpc/connect';
|
|
4
4
|
import { PackageType } from '../gen/app/packages/v1/packages_pb';
|
|
5
|
-
import { APIKeyWithAuthorizations, Authorization, AuthorizedPermissions, CreateKeyFromExistingKeyAuthorizationsResponse, CreateKeyResponse, CreateModuleResponse, Fragment, FragmentVisibility, GetAppContentResponse, GetRobotPartLogsResponse, GetRobotPartResponse, GetRobotPartByNameAndLocationResponse, ListOrganizationMembersResponse, Location, LocationAuth, Model, Module, Organization, OrganizationIdentity, OrganizationInvite, OrgDetails, RegistryItem, RegistryItemStatus, Robot, RobotPart, RobotPartHistoryEntry, RotateKeyResponse, RoverRentalRobot, Visibility } from '../gen/app/v1/app_pb';
|
|
5
|
+
import { APIKeyWithAuthorizations, Authorization, AuthorizedPermissions, CreateKeyFromExistingKeyAuthorizationsResponse, CreateKeyResponse, CreateModuleResponse, Fragment, FragmentVisibility, GetAppContentResponse, GetAppBrandingResponse, GetRobotPartLogsResponse, GetRobotPartResponse, GetRobotPartByNameAndLocationResponse, ListOrganizationMembersResponse, Location, LocationAuth, Model, Module, Organization, OrganizationIdentity, OrganizationInvite, OrgDetails, RegistryItem, RegistryItemStatus, Robot, RobotPart, RobotPartHistoryEntry, RotateKeyResponse, RoverRentalRobot, Visibility, LocationSummary } from '../gen/app/v1/app_pb';
|
|
6
6
|
import type { LogEntry } from '../gen/common/v1/common_pb';
|
|
7
7
|
/**
|
|
8
8
|
* Creates an Authorization object from auth details.
|
|
@@ -1566,4 +1566,46 @@ export declare class AppClient {
|
|
|
1566
1566
|
* @param data The metadata to update
|
|
1567
1567
|
*/
|
|
1568
1568
|
updateRobotPartMetadata(id: string, data: Record<string, JsonValue>): Promise<void>;
|
|
1569
|
+
/**
|
|
1570
|
+
* Retrieves the app branding for an organization/app.
|
|
1571
|
+
*
|
|
1572
|
+
* @example
|
|
1573
|
+
*
|
|
1574
|
+
* ```ts
|
|
1575
|
+
* const branding = await appClient.getAppBranding(
|
|
1576
|
+
* '<YOUR-PUBLIC-NAMESPACE>',
|
|
1577
|
+
* '<YOUR-APP-NAME>'
|
|
1578
|
+
* );
|
|
1579
|
+
* ```
|
|
1580
|
+
*
|
|
1581
|
+
* For more information, see [App
|
|
1582
|
+
* API](https://docs.viam.com/dev/reference/apis/fleet/#getappbranding).
|
|
1583
|
+
*
|
|
1584
|
+
* @param publicNamespace The public namespace of the organization
|
|
1585
|
+
* @param name The name of the app
|
|
1586
|
+
* @returns The branding information for the app
|
|
1587
|
+
*/
|
|
1588
|
+
getAppBranding(publicNamespace: string, name: string): Promise<GetAppBrandingResponse>;
|
|
1589
|
+
/**
|
|
1590
|
+
* Lists machine summaries for an organization, optionally filtered by
|
|
1591
|
+
* fragment IDs, location IDs, and limit.
|
|
1592
|
+
*
|
|
1593
|
+
* @example
|
|
1594
|
+
*
|
|
1595
|
+
* ```ts
|
|
1596
|
+
* const summaries = await appClient.listMachineSummaries(
|
|
1597
|
+
* 'orgId',
|
|
1598
|
+
* ['frag1'],
|
|
1599
|
+
* ['loc1'],
|
|
1600
|
+
* 10
|
|
1601
|
+
* );
|
|
1602
|
+
* ```
|
|
1603
|
+
*
|
|
1604
|
+
* @param organizationId The ID of the organization
|
|
1605
|
+
* @param fragmentIds Optional list of fragment IDs to filter machines
|
|
1606
|
+
* @param locationIds Optional list of location IDs to filter machines
|
|
1607
|
+
* @param limit Optional max number of machines to return
|
|
1608
|
+
* @returns The list of location summaries
|
|
1609
|
+
*/
|
|
1610
|
+
listMachineSummaries(organizationId: string, fragmentIds?: string[], locationIds?: string[], limit?: number): Promise<LocationSummary[]>;
|
|
1569
1611
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type JsonValue } from '@bufbuild/protobuf';
|
|
2
2
|
import { type PromiseClient, type Transport } from '@connectrpc/connect';
|
|
3
|
-
import { BinaryID, CaptureMetadata, Filter, Order, TabularDataSource } from '../gen/app/data/v1/data_pb';
|
|
3
|
+
import { BinaryID, CaptureMetadata, Filter, Order, TabularDataSource, TabularDataSourceType } from '../gen/app/data/v1/data_pb';
|
|
4
4
|
import type { Dataset as PBDataset } from '../gen/app/dataset/v1/dataset_pb';
|
|
5
5
|
import { DataPipelinesService } from '../gen/app/datapipelines/v1/data_pipelines_connect';
|
|
6
6
|
import { DataPipeline, DataPipelineRun } from '../gen/app/datapipelines/v1/data_pipelines_pb';
|
|
@@ -837,9 +837,10 @@ export declare class DataClient {
|
|
|
837
837
|
* @param name The name of the data pipeline
|
|
838
838
|
* @param query The MQL query to run as a list of BSON documents
|
|
839
839
|
* @param schedule The schedule to run the query on (cron expression)
|
|
840
|
+
* @param dataSourceType The type of data source to use for the data pipeline
|
|
840
841
|
* @returns The ID of the created data pipeline
|
|
841
842
|
*/
|
|
842
|
-
createDataPipeline(organizationId: string, name: string, query: Uint8Array[] | Record<string, Date | JsonValue>[], schedule: string): Promise<string>;
|
|
843
|
+
createDataPipeline(organizationId: string, name: string, query: Uint8Array[] | Record<string, Date | JsonValue>[], schedule: string, dataSourceType?: TabularDataSourceType): Promise<string>;
|
|
843
844
|
/**
|
|
844
845
|
* Deletes a data pipeline by its ID.
|
|
845
846
|
*
|
|
@@ -16,6 +16,6 @@ export declare class SwitchClient implements Switch {
|
|
|
16
16
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
17
17
|
setPosition(position: number, extra?: {}, callOptions?: CallOptions): Promise<void>;
|
|
18
18
|
getPosition(extra?: {}, callOptions?: CallOptions): Promise<number>;
|
|
19
|
-
getNumberOfPositions(extra?: {}, callOptions?: CallOptions): Promise<number>;
|
|
19
|
+
getNumberOfPositions(extra?: {}, callOptions?: CallOptions): Promise<[number, string[]]>;
|
|
20
20
|
doCommand(command: Struct, callOptions?: CallOptions): Promise<JsonValue>;
|
|
21
21
|
}
|
|
@@ -47,7 +47,9 @@ export interface Switch extends Resource {
|
|
|
47
47
|
*/
|
|
48
48
|
getPosition: (extra?: Struct) => Promise<number>;
|
|
49
49
|
/**
|
|
50
|
-
* Get the total number of positions available on the switch
|
|
50
|
+
* Get the total number of positions available on the switch, along with their
|
|
51
|
+
* labels. Labels should either be null, undefined, empty, or the same length
|
|
52
|
+
* has the number of positions.
|
|
51
53
|
*
|
|
52
54
|
* @example
|
|
53
55
|
*
|
|
@@ -62,5 +64,5 @@ export interface Switch extends Resource {
|
|
|
62
64
|
* For more information, see [Switch
|
|
63
65
|
* API](https://docs.viam.com/dev/reference/apis/components/switch/#getnumberofpositions).
|
|
64
66
|
*/
|
|
65
|
-
getNumberOfPositions: (extra?: Struct) => Promise<number>;
|
|
67
|
+
getNumberOfPositions: (extra?: Struct) => Promise<[number, string[]]>;
|
|
66
68
|
}
|
|
@@ -714,6 +714,11 @@ export declare class ExportTabularDataRequest extends Message<ExportTabularDataR
|
|
|
714
714
|
*/
|
|
715
715
|
interval?: CaptureInterval;
|
|
716
716
|
|
|
717
|
+
/**
|
|
718
|
+
* @generated from field: optional google.protobuf.Struct additional_parameters = 6;
|
|
719
|
+
*/
|
|
720
|
+
additionalParameters?: Struct;
|
|
721
|
+
|
|
717
722
|
constructor(data?: PartialMessage<ExportTabularDataRequest>);
|
|
718
723
|
|
|
719
724
|
static readonly runtime: typeof proto3;
|
|
@@ -841,6 +846,11 @@ export declare class GetLatestTabularDataRequest extends Message<GetLatestTabula
|
|
|
841
846
|
*/
|
|
842
847
|
resourceSubtype: string;
|
|
843
848
|
|
|
849
|
+
/**
|
|
850
|
+
* @generated from field: optional google.protobuf.Struct additional_parameters = 5;
|
|
851
|
+
*/
|
|
852
|
+
additionalParameters?: Struct;
|
|
853
|
+
|
|
844
854
|
constructor(data?: PartialMessage<GetLatestTabularDataRequest>);
|
|
845
855
|
|
|
846
856
|
static readonly runtime: typeof proto3;
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage, Timestamp } from "@bufbuild/protobuf";
|
|
7
7
|
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
|
+
import type { TabularDataSourceType } from "../../data/v1/data_pb.js";
|
|
8
9
|
|
|
9
10
|
/**
|
|
10
11
|
* @generated from enum viam.app.datapipelines.v1.DataPipelineRunStatus
|
|
@@ -96,6 +97,13 @@ export declare class DataPipeline extends Message<DataPipeline> {
|
|
|
96
97
|
*/
|
|
97
98
|
updatedAt?: Timestamp;
|
|
98
99
|
|
|
100
|
+
/**
|
|
101
|
+
* The type of data source for the pipeline. If not specified, default is standard data storage.
|
|
102
|
+
*
|
|
103
|
+
* @generated from field: optional viam.app.data.v1.TabularDataSourceType data_source_type = 9;
|
|
104
|
+
*/
|
|
105
|
+
dataSourceType?: TabularDataSourceType;
|
|
106
|
+
|
|
99
107
|
constructor(data?: PartialMessage<DataPipeline>);
|
|
100
108
|
|
|
101
109
|
static readonly runtime: typeof proto3;
|
|
@@ -252,6 +260,13 @@ export declare class CreateDataPipelineRequest extends Message<CreateDataPipelin
|
|
|
252
260
|
*/
|
|
253
261
|
enableBackfill?: boolean;
|
|
254
262
|
|
|
263
|
+
/**
|
|
264
|
+
* The type of data source for the pipeline. If not specified, default is standard data storage.
|
|
265
|
+
*
|
|
266
|
+
* @generated from field: optional viam.app.data.v1.TabularDataSourceType data_source_type = 6;
|
|
267
|
+
*/
|
|
268
|
+
dataSourceType?: TabularDataSourceType;
|
|
269
|
+
|
|
255
270
|
constructor(data?: PartialMessage<CreateDataPipelineRequest>);
|
|
256
271
|
|
|
257
272
|
static readonly runtime: typeof proto3;
|
|
@@ -327,6 +342,13 @@ export declare class UpdateDataPipelineRequest extends Message<UpdateDataPipelin
|
|
|
327
342
|
*/
|
|
328
343
|
schedule: string;
|
|
329
344
|
|
|
345
|
+
/**
|
|
346
|
+
* The type of data source for the pipeline. If not specified, default is standard data storage.
|
|
347
|
+
*
|
|
348
|
+
* @generated from field: optional viam.app.data.v1.TabularDataSourceType data_source_type = 5;
|
|
349
|
+
*/
|
|
350
|
+
dataSourceType?: TabularDataSourceType;
|
|
351
|
+
|
|
330
352
|
constructor(data?: PartialMessage<UpdateDataPipelineRequest>);
|
|
331
353
|
|
|
332
354
|
static readonly runtime: typeof proto3;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { AddRoleRequest, AddRoleResponse, ChangeRoleRequest, ChangeRoleResponse, CheckPermissionsRequest, CheckPermissionsResponse, CreateFragmentRequest, CreateFragmentResponse, CreateKeyFromExistingKeyAuthorizationsRequest, CreateKeyFromExistingKeyAuthorizationsResponse, CreateKeyRequest, CreateKeyResponse, CreateLocationRequest, CreateLocationResponse, CreateLocationSecretRequest, CreateLocationSecretResponse, CreateModuleRequest, CreateModuleResponse, CreateOAuthAppRequest, CreateOAuthAppResponse, CreateOrganizationInviteRequest, CreateOrganizationInviteResponse, CreateOrganizationRequest, CreateOrganizationResponse, CreateRegistryItemRequest, CreateRegistryItemResponse, CreateRobotPartSecretRequest, CreateRobotPartSecretResponse, DeleteFragmentRequest, DeleteFragmentResponse, DeleteFragmentTagRequest, DeleteFragmentTagResponse, DeleteKeyRequest, DeleteKeyResponse, DeleteLocationRequest, DeleteLocationResponse, DeleteLocationSecretRequest, DeleteLocationSecretResponse, DeleteOAuthAppRequest, DeleteOAuthAppResponse, DeleteOrganizationInviteRequest, DeleteOrganizationInviteResponse, DeleteOrganizationMemberRequest, DeleteOrganizationMemberResponse, DeleteOrganizationRequest, DeleteOrganizationResponse, DeleteRegistryItemRequest, DeleteRegistryItemResponse, DeleteRobotPartRequest, DeleteRobotPartResponse, DeleteRobotPartSecretRequest, DeleteRobotPartSecretResponse, DeleteRobotRequest, DeleteRobotResponse, DisableAuthServiceRequest, DisableAuthServiceResponse, DisableBillingServiceRequest, DisableBillingServiceResponse, EnableAuthServiceRequest, EnableAuthServiceResponse, EnableBillingServiceRequest, EnableBillingServiceResponse, GetAppContentRequest, GetAppContentResponse, GetBillingServiceConfigRequest, GetBillingServiceConfigResponse, GetFragmentHistoryRequest, GetFragmentHistoryResponse, GetFragmentRequest, GetFragmentResponse, GetFragmentUsageRequest, GetFragmentUsageResponse, GetLocationMetadataRequest, GetLocationMetadataResponse, GetLocationRequest, GetLocationResponse, GetModuleRequest, GetModuleResponse, GetOrganizationMetadataRequest, GetOrganizationMetadataResponse, GetOrganizationNamespaceAvailabilityRequest, GetOrganizationNamespaceAvailabilityResponse, GetOrganizationRequest, GetOrganizationResponse, GetOrganizationsWithAccessToLocationRequest, GetOrganizationsWithAccessToLocationResponse, GetRegistryItemRequest, GetRegistryItemResponse, GetRobotAPIKeysRequest, GetRobotAPIKeysResponse, GetRobotMetadataRequest, GetRobotMetadataResponse, GetRobotPartByNameAndLocationRequest, GetRobotPartByNameAndLocationResponse, GetRobotPartHistoryRequest, GetRobotPartHistoryResponse, GetRobotPartLogsRequest, GetRobotPartLogsResponse, GetRobotPartMetadataRequest, GetRobotPartMetadataResponse, GetRobotPartRequest, GetRobotPartResponse, GetRobotPartsRequest, GetRobotPartsResponse, GetRobotRequest, GetRobotResponse, GetRoverRentalRobotsRequest, GetRoverRentalRobotsResponse, GetUserIDByEmailRequest, GetUserIDByEmailResponse, ListAuthorizationsRequest, ListAuthorizationsResponse, ListFragmentsRequest, ListFragmentsResponse, ListKeysRequest, ListKeysResponse, ListLocationsRequest, ListLocationsResponse, ListMachineFragmentsRequest, ListMachineFragmentsResponse, ListMachineSummariesRequest, ListMachineSummariesResponse, ListModulesRequest, ListModulesResponse, ListNestedFragmentsRequest, ListNestedFragmentsResponse, ListOAuthAppsRequest, ListOAuthAppsResponse, ListOrganizationMembersRequest, ListOrganizationMembersResponse, ListOrganizationsByUserRequest, ListOrganizationsByUserResponse, ListOrganizationsRequest, ListOrganizationsResponse, ListRegistryItemsRequest, ListRegistryItemsResponse, ListRobotsRequest, ListRobotsResponse, LocationAuthRequest, LocationAuthResponse, MarkPartAsMainRequest, MarkPartAsMainResponse, MarkPartForRestartRequest, MarkPartForRestartResponse, NewRobotPartRequest, NewRobotPartResponse, NewRobotRequest, NewRobotResponse, OrganizationGetLogoRequest, OrganizationGetLogoResponse, OrganizationGetSupportEmailRequest, OrganizationGetSupportEmailResponse, OrganizationSetLogoRequest, OrganizationSetLogoResponse, OrganizationSetSupportEmailRequest, OrganizationSetSupportEmailResponse, ReadOAuthAppRequest, ReadOAuthAppResponse, RemoveRoleRequest, RemoveRoleResponse, RenameKeyRequest, RenameKeyResponse, RenameRegistryItemRequest, RenameRegistryItemResponse, ResendOrganizationInviteRequest, ResendOrganizationInviteResponse, RotateKeyRequest, RotateKeyResponse, SearchOrganizationsRequest, SearchOrganizationsResponse, SetFragmentTagRequest, SetFragmentTagResponse, ShareLocationRequest, ShareLocationResponse, TailRobotPartLogsRequest, TailRobotPartLogsResponse, TransferRegistryItemRequest, TransferRegistryItemResponse, UnshareLocationRequest, UnshareLocationResponse, UpdateBillingServiceRequest, UpdateBillingServiceResponse, UpdateFragmentRequest, UpdateFragmentResponse, UpdateLocationMetadataRequest, UpdateLocationMetadataResponse, UpdateLocationRequest, UpdateLocationResponse, UpdateModuleRequest, UpdateModuleResponse, UpdateOAuthAppRequest, UpdateOAuthAppResponse, UpdateOrganizationInviteAuthorizationsRequest, UpdateOrganizationInviteAuthorizationsResponse, UpdateOrganizationMetadataRequest, UpdateOrganizationMetadataResponse, UpdateOrganizationNamespaceRequest, UpdateOrganizationNamespaceResponse, UpdateOrganizationRequest, UpdateOrganizationResponse, UpdateRegistryItemRequest, UpdateRegistryItemResponse, UpdateRobotMetadataRequest, UpdateRobotMetadataResponse, UpdateRobotPartMetadataRequest, UpdateRobotPartMetadataResponse, UpdateRobotPartRequest, UpdateRobotPartResponse, UpdateRobotRequest, UpdateRobotResponse, UploadModuleFileRequest, UploadModuleFileResponse } from "./app_pb.js";
|
|
6
|
+
import { AddRoleRequest, AddRoleResponse, ChangeRoleRequest, ChangeRoleResponse, CheckPermissionsRequest, CheckPermissionsResponse, CreateFragmentRequest, CreateFragmentResponse, CreateKeyFromExistingKeyAuthorizationsRequest, CreateKeyFromExistingKeyAuthorizationsResponse, CreateKeyRequest, CreateKeyResponse, CreateLocationRequest, CreateLocationResponse, CreateLocationSecretRequest, CreateLocationSecretResponse, CreateModuleRequest, CreateModuleResponse, CreateOAuthAppRequest, CreateOAuthAppResponse, CreateOrganizationInviteRequest, CreateOrganizationInviteResponse, CreateOrganizationRequest, CreateOrganizationResponse, CreateRegistryItemRequest, CreateRegistryItemResponse, CreateRobotPartSecretRequest, CreateRobotPartSecretResponse, DeleteFragmentRequest, DeleteFragmentResponse, DeleteFragmentTagRequest, DeleteFragmentTagResponse, DeleteKeyRequest, DeleteKeyResponse, DeleteLocationRequest, DeleteLocationResponse, DeleteLocationSecretRequest, DeleteLocationSecretResponse, DeleteOAuthAppRequest, DeleteOAuthAppResponse, DeleteOrganizationInviteRequest, DeleteOrganizationInviteResponse, DeleteOrganizationMemberRequest, DeleteOrganizationMemberResponse, DeleteOrganizationRequest, DeleteOrganizationResponse, DeleteRegistryItemRequest, DeleteRegistryItemResponse, DeleteRobotPartRequest, DeleteRobotPartResponse, DeleteRobotPartSecretRequest, DeleteRobotPartSecretResponse, DeleteRobotRequest, DeleteRobotResponse, DisableAuthServiceRequest, DisableAuthServiceResponse, DisableBillingServiceRequest, DisableBillingServiceResponse, EnableAuthServiceRequest, EnableAuthServiceResponse, EnableBillingServiceRequest, EnableBillingServiceResponse, GetAppBrandingRequest, GetAppBrandingResponse, GetAppContentRequest, GetAppContentResponse, GetBillingServiceConfigRequest, GetBillingServiceConfigResponse, GetFragmentHistoryRequest, GetFragmentHistoryResponse, GetFragmentRequest, GetFragmentResponse, GetFragmentUsageRequest, GetFragmentUsageResponse, GetLocationMetadataRequest, GetLocationMetadataResponse, GetLocationRequest, GetLocationResponse, GetModuleRequest, GetModuleResponse, GetOrganizationMetadataRequest, GetOrganizationMetadataResponse, GetOrganizationNamespaceAvailabilityRequest, GetOrganizationNamespaceAvailabilityResponse, GetOrganizationRequest, GetOrganizationResponse, GetOrganizationsWithAccessToLocationRequest, GetOrganizationsWithAccessToLocationResponse, GetRegistryItemRequest, GetRegistryItemResponse, GetRobotAPIKeysRequest, GetRobotAPIKeysResponse, GetRobotMetadataRequest, GetRobotMetadataResponse, GetRobotPartByNameAndLocationRequest, GetRobotPartByNameAndLocationResponse, GetRobotPartHistoryRequest, GetRobotPartHistoryResponse, GetRobotPartLogsRequest, GetRobotPartLogsResponse, GetRobotPartMetadataRequest, GetRobotPartMetadataResponse, GetRobotPartRequest, GetRobotPartResponse, GetRobotPartsRequest, GetRobotPartsResponse, GetRobotRequest, GetRobotResponse, GetRoverRentalRobotsRequest, GetRoverRentalRobotsResponse, GetUserIDByEmailRequest, GetUserIDByEmailResponse, ListAuthorizationsRequest, ListAuthorizationsResponse, ListFragmentsRequest, ListFragmentsResponse, ListKeysRequest, ListKeysResponse, ListLocationsRequest, ListLocationsResponse, ListMachineFragmentsRequest, ListMachineFragmentsResponse, ListMachineSummariesRequest, ListMachineSummariesResponse, ListModulesRequest, ListModulesResponse, ListNestedFragmentsRequest, ListNestedFragmentsResponse, ListOAuthAppsRequest, ListOAuthAppsResponse, ListOrganizationMembersRequest, ListOrganizationMembersResponse, ListOrganizationsByUserRequest, ListOrganizationsByUserResponse, ListOrganizationsRequest, ListOrganizationsResponse, ListRegistryItemsRequest, ListRegistryItemsResponse, ListRobotsRequest, ListRobotsResponse, LocationAuthRequest, LocationAuthResponse, MarkPartAsMainRequest, MarkPartAsMainResponse, MarkPartForRestartRequest, MarkPartForRestartResponse, NewRobotPartRequest, NewRobotPartResponse, NewRobotRequest, NewRobotResponse, OrganizationGetLogoRequest, OrganizationGetLogoResponse, OrganizationGetSupportEmailRequest, OrganizationGetSupportEmailResponse, OrganizationSetLogoRequest, OrganizationSetLogoResponse, OrganizationSetSupportEmailRequest, OrganizationSetSupportEmailResponse, ReadOAuthAppRequest, ReadOAuthAppResponse, RemoveRoleRequest, RemoveRoleResponse, RenameKeyRequest, RenameKeyResponse, RenameRegistryItemRequest, RenameRegistryItemResponse, ResendOrganizationInviteRequest, ResendOrganizationInviteResponse, RotateKeyRequest, RotateKeyResponse, SearchOrganizationsRequest, SearchOrganizationsResponse, SetFragmentTagRequest, SetFragmentTagResponse, ShareLocationRequest, ShareLocationResponse, TailRobotPartLogsRequest, TailRobotPartLogsResponse, TransferRegistryItemRequest, TransferRegistryItemResponse, UnshareLocationRequest, UnshareLocationResponse, UpdateBillingServiceRequest, UpdateBillingServiceResponse, UpdateFragmentRequest, UpdateFragmentResponse, UpdateLocationMetadataRequest, UpdateLocationMetadataResponse, UpdateLocationRequest, UpdateLocationResponse, UpdateModuleRequest, UpdateModuleResponse, UpdateOAuthAppRequest, UpdateOAuthAppResponse, UpdateOrganizationInviteAuthorizationsRequest, UpdateOrganizationInviteAuthorizationsResponse, UpdateOrganizationMetadataRequest, UpdateOrganizationMetadataResponse, UpdateOrganizationNamespaceRequest, UpdateOrganizationNamespaceResponse, UpdateOrganizationRequest, UpdateOrganizationResponse, UpdateRegistryItemRequest, UpdateRegistryItemResponse, UpdateRobotMetadataRequest, UpdateRobotMetadataResponse, UpdateRobotPartMetadataRequest, UpdateRobotPartMetadataResponse, UpdateRobotPartRequest, UpdateRobotPartResponse, UpdateRobotRequest, UpdateRobotResponse, UploadModuleFileRequest, UploadModuleFileResponse } from "./app_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -1112,6 +1112,15 @@ export declare const AppService: {
|
|
|
1112
1112
|
readonly O: typeof GetAppContentResponse,
|
|
1113
1113
|
readonly kind: MethodKind.Unary,
|
|
1114
1114
|
},
|
|
1115
|
+
/**
|
|
1116
|
+
* @generated from rpc viam.app.v1.AppService.GetAppBranding
|
|
1117
|
+
*/
|
|
1118
|
+
readonly getAppBranding: {
|
|
1119
|
+
readonly name: "GetAppBranding",
|
|
1120
|
+
readonly I: typeof GetAppBrandingRequest,
|
|
1121
|
+
readonly O: typeof GetAppBrandingResponse,
|
|
1122
|
+
readonly kind: MethodKind.Unary,
|
|
1123
|
+
},
|
|
1115
1124
|
}
|
|
1116
1125
|
};
|
|
1117
1126
|
|
|
@@ -570,6 +570,11 @@ export declare class OrganizationMember extends Message<OrganizationMember> {
|
|
|
570
570
|
*/
|
|
571
571
|
lastLogin?: Timestamp;
|
|
572
572
|
|
|
573
|
+
/**
|
|
574
|
+
* @generated from field: optional google.protobuf.Timestamp last_access = 5;
|
|
575
|
+
*/
|
|
576
|
+
lastAccess?: Timestamp;
|
|
577
|
+
|
|
573
578
|
constructor(data?: PartialMessage<OrganizationMember>);
|
|
574
579
|
|
|
575
580
|
static readonly runtime: typeof proto3;
|
|
@@ -753,6 +758,11 @@ export declare class GetOrganizationNamespaceAvailabilityRequest extends Message
|
|
|
753
758
|
*/
|
|
754
759
|
publicNamespace: string;
|
|
755
760
|
|
|
761
|
+
/**
|
|
762
|
+
* @generated from field: string organization_id = 2;
|
|
763
|
+
*/
|
|
764
|
+
organizationId: string;
|
|
765
|
+
|
|
756
766
|
constructor(data?: PartialMessage<GetOrganizationNamespaceAvailabilityRequest>);
|
|
757
767
|
|
|
758
768
|
static readonly runtime: typeof proto3;
|
|
@@ -4602,6 +4612,27 @@ export declare class ListMachineSummariesRequest extends Message<ListMachineSumm
|
|
|
4602
4612
|
*/
|
|
4603
4613
|
organizationId: string;
|
|
4604
4614
|
|
|
4615
|
+
/**
|
|
4616
|
+
* Optional list of fragment IDs to filter machines that use any of these fragments
|
|
4617
|
+
*
|
|
4618
|
+
* @generated from field: repeated string fragment_ids = 2;
|
|
4619
|
+
*/
|
|
4620
|
+
fragmentIds: string[];
|
|
4621
|
+
|
|
4622
|
+
/**
|
|
4623
|
+
* Optional list of location IDs to filter machines that are in any of these locations.
|
|
4624
|
+
*
|
|
4625
|
+
* @generated from field: repeated string location_ids = 3;
|
|
4626
|
+
*/
|
|
4627
|
+
locationIds: string[];
|
|
4628
|
+
|
|
4629
|
+
/**
|
|
4630
|
+
* Optional max number of machines to return; default to 100 if unset
|
|
4631
|
+
*
|
|
4632
|
+
* @generated from field: optional int32 limit = 4;
|
|
4633
|
+
*/
|
|
4634
|
+
limit?: number;
|
|
4635
|
+
|
|
4605
4636
|
constructor(data?: PartialMessage<ListMachineSummariesRequest>);
|
|
4606
4637
|
|
|
4607
4638
|
static readonly runtime: typeof proto3;
|
|
@@ -6656,6 +6687,27 @@ export declare class App extends Message<App> {
|
|
|
6656
6687
|
*/
|
|
6657
6688
|
entrypoint: string;
|
|
6658
6689
|
|
|
6690
|
+
/**
|
|
6691
|
+
* Optional: fragment IDs to filter machines in the picker
|
|
6692
|
+
*
|
|
6693
|
+
* @generated from field: repeated string fragment_ids = 4;
|
|
6694
|
+
*/
|
|
6695
|
+
fragmentIds: string[];
|
|
6696
|
+
|
|
6697
|
+
/**
|
|
6698
|
+
* Optional: path to a custom logo for branding
|
|
6699
|
+
*
|
|
6700
|
+
* @generated from field: optional string logo_path = 5;
|
|
6701
|
+
*/
|
|
6702
|
+
logoPath?: string;
|
|
6703
|
+
|
|
6704
|
+
/**
|
|
6705
|
+
* Optional: structured customizations for the app (e.g., machine picker headings)
|
|
6706
|
+
*
|
|
6707
|
+
* @generated from field: viam.app.v1.AppCustomizations customizations = 6;
|
|
6708
|
+
*/
|
|
6709
|
+
customizations?: AppCustomizations;
|
|
6710
|
+
|
|
6659
6711
|
constructor(data?: PartialMessage<App>);
|
|
6660
6712
|
|
|
6661
6713
|
static readonly runtime: typeof proto3;
|
|
@@ -8473,3 +8525,140 @@ export declare class OAuthConfig extends Message<OAuthConfig> {
|
|
|
8473
8525
|
static equals(a: OAuthConfig | PlainMessage<OAuthConfig> | undefined, b: OAuthConfig | PlainMessage<OAuthConfig> | undefined): boolean;
|
|
8474
8526
|
}
|
|
8475
8527
|
|
|
8528
|
+
/**
|
|
8529
|
+
* Branding and customization for app machine picker
|
|
8530
|
+
*
|
|
8531
|
+
* @generated from message viam.app.v1.GetAppBrandingRequest
|
|
8532
|
+
*/
|
|
8533
|
+
export declare class GetAppBrandingRequest extends Message<GetAppBrandingRequest> {
|
|
8534
|
+
/**
|
|
8535
|
+
* @generated from field: string public_namespace = 1;
|
|
8536
|
+
*/
|
|
8537
|
+
publicNamespace: string;
|
|
8538
|
+
|
|
8539
|
+
/**
|
|
8540
|
+
* @generated from field: string name = 2;
|
|
8541
|
+
*/
|
|
8542
|
+
name: string;
|
|
8543
|
+
|
|
8544
|
+
constructor(data?: PartialMessage<GetAppBrandingRequest>);
|
|
8545
|
+
|
|
8546
|
+
static readonly runtime: typeof proto3;
|
|
8547
|
+
static readonly typeName = "viam.app.v1.GetAppBrandingRequest";
|
|
8548
|
+
static readonly fields: FieldList;
|
|
8549
|
+
|
|
8550
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetAppBrandingRequest;
|
|
8551
|
+
|
|
8552
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetAppBrandingRequest;
|
|
8553
|
+
|
|
8554
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAppBrandingRequest;
|
|
8555
|
+
|
|
8556
|
+
static equals(a: GetAppBrandingRequest | PlainMessage<GetAppBrandingRequest> | undefined, b: GetAppBrandingRequest | PlainMessage<GetAppBrandingRequest> | undefined): boolean;
|
|
8557
|
+
}
|
|
8558
|
+
|
|
8559
|
+
/**
|
|
8560
|
+
* @generated from message viam.app.v1.TextOverrides
|
|
8561
|
+
*/
|
|
8562
|
+
export declare class TextOverrides extends Message<TextOverrides> {
|
|
8563
|
+
/**
|
|
8564
|
+
* @generated from field: map<string, string> fields = 1;
|
|
8565
|
+
*/
|
|
8566
|
+
fields: { [key: string]: string };
|
|
8567
|
+
|
|
8568
|
+
constructor(data?: PartialMessage<TextOverrides>);
|
|
8569
|
+
|
|
8570
|
+
static readonly runtime: typeof proto3;
|
|
8571
|
+
static readonly typeName = "viam.app.v1.TextOverrides";
|
|
8572
|
+
static readonly fields: FieldList;
|
|
8573
|
+
|
|
8574
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): TextOverrides;
|
|
8575
|
+
|
|
8576
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): TextOverrides;
|
|
8577
|
+
|
|
8578
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): TextOverrides;
|
|
8579
|
+
|
|
8580
|
+
static equals(a: TextOverrides | PlainMessage<TextOverrides> | undefined, b: TextOverrides | PlainMessage<TextOverrides> | undefined): boolean;
|
|
8581
|
+
}
|
|
8582
|
+
|
|
8583
|
+
/**
|
|
8584
|
+
* @generated from message viam.app.v1.GetAppBrandingResponse
|
|
8585
|
+
*/
|
|
8586
|
+
export declare class GetAppBrandingResponse extends Message<GetAppBrandingResponse> {
|
|
8587
|
+
/**
|
|
8588
|
+
* @generated from field: optional string logo_path = 1;
|
|
8589
|
+
*/
|
|
8590
|
+
logoPath?: string;
|
|
8591
|
+
|
|
8592
|
+
/**
|
|
8593
|
+
* @generated from field: map<string, viam.app.v1.TextOverrides> text_customizations = 2;
|
|
8594
|
+
*/
|
|
8595
|
+
textCustomizations: { [key: string]: TextOverrides };
|
|
8596
|
+
|
|
8597
|
+
constructor(data?: PartialMessage<GetAppBrandingResponse>);
|
|
8598
|
+
|
|
8599
|
+
static readonly runtime: typeof proto3;
|
|
8600
|
+
static readonly typeName = "viam.app.v1.GetAppBrandingResponse";
|
|
8601
|
+
static readonly fields: FieldList;
|
|
8602
|
+
|
|
8603
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetAppBrandingResponse;
|
|
8604
|
+
|
|
8605
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetAppBrandingResponse;
|
|
8606
|
+
|
|
8607
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAppBrandingResponse;
|
|
8608
|
+
|
|
8609
|
+
static equals(a: GetAppBrandingResponse | PlainMessage<GetAppBrandingResponse> | undefined, b: GetAppBrandingResponse | PlainMessage<GetAppBrandingResponse> | undefined): boolean;
|
|
8610
|
+
}
|
|
8611
|
+
|
|
8612
|
+
/**
|
|
8613
|
+
* @generated from message viam.app.v1.AppCustomizations
|
|
8614
|
+
*/
|
|
8615
|
+
export declare class AppCustomizations extends Message<AppCustomizations> {
|
|
8616
|
+
/**
|
|
8617
|
+
* @generated from field: viam.app.v1.MachinePickerCustomizations machine_picker = 1;
|
|
8618
|
+
*/
|
|
8619
|
+
machinePicker?: MachinePickerCustomizations;
|
|
8620
|
+
|
|
8621
|
+
constructor(data?: PartialMessage<AppCustomizations>);
|
|
8622
|
+
|
|
8623
|
+
static readonly runtime: typeof proto3;
|
|
8624
|
+
static readonly typeName = "viam.app.v1.AppCustomizations";
|
|
8625
|
+
static readonly fields: FieldList;
|
|
8626
|
+
|
|
8627
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AppCustomizations;
|
|
8628
|
+
|
|
8629
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AppCustomizations;
|
|
8630
|
+
|
|
8631
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AppCustomizations;
|
|
8632
|
+
|
|
8633
|
+
static equals(a: AppCustomizations | PlainMessage<AppCustomizations> | undefined, b: AppCustomizations | PlainMessage<AppCustomizations> | undefined): boolean;
|
|
8634
|
+
}
|
|
8635
|
+
|
|
8636
|
+
/**
|
|
8637
|
+
* @generated from message viam.app.v1.MachinePickerCustomizations
|
|
8638
|
+
*/
|
|
8639
|
+
export declare class MachinePickerCustomizations extends Message<MachinePickerCustomizations> {
|
|
8640
|
+
/**
|
|
8641
|
+
* @generated from field: optional string heading = 1;
|
|
8642
|
+
*/
|
|
8643
|
+
heading?: string;
|
|
8644
|
+
|
|
8645
|
+
/**
|
|
8646
|
+
* @generated from field: optional string subheading = 2;
|
|
8647
|
+
*/
|
|
8648
|
+
subheading?: string;
|
|
8649
|
+
|
|
8650
|
+
constructor(data?: PartialMessage<MachinePickerCustomizations>);
|
|
8651
|
+
|
|
8652
|
+
static readonly runtime: typeof proto3;
|
|
8653
|
+
static readonly typeName = "viam.app.v1.MachinePickerCustomizations";
|
|
8654
|
+
static readonly fields: FieldList;
|
|
8655
|
+
|
|
8656
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MachinePickerCustomizations;
|
|
8657
|
+
|
|
8658
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MachinePickerCustomizations;
|
|
8659
|
+
|
|
8660
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MachinePickerCustomizations;
|
|
8661
|
+
|
|
8662
|
+
static equals(a: MachinePickerCustomizations | PlainMessage<MachinePickerCustomizations> | undefined, b: MachinePickerCustomizations | PlainMessage<MachinePickerCustomizations> | undefined): boolean;
|
|
8663
|
+
}
|
|
8664
|
+
|
|
@@ -135,6 +135,11 @@ export declare class RobotConfig extends Message<RobotConfig> {
|
|
|
135
135
|
*/
|
|
136
136
|
disableLogDeduplication: boolean;
|
|
137
137
|
|
|
138
|
+
/**
|
|
139
|
+
* @generated from field: repeated viam.app.v1.JobConfig jobs = 18;
|
|
140
|
+
*/
|
|
141
|
+
jobs: JobConfig[];
|
|
142
|
+
|
|
138
143
|
constructor(data?: PartialMessage<RobotConfig>);
|
|
139
144
|
|
|
140
145
|
static readonly runtime: typeof proto3;
|
|
@@ -182,6 +187,62 @@ export declare class LogPatternConfig extends Message<LogPatternConfig> {
|
|
|
182
187
|
static equals(a: LogPatternConfig | PlainMessage<LogPatternConfig> | undefined, b: LogPatternConfig | PlainMessage<LogPatternConfig> | undefined): boolean;
|
|
183
188
|
}
|
|
184
189
|
|
|
190
|
+
/**
|
|
191
|
+
* @generated from message viam.app.v1.JobConfig
|
|
192
|
+
*/
|
|
193
|
+
export declare class JobConfig extends Message<JobConfig> {
|
|
194
|
+
/**
|
|
195
|
+
* unique name of the job.
|
|
196
|
+
*
|
|
197
|
+
* @generated from field: string name = 1;
|
|
198
|
+
*/
|
|
199
|
+
name: string;
|
|
200
|
+
|
|
201
|
+
/**
|
|
202
|
+
* a unix-cron string or a Golang-parsable duration string,
|
|
203
|
+
* specifies the interval at which the job is run.
|
|
204
|
+
*
|
|
205
|
+
* @generated from field: string schedule = 2;
|
|
206
|
+
*/
|
|
207
|
+
schedule: string;
|
|
208
|
+
|
|
209
|
+
/**
|
|
210
|
+
* the resource associated with this job.
|
|
211
|
+
*
|
|
212
|
+
* @generated from field: string resource = 3;
|
|
213
|
+
*/
|
|
214
|
+
resource: string;
|
|
215
|
+
|
|
216
|
+
/**
|
|
217
|
+
* the gRPC request of this job's resource.
|
|
218
|
+
*
|
|
219
|
+
* @generated from field: string method = 4;
|
|
220
|
+
*/
|
|
221
|
+
method: string;
|
|
222
|
+
|
|
223
|
+
/**
|
|
224
|
+
* in case method is "DoCommand", specifies the
|
|
225
|
+
* command argument of the gRPC request.
|
|
226
|
+
*
|
|
227
|
+
* @generated from field: google.protobuf.Struct command = 5;
|
|
228
|
+
*/
|
|
229
|
+
command?: Struct;
|
|
230
|
+
|
|
231
|
+
constructor(data?: PartialMessage<JobConfig>);
|
|
232
|
+
|
|
233
|
+
static readonly runtime: typeof proto3;
|
|
234
|
+
static readonly typeName = "viam.app.v1.JobConfig";
|
|
235
|
+
static readonly fields: FieldList;
|
|
236
|
+
|
|
237
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): JobConfig;
|
|
238
|
+
|
|
239
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): JobConfig;
|
|
240
|
+
|
|
241
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): JobConfig;
|
|
242
|
+
|
|
243
|
+
static equals(a: JobConfig | PlainMessage<JobConfig> | undefined, b: JobConfig | PlainMessage<JobConfig> | undefined): boolean;
|
|
244
|
+
}
|
|
245
|
+
|
|
185
246
|
/**
|
|
186
247
|
* Valid location secret that can be used for authentication to the robot.
|
|
187
248
|
*
|
|
@@ -1686,6 +1747,13 @@ export declare class ModuleConfig extends Message<ModuleConfig> {
|
|
|
1686
1747
|
*/
|
|
1687
1748
|
firstRunTimeout?: Duration;
|
|
1688
1749
|
|
|
1750
|
+
/**
|
|
1751
|
+
* whether we are starting a module in TCP mode
|
|
1752
|
+
*
|
|
1753
|
+
* @generated from field: bool tcp_mode = 9;
|
|
1754
|
+
*/
|
|
1755
|
+
tcpMode: boolean;
|
|
1756
|
+
|
|
1689
1757
|
constructor(data?: PartialMessage<ModuleConfig>);
|
|
1690
1758
|
|
|
1691
1759
|
static readonly runtime: typeof proto3;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { GrabRequest, GrabResponse, IsMovingRequest, IsMovingResponse, OpenRequest, OpenResponse, StopRequest, StopResponse } from "./gripper_pb.js";
|
|
6
|
+
import { GrabRequest, GrabResponse, IsHoldingSomethingRequest, IsHoldingSomethingResponse, IsMovingRequest, IsMovingResponse, OpenRequest, OpenResponse, StopRequest, StopResponse } from "./gripper_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse, GetKinematicsRequest, GetKinematicsResponse } from "../../../common/v1/common_pb.js";
|
|
9
9
|
|
|
@@ -59,6 +59,17 @@ export declare const GripperService: {
|
|
|
59
59
|
readonly O: typeof IsMovingResponse,
|
|
60
60
|
readonly kind: MethodKind.Unary,
|
|
61
61
|
},
|
|
62
|
+
/**
|
|
63
|
+
* IsHoldingSomething returns whether the gripper is currently holding onto an object
|
|
64
|
+
*
|
|
65
|
+
* @generated from rpc viam.component.gripper.v1.GripperService.IsHoldingSomething
|
|
66
|
+
*/
|
|
67
|
+
readonly isHoldingSomething: {
|
|
68
|
+
readonly name: "IsHoldingSomething",
|
|
69
|
+
readonly I: typeof IsHoldingSomethingRequest,
|
|
70
|
+
readonly O: typeof IsHoldingSomethingResponse,
|
|
71
|
+
readonly kind: MethodKind.Unary,
|
|
72
|
+
},
|
|
62
73
|
/**
|
|
63
74
|
* DoCommand sends/receives arbitrary commands
|
|
64
75
|
*
|
|
@@ -210,3 +210,61 @@ export declare class IsMovingResponse extends Message<IsMovingResponse> {
|
|
|
210
210
|
static equals(a: IsMovingResponse | PlainMessage<IsMovingResponse> | undefined, b: IsMovingResponse | PlainMessage<IsMovingResponse> | undefined): boolean;
|
|
211
211
|
}
|
|
212
212
|
|
|
213
|
+
/**
|
|
214
|
+
* @generated from message viam.component.gripper.v1.IsHoldingSomethingRequest
|
|
215
|
+
*/
|
|
216
|
+
export declare class IsHoldingSomethingRequest extends Message<IsHoldingSomethingRequest> {
|
|
217
|
+
/**
|
|
218
|
+
* @generated from field: string name = 1;
|
|
219
|
+
*/
|
|
220
|
+
name: string;
|
|
221
|
+
|
|
222
|
+
/**
|
|
223
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
224
|
+
*/
|
|
225
|
+
extra?: Struct;
|
|
226
|
+
|
|
227
|
+
constructor(data?: PartialMessage<IsHoldingSomethingRequest>);
|
|
228
|
+
|
|
229
|
+
static readonly runtime: typeof proto3;
|
|
230
|
+
static readonly typeName = "viam.component.gripper.v1.IsHoldingSomethingRequest";
|
|
231
|
+
static readonly fields: FieldList;
|
|
232
|
+
|
|
233
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IsHoldingSomethingRequest;
|
|
234
|
+
|
|
235
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IsHoldingSomethingRequest;
|
|
236
|
+
|
|
237
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IsHoldingSomethingRequest;
|
|
238
|
+
|
|
239
|
+
static equals(a: IsHoldingSomethingRequest | PlainMessage<IsHoldingSomethingRequest> | undefined, b: IsHoldingSomethingRequest | PlainMessage<IsHoldingSomethingRequest> | undefined): boolean;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
/**
|
|
243
|
+
* @generated from message viam.component.gripper.v1.IsHoldingSomethingResponse
|
|
244
|
+
*/
|
|
245
|
+
export declare class IsHoldingSomethingResponse extends Message<IsHoldingSomethingResponse> {
|
|
246
|
+
/**
|
|
247
|
+
* @generated from field: bool is_holding_something = 1;
|
|
248
|
+
*/
|
|
249
|
+
isHoldingSomething: boolean;
|
|
250
|
+
|
|
251
|
+
/**
|
|
252
|
+
* @generated from field: google.protobuf.Struct meta = 99;
|
|
253
|
+
*/
|
|
254
|
+
meta?: Struct;
|
|
255
|
+
|
|
256
|
+
constructor(data?: PartialMessage<IsHoldingSomethingResponse>);
|
|
257
|
+
|
|
258
|
+
static readonly runtime: typeof proto3;
|
|
259
|
+
static readonly typeName = "viam.component.gripper.v1.IsHoldingSomethingResponse";
|
|
260
|
+
static readonly fields: FieldList;
|
|
261
|
+
|
|
262
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): IsHoldingSomethingResponse;
|
|
263
|
+
|
|
264
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): IsHoldingSomethingResponse;
|
|
265
|
+
|
|
266
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): IsHoldingSomethingResponse;
|
|
267
|
+
|
|
268
|
+
static equals(a: IsHoldingSomethingResponse | PlainMessage<IsHoldingSomethingResponse> | undefined, b: IsHoldingSomethingResponse | PlainMessage<IsHoldingSomethingResponse> | undefined): boolean;
|
|
269
|
+
}
|
|
270
|
+
|
|
@@ -150,6 +150,11 @@ export declare class GetNumberOfPositionsResponse extends Message<GetNumberOfPos
|
|
|
150
150
|
*/
|
|
151
151
|
numberOfPositions: number;
|
|
152
152
|
|
|
153
|
+
/**
|
|
154
|
+
* @generated from field: repeated string labels = 2;
|
|
155
|
+
*/
|
|
156
|
+
labels: string[];
|
|
157
|
+
|
|
153
158
|
constructor(data?: PartialMessage<GetNumberOfPositionsResponse>);
|
|
154
159
|
|
|
155
160
|
static readonly runtime: typeof proto3;
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { GetNetworkListRequest, GetNetworkListResponse, GetSmartMachineStatusRequest, GetSmartMachineStatusResponse, SetNetworkCredentialsRequest, SetNetworkCredentialsResponse, SetSmartMachineCredentialsRequest, SetSmartMachineCredentialsResponse } from "./provisioning_pb.js";
|
|
6
|
+
import { ExitProvisioningRequest, ExitProvisioningResponse, GetNetworkListRequest, GetNetworkListResponse, GetSmartMachineStatusRequest, GetSmartMachineStatusResponse, SetNetworkCredentialsRequest, SetNetworkCredentialsResponse, SetSmartMachineCredentialsRequest, SetSmartMachineCredentialsResponse } from "./provisioning_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -58,6 +58,18 @@ export declare const ProvisioningService: {
|
|
|
58
58
|
readonly O: typeof GetNetworkListResponse,
|
|
59
59
|
readonly kind: MethodKind.Unary,
|
|
60
60
|
},
|
|
61
|
+
/**
|
|
62
|
+
* ExitProvisioning is called when "done" with all other calls.
|
|
63
|
+
* It causes the device to exit provisioning mode to try any newly added wifi networks and resume normal operation.
|
|
64
|
+
*
|
|
65
|
+
* @generated from rpc viam.provisioning.v1.ProvisioningService.ExitProvisioning
|
|
66
|
+
*/
|
|
67
|
+
readonly exitProvisioning: {
|
|
68
|
+
readonly name: "ExitProvisioning",
|
|
69
|
+
readonly I: typeof ExitProvisioningRequest,
|
|
70
|
+
readonly O: typeof ExitProvisioningResponse,
|
|
71
|
+
readonly kind: MethodKind.Unary,
|
|
72
|
+
},
|
|
61
73
|
}
|
|
62
74
|
};
|
|
63
75
|
|