@viamrobotics/sdk 0.29.0 → 0.30.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.
@@ -1 +1 @@
1
- export declare const apiVersion = "v0.1.360";
1
+ export declare const apiVersion = "v0.1.361";
@@ -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, CreateOrganizationInviteRequest, CreateOrganizationInviteResponse, CreateOrganizationRequest, CreateOrganizationResponse, CreateRegistryItemRequest, CreateRegistryItemResponse, CreateRobotPartSecretRequest, CreateRobotPartSecretResponse, DeleteFragmentRequest, DeleteFragmentResponse, DeleteKeyRequest, DeleteKeyResponse, DeleteLocationRequest, DeleteLocationResponse, DeleteLocationSecretRequest, DeleteLocationSecretResponse, DeleteOrganizationInviteRequest, DeleteOrganizationInviteResponse, DeleteOrganizationMemberRequest, DeleteOrganizationMemberResponse, DeleteOrganizationRequest, DeleteOrganizationResponse, DeleteRegistryItemRequest, DeleteRegistryItemResponse, DeleteRobotPartRequest, DeleteRobotPartResponse, DeleteRobotPartSecretRequest, DeleteRobotPartSecretResponse, DeleteRobotRequest, DeleteRobotResponse, DisableBillingServiceRequest, DisableBillingServiceResponse, EnableBillingServiceRequest, EnableBillingServiceResponse, 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, ListOrganizationMembersRequest, ListOrganizationMembersResponse, ListOrganizationsByUserRequest, ListOrganizationsByUserResponse, ListOrganizationsRequest, ListOrganizationsResponse, ListRegistryItemsRequest, ListRegistryItemsResponse, ListRobotsRequest, ListRobotsResponse, LocationAuthRequest, LocationAuthResponse, MarkPartAsMainRequest, MarkPartAsMainResponse, MarkPartForRestartRequest, MarkPartForRestartResponse, NewRobotPartRequest, NewRobotPartResponse, NewRobotRequest, NewRobotResponse, OrganizationGetSupportEmailRequest, OrganizationGetSupportEmailResponse, OrganizationSetSupportEmailRequest, OrganizationSetSupportEmailResponse, RemoveRoleRequest, RemoveRoleResponse, RenameKeyRequest, RenameKeyResponse, ResendOrganizationInviteRequest, ResendOrganizationInviteResponse, RotateKeyRequest, RotateKeyResponse, ShareLocationRequest, ShareLocationResponse, TailRobotPartLogsRequest, TailRobotPartLogsResponse, TransferRegistryItemRequest, TransferRegistryItemResponse, UnshareLocationRequest, UnshareLocationResponse, UpdateBillingServiceRequest, UpdateBillingServiceResponse, UpdateFragmentRequest, UpdateFragmentResponse, UpdateLocationRequest, UpdateLocationResponse, UpdateModuleRequest, UpdateModuleResponse, 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, CreateOrganizationInviteRequest, CreateOrganizationInviteResponse, CreateOrganizationRequest, CreateOrganizationResponse, CreateRegistryItemRequest, CreateRegistryItemResponse, CreateRobotPartSecretRequest, CreateRobotPartSecretResponse, DeleteFragmentRequest, DeleteFragmentResponse, DeleteKeyRequest, DeleteKeyResponse, DeleteLocationRequest, DeleteLocationResponse, DeleteLocationSecretRequest, DeleteLocationSecretResponse, DeleteOrganizationInviteRequest, DeleteOrganizationInviteResponse, DeleteOrganizationMemberRequest, DeleteOrganizationMemberResponse, DeleteOrganizationRequest, DeleteOrganizationResponse, DeleteRegistryItemRequest, DeleteRegistryItemResponse, DeleteRobotPartRequest, DeleteRobotPartResponse, DeleteRobotPartSecretRequest, DeleteRobotPartSecretResponse, DeleteRobotRequest, DeleteRobotResponse, DisableBillingServiceRequest, DisableBillingServiceResponse, 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, ListOrganizationMembersRequest, ListOrganizationMembersResponse, ListOrganizationsByUserRequest, ListOrganizationsByUserResponse, ListOrganizationsRequest, ListOrganizationsResponse, ListRegistryItemsRequest, ListRegistryItemsResponse, ListRobotsRequest, ListRobotsResponse, LocationAuthRequest, LocationAuthResponse, MarkPartAsMainRequest, MarkPartAsMainResponse, MarkPartForRestartRequest, MarkPartForRestartResponse, NewRobotPartRequest, NewRobotPartResponse, NewRobotRequest, NewRobotResponse, OrganizationGetSupportEmailRequest, OrganizationGetSupportEmailResponse, OrganizationSetSupportEmailRequest, OrganizationSetSupportEmailResponse, RemoveRoleRequest, RemoveRoleResponse, RenameKeyRequest, RenameKeyResponse, ResendOrganizationInviteRequest, ResendOrganizationInviteResponse, RotateKeyRequest, RotateKeyResponse, ShareLocationRequest, ShareLocationResponse, TailRobotPartLogsRequest, TailRobotPartLogsResponse, TransferRegistryItemRequest, TransferRegistryItemResponse, UnshareLocationRequest, UnshareLocationResponse, UpdateBillingServiceRequest, UpdateBillingServiceResponse, UpdateFragmentRequest, UpdateFragmentResponse, UpdateLocationRequest, UpdateLocationResponse, UpdateModuleRequest, UpdateModuleResponse, 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
  /**
@@ -206,6 +206,15 @@ export declare const AppService: {
206
206
  readonly O: typeof UpdateBillingServiceResponse,
207
207
  readonly kind: MethodKind.Unary,
208
208
  },
209
+ /**
210
+ * @generated from rpc viam.app.v1.AppService.GetBillingServiceConfig
211
+ */
212
+ readonly getBillingServiceConfig: {
213
+ readonly name: "GetBillingServiceConfig",
214
+ readonly I: typeof GetBillingServiceConfigRequest,
215
+ readonly O: typeof GetBillingServiceConfigResponse,
216
+ readonly kind: MethodKind.Unary,
217
+ },
209
218
  /**
210
219
  * @generated from rpc viam.app.v1.AppService.OrganizationSetSupportEmail
211
220
  */
