@viamrobotics/sdk 0.26.0 → 0.26.1
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/gen/app/build/v1/build_pb.d.ts +14 -0
- package/dist/gen/app/mlinference/v1/ml_inference_connect.d.ts +26 -0
- package/dist/gen/app/mlinference/v1/ml_inference_pb.d.ts +71 -0
- package/dist/gen/app/v1/app_pb.d.ts +35 -0
- package/dist/gen/app/v1/billing_pb.d.ts +177 -90
- package/dist/gen/app/v1/robot_pb.d.ts +7 -0
- package/dist/gen/proto/rpc/webrtc/v1/signaling_pb.d.ts +29 -0
- package/dist/gen/robot/v1/robot_pb.d.ts +5 -0
- package/dist/main.es.js +3009 -3013
- package/dist/main.umd.js +6 -6
- package/package.json +10 -4
- package/dist/gen/proto/rpc/examples/fileupload/v1/fileupload_connect.d.ts +0 -26
- package/dist/gen/proto/rpc/examples/fileupload/v1/fileupload_pb.d.ts +0 -73
package/dist/api-version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const apiVersion = "v0.1.
|
|
1
|
+
export declare const apiVersion = "v0.1.348";
|
|
@@ -73,6 +73,20 @@ export declare class StartBuildRequest extends Message<StartBuildRequest> {
|
|
|
73
73
|
*/
|
|
74
74
|
moduleVersion: string;
|
|
75
75
|
|
|
76
|
+
/**
|
|
77
|
+
* checkout token. provide this for private repos
|
|
78
|
+
*
|
|
79
|
+
* @generated from field: optional string token = 6;
|
|
80
|
+
*/
|
|
81
|
+
token?: string;
|
|
82
|
+
|
|
83
|
+
/**
|
|
84
|
+
* optional working directory. defaults to repo root.
|
|
85
|
+
*
|
|
86
|
+
* @generated from field: optional string workdir = 7;
|
|
87
|
+
*/
|
|
88
|
+
workdir?: string;
|
|
89
|
+
|
|
76
90
|
constructor(data?: PartialMessage<StartBuildRequest>);
|
|
77
91
|
|
|
78
92
|
static readonly runtime: typeof proto3;
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.5.0
|
|
2
|
+
// @generated from file app/mlinference/v1/ml_inference.proto (package viam.app.mlinference.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { GetInferenceRequest, GetInferenceResponse } from "./ml_inference_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* @generated from service viam.app.mlinference.v1.MLInferenceService
|
|
11
|
+
*/
|
|
12
|
+
export declare const MLInferenceService: {
|
|
13
|
+
readonly typeName: "viam.app.mlinference.v1.MLInferenceService",
|
|
14
|
+
readonly methods: {
|
|
15
|
+
/**
|
|
16
|
+
* @generated from rpc viam.app.mlinference.v1.MLInferenceService.GetInference
|
|
17
|
+
*/
|
|
18
|
+
readonly getInference: {
|
|
19
|
+
readonly name: "GetInference",
|
|
20
|
+
readonly I: typeof GetInferenceRequest,
|
|
21
|
+
readonly O: typeof GetInferenceResponse,
|
|
22
|
+
readonly kind: MethodKind.Unary,
|
|
23
|
+
},
|
|
24
|
+
}
|
|
25
|
+
};
|
|
26
|
+
|
|
@@ -0,0 +1,71 @@
|
|
|
1
|
+
// @generated by protoc-gen-es v1.10.0
|
|
2
|
+
// @generated from file app/mlinference/v1/ml_inference.proto (package viam.app.mlinference.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import type { BinaryReadOptions, FieldList, JsonReadOptions, JsonValue, PartialMessage, PlainMessage } from "@bufbuild/protobuf";
|
|
7
|
+
import { Message, proto3 } from "@bufbuild/protobuf";
|
|
8
|
+
import type { BinaryID } from "../../data/v1/data_pb.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* @generated from message viam.app.mlinference.v1.GetInferenceRequest
|
|
12
|
+
*/
|
|
13
|
+
export declare class GetInferenceRequest extends Message<GetInferenceRequest> {
|
|
14
|
+
/**
|
|
15
|
+
* The model framework and model type are inferred from the ML model registry item;
|
|
16
|
+
* For valid model types (classification, detections) we will return the formatted
|
|
17
|
+
* labels or annotations from the associated inference outputs.
|
|
18
|
+
*
|
|
19
|
+
* @generated from field: string registry_item_id = 1;
|
|
20
|
+
*/
|
|
21
|
+
registryItemId: string;
|
|
22
|
+
|
|
23
|
+
/**
|
|
24
|
+
* @generated from field: string registry_item_version = 2;
|
|
25
|
+
*/
|
|
26
|
+
registryItemVersion: string;
|
|
27
|
+
|
|
28
|
+
/**
|
|
29
|
+
* @generated from field: viam.app.data.v1.BinaryID binary_id = 3;
|
|
30
|
+
*/
|
|
31
|
+
binaryId?: BinaryID;
|
|
32
|
+
|
|
33
|
+
/**
|
|
34
|
+
* @generated from field: string organization_id = 4;
|
|
35
|
+
*/
|
|
36
|
+
organizationId: string;
|
|
37
|
+
|
|
38
|
+
constructor(data?: PartialMessage<GetInferenceRequest>);
|
|
39
|
+
|
|
40
|
+
static readonly runtime: typeof proto3;
|
|
41
|
+
static readonly typeName = "viam.app.mlinference.v1.GetInferenceRequest";
|
|
42
|
+
static readonly fields: FieldList;
|
|
43
|
+
|
|
44
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetInferenceRequest;
|
|
45
|
+
|
|
46
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetInferenceRequest;
|
|
47
|
+
|
|
48
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetInferenceRequest;
|
|
49
|
+
|
|
50
|
+
static equals(a: GetInferenceRequest | PlainMessage<GetInferenceRequest> | undefined, b: GetInferenceRequest | PlainMessage<GetInferenceRequest> | undefined): boolean;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* @generated from message viam.app.mlinference.v1.GetInferenceResponse
|
|
55
|
+
*/
|
|
56
|
+
export declare class GetInferenceResponse extends Message<GetInferenceResponse> {
|
|
57
|
+
constructor(data?: PartialMessage<GetInferenceResponse>);
|
|
58
|
+
|
|
59
|
+
static readonly runtime: typeof proto3;
|
|
60
|
+
static readonly typeName = "viam.app.mlinference.v1.GetInferenceResponse";
|
|
61
|
+
static readonly fields: FieldList;
|
|
62
|
+
|
|
63
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetInferenceResponse;
|
|
64
|
+
|
|
65
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetInferenceResponse;
|
|
66
|
+
|
|
67
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetInferenceResponse;
|
|
68
|
+
|
|
69
|
+
static equals(a: GetInferenceResponse | PlainMessage<GetInferenceResponse> | undefined, b: GetInferenceResponse | PlainMessage<GetInferenceResponse> | undefined): boolean;
|
|
70
|
+
}
|
|
71
|
+
|
|
@@ -3929,6 +3929,13 @@ export declare class ModuleVersion extends Message<ModuleVersion> {
|
|
|
3929
3929
|
*/
|
|
3930
3930
|
entrypoint: string;
|
|
3931
3931
|
|
|
3932
|
+
/**
|
|
3933
|
+
* The path to a setup script that is run before a newly downloaded module starts.
|
|
3934
|
+
*
|
|
3935
|
+
* @generated from field: optional string first_run = 5;
|
|
3936
|
+
*/
|
|
3937
|
+
firstRun?: string;
|
|
3938
|
+
|
|
3932
3939
|
constructor(data?: PartialMessage<ModuleVersion>);
|
|
3933
3940
|
|
|
3934
3941
|
static readonly runtime: typeof proto3;
|
|
@@ -3970,6 +3977,13 @@ export declare class ModuleMetadata extends Message<ModuleMetadata> {
|
|
|
3970
3977
|
*/
|
|
3971
3978
|
entrypoint: string;
|
|
3972
3979
|
|
|
3980
|
+
/**
|
|
3981
|
+
* The path to a setup script that is run before a newly downloaded module starts.
|
|
3982
|
+
*
|
|
3983
|
+
* @generated from field: optional string first_run = 4;
|
|
3984
|
+
*/
|
|
3985
|
+
firstRun?: string;
|
|
3986
|
+
|
|
3973
3987
|
constructor(data?: PartialMessage<ModuleMetadata>);
|
|
3974
3988
|
|
|
3975
3989
|
static readonly runtime: typeof proto3;
|
|
@@ -4700,6 +4714,13 @@ export declare class UpdateModuleRequest extends Message<UpdateModuleRequest> {
|
|
|
4700
4714
|
*/
|
|
4701
4715
|
entrypoint: string;
|
|
4702
4716
|
|
|
4717
|
+
/**
|
|
4718
|
+
* The path to a setup script that is run before a newly downloaded module starts.
|
|
4719
|
+
*
|
|
4720
|
+
* @generated from field: optional string first_run = 7;
|
|
4721
|
+
*/
|
|
4722
|
+
firstRun?: string;
|
|
4723
|
+
|
|
4703
4724
|
constructor(data?: PartialMessage<UpdateModuleRequest>);
|
|
4704
4725
|
|
|
4705
4726
|
static readonly runtime: typeof proto3;
|
|
@@ -5022,6 +5043,13 @@ export declare class Module extends Message<Module> {
|
|
|
5022
5043
|
*/
|
|
5023
5044
|
publicNamespace: string;
|
|
5024
5045
|
|
|
5046
|
+
/**
|
|
5047
|
+
* The path to a setup script that is run before a newly downloaded module starts.
|
|
5048
|
+
*
|
|
5049
|
+
* @generated from field: optional string first_run = 13;
|
|
5050
|
+
*/
|
|
5051
|
+
firstRun?: string;
|
|
5052
|
+
|
|
5025
5053
|
constructor(data?: PartialMessage<Module>);
|
|
5026
5054
|
|
|
5027
5055
|
static readonly runtime: typeof proto3;
|
|
@@ -5069,6 +5097,13 @@ export declare class VersionHistory extends Message<VersionHistory> {
|
|
|
5069
5097
|
*/
|
|
5070
5098
|
entrypoint: string;
|
|
5071
5099
|
|
|
5100
|
+
/**
|
|
5101
|
+
* The path to a setup script that is run before a newly downloaded module starts.
|
|
5102
|
+
*
|
|
5103
|
+
* @generated from field: optional string first_run = 5;
|
|
5104
|
+
*/
|
|
5105
|
+
firstRun?: string;
|
|
5106
|
+
|
|
5072
5107
|
constructor(data?: PartialMessage<VersionHistory>);
|
|
5073
5108
|
|
|
5074
5109
|
static readonly runtime: typeof proto3;
|
|
@@ -22,112 +22,79 @@ export declare enum PaymentMethodType {
|
|
|
22
22
|
}
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
|
-
* @generated from
|
|
25
|
+
* @generated from enum viam.app.v1.UsageCostType
|
|
26
26
|
*/
|
|
27
|
-
export declare
|
|
27
|
+
export declare enum UsageCostType {
|
|
28
28
|
/**
|
|
29
|
-
* @generated from
|
|
29
|
+
* @generated from enum value: USAGE_COST_TYPE_UNSPECIFIED = 0;
|
|
30
30
|
*/
|
|
31
|
-
|
|
31
|
+
UNSPECIFIED = 0,
|
|
32
32
|
|
|
33
33
|
/**
|
|
34
|
-
* @generated from
|
|
34
|
+
* @generated from enum value: USAGE_COST_TYPE_DATA_UPLOAD = 1;
|
|
35
35
|
*/
|
|
36
|
-
|
|
36
|
+
DATA_UPLOAD = 1,
|
|
37
37
|
|
|
38
38
|
/**
|
|
39
|
-
* @generated from
|
|
39
|
+
* @generated from enum value: USAGE_COST_TYPE_DATA_EGRESS = 2;
|
|
40
40
|
*/
|
|
41
|
-
|
|
41
|
+
DATA_EGRESS = 2,
|
|
42
42
|
|
|
43
43
|
/**
|
|
44
|
-
* @generated from
|
|
44
|
+
* @generated from enum value: USAGE_COST_TYPE_REMOTE_CONTROL = 3;
|
|
45
45
|
*/
|
|
46
|
-
|
|
46
|
+
REMOTE_CONTROL = 3,
|
|
47
47
|
|
|
48
48
|
/**
|
|
49
|
-
* @generated from
|
|
49
|
+
* @generated from enum value: USAGE_COST_TYPE_STANDARD_COMPUTE = 4;
|
|
50
50
|
*/
|
|
51
|
-
|
|
51
|
+
STANDARD_COMPUTE = 4,
|
|
52
52
|
|
|
53
53
|
/**
|
|
54
|
-
* @generated from
|
|
54
|
+
* @generated from enum value: USAGE_COST_TYPE_CLOUD_STORAGE = 5;
|
|
55
55
|
*/
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
constructor(data?: PartialMessage<InvoiceSummary>);
|
|
56
|
+
CLOUD_STORAGE = 5,
|
|
59
57
|
|
|
60
|
-
static readonly runtime: typeof proto3;
|
|
61
|
-
static readonly typeName = "viam.app.v1.InvoiceSummary";
|
|
62
|
-
static readonly fields: FieldList;
|
|
63
|
-
|
|
64
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InvoiceSummary;
|
|
65
|
-
|
|
66
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InvoiceSummary;
|
|
67
|
-
|
|
68
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InvoiceSummary;
|
|
69
|
-
|
|
70
|
-
static equals(a: InvoiceSummary | PlainMessage<InvoiceSummary> | undefined, b: InvoiceSummary | PlainMessage<InvoiceSummary> | undefined): boolean;
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
/**
|
|
74
|
-
* @generated from message viam.app.v1.BillableResourceEvent
|
|
75
|
-
*/
|
|
76
|
-
export declare class BillableResourceEvent extends Message<BillableResourceEvent> {
|
|
77
58
|
/**
|
|
78
|
-
* @generated from
|
|
59
|
+
* @generated from enum value: USAGE_COST_TYPE_BINARY_DATA_CLOUD_STORAGE = 6;
|
|
79
60
|
*/
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
/**
|
|
83
|
-
* @generated from field: string type = 2;
|
|
84
|
-
*/
|
|
85
|
-
type: string;
|
|
61
|
+
BINARY_DATA_CLOUD_STORAGE = 6,
|
|
86
62
|
|
|
87
63
|
/**
|
|
88
|
-
* @generated from
|
|
64
|
+
* @generated from enum value: USAGE_COST_TYPE_OTHER_CLOUD_STORAGE = 7;
|
|
89
65
|
*/
|
|
90
|
-
|
|
66
|
+
OTHER_CLOUD_STORAGE = 7,
|
|
91
67
|
|
|
92
68
|
/**
|
|
93
|
-
* @generated from
|
|
69
|
+
* @generated from enum value: USAGE_COST_TYPE_PER_MACHINE = 8;
|
|
94
70
|
*/
|
|
95
|
-
|
|
71
|
+
PER_MACHINE = 8,
|
|
72
|
+
}
|
|
96
73
|
|
|
74
|
+
/**
|
|
75
|
+
* @generated from enum viam.app.v1.SourceType
|
|
76
|
+
*/
|
|
77
|
+
export declare enum SourceType {
|
|
97
78
|
/**
|
|
98
|
-
* @generated from
|
|
79
|
+
* @generated from enum value: SOURCE_TYPE_UNSPECIFIED = 0;
|
|
99
80
|
*/
|
|
100
|
-
|
|
81
|
+
UNSPECIFIED = 0,
|
|
101
82
|
|
|
102
83
|
/**
|
|
103
|
-
* @generated from
|
|
84
|
+
* @generated from enum value: SOURCE_TYPE_ORG = 1;
|
|
104
85
|
*/
|
|
105
|
-
|
|
86
|
+
ORG = 1,
|
|
106
87
|
|
|
107
88
|
/**
|
|
108
|
-
* @generated from
|
|
89
|
+
* @generated from enum value: SOURCE_TYPE_FRAGMENT = 2;
|
|
109
90
|
*/
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
constructor(data?: PartialMessage<BillableResourceEvent>);
|
|
113
|
-
|
|
114
|
-
static readonly runtime: typeof proto3;
|
|
115
|
-
static readonly typeName = "viam.app.v1.BillableResourceEvent";
|
|
116
|
-
static readonly fields: FieldList;
|
|
117
|
-
|
|
118
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): BillableResourceEvent;
|
|
119
|
-
|
|
120
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): BillableResourceEvent;
|
|
121
|
-
|
|
122
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): BillableResourceEvent;
|
|
123
|
-
|
|
124
|
-
static equals(a: BillableResourceEvent | PlainMessage<BillableResourceEvent> | undefined, b: BillableResourceEvent | PlainMessage<BillableResourceEvent> | undefined): boolean;
|
|
91
|
+
FRAGMENT = 2,
|
|
125
92
|
}
|
|
126
93
|
|
|
127
94
|
/**
|
|
128
|
-
* @generated from message viam.app.v1.
|
|
95
|
+
* @generated from message viam.app.v1.InvoiceSummary
|
|
129
96
|
*/
|
|
130
|
-
export declare class
|
|
97
|
+
export declare class InvoiceSummary extends Message<InvoiceSummary> {
|
|
131
98
|
/**
|
|
132
99
|
* @generated from field: string id = 1;
|
|
133
100
|
*/
|
|
@@ -154,28 +121,23 @@ export declare class Invoice extends Message<Invoice> {
|
|
|
154
121
|
dueDate?: Timestamp;
|
|
155
122
|
|
|
156
123
|
/**
|
|
157
|
-
* @generated from field:
|
|
158
|
-
*/
|
|
159
|
-
items: BillableResourceEvent[];
|
|
160
|
-
|
|
161
|
-
/**
|
|
162
|
-
* @generated from field: string emailed_to = 7;
|
|
124
|
+
* @generated from field: google.protobuf.Timestamp paid_date = 6;
|
|
163
125
|
*/
|
|
164
|
-
|
|
126
|
+
paidDate?: Timestamp;
|
|
165
127
|
|
|
166
|
-
constructor(data?: PartialMessage<
|
|
128
|
+
constructor(data?: PartialMessage<InvoiceSummary>);
|
|
167
129
|
|
|
168
130
|
static readonly runtime: typeof proto3;
|
|
169
|
-
static readonly typeName = "viam.app.v1.
|
|
131
|
+
static readonly typeName = "viam.app.v1.InvoiceSummary";
|
|
170
132
|
static readonly fields: FieldList;
|
|
171
133
|
|
|
172
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>):
|
|
134
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): InvoiceSummary;
|
|
173
135
|
|
|
174
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>):
|
|
136
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): InvoiceSummary;
|
|
175
137
|
|
|
176
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>):
|
|
138
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): InvoiceSummary;
|
|
177
139
|
|
|
178
|
-
static equals(a:
|
|
140
|
+
static equals(a: InvoiceSummary | PlainMessage<InvoiceSummary> | undefined, b: InvoiceSummary | PlainMessage<InvoiceSummary> | undefined): boolean;
|
|
179
141
|
}
|
|
180
142
|
|
|
181
143
|
/**
|
|
@@ -231,6 +193,108 @@ export declare class GetCurrentMonthUsageRequest extends Message<GetCurrentMonth
|
|
|
231
193
|
static equals(a: GetCurrentMonthUsageRequest | PlainMessage<GetCurrentMonthUsageRequest> | undefined, b: GetCurrentMonthUsageRequest | PlainMessage<GetCurrentMonthUsageRequest> | undefined): boolean;
|
|
232
194
|
}
|
|
233
195
|
|
|
196
|
+
/**
|
|
197
|
+
* @generated from message viam.app.v1.UsageCost
|
|
198
|
+
*/
|
|
199
|
+
export declare class UsageCost extends Message<UsageCost> {
|
|
200
|
+
/**
|
|
201
|
+
* @generated from field: viam.app.v1.UsageCostType resource_type = 1;
|
|
202
|
+
*/
|
|
203
|
+
resourceType: UsageCostType;
|
|
204
|
+
|
|
205
|
+
/**
|
|
206
|
+
* @generated from field: double cost = 2;
|
|
207
|
+
*/
|
|
208
|
+
cost: number;
|
|
209
|
+
|
|
210
|
+
constructor(data?: PartialMessage<UsageCost>);
|
|
211
|
+
|
|
212
|
+
static readonly runtime: typeof proto3;
|
|
213
|
+
static readonly typeName = "viam.app.v1.UsageCost";
|
|
214
|
+
static readonly fields: FieldList;
|
|
215
|
+
|
|
216
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UsageCost;
|
|
217
|
+
|
|
218
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UsageCost;
|
|
219
|
+
|
|
220
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UsageCost;
|
|
221
|
+
|
|
222
|
+
static equals(a: UsageCost | PlainMessage<UsageCost> | undefined, b: UsageCost | PlainMessage<UsageCost> | undefined): boolean;
|
|
223
|
+
}
|
|
224
|
+
|
|
225
|
+
/**
|
|
226
|
+
* @generated from message viam.app.v1.ResourceUsageCostsBySource
|
|
227
|
+
*/
|
|
228
|
+
export declare class ResourceUsageCostsBySource extends Message<ResourceUsageCostsBySource> {
|
|
229
|
+
/**
|
|
230
|
+
* @generated from field: viam.app.v1.SourceType source_type = 1;
|
|
231
|
+
*/
|
|
232
|
+
sourceType: SourceType;
|
|
233
|
+
|
|
234
|
+
/**
|
|
235
|
+
* @generated from field: viam.app.v1.ResourceUsageCosts resource_usage_costs = 2;
|
|
236
|
+
*/
|
|
237
|
+
resourceUsageCosts?: ResourceUsageCosts;
|
|
238
|
+
|
|
239
|
+
/**
|
|
240
|
+
* @generated from field: string tier_name = 3;
|
|
241
|
+
*/
|
|
242
|
+
tierName: string;
|
|
243
|
+
|
|
244
|
+
constructor(data?: PartialMessage<ResourceUsageCostsBySource>);
|
|
245
|
+
|
|
246
|
+
static readonly runtime: typeof proto3;
|
|
247
|
+
static readonly typeName = "viam.app.v1.ResourceUsageCostsBySource";
|
|
248
|
+
static readonly fields: FieldList;
|
|
249
|
+
|
|
250
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ResourceUsageCostsBySource;
|
|
251
|
+
|
|
252
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ResourceUsageCostsBySource;
|
|
253
|
+
|
|
254
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ResourceUsageCostsBySource;
|
|
255
|
+
|
|
256
|
+
static equals(a: ResourceUsageCostsBySource | PlainMessage<ResourceUsageCostsBySource> | undefined, b: ResourceUsageCostsBySource | PlainMessage<ResourceUsageCostsBySource> | undefined): boolean;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
/**
|
|
260
|
+
* @generated from message viam.app.v1.ResourceUsageCosts
|
|
261
|
+
*/
|
|
262
|
+
export declare class ResourceUsageCosts extends Message<ResourceUsageCosts> {
|
|
263
|
+
/**
|
|
264
|
+
* @generated from field: repeated viam.app.v1.UsageCost usage_costs = 1;
|
|
265
|
+
*/
|
|
266
|
+
usageCosts: UsageCost[];
|
|
267
|
+
|
|
268
|
+
/**
|
|
269
|
+
* @generated from field: double discount = 2;
|
|
270
|
+
*/
|
|
271
|
+
discount: number;
|
|
272
|
+
|
|
273
|
+
/**
|
|
274
|
+
* @generated from field: double total_with_discount = 3;
|
|
275
|
+
*/
|
|
276
|
+
totalWithDiscount: number;
|
|
277
|
+
|
|
278
|
+
/**
|
|
279
|
+
* @generated from field: double total_without_discount = 4;
|
|
280
|
+
*/
|
|
281
|
+
totalWithoutDiscount: number;
|
|
282
|
+
|
|
283
|
+
constructor(data?: PartialMessage<ResourceUsageCosts>);
|
|
284
|
+
|
|
285
|
+
static readonly runtime: typeof proto3;
|
|
286
|
+
static readonly typeName = "viam.app.v1.ResourceUsageCosts";
|
|
287
|
+
static readonly fields: FieldList;
|
|
288
|
+
|
|
289
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ResourceUsageCosts;
|
|
290
|
+
|
|
291
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ResourceUsageCosts;
|
|
292
|
+
|
|
293
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ResourceUsageCosts;
|
|
294
|
+
|
|
295
|
+
static equals(a: ResourceUsageCosts | PlainMessage<ResourceUsageCosts> | undefined, b: ResourceUsageCosts | PlainMessage<ResourceUsageCosts> | undefined): boolean;
|
|
296
|
+
}
|
|
297
|
+
|
|
234
298
|
/**
|
|
235
299
|
* @generated from message viam.app.v1.GetCurrentMonthUsageResponse
|
|
236
300
|
*/
|
|
@@ -246,57 +310,80 @@ export declare class GetCurrentMonthUsageResponse extends Message<GetCurrentMont
|
|
|
246
310
|
endDate?: Timestamp;
|
|
247
311
|
|
|
248
312
|
/**
|
|
249
|
-
* @generated from field:
|
|
313
|
+
* @generated from field: repeated viam.app.v1.ResourceUsageCostsBySource resource_usage_costs_by_source = 14;
|
|
314
|
+
*/
|
|
315
|
+
resourceUsageCostsBySource: ResourceUsageCostsBySource[];
|
|
316
|
+
|
|
317
|
+
/**
|
|
318
|
+
* @generated from field: double subtotal = 15;
|
|
319
|
+
*/
|
|
320
|
+
subtotal: number;
|
|
321
|
+
|
|
322
|
+
/**
|
|
323
|
+
* all fields below are deprecated
|
|
324
|
+
*
|
|
325
|
+
* @generated from field: double cloud_storage_usage_cost = 3 [deprecated = true];
|
|
326
|
+
* @deprecated
|
|
250
327
|
*/
|
|
251
328
|
cloudStorageUsageCost: number;
|
|
252
329
|
|
|
253
330
|
/**
|
|
254
|
-
* @generated from field: double data_upload_usage_cost = 4;
|
|
331
|
+
* @generated from field: double data_upload_usage_cost = 4 [deprecated = true];
|
|
332
|
+
* @deprecated
|
|
255
333
|
*/
|
|
256
334
|
dataUploadUsageCost: number;
|
|
257
335
|
|
|
258
336
|
/**
|
|
259
|
-
* @generated from field: double data_egres_usage_cost = 5;
|
|
337
|
+
* @generated from field: double data_egres_usage_cost = 5 [deprecated = true];
|
|
338
|
+
* @deprecated
|
|
260
339
|
*/
|
|
261
340
|
dataEgresUsageCost: number;
|
|
262
341
|
|
|
263
342
|
/**
|
|
264
|
-
* @generated from field: double remote_control_usage_cost = 6;
|
|
343
|
+
* @generated from field: double remote_control_usage_cost = 6 [deprecated = true];
|
|
344
|
+
* @deprecated
|
|
265
345
|
*/
|
|
266
346
|
remoteControlUsageCost: number;
|
|
267
347
|
|
|
268
348
|
/**
|
|
269
|
-
* @generated from field: double standard_compute_usage_cost = 7;
|
|
349
|
+
* @generated from field: double standard_compute_usage_cost = 7 [deprecated = true];
|
|
350
|
+
* @deprecated
|
|
270
351
|
*/
|
|
271
352
|
standardComputeUsageCost: number;
|
|
272
353
|
|
|
273
354
|
/**
|
|
274
|
-
* @generated from field: double discount_amount = 8;
|
|
355
|
+
* @generated from field: double discount_amount = 8 [deprecated = true];
|
|
356
|
+
* @deprecated
|
|
275
357
|
*/
|
|
276
358
|
discountAmount: number;
|
|
277
359
|
|
|
278
360
|
/**
|
|
279
|
-
* @generated from field: double total_usage_with_discount = 9;
|
|
361
|
+
* @generated from field: double total_usage_with_discount = 9 [deprecated = true];
|
|
362
|
+
* @deprecated
|
|
280
363
|
*/
|
|
281
364
|
totalUsageWithDiscount: number;
|
|
282
365
|
|
|
283
366
|
/**
|
|
284
|
-
* @generated from field: double total_usage_without_discount = 10;
|
|
367
|
+
* @generated from field: double total_usage_without_discount = 10 [deprecated = true];
|
|
368
|
+
* @deprecated
|
|
285
369
|
*/
|
|
286
370
|
totalUsageWithoutDiscount: number;
|
|
287
371
|
|
|
288
372
|
/**
|
|
289
|
-
* @generated from field: double per_machine_usage_cost = 11;
|
|
373
|
+
* @generated from field: double per_machine_usage_cost = 11 [deprecated = true];
|
|
374
|
+
* @deprecated
|
|
290
375
|
*/
|
|
291
376
|
perMachineUsageCost: number;
|
|
292
377
|
|
|
293
378
|
/**
|
|
294
|
-
* @generated from field: double binary_data_cloud_storage_usage_cost = 12;
|
|
379
|
+
* @generated from field: double binary_data_cloud_storage_usage_cost = 12 [deprecated = true];
|
|
380
|
+
* @deprecated
|
|
295
381
|
*/
|
|
296
382
|
binaryDataCloudStorageUsageCost: number;
|
|
297
383
|
|
|
298
384
|
/**
|
|
299
|
-
* @generated from field: double other_cloud_storage_usage_cost = 13;
|
|
385
|
+
* @generated from field: double other_cloud_storage_usage_cost = 13 [deprecated = true];
|
|
386
|
+
* @deprecated
|
|
300
387
|
*/
|
|
301
388
|
otherCloudStorageUsageCost: number;
|
|
302
389
|
|
|
@@ -1620,6 +1620,13 @@ export declare class ModuleConfig extends Message<ModuleConfig> {
|
|
|
1620
1620
|
*/
|
|
1621
1621
|
status?: AppValidationStatus;
|
|
1622
1622
|
|
|
1623
|
+
/**
|
|
1624
|
+
* timeout for first_run script
|
|
1625
|
+
*
|
|
1626
|
+
* @generated from field: google.protobuf.Duration first_run_timeout = 8;
|
|
1627
|
+
*/
|
|
1628
|
+
firstRunTimeout?: Duration;
|
|
1629
|
+
|
|
1623
1630
|
constructor(data?: PartialMessage<ModuleConfig>);
|
|
1624
1631
|
|
|
1625
1632
|
static readonly runtime: typeof proto3;
|
|
@@ -432,6 +432,27 @@ export declare class AnswerRequestErrorStage extends Message<AnswerRequestErrorS
|
|
|
432
432
|
static equals(a: AnswerRequestErrorStage | PlainMessage<AnswerRequestErrorStage> | undefined, b: AnswerRequestErrorStage | PlainMessage<AnswerRequestErrorStage> | undefined): boolean;
|
|
433
433
|
}
|
|
434
434
|
|
|
435
|
+
/**
|
|
436
|
+
* AnswerRequestHeartbeatStage is sent periodically to verify liveness of answerer.
|
|
437
|
+
*
|
|
438
|
+
* @generated from message proto.rpc.webrtc.v1.AnswerRequestHeartbeatStage
|
|
439
|
+
*/
|
|
440
|
+
export declare class AnswerRequestHeartbeatStage extends Message<AnswerRequestHeartbeatStage> {
|
|
441
|
+
constructor(data?: PartialMessage<AnswerRequestHeartbeatStage>);
|
|
442
|
+
|
|
443
|
+
static readonly runtime: typeof proto3;
|
|
444
|
+
static readonly typeName = "proto.rpc.webrtc.v1.AnswerRequestHeartbeatStage";
|
|
445
|
+
static readonly fields: FieldList;
|
|
446
|
+
|
|
447
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AnswerRequestHeartbeatStage;
|
|
448
|
+
|
|
449
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AnswerRequestHeartbeatStage;
|
|
450
|
+
|
|
451
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AnswerRequestHeartbeatStage;
|
|
452
|
+
|
|
453
|
+
static equals(a: AnswerRequestHeartbeatStage | PlainMessage<AnswerRequestHeartbeatStage> | undefined, b: AnswerRequestHeartbeatStage | PlainMessage<AnswerRequestHeartbeatStage> | undefined): boolean;
|
|
454
|
+
}
|
|
455
|
+
|
|
435
456
|
/**
|
|
436
457
|
* AnswerRequest is the SDP offer that the controlling side is making via the answering
|
|
437
458
|
* stream.
|
|
@@ -475,6 +496,14 @@ export declare class AnswerRequest extends Message<AnswerRequest> {
|
|
|
475
496
|
*/
|
|
476
497
|
value: AnswerRequestErrorStage;
|
|
477
498
|
case: "error";
|
|
499
|
+
} | {
|
|
500
|
+
/**
|
|
501
|
+
* heartbeat is sent periodically to verify liveness of answerer
|
|
502
|
+
*
|
|
503
|
+
* @generated from field: proto.rpc.webrtc.v1.AnswerRequestHeartbeatStage heartbeat = 6;
|
|
504
|
+
*/
|
|
505
|
+
value: AnswerRequestHeartbeatStage;
|
|
506
|
+
case: "heartbeat";
|
|
478
507
|
} | { case: undefined; value?: undefined };
|
|
479
508
|
|
|
480
509
|
constructor(data?: PartialMessage<AnswerRequest>);
|
|
@@ -651,6 +651,11 @@ export declare class DiscoveryQuery extends Message<DiscoveryQuery> {
|
|
|
651
651
|
*/
|
|
652
652
|
model: string;
|
|
653
653
|
|
|
654
|
+
/**
|
|
655
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
656
|
+
*/
|
|
657
|
+
extra?: Struct;
|
|
658
|
+
|
|
654
659
|
constructor(data?: PartialMessage<DiscoveryQuery>);
|
|
655
660
|
|
|
656
661
|
static readonly runtime: typeof proto3;
|