@viamrobotics/sdk 0.62.0 → 0.63.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/provisioning-client.d.ts +1 -1
- package/dist/gen/app/v1/app_pb.d.ts +10 -0
- package/dist/gen/app/v1/billing_connect.d.ts +35 -2
- package/dist/gen/app/v1/billing_pb.d.ts +173 -0
- package/dist/main.es.js +4463 -4286
- 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.518";
|
|
@@ -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';
|
|
@@ -645,6 +645,11 @@ export declare class Organization extends Message<Organization> {
|
|
|
645
645
|
*/
|
|
646
646
|
cid?: string;
|
|
647
647
|
|
|
648
|
+
/**
|
|
649
|
+
* @generated from field: optional viam.app.v1.FragmentImportList default_fragments = 7;
|
|
650
|
+
*/
|
|
651
|
+
defaultFragments?: FragmentImportList;
|
|
652
|
+
|
|
648
653
|
constructor(data?: PartialMessage<Organization>);
|
|
649
654
|
|
|
650
655
|
static readonly runtime: typeof proto3;
|
|
@@ -8388,6 +8393,11 @@ export declare class GetAppContentResponse extends Message<GetAppContentResponse
|
|
|
8388
8393
|
*/
|
|
8389
8394
|
appType: AppType;
|
|
8390
8395
|
|
|
8396
|
+
/**
|
|
8397
|
+
* @generated from field: bool public = 4;
|
|
8398
|
+
*/
|
|
8399
|
+
public: boolean;
|
|
8400
|
+
|
|
8391
8401
|
constructor(data?: PartialMessage<GetAppContentResponse>);
|
|
8392
8402
|
|
|
8393
8403
|
static readonly runtime: typeof proto3;
|
|
@@ -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> {
|