@@ -1276,6 +1276,69 @@ export declare class UpdateBillingServiceResponse extends Message<UpdateBillingS
1276
1276
  static equals(a: UpdateBillingServiceResponse | PlainMessage<UpdateBillingServiceResponse> | undefined, b: UpdateBillingServiceResponse | PlainMessage<UpdateBillingServiceResponse> | undefined): boolean;
1277
1277
  }
1278
1278
 
1279
+ /**
1280
+ * @generated from message viam.app.v1.GetBillingServiceConfigRequest
1281
+ */
1282
+ export declare class GetBillingServiceConfigRequest extends Message<GetBillingServiceConfigRequest> {
1283
+ /**
1284
+ * @generated from field: string org_id = 1;
1285
+ */
1286
+ orgId: string;
1287
+
1288
+ constructor(data?: PartialMessage<GetBillingServiceConfigRequest>);
1289
+
1290
+ static readonly runtime: typeof proto3;
1291
+ static readonly typeName = "viam.app.v1.GetBillingServiceConfigRequest";
1292
+ static readonly fields: FieldList;
1293
+
1294
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetBillingServiceConfigRequest;
1295
+
1296
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetBillingServiceConfigRequest;
1297
+
1298
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetBillingServiceConfigRequest;
1299
+
1300
+ static equals(a: GetBillingServiceConfigRequest | PlainMessage<GetBillingServiceConfigRequest> | undefined, b: GetBillingServiceConfigRequest | PlainMessage<GetBillingServiceConfigRequest> | undefined): boolean;
1301
+ }
1302
+
1303
+ /**
1304
+ * @generated from message viam.app.v1.GetBillingServiceConfigResponse
1305
+ */
1306
+ export declare class GetBillingServiceConfigResponse extends Message<GetBillingServiceConfigResponse> {
1307
+ /**
1308
+ * @generated from field: viam.app.v1.BillingAddress billing_address = 1;
1309
+ */
1310
+ billingAddress?: BillingAddress;
1311
+
1312
+ /**
1313
+ * @generated from field: string support_email = 2;
1314
+ */
1315
+ supportEmail: string;
1316
+
1317
+ /**
1318
+ * @generated from field: string logo_url = 3;
1319
+ */
1320
+ logoUrl: string;
1321
+
1322
+ /**
1323
+ * @generated from field: string billing_dashboard_url = 4;
1324
+ */
1325
+ billingDashboardUrl: string;
1326
+
1327
+ constructor(data?: PartialMessage<GetBillingServiceConfigResponse>);
1328
+
1329
+ static readonly runtime: typeof proto3;
1330
+ static readonly typeName = "viam.app.v1.GetBillingServiceConfigResponse";
1331
+ static readonly fields: FieldList;
1332
+
1333
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetBillingServiceConfigResponse;
1334
+
1335
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetBillingServiceConfigResponse;
1336
+
1337
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetBillingServiceConfigResponse;
1338
+
1339
+ static equals(a: GetBillingServiceConfigResponse | PlainMessage<GetBillingServiceConfigResponse> | undefined, b: GetBillingServiceConfigResponse | PlainMessage<GetBillingServiceConfigResponse> | undefined): boolean;
1340
+ }
1341
+
1279
1342
  /**
1280
1343
  * @generated from message viam.app.v1.DisableBillingServiceRequest
1281
1344
  */
