@viamrobotics/sdk 0.35.2 → 0.36.1-b.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 +3 -1
- package/dist/components/arm/arm.d.ts +3 -0
- package/dist/components/arm/client.d.ts +1 -0
- package/dist/components/base/base.d.ts +3 -0
- package/dist/components/base/client.d.ts +1 -0
- package/dist/components/camera/camera.d.ts +3 -0
- package/dist/components/camera/client.d.ts +1 -0
- package/dist/components/gantry/client.d.ts +1 -0
- package/dist/components/gantry/gantry.d.ts +3 -0
- package/dist/components/generic/client.d.ts +2 -1
- package/dist/components/generic/generic.d.ts +4 -1
- package/dist/components/gripper/client.d.ts +1 -0
- package/dist/components/gripper/gripper.d.ts +3 -0
- package/dist/gen/app/v1/app_connect.d.ts +34 -1
- package/dist/gen/app/v1/app_pb.d.ts +159 -0
- package/dist/gen/google/api/client_pb.d.ts +22 -0
- package/dist/main.es.js +3355 -3202
- package/dist/main.umd.js +7 -7
- package/package.json +2 -2
package/dist/api-version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const apiVersion = "v0.1.
|
|
1
|
+
export declare const apiVersion = "v0.1.391";
|
|
@@ -65,9 +65,11 @@ export declare class DataClient {
|
|
|
65
65
|
*
|
|
66
66
|
* @param organizationId The ID of the organization that owns the data
|
|
67
67
|
* @param query The MQL query to run as a list of BSON documents
|
|
68
|
+
* @param useRecentData Whether to query blob storage or your recent data
|
|
69
|
+
* store. Defaults to false
|
|
68
70
|
* @returns An array of data objects
|
|
69
71
|
*/
|
|
70
|
-
tabularDataByMQL(organizationId: string, query: Uint8Array[] | Record<string, Date | JsonValue>[]): Promise<(Object | any[])[]>;
|
|
72
|
+
tabularDataByMQL(organizationId: string, query: Uint8Array[] | Record<string, Date | JsonValue>[], useRecentData?: boolean): Promise<(Object | any[])[]>;
|
|
71
73
|
/**
|
|
72
74
|
* Filter and get a page of tabular data. The returned metadata might be empty
|
|
73
75
|
* if the metadata index of the data is out of the bounds of the returned
|
|
@@ -1,12 +1,15 @@
|
|
|
1
1
|
import type { PlainMessage, Struct } from '@bufbuild/protobuf';
|
|
2
2
|
import type { Pose, Resource } from '../../types';
|
|
3
3
|
import * as armApi from '../../gen/component/arm/v1/arm_pb';
|
|
4
|
+
import type { Geometry } from '../../gen/common/v1/common_pb';
|
|
4
5
|
export type ArmJointPositions = PlainMessage<armApi.JointPositions>;
|
|
5
6
|
export declare const ArmJointPositions: typeof armApi.JointPositions;
|
|
6
7
|
/** Represents a physical robot arm that exists in three-dimensional space. */
|
|
7
8
|
export interface Arm extends Resource {
|
|
8
9
|
/** Get the position of the end of the arm expressed as a pose */
|
|
9
10
|
getEndPosition: (extra?: Struct) => Promise<Pose>;
|
|
11
|
+
/** Get the geometries of the component in their current configuration */
|
|
12
|
+
getGeometries: (extra?: Struct) => Promise<Geometry[]>;
|
|
10
13
|
/**
|
|
11
14
|
* Move the end of the arm to the pose.
|
|
12
15
|
*
|
|
@@ -16,6 +16,7 @@ export declare class ArmClient implements Arm {
|
|
|
16
16
|
callOptions: CallOptions;
|
|
17
17
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
18
18
|
getEndPosition(extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/common/v1/common_pb").Pose>;
|
|
19
|
+
getGeometries(extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/common/v1/common_pb").Geometry[]>;
|
|
19
20
|
moveToPosition(pose: Pose, extra?: {}, callOptions?: CallOptions): Promise<void>;
|
|
20
21
|
moveToJointPositions(jointPositionsList: number[], extra?: {}, callOptions?: CallOptions): Promise<void>;
|
|
21
22
|
getJointPositions(extra?: {}, callOptions?: CallOptions): Promise<JointPositions>;
|
|
@@ -1,9 +1,12 @@
|
|
|
1
1
|
import type { Resource, Struct, Vector3 } from '../../types';
|
|
2
2
|
import * as baseApi from '../../gen/component/base/v1/base_pb';
|
|
3
|
+
import type { Geometry } from '../../gen/common/v1/common_pb';
|
|
3
4
|
export type BaseProperties = baseApi.GetPropertiesResponse;
|
|
4
5
|
export declare const BaseProperties: typeof baseApi.GetPropertiesResponse;
|
|
5
6
|
/** Represents a physical base of a robot. */
|
|
6
7
|
export interface Base extends Resource {
|
|
8
|
+
/** Get the geometries of the component in their current configuration */
|
|
9
|
+
getGeometries: (extra?: Struct) => Promise<Geometry[]>;
|
|
7
10
|
/**
|
|
8
11
|
* Move a base in a straight line by a given distance at a given speed. This
|
|
9
12
|
* method blocks until completed or cancelled.
|
|
@@ -14,6 +14,7 @@ export declare class BaseClient implements Base {
|
|
|
14
14
|
private readonly options;
|
|
15
15
|
callOptions: CallOptions;
|
|
16
16
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
17
|
+
getGeometries(extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/common/v1/common_pb").Geometry[]>;
|
|
17
18
|
moveStraight(distanceMm: number, mmPerSec: number, extra?: {}, callOptions?: CallOptions): Promise<void>;
|
|
18
19
|
spin(angleDeg: number, degsPerSec: number, extra?: {}, callOptions?: CallOptions): Promise<void>;
|
|
19
20
|
setPower(linear: Vector3, angular: Vector3, extra?: {}, callOptions?: CallOptions): Promise<void>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import type { Struct } from '@bufbuild/protobuf';
|
|
2
2
|
import type { DistortionParameters, IntrinsicParameters } from '../../gen/component/camera/v1/camera_pb';
|
|
3
3
|
import type { Resource } from '../../types';
|
|
4
|
+
import type { Geometry } from '../../gen/common/v1/common_pb';
|
|
4
5
|
export interface Properties {
|
|
5
6
|
/** Whether the camera supports the return of point cloud data. */
|
|
6
7
|
supportsPcd: boolean;
|
|
@@ -14,6 +15,8 @@ export interface Properties {
|
|
|
14
15
|
export type MimeType = '' | 'image/vnd.viam.rgba' | 'image/jpeg' | 'image/png' | 'pointcloud/pcd' | 'unsupported';
|
|
15
16
|
/** Represents any physical hardware that can capture frames. */
|
|
16
17
|
export interface Camera extends Resource {
|
|
18
|
+
/** Get the geometries of the component in their current configuration */
|
|
19
|
+
getGeometries: (extra?: Struct) => Promise<Geometry[]>;
|
|
17
20
|
/**
|
|
18
21
|
* Return a frame from a camera.
|
|
19
22
|
*
|
|
@@ -14,6 +14,7 @@ export declare class CameraClient implements Camera {
|
|
|
14
14
|
private readonly options;
|
|
15
15
|
callOptions: CallOptions;
|
|
16
16
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
17
|
+
getGeometries(extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/common/v1/common_pb").Geometry[]>;
|
|
17
18
|
getImage(mimeType?: MimeType, extra?: {}, callOptions?: CallOptions): Promise<Uint8Array>;
|
|
18
19
|
renderFrame(mimeType?: MimeType, extra?: {}, callOptions?: CallOptions): Promise<Blob>;
|
|
19
20
|
getPointCloud(extra?: {}, callOptions?: CallOptions): Promise<Uint8Array>;
|
|
@@ -14,6 +14,7 @@ export declare class GantryClient implements Gantry {
|
|
|
14
14
|
private readonly options;
|
|
15
15
|
callOptions: CallOptions;
|
|
16
16
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
17
|
+
getGeometries(extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/common/v1/common_pb").Geometry[]>;
|
|
17
18
|
getPosition(extra?: {}, callOptions?: CallOptions): Promise<number[]>;
|
|
18
19
|
moveToPosition(positionsMm: number[], speedsMmPerSec: number[], extra?: {}, callOptions?: CallOptions): Promise<void>;
|
|
19
20
|
home(extra?: {}, callOptions?: CallOptions): Promise<boolean>;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import type { Struct } from '@bufbuild/protobuf';
|
|
2
2
|
import type { Resource } from '../../types';
|
|
3
|
+
import type { Geometry } from '../../gen/common/v1/common_pb';
|
|
3
4
|
/** Represents a physical gantry that exists in three-dimensional space. */
|
|
4
5
|
export interface Gantry extends Resource {
|
|
6
|
+
/** Get the geometries of the component in their current configuration */
|
|
7
|
+
getGeometries: (extra?: Struct) => Promise<Geometry[]>;
|
|
5
8
|
/**
|
|
6
9
|
* Move each axis of the gantry to the positionsMm at the speeds in
|
|
7
10
|
* speedsMmPerSec
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type
|
|
1
|
+
import { type JsonValue, Struct } from '@bufbuild/protobuf';
|
|
2
2
|
import type { CallOptions } from '@connectrpc/connect';
|
|
3
3
|
import type { RobotClient } from '../../robot';
|
|
4
4
|
import type { Options } from '../../types';
|
|
@@ -14,5 +14,6 @@ export declare class GenericClient implements Generic {
|
|
|
14
14
|
private readonly options;
|
|
15
15
|
callOptions: CallOptions;
|
|
16
16
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
17
|
+
getGeometries(extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/common/v1/common_pb").Geometry[]>;
|
|
17
18
|
doCommand(command: Struct, callOptions?: CallOptions): Promise<JsonValue>;
|
|
18
19
|
}
|
|
@@ -1,4 +1,7 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { Geometry } from '../../gen/common/v1/common_pb';
|
|
2
|
+
import type { Struct, Resource } from '../../types';
|
|
2
3
|
/** Represents a generic component. */
|
|
3
4
|
export interface Generic extends Resource {
|
|
5
|
+
/** Get the geometries of the component in their current configuration */
|
|
6
|
+
getGeometries: (extra?: Struct) => Promise<Geometry[]>;
|
|
4
7
|
}
|
|
@@ -14,6 +14,7 @@ export declare class GripperClient implements Gripper {
|
|
|
14
14
|
private readonly options;
|
|
15
15
|
callOptions: CallOptions;
|
|
16
16
|
constructor(client: RobotClient, name: string, options?: Options);
|
|
17
|
+
getGeometries(extra?: {}, callOptions?: CallOptions): Promise<import("../../gen/common/v1/common_pb").Geometry[]>;
|
|
17
18
|
open(extra?: {}, callOptions?: CallOptions): Promise<void>;
|
|
18
19
|
grab(extra?: {}, callOptions?: CallOptions): Promise<void>;
|
|
19
20
|
stop(extra?: {}, callOptions?: CallOptions): Promise<void>;
|
|
@@ -1,7 +1,10 @@
|
|
|
1
1
|
import type { Struct } from '@bufbuild/protobuf';
|
|
2
2
|
import type { Resource } from '../../types';
|
|
3
|
+
import type { Geometry } from '../../gen/common/v1/common_pb';
|
|
3
4
|
/** Represents a physical robotic gripper. */
|
|
4
5
|
export interface Gripper extends Resource {
|
|
6
|
+
/** Get the geometries of the component in their current configuration */
|
|
7
|
+
getGeometries: (extra?: Struct) => Promise<Geometry[]>;
|
|
5
8
|
/** Open a gripper of the underlying robot. */
|
|
6
9
|
open: (extra?: Struct) => Promise<void>;
|
|
7
10
|
/** Request a gripper of the underlying robot to grab. */
|
|
@@ -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, 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, GetBillingServiceConfigRequest, GetBillingServiceConfigResponse, GetFragmentHistoryRequest, GetFragmentHistoryResponse, GetFragmentRequest, GetFragmentResponse, GetLocationRequest, GetLocationResponse, GetModuleRequest, GetModuleResponse, GetOrganizationNamespaceAvailabilityRequest, GetOrganizationNamespaceAvailabilityResponse, GetOrganizationRequest, GetOrganizationResponse, GetOrganizationsWithAccessToLocationRequest, GetOrganizationsWithAccessToLocationResponse, GetRegistryItemRequest, GetRegistryItemResponse, GetRobotAPIKeysRequest, GetRobotAPIKeysResponse, GetRobotPartHistoryRequest, GetRobotPartHistoryResponse, GetRobotPartLogsRequest, GetRobotPartLogsResponse, GetRobotPartRequest, GetRobotPartResponse, GetRobotPartsRequest, GetRobotPartsResponse, GetRobotRequest, GetRobotResponse, GetRoverRentalRobotsRequest, GetRoverRentalRobotsResponse, GetUserIDByEmailRequest, GetUserIDByEmailResponse, ListAuthorizationsRequest, ListAuthorizationsResponse, ListFragmentsRequest, ListFragmentsResponse, ListKeysRequest, ListKeysResponse, ListLocationsRequest, ListLocationsResponse, ListMachineFragmentsRequest, ListMachineFragmentsResponse, ListModulesRequest, ListModulesResponse, 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, ResendOrganizationInviteRequest, ResendOrganizationInviteResponse, RotateKeyRequest, RotateKeyResponse, SearchOrganizationsRequest, SearchOrganizationsResponse, ShareLocationRequest, ShareLocationResponse, TailRobotPartLogsRequest, TailRobotPartLogsResponse, TransferRegistryItemRequest, TransferRegistryItemResponse, UnshareLocationRequest, UnshareLocationResponse, UpdateBillingServiceRequest, UpdateBillingServiceResponse, UpdateFragmentRequest, UpdateFragmentResponse, UpdateLocationRequest, UpdateLocationResponse, UpdateModuleRequest, UpdateModuleResponse, UpdateOAuthAppRequest, UpdateOAuthAppResponse, UpdateOrganizationInviteAuthorizationsRequest, UpdateOrganizationInviteAuthorizationsResponse, UpdateOrganizationRequest, UpdateOrganizationResponse, UpdateRegistryItemRequest, UpdateRegistryItemResponse, 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, GetBillingServiceConfigRequest, GetBillingServiceConfigResponse, GetFragmentHistoryRequest, GetFragmentHistoryResponse, GetFragmentRequest, GetFragmentResponse, GetFragmentUsageRequest, GetFragmentUsageResponse, GetLocationRequest, GetLocationResponse, GetModuleRequest, GetModuleResponse, GetOrganizationNamespaceAvailabilityRequest, GetOrganizationNamespaceAvailabilityResponse, GetOrganizationRequest, GetOrganizationResponse, GetOrganizationsWithAccessToLocationRequest, GetOrganizationsWithAccessToLocationResponse, GetRegistryItemRequest, GetRegistryItemResponse, GetRobotAPIKeysRequest, GetRobotAPIKeysResponse, GetRobotPartHistoryRequest, GetRobotPartHistoryResponse, GetRobotPartLogsRequest, GetRobotPartLogsResponse, GetRobotPartRequest, GetRobotPartResponse, GetRobotPartsRequest, GetRobotPartsResponse, GetRobotRequest, GetRobotResponse, GetRoverRentalRobotsRequest, GetRoverRentalRobotsResponse, GetUserIDByEmailRequest, GetUserIDByEmailResponse, ListAuthorizationsRequest, ListAuthorizationsResponse, ListFragmentsRequest, ListFragmentsResponse, ListKeysRequest, ListKeysResponse, ListLocationsRequest, ListLocationsResponse, ListMachineFragmentsRequest, ListMachineFragmentsResponse, ListModulesRequest, ListModulesResponse, 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, ResendOrganizationInviteRequest, ResendOrganizationInviteResponse, RotateKeyRequest, RotateKeyResponse, SearchOrganizationsRequest, SearchOrganizationsResponse, SetFragmentTagRequest, SetFragmentTagResponse, ShareLocationRequest, ShareLocationResponse, TailRobotPartLogsRequest, TailRobotPartLogsResponse, TransferRegistryItemRequest, TransferRegistryItemResponse, UnshareLocationRequest, UnshareLocationResponse, UpdateBillingServiceRequest, UpdateBillingServiceResponse, UpdateFragmentRequest, UpdateFragmentResponse, UpdateLocationRequest, UpdateLocationResponse, UpdateModuleRequest, UpdateModuleResponse, UpdateOAuthAppRequest, UpdateOAuthAppResponse, UpdateOrganizationInviteAuthorizationsRequest, UpdateOrganizationInviteAuthorizationsResponse, UpdateOrganizationRequest, UpdateOrganizationResponse, UpdateRegistryItemRequest, UpdateRegistryItemResponse, UpdateRobotPartRequest, UpdateRobotPartResponse, UpdateRobotRequest, UpdateRobotResponse, UploadModuleFileRequest, UploadModuleFileResponse } from "./app_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -721,6 +721,39 @@ export declare const AppService: {
|
|
|
721
721
|
readonly O: typeof GetFragmentHistoryResponse,
|
|
722
722
|
readonly kind: MethodKind.Unary,
|
|
723
723
|
},
|
|
724
|
+
/**
|
|
725
|
+
* Gets usage for a fragment across versions
|
|
726
|
+
*
|
|
727
|
+
* @generated from rpc viam.app.v1.AppService.GetFragmentUsage
|
|
728
|
+
*/
|
|
729
|
+
readonly getFragmentUsage: {
|
|
730
|
+
readonly name: "GetFragmentUsage",
|
|
731
|
+
readonly I: typeof GetFragmentUsageRequest,
|
|
732
|
+
readonly O: typeof GetFragmentUsageResponse,
|
|
733
|
+
readonly kind: MethodKind.Unary,
|
|
734
|
+
},
|
|
735
|
+
/**
|
|
736
|
+
* Sets a fragment tag to a revision
|
|
737
|
+
*
|
|
738
|
+
* @generated from rpc viam.app.v1.AppService.SetFragmentTag
|
|
739
|
+
*/
|
|
740
|
+
readonly setFragmentTag: {
|
|
741
|
+
readonly name: "SetFragmentTag",
|
|
742
|
+
readonly I: typeof SetFragmentTagRequest,
|
|
743
|
+
readonly O: typeof SetFragmentTagResponse,
|
|
744
|
+
readonly kind: MethodKind.Unary,
|
|
745
|
+
},
|
|
746
|
+
/**
|
|
747
|
+
* Deletes a fragment tag
|
|
748
|
+
*
|
|
749
|
+
* @generated from rpc viam.app.v1.AppService.DeleteFragmentTag
|
|
750
|
+
*/
|
|
751
|
+
readonly deleteFragmentTag: {
|
|
752
|
+
readonly name: "DeleteFragmentTag",
|
|
753
|
+
readonly I: typeof DeleteFragmentTagRequest,
|
|
754
|
+
readonly O: typeof DeleteFragmentTagResponse,
|
|
755
|
+
readonly kind: MethodKind.Unary,
|
|
756
|
+
},
|
|
724
757
|
/**
|
|
725
758
|
* Creates an IdentityAuthorization
|
|
726
759
|
*
|
|
@@ -3828,6 +3828,165 @@ export declare class GetFragmentHistoryResponse extends Message<GetFragmentHisto
|
|
|
3828
3828
|
static equals(a: GetFragmentHistoryResponse | PlainMessage<GetFragmentHistoryResponse> | undefined, b: GetFragmentHistoryResponse | PlainMessage<GetFragmentHistoryResponse> | undefined): boolean;
|
|
3829
3829
|
}
|
|
3830
3830
|
|
|
3831
|
+
/**
|
|
3832
|
+
* @generated from message viam.app.v1.GetFragmentUsageRequest
|
|
3833
|
+
*/
|
|
3834
|
+
export declare class GetFragmentUsageRequest extends Message<GetFragmentUsageRequest> {
|
|
3835
|
+
/**
|
|
3836
|
+
* @generated from field: string fragment_id = 1;
|
|
3837
|
+
*/
|
|
3838
|
+
fragmentId: string;
|
|
3839
|
+
|
|
3840
|
+
constructor(data?: PartialMessage<GetFragmentUsageRequest>);
|
|
3841
|
+
|
|
3842
|
+
static readonly runtime: typeof proto3;
|
|
3843
|
+
static readonly typeName = "viam.app.v1.GetFragmentUsageRequest";
|
|
3844
|
+
static readonly fields: FieldList;
|
|
3845
|
+
|
|
3846
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetFragmentUsageRequest;
|
|
3847
|
+
|
|
3848
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetFragmentUsageRequest;
|
|
3849
|
+
|
|
3850
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetFragmentUsageRequest;
|
|
3851
|
+
|
|
3852
|
+
static equals(a: GetFragmentUsageRequest | PlainMessage<GetFragmentUsageRequest> | undefined, b: GetFragmentUsageRequest | PlainMessage<GetFragmentUsageRequest> | undefined): boolean;
|
|
3853
|
+
}
|
|
3854
|
+
|
|
3855
|
+
/**
|
|
3856
|
+
* @generated from message viam.app.v1.GetFragmentUsageResponse
|
|
3857
|
+
*/
|
|
3858
|
+
export declare class GetFragmentUsageResponse extends Message<GetFragmentUsageResponse> {
|
|
3859
|
+
/**
|
|
3860
|
+
* @generated from field: repeated viam.app.v1.FragmentUsage version_usages = 1;
|
|
3861
|
+
*/
|
|
3862
|
+
versionUsages: FragmentUsage[];
|
|
3863
|
+
|
|
3864
|
+
constructor(data?: PartialMessage<GetFragmentUsageResponse>);
|
|
3865
|
+
|
|
3866
|
+
static readonly runtime: typeof proto3;
|
|
3867
|
+
static readonly typeName = "viam.app.v1.GetFragmentUsageResponse";
|
|
3868
|
+
static readonly fields: FieldList;
|
|
3869
|
+
|
|
3870
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetFragmentUsageResponse;
|
|
3871
|
+
|
|
3872
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetFragmentUsageResponse;
|
|
3873
|
+
|
|
3874
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetFragmentUsageResponse;
|
|
3875
|
+
|
|
3876
|
+
static equals(a: GetFragmentUsageResponse | PlainMessage<GetFragmentUsageResponse> | undefined, b: GetFragmentUsageResponse | PlainMessage<GetFragmentUsageResponse> | undefined): boolean;
|
|
3877
|
+
}
|
|
3878
|
+
|
|
3879
|
+
/**
|
|
3880
|
+
* @generated from message viam.app.v1.SetFragmentTagRequest
|
|
3881
|
+
*/
|
|
3882
|
+
export declare class SetFragmentTagRequest extends Message<SetFragmentTagRequest> {
|
|
3883
|
+
/**
|
|
3884
|
+
* @generated from field: string fragment_id = 1;
|
|
3885
|
+
*/
|
|
3886
|
+
fragmentId: string;
|
|
3887
|
+
|
|
3888
|
+
/**
|
|
3889
|
+
* @generated from field: string tag = 2;
|
|
3890
|
+
*/
|
|
3891
|
+
tag: string;
|
|
3892
|
+
|
|
3893
|
+
/**
|
|
3894
|
+
* @generated from field: string revision = 3;
|
|
3895
|
+
*/
|
|
3896
|
+
revision: string;
|
|
3897
|
+
|
|
3898
|
+
constructor(data?: PartialMessage<SetFragmentTagRequest>);
|
|
3899
|
+
|
|
3900
|
+
static readonly runtime: typeof proto3;
|
|
3901
|
+
static readonly typeName = "viam.app.v1.SetFragmentTagRequest";
|
|
3902
|
+
static readonly fields: FieldList;
|
|
3903
|
+
|
|
3904
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetFragmentTagRequest;
|
|
3905
|
+
|
|
3906
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetFragmentTagRequest;
|
|
3907
|
+
|
|
3908
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetFragmentTagRequest;
|
|
3909
|
+
|
|
3910
|
+
static equals(a: SetFragmentTagRequest | PlainMessage<SetFragmentTagRequest> | undefined, b: SetFragmentTagRequest | PlainMessage<SetFragmentTagRequest> | undefined): boolean;
|
|
3911
|
+
}
|
|
3912
|
+
|
|
3913
|
+
/**
|
|
3914
|
+
* @generated from message viam.app.v1.SetFragmentTagResponse
|
|
3915
|
+
*/
|
|
3916
|
+
export declare class SetFragmentTagResponse extends Message<SetFragmentTagResponse> {
|
|
3917
|
+
/**
|
|
3918
|
+
* @generated from field: repeated viam.app.v1.FragmentTag tags = 1;
|
|
3919
|
+
*/
|
|
3920
|
+
tags: FragmentTag[];
|
|
3921
|
+
|
|
3922
|
+
constructor(data?: PartialMessage<SetFragmentTagResponse>);
|
|
3923
|
+
|
|
3924
|
+
static readonly runtime: typeof proto3;
|
|
3925
|
+
static readonly typeName = "viam.app.v1.SetFragmentTagResponse";
|
|
3926
|
+
static readonly fields: FieldList;
|
|
3927
|
+
|
|
3928
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SetFragmentTagResponse;
|
|
3929
|
+
|
|
3930
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SetFragmentTagResponse;
|
|
3931
|
+
|
|
3932
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SetFragmentTagResponse;
|
|
3933
|
+
|
|
3934
|
+
static equals(a: SetFragmentTagResponse | PlainMessage<SetFragmentTagResponse> | undefined, b: SetFragmentTagResponse | PlainMessage<SetFragmentTagResponse> | undefined): boolean;
|
|
3935
|
+
}
|
|
3936
|
+
|
|
3937
|
+
/**
|
|
3938
|
+
* @generated from message viam.app.v1.DeleteFragmentTagRequest
|
|
3939
|
+
*/
|
|
3940
|
+
export declare class DeleteFragmentTagRequest extends Message<DeleteFragmentTagRequest> {
|
|
3941
|
+
/**
|
|
3942
|
+
* @generated from field: string fragment_id = 1;
|
|
3943
|
+
*/
|
|
3944
|
+
fragmentId: string;
|
|
3945
|
+
|
|
3946
|
+
/**
|
|
3947
|
+
* @generated from field: string tag = 2;
|
|
3948
|
+
*/
|
|
3949
|
+
tag: string;
|
|
3950
|
+
|
|
3951
|
+
constructor(data?: PartialMessage<DeleteFragmentTagRequest>);
|
|
3952
|
+
|
|
3953
|
+
static readonly runtime: typeof proto3;
|
|
3954
|
+
static readonly typeName = "viam.app.v1.DeleteFragmentTagRequest";
|
|
3955
|
+
static readonly fields: FieldList;
|
|
3956
|
+
|
|
3957
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteFragmentTagRequest;
|
|
3958
|
+
|
|
3959
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteFragmentTagRequest;
|
|
3960
|
+
|
|
3961
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteFragmentTagRequest;
|
|
3962
|
+
|
|
3963
|
+
static equals(a: DeleteFragmentTagRequest | PlainMessage<DeleteFragmentTagRequest> | undefined, b: DeleteFragmentTagRequest | PlainMessage<DeleteFragmentTagRequest> | undefined): boolean;
|
|
3964
|
+
}
|
|
3965
|
+
|
|
3966
|
+
/**
|
|
3967
|
+
* @generated from message viam.app.v1.DeleteFragmentTagResponse
|
|
3968
|
+
*/
|
|
3969
|
+
export declare class DeleteFragmentTagResponse extends Message<DeleteFragmentTagResponse> {
|
|
3970
|
+
/**
|
|
3971
|
+
* @generated from field: repeated viam.app.v1.FragmentTag tags = 1;
|
|
3972
|
+
*/
|
|
3973
|
+
tags: FragmentTag[];
|
|
3974
|
+
|
|
3975
|
+
constructor(data?: PartialMessage<DeleteFragmentTagResponse>);
|
|
3976
|
+
|
|
3977
|
+
static readonly runtime: typeof proto3;
|
|
3978
|
+
static readonly typeName = "viam.app.v1.DeleteFragmentTagResponse";
|
|
3979
|
+
static readonly fields: FieldList;
|
|
3980
|
+
|
|
3981
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteFragmentTagResponse;
|
|
3982
|
+
|
|
3983
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteFragmentTagResponse;
|
|
3984
|
+
|
|
3985
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteFragmentTagResponse;
|
|
3986
|
+
|
|
3987
|
+
static equals(a: DeleteFragmentTagResponse | PlainMessage<DeleteFragmentTagResponse> | undefined, b: DeleteFragmentTagResponse | PlainMessage<DeleteFragmentTagResponse> | undefined): boolean;
|
|
3988
|
+
}
|
|
3989
|
+
|
|
3831
3990
|
/**
|
|
3832
3991
|
* @generated from message viam.app.v1.ListRobotsRequest
|
|
3833
3992
|
*/
|
|
@@ -555,6 +555,16 @@ export declare class PythonSettings_ExperimentalFeatures extends Message<PythonS
|
|
|
555
555
|
*/
|
|
556
556
|
protobufPythonicTypesEnabled: boolean;
|
|
557
557
|
|
|
558
|
+
/**
|
|
559
|
+
* Disables generation of an unversioned Python package for this client
|
|
560
|
+
* library. This means that the module names will need to be versioned in
|
|
561
|
+
* import statements. For example `import google.cloud.library_v2` instead
|
|
562
|
+
* of `import google.cloud.library`.
|
|
563
|
+
*
|
|
564
|
+
* @generated from field: bool unversioned_package_disabled = 3;
|
|
565
|
+
*/
|
|
566
|
+
unversionedPackageDisabled: boolean;
|
|
567
|
+
|
|
558
568
|
constructor(data?: PartialMessage<PythonSettings_ExperimentalFeatures>);
|
|
559
569
|
|
|
560
570
|
static readonly runtime: typeof proto3;
|
|
@@ -892,6 +902,18 @@ export declare class SelectiveGapicGeneration extends Message<SelectiveGapicGene
|
|
|
892
902
|
*/
|
|
893
903
|
methods: string[];
|
|
894
904
|
|
|
905
|
+
/**
|
|
906
|
+
* Setting this to true indicates to the client generators that methods
|
|
907
|
+
* that would be excluded from the generation should instead be generated
|
|
908
|
+
* in a way that indicates these methods should not be consumed by
|
|
909
|
+
* end users. How this is expressed is up to individual language
|
|
910
|
+
* implementations to decide. Some examples may be: added annotations,
|
|
911
|
+
* obfuscated identifiers, or other language idiomatic patterns.
|
|
912
|
+
*
|
|
913
|
+
* @generated from field: bool generate_omitted_as_internal = 2;
|
|
914
|
+
*/
|
|
915
|
+
generateOmittedAsInternal: boolean;
|
|
916
|
+
|
|
895
917
|
constructor(data?: PartialMessage<SelectiveGapicGeneration>);
|
|
896
918
|
|
|
897
919
|
static readonly runtime: typeof proto3;
|