@viamrobotics/sdk 0.73.0-b.0 → 0.74.0-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/app-client.d.ts +56 -0
- package/dist/gen/app/v1/app_connect.d.ts +37 -1
- package/dist/gen/app/v1/app_pb.d.ts +278 -1
- package/dist/gen/robot/v1/robot_pb.d.ts +115 -0
- package/dist/main.d.ts +1 -1
- package/dist/main.es.js +4352 -4127
- package/dist/main.umd.js +6 -6
- package/dist/robot/robot.d.ts +2 -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.562";
|
package/dist/app/app-client.d.ts
CHANGED
|
@@ -1151,6 +1151,62 @@ export declare class AppClient {
|
|
|
1151
1151
|
* @param itemId The ID of the item to delete
|
|
1152
1152
|
*/
|
|
1153
1153
|
deleteRegistryItem(itemId: string): Promise<void>;
|
|
1154
|
+
/**
|
|
1155
|
+
* Deprecates a registry item.
|
|
1156
|
+
*
|
|
1157
|
+
* @example
|
|
1158
|
+
*
|
|
1159
|
+
* ```ts
|
|
1160
|
+
* await appClient.deprecateRegistryItem('<YOUR-REGISTRY-ITEM-ID>', 'reason for deprecation');
|
|
1161
|
+
* ```
|
|
1162
|
+
*
|
|
1163
|
+
* @param itemId The ID of the item to deprecate
|
|
1164
|
+
* @param message The reason for deprecation
|
|
1165
|
+
*/
|
|
1166
|
+
deprecateRegistryItem(itemId: string, message: string): Promise<void>;
|
|
1167
|
+
/**
|
|
1168
|
+
* Undeprecates a registry item.
|
|
1169
|
+
*
|
|
1170
|
+
* @example
|
|
1171
|
+
*
|
|
1172
|
+
* ```ts
|
|
1173
|
+
* await appClient.undeprecateRegistryItem('<YOUR-REGISTRY-ITEM-ID>');
|
|
1174
|
+
* ```
|
|
1175
|
+
*
|
|
1176
|
+
* @param itemId The ID of the item to undeprecate
|
|
1177
|
+
*/
|
|
1178
|
+
undeprecateRegistryItem(itemId: string): Promise<void>;
|
|
1179
|
+
/**
|
|
1180
|
+
* Deprecates a specific version of a registry item.
|
|
1181
|
+
*
|
|
1182
|
+
* @example
|
|
1183
|
+
*
|
|
1184
|
+
* ```ts
|
|
1185
|
+
* await appClient.deprecateRegistryItemVersion(
|
|
1186
|
+
* '<YOUR-REGISTRY-ITEM-ID>',
|
|
1187
|
+
* '1.2.3',
|
|
1188
|
+
* 'reason for deprecation',
|
|
1189
|
+
* );
|
|
1190
|
+
* ```
|
|
1191
|
+
*
|
|
1192
|
+
* @param itemId The ID of the registry item
|
|
1193
|
+
* @param version The semver string of the version to deprecate
|
|
1194
|
+
* @param message The reason for deprecation
|
|
1195
|
+
*/
|
|
1196
|
+
deprecateRegistryItemVersion(itemId: string, version: string, message: string): Promise<void>;
|
|
1197
|
+
/**
|
|
1198
|
+
* Undeprecates a specific version of a registry item.
|
|
1199
|
+
*
|
|
1200
|
+
* @example
|
|
1201
|
+
*
|
|
1202
|
+
* ```ts
|
|
1203
|
+
* await appClient.undeprecateRegistryItemVersion('<YOUR-REGISTRY-ITEM-ID>', '1.2.3');
|
|
1204
|
+
* ```
|
|
1205
|
+
*
|
|
1206
|
+
* @param itemId The ID of the registry item
|
|
1207
|
+
* @param version The semver string of the version to undeprecate
|
|
1208
|
+
*/
|
|
1209
|
+
undeprecateRegistryItemVersion(itemId: string, version: string): Promise<void>;
|
|
1154
1210
|
/**
|
|
1155
1211
|
* Creates a new module.
|
|
1156
1212
|
*
|
|
@@ -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, CreateOAuthAppUserRequest, CreateOAuthAppUserResponse, CreateOrganizationInviteRequest, CreateOrganizationInviteResponse, CreateOrganizationRequest, CreateOrganizationResponse, CreateRegistryItemRequest, CreateRegistryItemResponse, CreateRobotPartSecretRequest, CreateRobotPartSecretResponse, DeleteDevicePushTokenRequest, DeleteDevicePushTokenResponse, DeleteFirebaseConfigRequest, DeleteFirebaseConfigResponse, 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, GetDevicePushTokensRequest, GetDevicePushTokensResponse, GetFirebaseConfigRequest, GetFirebaseConfigResponse, 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, ListRobotsForLocationsRequest, ListRobotsForLocationsResponse, ListRobotsForOrgRequest, ListRobotsForOrgResponse, 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, SetFirebaseConfigRequest, SetFirebaseConfigResponse, 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, UploadDevicePushTokenRequest, UploadDevicePushTokenResponse, 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, CreateOAuthAppUserRequest, CreateOAuthAppUserResponse, CreateOrganizationInviteRequest, CreateOrganizationInviteResponse, CreateOrganizationRequest, CreateOrganizationResponse, CreateRegistryItemRequest, CreateRegistryItemResponse, CreateRobotPartSecretRequest, CreateRobotPartSecretResponse, DeleteDevicePushTokenRequest, DeleteDevicePushTokenResponse, DeleteFirebaseConfigRequest, DeleteFirebaseConfigResponse, 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, DeprecateRegistryItemRequest, DeprecateRegistryItemResponse, DeprecateRegistryItemVersionRequest, DeprecateRegistryItemVersionResponse, DisableAuthServiceRequest, DisableAuthServiceResponse, DisableBillingServiceRequest, DisableBillingServiceResponse, EnableAuthServiceRequest, EnableAuthServiceResponse, EnableBillingServiceRequest, EnableBillingServiceResponse, GetAppBrandingRequest, GetAppBrandingResponse, GetAppContentRequest, GetAppContentResponse, GetBillingServiceConfigRequest, GetBillingServiceConfigResponse, GetDevicePushTokensRequest, GetDevicePushTokensResponse, GetFirebaseConfigRequest, GetFirebaseConfigResponse, 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, ListRobotsForLocationsRequest, ListRobotsForLocationsResponse, ListRobotsForOrgRequest, ListRobotsForOrgResponse, 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, SetFirebaseConfigRequest, SetFirebaseConfigResponse, SetFragmentTagRequest, SetFragmentTagResponse, ShareLocationRequest, ShareLocationResponse, TailRobotPartLogsRequest, TailRobotPartLogsResponse, TransferRegistryItemRequest, TransferRegistryItemResponse, UndeprecateRegistryItemRequest, UndeprecateRegistryItemResponse, UndeprecateRegistryItemVersionRequest, UndeprecateRegistryItemVersionResponse, 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, UploadDevicePushTokenRequest, UploadDevicePushTokenResponse, UploadModuleFileRequest, UploadModuleFileResponse } from "./app_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -1035,6 +1035,24 @@ export declare const AppService: {
|
|
|
1035
1035
|
readonly O: typeof TransferRegistryItemResponse,
|
|
1036
1036
|
readonly kind: MethodKind.Unary,
|
|
1037
1037
|
},
|
|
1038
|
+
/**
|
|
1039
|
+
* @generated from rpc viam.app.v1.AppService.DeprecateRegistryItem
|
|
1040
|
+
*/
|
|
1041
|
+
readonly deprecateRegistryItem: {
|
|
1042
|
+
readonly name: "DeprecateRegistryItem",
|
|
1043
|
+
readonly I: typeof DeprecateRegistryItemRequest,
|
|
1044
|
+
readonly O: typeof DeprecateRegistryItemResponse,
|
|
1045
|
+
readonly kind: MethodKind.Unary,
|
|
1046
|
+
},
|
|
1047
|
+
/**
|
|
1048
|
+
* @generated from rpc viam.app.v1.AppService.UndeprecateRegistryItem
|
|
1049
|
+
*/
|
|
1050
|
+
readonly undeprecateRegistryItem: {
|
|
1051
|
+
readonly name: "UndeprecateRegistryItem",
|
|
1052
|
+
readonly I: typeof UndeprecateRegistryItemRequest,
|
|
1053
|
+
readonly O: typeof UndeprecateRegistryItemResponse,
|
|
1054
|
+
readonly kind: MethodKind.Unary,
|
|
1055
|
+
},
|
|
1038
1056
|
/**
|
|
1039
1057
|
* @generated from rpc viam.app.v1.AppService.CreateModule
|
|
1040
1058
|
*/
|
|
@@ -1080,6 +1098,24 @@ export declare const AppService: {
|
|
|
1080
1098
|
readonly O: typeof ListModulesResponse,
|
|
1081
1099
|
readonly kind: MethodKind.Unary,
|
|
1082
1100
|
},
|
|
1101
|
+
/**
|
|
1102
|
+
* @generated from rpc viam.app.v1.AppService.DeprecateRegistryItemVersion
|
|
1103
|
+
*/
|
|
1104
|
+
readonly deprecateRegistryItemVersion: {
|
|
1105
|
+
readonly name: "DeprecateRegistryItemVersion",
|
|
1106
|
+
readonly I: typeof DeprecateRegistryItemVersionRequest,
|
|
1107
|
+
readonly O: typeof DeprecateRegistryItemVersionResponse,
|
|
1108
|
+
readonly kind: MethodKind.Unary,
|
|
1109
|
+
},
|
|
1110
|
+
/**
|
|
1111
|
+
* @generated from rpc viam.app.v1.AppService.UndeprecateRegistryItemVersion
|
|
1112
|
+
*/
|
|
1113
|
+
readonly undeprecateRegistryItemVersion: {
|
|
1114
|
+
readonly name: "UndeprecateRegistryItemVersion",
|
|
1115
|
+
readonly I: typeof UndeprecateRegistryItemVersionRequest,
|
|
1116
|
+
readonly O: typeof UndeprecateRegistryItemVersionResponse,
|
|
1117
|
+
readonly kind: MethodKind.Unary,
|
|
1118
|
+
},
|
|
1083
1119
|
/**
|
|
1084
1120
|
* @generated from rpc viam.app.v1.AppService.CreateKey
|
|
1085
1121
|
*/
|
|
@@ -4060,12 +4060,20 @@ export declare class FragmentImport extends Message<FragmentImport> {
|
|
|
4060
4060
|
prefix?: string;
|
|
4061
4061
|
|
|
4062
4062
|
/**
|
|
4063
|
+
* Deprecated: use fragment_variables
|
|
4064
|
+
*
|
|
4063
4065
|
* key-value pairs for fragment variables
|
|
4064
4066
|
*
|
|
4065
|
-
* @generated from field: map<string, string> variables = 4;
|
|
4067
|
+
* @generated from field: map<string, string> variables = 4 [deprecated = true];
|
|
4068
|
+
* @deprecated
|
|
4066
4069
|
*/
|
|
4067
4070
|
variables: { [key: string]: string };
|
|
4068
4071
|
|
|
4072
|
+
/**
|
|
4073
|
+
* @generated from field: optional google.protobuf.Struct fragment_variables = 5;
|
|
4074
|
+
*/
|
|
4075
|
+
fragmentVariables?: Struct;
|
|
4076
|
+
|
|
4069
4077
|
constructor(data?: PartialMessage<FragmentImport>);
|
|
4070
4078
|
|
|
4071
4079
|
static readonly runtime: typeof proto3;
|
|
@@ -6104,6 +6112,13 @@ export declare class ModuleVersion extends Message<ModuleVersion> {
|
|
|
6104
6112
|
*/
|
|
6105
6113
|
apps: App[];
|
|
6106
6114
|
|
|
6115
|
+
/**
|
|
6116
|
+
* When set, marks this specific version as deprecated
|
|
6117
|
+
*
|
|
6118
|
+
* @generated from field: optional viam.app.v1.DeprecatedStatus deprecated_status = 8;
|
|
6119
|
+
*/
|
|
6120
|
+
deprecatedStatus?: DeprecatedStatus;
|
|
6121
|
+
|
|
6107
6122
|
constructor(data?: PartialMessage<ModuleVersion>);
|
|
6108
6123
|
|
|
6109
6124
|
static readonly runtime: typeof proto3;
|
|
@@ -6336,6 +6351,42 @@ export declare class MLTrainingMetadata extends Message<MLTrainingMetadata> {
|
|
|
6336
6351
|
static equals(a: MLTrainingMetadata | PlainMessage<MLTrainingMetadata> | undefined, b: MLTrainingMetadata | PlainMessage<MLTrainingMetadata> | undefined): boolean;
|
|
6337
6352
|
}
|
|
6338
6353
|
|
|
6354
|
+
/**
|
|
6355
|
+
* note: current project will only support deprecation of modules;
|
|
6356
|
+
* Training Script and ML Model aren't supported yet.
|
|
6357
|
+
*
|
|
6358
|
+
* @generated from message viam.app.v1.DeprecatedStatus
|
|
6359
|
+
*/
|
|
6360
|
+
export declare class DeprecatedStatus extends Message<DeprecatedStatus> {
|
|
6361
|
+
/**
|
|
6362
|
+
* time of deprecation
|
|
6363
|
+
*
|
|
6364
|
+
* @generated from field: google.protobuf.Timestamp deprecated_at = 1;
|
|
6365
|
+
*/
|
|
6366
|
+
deprecatedAt?: Timestamp;
|
|
6367
|
+
|
|
6368
|
+
/**
|
|
6369
|
+
* msg explaining reason for deprecation
|
|
6370
|
+
*
|
|
6371
|
+
* @generated from field: string message = 2;
|
|
6372
|
+
*/
|
|
6373
|
+
message: string;
|
|
6374
|
+
|
|
6375
|
+
constructor(data?: PartialMessage<DeprecatedStatus>);
|
|
6376
|
+
|
|
6377
|
+
static readonly runtime: typeof proto3;
|
|
6378
|
+
static readonly typeName = "viam.app.v1.DeprecatedStatus";
|
|
6379
|
+
static readonly fields: FieldList;
|
|
6380
|
+
|
|
6381
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeprecatedStatus;
|
|
6382
|
+
|
|
6383
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeprecatedStatus;
|
|
6384
|
+
|
|
6385
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeprecatedStatus;
|
|
6386
|
+
|
|
6387
|
+
static equals(a: DeprecatedStatus | PlainMessage<DeprecatedStatus> | undefined, b: DeprecatedStatus | PlainMessage<DeprecatedStatus> | undefined): boolean;
|
|
6388
|
+
}
|
|
6389
|
+
|
|
6339
6390
|
/**
|
|
6340
6391
|
* @generated from message viam.app.v1.RegistryItem
|
|
6341
6392
|
*/
|
|
@@ -6466,6 +6517,13 @@ export declare class RegistryItem extends Message<RegistryItem> {
|
|
|
6466
6517
|
*/
|
|
6467
6518
|
updatedAt?: Timestamp;
|
|
6468
6519
|
|
|
6520
|
+
/**
|
|
6521
|
+
* Whether the item is deprecated
|
|
6522
|
+
*
|
|
6523
|
+
* @generated from field: optional viam.app.v1.DeprecatedStatus deprecated_status = 17;
|
|
6524
|
+
*/
|
|
6525
|
+
deprecatedStatus?: DeprecatedStatus;
|
|
6526
|
+
|
|
6469
6527
|
constructor(data?: PartialMessage<RegistryItem>);
|
|
6470
6528
|
|
|
6471
6529
|
static readonly runtime: typeof proto3;
|
|
@@ -6747,6 +6805,11 @@ export declare class ListRegistryItemsRequest extends Message<ListRegistryItemsR
|
|
|
6747
6805
|
*/
|
|
6748
6806
|
moduleLanguages: ModuleLanguage[];
|
|
6749
6807
|
|
|
6808
|
+
/**
|
|
6809
|
+
* @generated from field: optional bool show_owned_deprecated = 12;
|
|
6810
|
+
*/
|
|
6811
|
+
showOwnedDeprecated?: boolean;
|
|
6812
|
+
|
|
6750
6813
|
constructor(data?: PartialMessage<ListRegistryItemsRequest>);
|
|
6751
6814
|
|
|
6752
6815
|
static readonly runtime: typeof proto3;
|
|
@@ -6932,6 +6995,97 @@ export declare class TransferRegistryItemResponse extends Message<TransferRegist
|
|
|
6932
6995
|
static equals(a: TransferRegistryItemResponse | PlainMessage<TransferRegistryItemResponse> | undefined, b: TransferRegistryItemResponse | PlainMessage<TransferRegistryItemResponse> | undefined): boolean;
|
|
6933
6996
|
}
|
|
6934
6997
|
|
|
6998
|
+
/**
|
|
6999
|
+
* @generated from message viam.app.v1.DeprecateRegistryItemRequest
|
|
7000
|
+
*/
|
|
7001
|
+
export declare class DeprecateRegistryItemRequest extends Message<DeprecateRegistryItemRequest> {
|
|
7002
|
+
/**
|
|
7003
|
+
* @generated from field: string item_id = 1;
|
|
7004
|
+
*/
|
|
7005
|
+
itemId: string;
|
|
7006
|
+
|
|
7007
|
+
/**
|
|
7008
|
+
* @generated from field: string message = 2;
|
|
7009
|
+
*/
|
|
7010
|
+
message: string;
|
|
7011
|
+
|
|
7012
|
+
constructor(data?: PartialMessage<DeprecateRegistryItemRequest>);
|
|
7013
|
+
|
|
7014
|
+
static readonly runtime: typeof proto3;
|
|
7015
|
+
static readonly typeName = "viam.app.v1.DeprecateRegistryItemRequest";
|
|
7016
|
+
static readonly fields: FieldList;
|
|
7017
|
+
|
|
7018
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeprecateRegistryItemRequest;
|
|
7019
|
+
|
|
7020
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeprecateRegistryItemRequest;
|
|
7021
|
+
|
|
7022
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeprecateRegistryItemRequest;
|
|
7023
|
+
|
|
7024
|
+
static equals(a: DeprecateRegistryItemRequest | PlainMessage<DeprecateRegistryItemRequest> | undefined, b: DeprecateRegistryItemRequest | PlainMessage<DeprecateRegistryItemRequest> | undefined): boolean;
|
|
7025
|
+
}
|
|
7026
|
+
|
|
7027
|
+
/**
|
|
7028
|
+
* @generated from message viam.app.v1.DeprecateRegistryItemResponse
|
|
7029
|
+
*/
|
|
7030
|
+
export declare class DeprecateRegistryItemResponse extends Message<DeprecateRegistryItemResponse> {
|
|
7031
|
+
constructor(data?: PartialMessage<DeprecateRegistryItemResponse>);
|
|
7032
|
+
|
|
7033
|
+
static readonly runtime: typeof proto3;
|
|
7034
|
+
static readonly typeName = "viam.app.v1.DeprecateRegistryItemResponse";
|
|
7035
|
+
static readonly fields: FieldList;
|
|
7036
|
+
|
|
7037
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeprecateRegistryItemResponse;
|
|
7038
|
+
|
|
7039
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeprecateRegistryItemResponse;
|
|
7040
|
+
|
|
7041
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeprecateRegistryItemResponse;
|
|
7042
|
+
|
|
7043
|
+
static equals(a: DeprecateRegistryItemResponse | PlainMessage<DeprecateRegistryItemResponse> | undefined, b: DeprecateRegistryItemResponse | PlainMessage<DeprecateRegistryItemResponse> | undefined): boolean;
|
|
7044
|
+
}
|
|
7045
|
+
|
|
7046
|
+
/**
|
|
7047
|
+
* @generated from message viam.app.v1.UndeprecateRegistryItemRequest
|
|
7048
|
+
*/
|
|
7049
|
+
export declare class UndeprecateRegistryItemRequest extends Message<UndeprecateRegistryItemRequest> {
|
|
7050
|
+
/**
|
|
7051
|
+
* @generated from field: string item_id = 1;
|
|
7052
|
+
*/
|
|
7053
|
+
itemId: string;
|
|
7054
|
+
|
|
7055
|
+
constructor(data?: PartialMessage<UndeprecateRegistryItemRequest>);
|
|
7056
|
+
|
|
7057
|
+
static readonly runtime: typeof proto3;
|
|
7058
|
+
static readonly typeName = "viam.app.v1.UndeprecateRegistryItemRequest";
|
|
7059
|
+
static readonly fields: FieldList;
|
|
7060
|
+
|
|
7061
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UndeprecateRegistryItemRequest;
|
|
7062
|
+
|
|
7063
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UndeprecateRegistryItemRequest;
|
|
7064
|
+
|
|
7065
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UndeprecateRegistryItemRequest;
|
|
7066
|
+
|
|
7067
|
+
static equals(a: UndeprecateRegistryItemRequest | PlainMessage<UndeprecateRegistryItemRequest> | undefined, b: UndeprecateRegistryItemRequest | PlainMessage<UndeprecateRegistryItemRequest> | undefined): boolean;
|
|
7068
|
+
}
|
|
7069
|
+
|
|
7070
|
+
/**
|
|
7071
|
+
* @generated from message viam.app.v1.UndeprecateRegistryItemResponse
|
|
7072
|
+
*/
|
|
7073
|
+
export declare class UndeprecateRegistryItemResponse extends Message<UndeprecateRegistryItemResponse> {
|
|
7074
|
+
constructor(data?: PartialMessage<UndeprecateRegistryItemResponse>);
|
|
7075
|
+
|
|
7076
|
+
static readonly runtime: typeof proto3;
|
|
7077
|
+
static readonly typeName = "viam.app.v1.UndeprecateRegistryItemResponse";
|
|
7078
|
+
static readonly fields: FieldList;
|
|
7079
|
+
|
|
7080
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UndeprecateRegistryItemResponse;
|
|
7081
|
+
|
|
7082
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UndeprecateRegistryItemResponse;
|
|
7083
|
+
|
|
7084
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UndeprecateRegistryItemResponse;
|
|
7085
|
+
|
|
7086
|
+
static equals(a: UndeprecateRegistryItemResponse | PlainMessage<UndeprecateRegistryItemResponse> | undefined, b: UndeprecateRegistryItemResponse | PlainMessage<UndeprecateRegistryItemResponse> | undefined): boolean;
|
|
7087
|
+
}
|
|
7088
|
+
|
|
6935
7089
|
/**
|
|
6936
7090
|
* Modules
|
|
6937
7091
|
*
|
|
@@ -7654,6 +7808,13 @@ export declare class Module extends Message<Module> {
|
|
|
7654
7808
|
*/
|
|
7655
7809
|
apps: App[];
|
|
7656
7810
|
|
|
7811
|
+
/**
|
|
7812
|
+
* Deprecated status of an individual module
|
|
7813
|
+
*
|
|
7814
|
+
* @generated from field: optional viam.app.v1.DeprecatedStatus deprecated_status = 16;
|
|
7815
|
+
*/
|
|
7816
|
+
deprecatedStatus?: DeprecatedStatus;
|
|
7817
|
+
|
|
7657
7818
|
constructor(data?: PartialMessage<Module>);
|
|
7658
7819
|
|
|
7659
7820
|
static readonly runtime: typeof proto3;
|
|
@@ -7722,6 +7883,13 @@ export declare class VersionHistory extends Message<VersionHistory> {
|
|
|
7722
7883
|
*/
|
|
7723
7884
|
apps: App[];
|
|
7724
7885
|
|
|
7886
|
+
/**
|
|
7887
|
+
* Deprecated status of an individual module version
|
|
7888
|
+
*
|
|
7889
|
+
* @generated from field: optional viam.app.v1.DeprecatedStatus deprecated_status = 8;
|
|
7890
|
+
*/
|
|
7891
|
+
deprecatedStatus?: DeprecatedStatus;
|
|
7892
|
+
|
|
7725
7893
|
constructor(data?: PartialMessage<VersionHistory>);
|
|
7726
7894
|
|
|
7727
7895
|
static readonly runtime: typeof proto3;
|
|
@@ -7827,6 +7995,115 @@ export declare class ListModulesResponse extends Message<ListModulesResponse> {
|
|
|
7827
7995
|
static equals(a: ListModulesResponse | PlainMessage<ListModulesResponse> | undefined, b: ListModulesResponse | PlainMessage<ListModulesResponse> | undefined): boolean;
|
|
7828
7996
|
}
|
|
7829
7997
|
|
|
7998
|
+
/**
|
|
7999
|
+
* Deprecates a specific version of a registry item.
|
|
8000
|
+
*
|
|
8001
|
+
* @generated from message viam.app.v1.DeprecateRegistryItemVersionRequest
|
|
8002
|
+
*/
|
|
8003
|
+
export declare class DeprecateRegistryItemVersionRequest extends Message<DeprecateRegistryItemVersionRequest> {
|
|
8004
|
+
/**
|
|
8005
|
+
* The id of the registry item
|
|
8006
|
+
*
|
|
8007
|
+
* @generated from field: string item_id = 1;
|
|
8008
|
+
*/
|
|
8009
|
+
itemId: string;
|
|
8010
|
+
|
|
8011
|
+
/**
|
|
8012
|
+
* The semver string of the version to deprecate.
|
|
8013
|
+
*
|
|
8014
|
+
* @generated from field: string version = 2;
|
|
8015
|
+
*/
|
|
8016
|
+
version: string;
|
|
8017
|
+
|
|
8018
|
+
/**
|
|
8019
|
+
* msg explaining reason for deprecation
|
|
8020
|
+
*
|
|
8021
|
+
* @generated from field: string message = 3;
|
|
8022
|
+
*/
|
|
8023
|
+
message: string;
|
|
8024
|
+
|
|
8025
|
+
constructor(data?: PartialMessage<DeprecateRegistryItemVersionRequest>);
|
|
8026
|
+
|
|
8027
|
+
static readonly runtime: typeof proto3;
|
|
8028
|
+
static readonly typeName = "viam.app.v1.DeprecateRegistryItemVersionRequest";
|
|
8029
|
+
static readonly fields: FieldList;
|
|
8030
|
+
|
|
8031
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeprecateRegistryItemVersionRequest;
|
|
8032
|
+
|
|
8033
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeprecateRegistryItemVersionRequest;
|
|
8034
|
+
|
|
8035
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeprecateRegistryItemVersionRequest;
|
|
8036
|
+
|
|
8037
|
+
static equals(a: DeprecateRegistryItemVersionRequest | PlainMessage<DeprecateRegistryItemVersionRequest> | undefined, b: DeprecateRegistryItemVersionRequest | PlainMessage<DeprecateRegistryItemVersionRequest> | undefined): boolean;
|
|
8038
|
+
}
|
|
8039
|
+
|
|
8040
|
+
/**
|
|
8041
|
+
* @generated from message viam.app.v1.DeprecateRegistryItemVersionResponse
|
|
8042
|
+
*/
|
|
8043
|
+
export declare class DeprecateRegistryItemVersionResponse extends Message<DeprecateRegistryItemVersionResponse> {
|
|
8044
|
+
constructor(data?: PartialMessage<DeprecateRegistryItemVersionResponse>);
|
|
8045
|
+
|
|
8046
|
+
static readonly runtime: typeof proto3;
|
|
8047
|
+
static readonly typeName = "viam.app.v1.DeprecateRegistryItemVersionResponse";
|
|
8048
|
+
static readonly fields: FieldList;
|
|
8049
|
+
|
|
8050
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeprecateRegistryItemVersionResponse;
|
|
8051
|
+
|
|
8052
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeprecateRegistryItemVersionResponse;
|
|
8053
|
+
|
|
8054
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeprecateRegistryItemVersionResponse;
|
|
8055
|
+
|
|
8056
|
+
static equals(a: DeprecateRegistryItemVersionResponse | PlainMessage<DeprecateRegistryItemVersionResponse> | undefined, b: DeprecateRegistryItemVersionResponse | PlainMessage<DeprecateRegistryItemVersionResponse> | undefined): boolean;
|
|
8057
|
+
}
|
|
8058
|
+
|
|
8059
|
+
/**
|
|
8060
|
+
* @generated from message viam.app.v1.UndeprecateRegistryItemVersionRequest
|
|
8061
|
+
*/
|
|
8062
|
+
export declare class UndeprecateRegistryItemVersionRequest extends Message<UndeprecateRegistryItemVersionRequest> {
|
|
8063
|
+
/**
|
|
8064
|
+
* @generated from field: string item_id = 1;
|
|
8065
|
+
*/
|
|
8066
|
+
itemId: string;
|
|
8067
|
+
|
|
8068
|
+
/**
|
|
8069
|
+
* @generated from field: string version = 2;
|
|
8070
|
+
*/
|
|
8071
|
+
version: string;
|
|
8072
|
+
|
|
8073
|
+
constructor(data?: PartialMessage<UndeprecateRegistryItemVersionRequest>);
|
|
8074
|
+
|
|
8075
|
+
static readonly runtime: typeof proto3;
|
|
8076
|
+
static readonly typeName = "viam.app.v1.UndeprecateRegistryItemVersionRequest";
|
|
8077
|
+
static readonly fields: FieldList;
|
|
8078
|
+
|
|
8079
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UndeprecateRegistryItemVersionRequest;
|
|
8080
|
+
|
|
8081
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UndeprecateRegistryItemVersionRequest;
|
|
8082
|
+
|
|
8083
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UndeprecateRegistryItemVersionRequest;
|
|
8084
|
+
|
|
8085
|
+
static equals(a: UndeprecateRegistryItemVersionRequest | PlainMessage<UndeprecateRegistryItemVersionRequest> | undefined, b: UndeprecateRegistryItemVersionRequest | PlainMessage<UndeprecateRegistryItemVersionRequest> | undefined): boolean;
|
|
8086
|
+
}
|
|
8087
|
+
|
|
8088
|
+
/**
|
|
8089
|
+
* @generated from message viam.app.v1.UndeprecateRegistryItemVersionResponse
|
|
8090
|
+
*/
|
|
8091
|
+
export declare class UndeprecateRegistryItemVersionResponse extends Message<UndeprecateRegistryItemVersionResponse> {
|
|
8092
|
+
constructor(data?: PartialMessage<UndeprecateRegistryItemVersionResponse>);
|
|
8093
|
+
|
|
8094
|
+
static readonly runtime: typeof proto3;
|
|
8095
|
+
static readonly typeName = "viam.app.v1.UndeprecateRegistryItemVersionResponse";
|
|
8096
|
+
static readonly fields: FieldList;
|
|
8097
|
+
|
|
8098
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UndeprecateRegistryItemVersionResponse;
|
|
8099
|
+
|
|
8100
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UndeprecateRegistryItemVersionResponse;
|
|
8101
|
+
|
|
8102
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UndeprecateRegistryItemVersionResponse;
|
|
8103
|
+
|
|
8104
|
+
static equals(a: UndeprecateRegistryItemVersionResponse | PlainMessage<UndeprecateRegistryItemVersionResponse> | undefined, b: UndeprecateRegistryItemVersionResponse | PlainMessage<UndeprecateRegistryItemVersionResponse> | undefined): boolean;
|
|
8105
|
+
}
|
|
8106
|
+
|
|
7830
8107
|
/**
|
|
7831
8108
|
* @generated from message viam.app.v1.GetUserIDByEmailRequest
|
|
7832
8109
|
*/
|
|
@@ -1435,6 +1435,11 @@ export declare class GetMachineStatusResponse extends Message<GetMachineStatusRe
|
|
|
1435
1435
|
*/
|
|
1436
1436
|
jobStatuses: JobStatus[];
|
|
1437
1437
|
|
|
1438
|
+
/**
|
|
1439
|
+
* @generated from field: repeated viam.robot.v1.ModuleStatus modules = 5;
|
|
1440
|
+
*/
|
|
1441
|
+
modules: ModuleStatus[];
|
|
1442
|
+
|
|
1438
1443
|
constructor(data?: PartialMessage<GetMachineStatusResponse>);
|
|
1439
1444
|
|
|
1440
1445
|
static readonly runtime: typeof proto3;
|
|
@@ -1617,6 +1622,116 @@ export declare enum ResourceStatus_State {
|
|
|
1617
1622
|
UNHEALTHY = 5,
|
|
1618
1623
|
}
|
|
1619
1624
|
|
|
1625
|
+
/**
|
|
1626
|
+
* @generated from message viam.robot.v1.ModuleStatus
|
|
1627
|
+
*/
|
|
1628
|
+
export declare class ModuleStatus extends Message<ModuleStatus> {
|
|
1629
|
+
/**
|
|
1630
|
+
* @generated from field: string module_name = 1;
|
|
1631
|
+
*/
|
|
1632
|
+
moduleName: string;
|
|
1633
|
+
|
|
1634
|
+
/**
|
|
1635
|
+
* @generated from field: viam.robot.v1.ModuleStatus.State state = 2;
|
|
1636
|
+
*/
|
|
1637
|
+
state: ModuleStatus_State;
|
|
1638
|
+
|
|
1639
|
+
/**
|
|
1640
|
+
* updated on every state transition
|
|
1641
|
+
*
|
|
1642
|
+
* @generated from field: google.protobuf.Timestamp last_updated = 3;
|
|
1643
|
+
*/
|
|
1644
|
+
lastUpdated?: Timestamp;
|
|
1645
|
+
|
|
1646
|
+
/**
|
|
1647
|
+
* when a module transitions to unhealthy, this field is populated with the error that caused the transition.
|
|
1648
|
+
* the error persists until the module reenters the Ready state, guaranteed to be nil in the Ready state
|
|
1649
|
+
*
|
|
1650
|
+
* @generated from field: string error = 4;
|
|
1651
|
+
*/
|
|
1652
|
+
error: string;
|
|
1653
|
+
|
|
1654
|
+
/**
|
|
1655
|
+
* number of times this module has entered the unhealthy state since the last time this module was in the ready state
|
|
1656
|
+
* this will increment if the module is in a restart loop (state transitioning between pending and starting repeatedly)
|
|
1657
|
+
* Resets to zero when the module enters the ready state or is reconfigured.
|
|
1658
|
+
* Useful for detecting modules stuck in a restart loop (like a python module with a syntax error)
|
|
1659
|
+
*
|
|
1660
|
+
* @generated from field: uint32 consecutive_failures = 5;
|
|
1661
|
+
*/
|
|
1662
|
+
consecutiveFailures: number;
|
|
1663
|
+
|
|
1664
|
+
constructor(data?: PartialMessage<ModuleStatus>);
|
|
1665
|
+
|
|
1666
|
+
static readonly runtime: typeof proto3;
|
|
1667
|
+
static readonly typeName = "viam.robot.v1.ModuleStatus";
|
|
1668
|
+
static readonly fields: FieldList;
|
|
1669
|
+
|
|
1670
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ModuleStatus;
|
|
1671
|
+
|
|
1672
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ModuleStatus;
|
|
1673
|
+
|
|
1674
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ModuleStatus;
|
|
1675
|
+
|
|
1676
|
+
static equals(a: ModuleStatus | PlainMessage<ModuleStatus> | undefined, b: ModuleStatus | PlainMessage<ModuleStatus> | undefined): boolean;
|
|
1677
|
+
}
|
|
1678
|
+
|
|
1679
|
+
/**
|
|
1680
|
+
* @generated from enum viam.robot.v1.ModuleStatus.State
|
|
1681
|
+
*/
|
|
1682
|
+
export declare enum ModuleStatus_State {
|
|
1683
|
+
/**
|
|
1684
|
+
* state is unknown or has not been set yet
|
|
1685
|
+
*
|
|
1686
|
+
* @generated from enum value: STATE_UNSPECIFIED = 0;
|
|
1687
|
+
*/
|
|
1688
|
+
UNSPECIFIED = 0,
|
|
1689
|
+
|
|
1690
|
+
/**
|
|
1691
|
+
* module is configured but viam-server has not yet attempted to start it
|
|
1692
|
+
* (because e.g. a required package is still downloading)
|
|
1693
|
+
* transitions -> state_starting after pre-setup completes
|
|
1694
|
+
*
|
|
1695
|
+
* @generated from enum value: STATE_PENDING = 1;
|
|
1696
|
+
*/
|
|
1697
|
+
PENDING = 1,
|
|
1698
|
+
|
|
1699
|
+
/**
|
|
1700
|
+
* module process has been spawned and viam-server is waiting for it
|
|
1701
|
+
* to send a Ready response and register its models
|
|
1702
|
+
* transitions -> state_ready on success
|
|
1703
|
+
*
|
|
1704
|
+
* @generated from enum value: STATE_STARTING = 2;
|
|
1705
|
+
*/
|
|
1706
|
+
STARTING = 2,
|
|
1707
|
+
|
|
1708
|
+
/**
|
|
1709
|
+
* module has sent a Ready response, registered its models, and is running
|
|
1710
|
+
* transitions -> state_unhealthy on bad exit
|
|
1711
|
+
*
|
|
1712
|
+
* @generated from enum value: STATE_READY = 3;
|
|
1713
|
+
*/
|
|
1714
|
+
READY = 3,
|
|
1715
|
+
|
|
1716
|
+
/**
|
|
1717
|
+
* module failed to start, exited unexpectedly,
|
|
1718
|
+
* or is being restarted after a crash. any failure in any other state goes to this state
|
|
1719
|
+
*
|
|
1720
|
+
* @generated from enum value: STATE_UNHEALTHY = 4;
|
|
1721
|
+
*/
|
|
1722
|
+
UNHEALTHY = 4,
|
|
1723
|
+
|
|
1724
|
+
/**
|
|
1725
|
+
* module process is shutting down, either because the module is being
|
|
1726
|
+
* removed from the machine or because it is restarting during a reconfigure.
|
|
1727
|
+
* on removal the module's status stops being tracked once shutdown completes;
|
|
1728
|
+
* on restart it transitions -> state_starting
|
|
1729
|
+
*
|
|
1730
|
+
* @generated from enum value: STATE_CLOSING = 5;
|
|
1731
|
+
*/
|
|
1732
|
+
CLOSING = 5,
|
|
1733
|
+
}
|
|
1734
|
+
|
|
1620
1735
|
/**
|
|
1621
1736
|
* @generated from message viam.robot.v1.ConfigStatus
|
|
1622
1737
|
*/
|
package/dist/main.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const version: string;
|
|
2
|
-
export { RobotClient as Client, createRobotClient, RobotClient, type CloudMetadata, type DialConf, type DialDirectConf, type DialWebRTCConf, type Robot, } from './robot';
|
|
2
|
+
export { RobotClient as Client, createRobotClient, RobotClient, type CloudMetadata, type DialConf, type DialDirectConf, type DialWebRTCConf, type ModuleStatus, type ModuleStatusState, type Robot, } from './robot';
|
|
3
3
|
/**
|
|
4
4
|
* Raw Protobuf interfaces for a Robot component.
|
|
5
5
|
*
|