@@ -24,12 +24,12 @@ import { Empty, MethodKind } from "@bufbuild/protobuf";
24
24
  * Manages long-running operations with an API service.
25
25
  *
26
26
  * When an API method normally takes long time to complete, it can be designed
27
- * to return [Operation][google.longrunning.Operation] to the client, and the client can use this
28
- * interface to receive the real response asynchronously by polling the
29
- * operation resource, or pass the operation resource to another API (such as
30
- * Google Cloud Pub/Sub API) to receive the response. Any API service that
31
- * returns long-running operations should implement the `Operations` interface
32
- * so developers can have a consistent client experience.
27
+ * to return [Operation][google.longrunning.Operation] to the client, and the
28
+ * client can use this interface to receive the real response asynchronously by
29
+ * polling the operation resource, or pass the operation resource to another API
30
+ * (such as Pub/Sub API) to receive the response. Any API service that returns
31
+ * long-running operations should implement the `Operations` interface so
32
+ * developers can have a consistent client experience.
33
33
  *
34
34
  * @generated from service google.longrunning.Operations
35
35
  */
@@ -40,14 +40,6 @@ export declare const Operations: {
40
40
  * Lists operations that match the specified filter in the request. If the
41
41
  * server doesn't support this method, it returns `UNIMPLEMENTED`.
42
42
  *
43
- * NOTE: the `name` binding allows API services to override the binding
44
- * to use different resource name schemes, such as `users/*\/operations`. To
45
- * override the binding, API services can add a binding such as
46
- * `"/v1/{name=users/*}/operations"` to their service configuration.
47
- * For backwards compatibility, the default name includes the operations
48
- * collection id, however overriding users must ensure the name binding
49
- * is the parent resource, without the operations collection id.
50
- *
51
43
  * @generated from rpc google.longrunning.Operations.ListOperations
52
44
  */
53
45
  readonly listOperations: {
@@ -92,8 +84,9 @@ export declare const Operations: {
92
84
  * other methods to check whether the cancellation succeeded or whether the
93
85
  * operation completed despite cancellation. On successful cancellation,
94
86
  * the operation is not deleted; instead, it becomes an operation with
95
- * an [Operation.error][google.longrunning.Operation.error] value with a [google.rpc.Status.code][google.rpc.Status.code] of 1,
96
- * corresponding to `Code.CANCELLED`.
87
+ * an [Operation.error][google.longrunning.Operation.error] value with a
88
+ * [google.rpc.Status.code][google.rpc.Status.code] of `1`, corresponding to
89
+ * `Code.CANCELLED`.
97
90
  *
98
91
  * @generated from rpc google.longrunning.Operations.CancelOperation
99
92
  */
@@ -59,7 +59,8 @@ export declare class Operation extends Message<Operation> {
59
59
  /**
60
60
  * The operation result, which can be either an `error` or a valid `response`.
61
61
  * If `done` == `false`, neither `error` nor `response` is set.
62
- * If `done` == `true`, exactly one of `error` or `response` is set.
62
+ * If `done` == `true`, exactly one of `error` or `response` can be set.
63
+ * Some services might not provide the result.
63
64
  *
64
65
  * @generated from oneof google.longrunning.Operation.result
65
66
  */
@@ -73,7 +74,7 @@ export declare class Operation extends Message<Operation> {
73
74
  case: "error";
74
75
  } | {
75
76
  /**
76
- * The normal response of the operation in case of success. If the original
77
+ * The normal, successful response of the operation. If the original
77
78
  * method returns no data on success, such as `Delete`, the response is
78
79
  * `google.protobuf.Empty`. If the original method is standard
79
80
  * `Get`/`Create`/`Update`, the response should be the resource. For other
@@ -104,7 +105,8 @@ export declare class Operation extends Message<Operation> {
104
105
  }
105
106
 
106
107
  /**
107
- * The request message for [Operations.GetOperation][google.longrunning.Operations.GetOperation].
108
+ * The request message for
109
+ * [Operations.GetOperation][google.longrunning.Operations.GetOperation].
108
110
  *
109
111
  * @generated from message google.longrunning.GetOperationRequest
110
112
  */
@@ -132,7 +134,8 @@ export declare class GetOperationRequest extends Message<GetOperationRequest> {
132
134
  }
133
135
 
134
136
  /**
135
- * The request message for [Operations.ListOperations][google.longrunning.Operations.ListOperations].
137
+ * The request message for
138
+ * [Operations.ListOperations][google.longrunning.Operations.ListOperations].
136
139
  *
137
140
  * @generated from message google.longrunning.ListOperationsRequest
138
141
  */
@@ -181,7 +184,8 @@ export declare class ListOperationsRequest extends Message<ListOperationsRequest
181
184
  }
182
185
 
183
186
  /**
184
- * The response message for [Operations.ListOperations][google.longrunning.Operations.ListOperations].
187
+ * The response message for
188
+ * [Operations.ListOperations][google.longrunning.Operations.ListOperations].
185
189
  *
186
190
  * @generated from message google.longrunning.ListOperationsResponse
187
191
  */
@@ -216,7 +220,8 @@ export declare class ListOperationsResponse extends Message<ListOperationsRespon
216
220
  }
217
221
 
218
222
  /**
219
- * The request message for [Operations.CancelOperation][google.longrunning.Operations.CancelOperation].
223
+ * The request message for
224
+ * [Operations.CancelOperation][google.longrunning.Operations.CancelOperation].
220
225
  *
221
226
  * @generated from message google.longrunning.CancelOperationRequest
222
227
  */
@@ -244,7 +249,8 @@ export declare class CancelOperationRequest extends Message<CancelOperationReque
244
249
  }
245
250
 
246
251
  /**
247
- * The request message for [Operations.DeleteOperation][google.longrunning.Operations.DeleteOperation].
252
+ * The request message for
253
+ * [Operations.DeleteOperation][google.longrunning.Operations.DeleteOperation].
248
254
  *
249
255
  * @generated from message google.longrunning.DeleteOperationRequest
250
256
  */
@@ -272,7 +278,8 @@ export declare class DeleteOperationRequest extends Message<DeleteOperationReque
272
278
  }
273
279
 
274
280
  /**
275
- * The request message for [Operations.WaitOperation][google.longrunning.Operations.WaitOperation].
281
+ * The request message for
282
+ * [Operations.WaitOperation][google.longrunning.Operations.WaitOperation].
276
283
  *
277
284
  * @generated from message google.longrunning.WaitOperationRequest
278
285
  */
@@ -313,13 +320,12 @@ export declare class WaitOperationRequest extends Message<WaitOperationRequest>
313
320
  *
314
321
  * Example:
315
322
  *
316
- * rpc LongRunningRecognize(LongRunningRecognizeRequest)
317
- * returns (google.longrunning.Operation) {
318
- * option (google.longrunning.operation_info) = {
319
- * response_type: "LongRunningRecognizeResponse"
320
- * metadata_type: "LongRunningRecognizeMetadata"
321
- * };
322
- * }
323
+ * rpc Export(ExportRequest) returns (google.longrunning.Operation) {
324
+ * option (google.longrunning.operation_info) = {
325
+ * response_type: "ExportResponse"
326
+ * metadata_type: "ExportMetadata"
327
+ * };
328
+ * }
323
329
  *
324
330
  * @generated from message google.longrunning.OperationInfo
325
331
  */