@viamrobotics/sdk 0.62.1 → 0.64.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 +5 -1
- package/dist/app/provisioning-client.d.ts +1 -1
- package/dist/gen/app/datasync/v1/data_sync_pb.d.ts +14 -4
- package/dist/gen/app/v1/billing_connect.d.ts +35 -2
- package/dist/gen/app/v1/billing_pb.d.ts +173 -0
- package/dist/gen/component/arm/v1/arm_pb.d.ts +18 -2
- package/dist/main.es.js +4479 -4300
- package/dist/main.umd.js +7 -7
- package/dist/rpc/dial.d.ts +2 -2
- package/dist/rpc/index.d.ts +1 -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.521";
|
package/dist/app/app-client.d.ts
CHANGED
|
@@ -633,12 +633,16 @@ export declare class AppClient {
|
|
|
633
633
|
* @param filter Optional string to filter logs on
|
|
634
634
|
* @param levels Optional array of log levels to return. Defaults to returning
|
|
635
635
|
* all log levels
|
|
636
|
+
* @param start Optional start time for log retrieval. Only logs created after
|
|
637
|
+
* this time will be returned.
|
|
638
|
+
* @param end Optional end time for log retrieval. Only logs created before
|
|
639
|
+
* this time will be returned.
|
|
636
640
|
* @param pageToken Optional string indicating which page of logs to query.
|
|
637
641
|
* Defaults to the most recent
|
|
638
642
|
* @returns The robot requested logs and the page token for the next page of
|
|
639
643
|
* logs
|
|
640
644
|
*/
|
|
641
|
-
getRobotPartLogs(id: string, filter?: string, levels?: string[], pageToken?: string): Promise<GetRobotPartLogsResponse>;
|
|
645
|
+
getRobotPartLogs(id: string, filter?: string, levels?: string[], start?: Date, end?: Date, pageToken?: string): Promise<GetRobotPartLogsResponse>;
|
|
642
646
|
/**
|
|
643
647
|
* Get a stream of log entries for a specific robot part. Logs are sorted by
|
|
644
648
|
* descending time (newest first).
|
|
@@ -32,4 +32,4 @@ export declare class ProvisioningClient {
|
|
|
32
32
|
*/
|
|
33
33
|
getNetworkList(): Promise<import("../gen/provisioning/v1/provisioning_pb").NetworkInfo[]>;
|
|
34
34
|
}
|
|
35
|
-
export { CloudConfig } from '../gen/provisioning/v1/provisioning_pb';
|
|
35
|
+
export { APIKey, CloudConfig } from '../gen/provisioning/v1/provisioning_pb';
|
|
@@ -411,20 +411,30 @@ export declare class UploadMetadata extends Message<UploadMetadata> {
|
|
|
411
411
|
type: DataType;
|
|
412
412
|
|
|
413
413
|
/**
|
|
414
|
-
* @generated from field: string
|
|
414
|
+
* @generated from field: map<string, google.protobuf.Any> method_parameters = 8;
|
|
415
415
|
*/
|
|
416
|
-
|
|
416
|
+
methodParameters: { [key: string]: Any };
|
|
417
417
|
|
|
418
418
|
/**
|
|
419
|
-
* @generated from field:
|
|
419
|
+
* @generated from field: string file_name = 7;
|
|
420
420
|
*/
|
|
421
|
-
|
|
421
|
+
fileName: string;
|
|
422
422
|
|
|
423
423
|
/**
|
|
424
424
|
* @generated from field: string file_extension = 9;
|
|
425
425
|
*/
|
|
426
426
|
fileExtension: string;
|
|
427
427
|
|
|
428
|
+
/**
|
|
429
|
+
* @generated from field: google.protobuf.Timestamp file_create_time = 14;
|
|
430
|
+
*/
|
|
431
|
+
fileCreateTime?: Timestamp;
|
|
432
|
+
|
|
433
|
+
/**
|
|
434
|
+
* @generated from field: google.protobuf.Timestamp file_modify_time = 15;
|
|
435
|
+
*/
|
|
436
|
+
fileModifyTime?: Timestamp;
|
|
437
|
+
|
|
428
438
|
/**
|
|
429
439
|
* @generated from field: repeated string tags = 10;
|
|
430
440
|
*/
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
/* eslint-disable */
|
|
4
4
|
// @ts-nocheck
|
|
5
5
|
|
|
6
|
-
import { CreateInvoiceAndChargeImmediatelyRequest, CreateInvoiceAndChargeImmediatelyResponse, GetAvailableBillingTiersRequest, GetAvailableBillingTiersResponse, GetCurrentMonthUsageRequest, GetCurrentMonthUsageResponse, GetInvoicePdfRequest, GetInvoicePdfResponse, GetInvoicesSummaryRequest, GetInvoicesSummaryResponse, GetOrgBillingInformationRequest, GetOrgBillingInformationResponse, SendPaymentRequiredEmailRequest, SendPaymentRequiredEmailResponse, UpdateOrganizationBillingTierRequest, UpdateOrganizationBillingTierResponse } from "./billing_pb.js";
|
|
6
|
+
import { ChargeOrganizationRequest, ChargeOrganizationResponse, CreateInvoiceAndChargeImmediatelyRequest, CreateInvoiceAndChargeImmediatelyResponse, GetAvailableBillingTiersRequest, GetAvailableBillingTiersResponse, GetCurrentMonthUsageRequest, GetCurrentMonthUsageResponse, GetInvoicePdfRequest, GetInvoicePdfResponse, GetInvoicesSummaryRequest, GetInvoicesSummaryResponse, GetLocationBillingOrganizationRequest, GetLocationBillingOrganizationResponse, GetOrgBillingInformationRequest, GetOrgBillingInformationResponse, SendPaymentRequiredEmailRequest, SendPaymentRequiredEmailResponse, UpdateLocationBillingOrganizationRequest, UpdateLocationBillingOrganizationResponse, UpdateOrganizationBillingTierRequest, UpdateOrganizationBillingTierResponse } from "./billing_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
8
|
|
|
9
9
|
/**
|
|
@@ -90,7 +90,40 @@ export declare const BillingService: {
|
|
|
90
90
|
readonly kind: MethodKind.Unary,
|
|
91
91
|
},
|
|
92
92
|
/**
|
|
93
|
-
*
|
|
93
|
+
* Get the billing organization for a location
|
|
94
|
+
*
|
|
95
|
+
* @generated from rpc viam.app.v1.BillingService.GetLocationBillingOrganization
|
|
96
|
+
*/
|
|
97
|
+
readonly getLocationBillingOrganization: {
|
|
98
|
+
readonly name: "GetLocationBillingOrganization",
|
|
99
|
+
readonly I: typeof GetLocationBillingOrganizationRequest,
|
|
100
|
+
readonly O: typeof GetLocationBillingOrganizationResponse,
|
|
101
|
+
readonly kind: MethodKind.Unary,
|
|
102
|
+
},
|
|
103
|
+
/**
|
|
104
|
+
* Update the billing organization for a location
|
|
105
|
+
*
|
|
106
|
+
* @generated from rpc viam.app.v1.BillingService.UpdateLocationBillingOrganization
|
|
107
|
+
*/
|
|
108
|
+
readonly updateLocationBillingOrganization: {
|
|
109
|
+
readonly name: "UpdateLocationBillingOrganization",
|
|
110
|
+
readonly I: typeof UpdateLocationBillingOrganizationRequest,
|
|
111
|
+
readonly O: typeof UpdateLocationBillingOrganizationResponse,
|
|
112
|
+
readonly kind: MethodKind.Unary,
|
|
113
|
+
},
|
|
114
|
+
/**
|
|
115
|
+
* Charge an organization on the spot
|
|
116
|
+
*
|
|
117
|
+
* @generated from rpc viam.app.v1.BillingService.ChargeOrganization
|
|
118
|
+
*/
|
|
119
|
+
readonly chargeOrganization: {
|
|
120
|
+
readonly name: "ChargeOrganization",
|
|
121
|
+
readonly I: typeof ChargeOrganizationRequest,
|
|
122
|
+
readonly O: typeof ChargeOrganizationResponse,
|
|
123
|
+
readonly kind: MethodKind.Unary,
|
|
124
|
+
},
|
|
125
|
+
/**
|
|
126
|
+
* Deprecated: Use ChargeOrganization instead
|
|
94
127
|
*
|
|
95
128
|
* @generated from rpc viam.app.v1.BillingService.CreateInvoiceAndChargeImmediately
|
|
96
129
|
*/
|
|
@@ -900,6 +900,177 @@ export declare class UpdateOrganizationBillingTierResponse extends Message<Updat
|
|
|
900
900
|
}
|
|
901
901
|
|
|
902
902
|
/**
|
|
903
|
+
* @generated from message viam.app.v1.GetLocationBillingOrganizationRequest
|
|
904
|
+
*/
|
|
905
|
+
export declare class GetLocationBillingOrganizationRequest extends Message<GetLocationBillingOrganizationRequest> {
|
|
906
|
+
/**
|
|
907
|
+
* @generated from field: string location_id = 1;
|
|
908
|
+
*/
|
|
909
|
+
locationId: string;
|
|
910
|
+
|
|
911
|
+
constructor(data?: PartialMessage<GetLocationBillingOrganizationRequest>);
|
|
912
|
+
|
|
913
|
+
static readonly runtime: typeof proto3;
|
|
914
|
+
static readonly typeName = "viam.app.v1.GetLocationBillingOrganizationRequest";
|
|
915
|
+
static readonly fields: FieldList;
|
|
916
|
+
|
|
917
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetLocationBillingOrganizationRequest;
|
|
918
|
+
|
|
919
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetLocationBillingOrganizationRequest;
|
|
920
|
+
|
|
921
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetLocationBillingOrganizationRequest;
|
|
922
|
+
|
|
923
|
+
static equals(a: GetLocationBillingOrganizationRequest | PlainMessage<GetLocationBillingOrganizationRequest> | undefined, b: GetLocationBillingOrganizationRequest | PlainMessage<GetLocationBillingOrganizationRequest> | undefined): boolean;
|
|
924
|
+
}
|
|
925
|
+
|
|
926
|
+
/**
|
|
927
|
+
* @generated from message viam.app.v1.GetLocationBillingOrganizationResponse
|
|
928
|
+
*/
|
|
929
|
+
export declare class GetLocationBillingOrganizationResponse extends Message<GetLocationBillingOrganizationResponse> {
|
|
930
|
+
/**
|
|
931
|
+
* @generated from field: string billing_organization_id = 1;
|
|
932
|
+
*/
|
|
933
|
+
billingOrganizationId: string;
|
|
934
|
+
|
|
935
|
+
constructor(data?: PartialMessage<GetLocationBillingOrganizationResponse>);
|
|
936
|
+
|
|
937
|
+
static readonly runtime: typeof proto3;
|
|
938
|
+
static readonly typeName = "viam.app.v1.GetLocationBillingOrganizationResponse";
|
|
939
|
+
static readonly fields: FieldList;
|
|
940
|
+
|
|
941
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetLocationBillingOrganizationResponse;
|
|
942
|
+
|
|
943
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetLocationBillingOrganizationResponse;
|
|
944
|
+
|
|
945
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetLocationBillingOrganizationResponse;
|
|
946
|
+
|
|
947
|
+
static equals(a: GetLocationBillingOrganizationResponse | PlainMessage<GetLocationBillingOrganizationResponse> | undefined, b: GetLocationBillingOrganizationResponse | PlainMessage<GetLocationBillingOrganizationResponse> | undefined): boolean;
|
|
948
|
+
}
|
|
949
|
+
|
|
950
|
+
/**
|
|
951
|
+
* @generated from message viam.app.v1.UpdateLocationBillingOrganizationRequest
|
|
952
|
+
*/
|
|
953
|
+
export declare class UpdateLocationBillingOrganizationRequest extends Message<UpdateLocationBillingOrganizationRequest> {
|
|
954
|
+
/**
|
|
955
|
+
* @generated from field: string location_id = 1;
|
|
956
|
+
*/
|
|
957
|
+
locationId: string;
|
|
958
|
+
|
|
959
|
+
/**
|
|
960
|
+
* @generated from field: string billing_organization_id = 2;
|
|
961
|
+
*/
|
|
962
|
+
billingOrganizationId: string;
|
|
963
|
+
|
|
964
|
+
constructor(data?: PartialMessage<UpdateLocationBillingOrganizationRequest>);
|
|
965
|
+
|
|
966
|
+
static readonly runtime: typeof proto3;
|
|
967
|
+
static readonly typeName = "viam.app.v1.UpdateLocationBillingOrganizationRequest";
|
|
968
|
+
static readonly fields: FieldList;
|
|
969
|
+
|
|
970
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateLocationBillingOrganizationRequest;
|
|
971
|
+
|
|
972
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateLocationBillingOrganizationRequest;
|
|
973
|
+
|
|
974
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateLocationBillingOrganizationRequest;
|
|
975
|
+
|
|
976
|
+
static equals(a: UpdateLocationBillingOrganizationRequest | PlainMessage<UpdateLocationBillingOrganizationRequest> | undefined, b: UpdateLocationBillingOrganizationRequest | PlainMessage<UpdateLocationBillingOrganizationRequest> | undefined): boolean;
|
|
977
|
+
}
|
|
978
|
+
|
|
979
|
+
/**
|
|
980
|
+
* @generated from message viam.app.v1.UpdateLocationBillingOrganizationResponse
|
|
981
|
+
*/
|
|
982
|
+
export declare class UpdateLocationBillingOrganizationResponse extends Message<UpdateLocationBillingOrganizationResponse> {
|
|
983
|
+
constructor(data?: PartialMessage<UpdateLocationBillingOrganizationResponse>);
|
|
984
|
+
|
|
985
|
+
static readonly runtime: typeof proto3;
|
|
986
|
+
static readonly typeName = "viam.app.v1.UpdateLocationBillingOrganizationResponse";
|
|
987
|
+
static readonly fields: FieldList;
|
|
988
|
+
|
|
989
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateLocationBillingOrganizationResponse;
|
|
990
|
+
|
|
991
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateLocationBillingOrganizationResponse;
|
|
992
|
+
|
|
993
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateLocationBillingOrganizationResponse;
|
|
994
|
+
|
|
995
|
+
static equals(a: UpdateLocationBillingOrganizationResponse | PlainMessage<UpdateLocationBillingOrganizationResponse> | undefined, b: UpdateLocationBillingOrganizationResponse | PlainMessage<UpdateLocationBillingOrganizationResponse> | undefined): boolean;
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
/**
|
|
999
|
+
* @generated from message viam.app.v1.ChargeOrganizationRequest
|
|
1000
|
+
*/
|
|
1001
|
+
export declare class ChargeOrganizationRequest extends Message<ChargeOrganizationRequest> {
|
|
1002
|
+
/**
|
|
1003
|
+
* @generated from field: string org_id_to_charge = 1;
|
|
1004
|
+
*/
|
|
1005
|
+
orgIdToCharge: string;
|
|
1006
|
+
|
|
1007
|
+
/**
|
|
1008
|
+
* @generated from field: optional string description = 2;
|
|
1009
|
+
*/
|
|
1010
|
+
description?: string;
|
|
1011
|
+
|
|
1012
|
+
/**
|
|
1013
|
+
* @generated from field: double subtotal = 3;
|
|
1014
|
+
*/
|
|
1015
|
+
subtotal: number;
|
|
1016
|
+
|
|
1017
|
+
/**
|
|
1018
|
+
* @generated from field: double tax = 4;
|
|
1019
|
+
*/
|
|
1020
|
+
tax: number;
|
|
1021
|
+
|
|
1022
|
+
/**
|
|
1023
|
+
* @generated from field: optional string org_id_for_branding = 5;
|
|
1024
|
+
*/
|
|
1025
|
+
orgIdForBranding?: string;
|
|
1026
|
+
|
|
1027
|
+
/**
|
|
1028
|
+
* @generated from field: bool disable_confirmation_email = 6;
|
|
1029
|
+
*/
|
|
1030
|
+
disableConfirmationEmail: boolean;
|
|
1031
|
+
|
|
1032
|
+
constructor(data?: PartialMessage<ChargeOrganizationRequest>);
|
|
1033
|
+
|
|
1034
|
+
static readonly runtime: typeof proto3;
|
|
1035
|
+
static readonly typeName = "viam.app.v1.ChargeOrganizationRequest";
|
|
1036
|
+
static readonly fields: FieldList;
|
|
1037
|
+
|
|
1038
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ChargeOrganizationRequest;
|
|
1039
|
+
|
|
1040
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ChargeOrganizationRequest;
|
|
1041
|
+
|
|
1042
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ChargeOrganizationRequest;
|
|
1043
|
+
|
|
1044
|
+
static equals(a: ChargeOrganizationRequest | PlainMessage<ChargeOrganizationRequest> | undefined, b: ChargeOrganizationRequest | PlainMessage<ChargeOrganizationRequest> | undefined): boolean;
|
|
1045
|
+
}
|
|
1046
|
+
|
|
1047
|
+
/**
|
|
1048
|
+
* @generated from message viam.app.v1.ChargeOrganizationResponse
|
|
1049
|
+
*/
|
|
1050
|
+
export declare class ChargeOrganizationResponse extends Message<ChargeOrganizationResponse> {
|
|
1051
|
+
/**
|
|
1052
|
+
* @generated from field: string invoice_id = 1;
|
|
1053
|
+
*/
|
|
1054
|
+
invoiceId: string;
|
|
1055
|
+
|
|
1056
|
+
constructor(data?: PartialMessage<ChargeOrganizationResponse>);
|
|
1057
|
+
|
|
1058
|
+
static readonly runtime: typeof proto3;
|
|
1059
|
+
static readonly typeName = "viam.app.v1.ChargeOrganizationResponse";
|
|
1060
|
+
static readonly fields: FieldList;
|
|
1061
|
+
|
|
1062
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ChargeOrganizationResponse;
|
|
1063
|
+
|
|
1064
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ChargeOrganizationResponse;
|
|
1065
|
+
|
|
1066
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ChargeOrganizationResponse;
|
|
1067
|
+
|
|
1068
|
+
static equals(a: ChargeOrganizationResponse | PlainMessage<ChargeOrganizationResponse> | undefined, b: ChargeOrganizationResponse | PlainMessage<ChargeOrganizationResponse> | undefined): boolean;
|
|
1069
|
+
}
|
|
1070
|
+
|
|
1071
|
+
/**
|
|
1072
|
+
* Deprecated: Use ChargeOrganizationRequest instead
|
|
1073
|
+
*
|
|
903
1074
|
* @generated from message viam.app.v1.CreateInvoiceAndChargeImmediatelyRequest
|
|
904
1075
|
*/
|
|
905
1076
|
export declare class CreateInvoiceAndChargeImmediatelyRequest extends Message<CreateInvoiceAndChargeImmediatelyRequest> {
|
|
@@ -944,6 +1115,8 @@ export declare class CreateInvoiceAndChargeImmediatelyRequest extends Message<Cr
|
|
|
944
1115
|
}
|
|
945
1116
|
|
|
946
1117
|
/**
|
|
1118
|
+
* Deprecated: Use ChargeOrganizationResponse instead
|
|
1119
|
+
*
|
|
947
1120
|
* @generated from message viam.app.v1.CreateInvoiceAndChargeImmediatelyResponse
|
|
948
1121
|
*/
|
|
949
1122
|
export declare class CreateInvoiceAndChargeImmediatelyResponse extends Message<CreateInvoiceAndChargeImmediatelyResponse> {
|
|
@@ -481,19 +481,35 @@ export declare class IsMovingResponse extends Message<IsMovingResponse> {
|
|
|
481
481
|
*/
|
|
482
482
|
export declare class MoveOptions extends Message<MoveOptions> {
|
|
483
483
|
/**
|
|
484
|
-
* Maximum allowable velocity of an arm joint, in degrees per second
|
|
484
|
+
* Maximum allowable velocity of an arm joint, in degrees per second.
|
|
485
|
+
* Ignored when max_vel_degs_per_sec_joints is set.
|
|
485
486
|
*
|
|
486
487
|
* @generated from field: optional double max_vel_degs_per_sec = 1;
|
|
487
488
|
*/
|
|
488
489
|
maxVelDegsPerSec?: number;
|
|
489
490
|
|
|
490
491
|
/**
|
|
491
|
-
* Maximum allowable acceleration of an arm joint, in degrees per second squared
|
|
492
|
+
* Maximum allowable acceleration of an arm joint, in degrees per second squared.
|
|
493
|
+
* ignored when max_acc_degs_per_sec2_joints is set.
|
|
492
494
|
*
|
|
493
495
|
* @generated from field: optional double max_acc_degs_per_sec2 = 2;
|
|
494
496
|
*/
|
|
495
497
|
maxAccDegsPerSec2?: number;
|
|
496
498
|
|
|
499
|
+
/**
|
|
500
|
+
* Per-joint maximum velocity in degrees per second.
|
|
501
|
+
*
|
|
502
|
+
* @generated from field: repeated double max_vel_degs_per_sec_joints = 3;
|
|
503
|
+
*/
|
|
504
|
+
maxVelDegsPerSecJoints: number[];
|
|
505
|
+
|
|
506
|
+
/**
|
|
507
|
+
* Per-joint maximum acceleration in degrees per second squared.
|
|
508
|
+
*
|
|
509
|
+
* @generated from field: repeated double max_acc_degs_per_sec2_joints = 4;
|
|
510
|
+
*/
|
|
511
|
+
maxAccDegsPerSec2Joints: number[];
|
|
512
|
+
|
|
497
513
|
constructor(data?: PartialMessage<MoveOptions>);
|
|
498
514
|
|
|
499
515
|
static readonly runtime: typeof proto3;
|