@viamrobotics/sdk 0.9.0 → 0.9.1-rc.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/events.d.ts CHANGED
@@ -2,7 +2,7 @@ type Callback = (args: unknown) => void;
2
2
  export declare const RECONNECTED = "reconnected";
3
3
  export declare const DISCONNECTED = "disconnected";
4
4
  export declare class EventDispatcher {
5
- listeners: Record<string, Set<Callback>>;
5
+ listeners: Partial<Record<string, Set<Callback>>>;
6
6
  on(type: string, listener: Callback): void;
7
7
  once(type: string, listener: Callback): void;
8
8
  has(type: string, listener: Callback): boolean | undefined;
@@ -3202,6 +3202,48 @@ export namespace RegistryItem {
3202
3202
  }
3203
3203
  }
3204
3204
 
3205
+ export class GetRegistryItemRequest extends jspb.Message {
3206
+ getItemId(): string;
3207
+ setItemId(value: string): void;
3208
+
3209
+ serializeBinary(): Uint8Array;
3210
+ toObject(includeInstance?: boolean): GetRegistryItemRequest.AsObject;
3211
+ static toObject(includeInstance: boolean, msg: GetRegistryItemRequest): GetRegistryItemRequest.AsObject;
3212
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
3213
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
3214
+ static serializeBinaryToWriter(message: GetRegistryItemRequest, writer: jspb.BinaryWriter): void;
3215
+ static deserializeBinary(bytes: Uint8Array): GetRegistryItemRequest;
3216
+ static deserializeBinaryFromReader(message: GetRegistryItemRequest, reader: jspb.BinaryReader): GetRegistryItemRequest;
3217
+ }
3218
+
3219
+ export namespace GetRegistryItemRequest {
3220
+ export type AsObject = {
3221
+ itemId: string,
3222
+ }
3223
+ }
3224
+
3225
+ export class GetRegistryItemResponse extends jspb.Message {
3226
+ hasItem(): boolean;
3227
+ clearItem(): void;
3228
+ getItem(): RegistryItem | undefined;
3229
+ setItem(value?: RegistryItem): void;
3230
+
3231
+ serializeBinary(): Uint8Array;
3232
+ toObject(includeInstance?: boolean): GetRegistryItemResponse.AsObject;
3233
+ static toObject(includeInstance: boolean, msg: GetRegistryItemResponse): GetRegistryItemResponse.AsObject;
3234
+ static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
3235
+ static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
3236
+ static serializeBinaryToWriter(message: GetRegistryItemResponse, writer: jspb.BinaryWriter): void;
3237
+ static deserializeBinary(bytes: Uint8Array): GetRegistryItemResponse;
3238
+ static deserializeBinaryFromReader(message: GetRegistryItemResponse, reader: jspb.BinaryReader): GetRegistryItemResponse;
3239
+ }
3240
+
3241
+ export namespace GetRegistryItemResponse {
3242
+ export type AsObject = {
3243
+ item?: RegistryItem.AsObject,
3244
+ }
3245
+ }
3246
+
3205
3247
  export class CreateRegistryItemRequest extends jspb.Message {
3206
3248
  getOrganizationId(): string;
3207
3249
  setOrganizationId(value: string): void;
@@ -490,6 +490,15 @@ type AppServiceCheckPermissions = {
490
490
  readonly responseType: typeof app_v1_app_pb.CheckPermissionsResponse;
491
491
  };
492
492
 
493
+ type AppServiceGetRegistryItem = {
494
+ readonly methodName: string;
495
+ readonly service: typeof AppService;
496
+ readonly requestStream: false;
497
+ readonly responseStream: false;
498
+ readonly requestType: typeof app_v1_app_pb.GetRegistryItemRequest;
499
+ readonly responseType: typeof app_v1_app_pb.GetRegistryItemResponse;
500
+ };
501
+
493
502
  type AppServiceCreateRegistryItem = {
494
503
  readonly methodName: string;
495
504
  readonly service: typeof AppService;
@@ -672,6 +681,7 @@ export class AppService {
672
681
  static readonly ChangeRole: AppServiceChangeRole;
673
682
  static readonly ListAuthorizations: AppServiceListAuthorizations;
674
683
  static readonly CheckPermissions: AppServiceCheckPermissions;
684
+ static readonly GetRegistryItem: AppServiceGetRegistryItem;
675
685
  static readonly CreateRegistryItem: AppServiceCreateRegistryItem;
676
686
  static readonly UpdateRegistryItem: AppServiceUpdateRegistryItem;
677
687
  static readonly ListRegistryItems: AppServiceListRegistryItems;
@@ -1198,6 +1208,15 @@ export class AppServiceClient {
1198
1208
  requestMessage: app_v1_app_pb.CheckPermissionsRequest,
1199
1209
  callback: (error: ServiceError|null, responseMessage: app_v1_app_pb.CheckPermissionsResponse|null) => void
1200
1210
  ): UnaryResponse;
1211
+ getRegistryItem(
1212
+ requestMessage: app_v1_app_pb.GetRegistryItemRequest,
1213
+ metadata: grpc.Metadata,
1214
+ callback: (error: ServiceError|null, responseMessage: app_v1_app_pb.GetRegistryItemResponse|null) => void
1215
+ ): UnaryResponse;
1216
+ getRegistryItem(
1217
+ requestMessage: app_v1_app_pb.GetRegistryItemRequest,
1218
+ callback: (error: ServiceError|null, responseMessage: app_v1_app_pb.GetRegistryItemResponse|null) => void
1219
+ ): UnaryResponse;
1201
1220
  createRegistryItem(
1202
1221
  requestMessage: app_v1_app_pb.CreateRegistryItemRequest,
1203
1222
  metadata: grpc.Metadata,
@@ -4,66 +4,6 @@
4
4
  import * as jspb from "google-protobuf";
5
5
  import * as google_protobuf_timestamp_pb from "google-protobuf/google/protobuf/timestamp_pb";
6
6
 
7
- export class CurrentMonthUsageSummary extends jspb.Message {
8
- getCloudStorageUsage(): number;
9
- setCloudStorageUsage(value: number): void;
10
-
11
- getCloudStorageUsageCost(): number;
12
- setCloudStorageUsageCost(value: number): void;
13
-
14
- getDataUploadUsageCost(): number;
15
- setDataUploadUsageCost(value: number): void;
16
-
17
- getDataUploadUsageQuantity(): number;
18
- setDataUploadUsageQuantity(value: number): void;
19
-
20
- getDataEgresUsageCost(): number;
21
- setDataEgresUsageCost(value: number): void;
22
-
23
- getDataEgresUsageQuantity(): number;
24
- setDataEgresUsageQuantity(value: number): void;
25
-
26
- getStandardComputeUsageCost(): number;
27
- setStandardComputeUsageCost(value: number): void;
28
-
29
- getStandardComputeUsageQuantity(): number;
30
- setStandardComputeUsageQuantity(value: number): void;
31
-
32
- getTotalUsageQuantity(): number;
33
- setTotalUsageQuantity(value: number): void;
34
-
35
- getTotalUsageWithDiscount(): number;
36
- setTotalUsageWithDiscount(value: number): void;
37
-
38
- getTotalUsageWithoutDiscount(): number;
39
- setTotalUsageWithoutDiscount(value: number): void;
40
-
41
- serializeBinary(): Uint8Array;
42
- toObject(includeInstance?: boolean): CurrentMonthUsageSummary.AsObject;
43
- static toObject(includeInstance: boolean, msg: CurrentMonthUsageSummary): CurrentMonthUsageSummary.AsObject;
44
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
45
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
46
- static serializeBinaryToWriter(message: CurrentMonthUsageSummary, writer: jspb.BinaryWriter): void;
47
- static deserializeBinary(bytes: Uint8Array): CurrentMonthUsageSummary;
48
- static deserializeBinaryFromReader(message: CurrentMonthUsageSummary, reader: jspb.BinaryReader): CurrentMonthUsageSummary;
49
- }
50
-
51
- export namespace CurrentMonthUsageSummary {
52
- export type AsObject = {
53
- cloudStorageUsage: number,
54
- cloudStorageUsageCost: number,
55
- dataUploadUsageCost: number,
56
- dataUploadUsageQuantity: number,
57
- dataEgresUsageCost: number,
58
- dataEgresUsageQuantity: number,
59
- standardComputeUsageCost: number,
60
- standardComputeUsageQuantity: number,
61
- totalUsageQuantity: number,
62
- totalUsageWithDiscount: number,
63
- totalUsageWithoutDiscount: number,
64
- }
65
- }
66
-
67
7
  export class InvoiceSummary extends jspb.Message {
68
8
  getId(): string;
69
9
  setId(value: string): void;
@@ -230,86 +170,6 @@ export namespace PaymentMethodCard {
230
170
  }
231
171
  }
232
172
 
233
- export class GetCurrentMonthUsageSummaryRequest extends jspb.Message {
234
- getOrgId(): string;
235
- setOrgId(value: string): void;
236
-
237
- serializeBinary(): Uint8Array;
238
- toObject(includeInstance?: boolean): GetCurrentMonthUsageSummaryRequest.AsObject;
239
- static toObject(includeInstance: boolean, msg: GetCurrentMonthUsageSummaryRequest): GetCurrentMonthUsageSummaryRequest.AsObject;
240
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
241
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
242
- static serializeBinaryToWriter(message: GetCurrentMonthUsageSummaryRequest, writer: jspb.BinaryWriter): void;
243
- static deserializeBinary(bytes: Uint8Array): GetCurrentMonthUsageSummaryRequest;
244
- static deserializeBinaryFromReader(message: GetCurrentMonthUsageSummaryRequest, reader: jspb.BinaryReader): GetCurrentMonthUsageSummaryRequest;
245
- }
246
-
247
- export namespace GetCurrentMonthUsageSummaryRequest {
248
- export type AsObject = {
249
- orgId: string,
250
- }
251
- }
252
-
253
- export class GetCurrentMonthUsageSummaryResponse extends jspb.Message {
254
- getCloudStorageUsage(): number;
255
- setCloudStorageUsage(value: number): void;
256
-
257
- getCloudStorageUsageCost(): number;
258
- setCloudStorageUsageCost(value: number): void;
259
-
260
- getDataUploadUsageCost(): number;
261
- setDataUploadUsageCost(value: number): void;
262
-
263
- getDataUploadUsageQuantity(): number;
264
- setDataUploadUsageQuantity(value: number): void;
265
-
266
- getDataEgresUsageCost(): number;
267
- setDataEgresUsageCost(value: number): void;
268
-
269
- getDataEgresUsageQuantity(): number;
270
- setDataEgresUsageQuantity(value: number): void;
271
-
272
- getStandardComputeUsageCost(): number;
273
- setStandardComputeUsageCost(value: number): void;
274
-
275
- getStandardComputeUsageQuantity(): number;
276
- setStandardComputeUsageQuantity(value: number): void;
277
-
278
- getTotalUsageQuantity(): number;
279
- setTotalUsageQuantity(value: number): void;
280
-
281
- getTotalUsageWithDiscount(): number;
282
- setTotalUsageWithDiscount(value: number): void;
283
-
284
- getTotalUsageWithoutDiscount(): number;
285
- setTotalUsageWithoutDiscount(value: number): void;
286
-
287
- serializeBinary(): Uint8Array;
288
- toObject(includeInstance?: boolean): GetCurrentMonthUsageSummaryResponse.AsObject;
289
- static toObject(includeInstance: boolean, msg: GetCurrentMonthUsageSummaryResponse): GetCurrentMonthUsageSummaryResponse.AsObject;
290
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
291
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
292
- static serializeBinaryToWriter(message: GetCurrentMonthUsageSummaryResponse, writer: jspb.BinaryWriter): void;
293
- static deserializeBinary(bytes: Uint8Array): GetCurrentMonthUsageSummaryResponse;
294
- static deserializeBinaryFromReader(message: GetCurrentMonthUsageSummaryResponse, reader: jspb.BinaryReader): GetCurrentMonthUsageSummaryResponse;
295
- }
296
-
297
- export namespace GetCurrentMonthUsageSummaryResponse {
298
- export type AsObject = {
299
- cloudStorageUsage: number,
300
- cloudStorageUsageCost: number,
301
- dataUploadUsageCost: number,
302
- dataUploadUsageQuantity: number,
303
- dataEgresUsageCost: number,
304
- dataEgresUsageQuantity: number,
305
- standardComputeUsageCost: number,
306
- standardComputeUsageQuantity: number,
307
- totalUsageQuantity: number,
308
- totalUsageWithDiscount: number,
309
- totalUsageWithoutDiscount: number,
310
- }
311
- }
312
-
313
173
  export class GetCurrentMonthUsageRequest extends jspb.Message {
314
174
  getOrgId(): string;
315
175
  setOrgId(value: string): void;
@@ -390,136 +250,6 @@ export namespace GetCurrentMonthUsageResponse {
390
250
  }
391
251
  }
392
252
 
393
- export class GetUnpaidBalanceRequest extends jspb.Message {
394
- getOrgId(): string;
395
- setOrgId(value: string): void;
396
-
397
- serializeBinary(): Uint8Array;
398
- toObject(includeInstance?: boolean): GetUnpaidBalanceRequest.AsObject;
399
- static toObject(includeInstance: boolean, msg: GetUnpaidBalanceRequest): GetUnpaidBalanceRequest.AsObject;
400
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
401
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
402
- static serializeBinaryToWriter(message: GetUnpaidBalanceRequest, writer: jspb.BinaryWriter): void;
403
- static deserializeBinary(bytes: Uint8Array): GetUnpaidBalanceRequest;
404
- static deserializeBinaryFromReader(message: GetUnpaidBalanceRequest, reader: jspb.BinaryReader): GetUnpaidBalanceRequest;
405
- }
406
-
407
- export namespace GetUnpaidBalanceRequest {
408
- export type AsObject = {
409
- orgId: string,
410
- }
411
- }
412
-
413
- export class GetUnpaidBalanceResponse extends jspb.Message {
414
- getUnpaidBalance(): number;
415
- setUnpaidBalance(value: number): void;
416
-
417
- hasUnpaidBalanceDueDate(): boolean;
418
- clearUnpaidBalanceDueDate(): void;
419
- getUnpaidBalanceDueDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
420
- setUnpaidBalanceDueDate(value?: google_protobuf_timestamp_pb.Timestamp): void;
421
-
422
- serializeBinary(): Uint8Array;
423
- toObject(includeInstance?: boolean): GetUnpaidBalanceResponse.AsObject;
424
- static toObject(includeInstance: boolean, msg: GetUnpaidBalanceResponse): GetUnpaidBalanceResponse.AsObject;
425
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
426
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
427
- static serializeBinaryToWriter(message: GetUnpaidBalanceResponse, writer: jspb.BinaryWriter): void;
428
- static deserializeBinary(bytes: Uint8Array): GetUnpaidBalanceResponse;
429
- static deserializeBinaryFromReader(message: GetUnpaidBalanceResponse, reader: jspb.BinaryReader): GetUnpaidBalanceResponse;
430
- }
431
-
432
- export namespace GetUnpaidBalanceResponse {
433
- export type AsObject = {
434
- unpaidBalance: number,
435
- unpaidBalanceDueDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
436
- }
437
- }
438
-
439
- export class GetInvoiceHistoryRequest extends jspb.Message {
440
- getOrgId(): string;
441
- setOrgId(value: string): void;
442
-
443
- serializeBinary(): Uint8Array;
444
- toObject(includeInstance?: boolean): GetInvoiceHistoryRequest.AsObject;
445
- static toObject(includeInstance: boolean, msg: GetInvoiceHistoryRequest): GetInvoiceHistoryRequest.AsObject;
446
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
447
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
448
- static serializeBinaryToWriter(message: GetInvoiceHistoryRequest, writer: jspb.BinaryWriter): void;
449
- static deserializeBinary(bytes: Uint8Array): GetInvoiceHistoryRequest;
450
- static deserializeBinaryFromReader(message: GetInvoiceHistoryRequest, reader: jspb.BinaryReader): GetInvoiceHistoryRequest;
451
- }
452
-
453
- export namespace GetInvoiceHistoryRequest {
454
- export type AsObject = {
455
- orgId: string,
456
- }
457
- }
458
-
459
- export class GetInvoiceHistoryResponse extends jspb.Message {
460
- clearInvoicesList(): void;
461
- getInvoicesList(): Array<InvoiceSummary>;
462
- setInvoicesList(value: Array<InvoiceSummary>): void;
463
- addInvoices(value?: InvoiceSummary, index?: number): InvoiceSummary;
464
-
465
- serializeBinary(): Uint8Array;
466
- toObject(includeInstance?: boolean): GetInvoiceHistoryResponse.AsObject;
467
- static toObject(includeInstance: boolean, msg: GetInvoiceHistoryResponse): GetInvoiceHistoryResponse.AsObject;
468
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
469
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
470
- static serializeBinaryToWriter(message: GetInvoiceHistoryResponse, writer: jspb.BinaryWriter): void;
471
- static deserializeBinary(bytes: Uint8Array): GetInvoiceHistoryResponse;
472
- static deserializeBinaryFromReader(message: GetInvoiceHistoryResponse, reader: jspb.BinaryReader): GetInvoiceHistoryResponse;
473
- }
474
-
475
- export namespace GetInvoiceHistoryResponse {
476
- export type AsObject = {
477
- invoicesList: Array<InvoiceSummary.AsObject>,
478
- }
479
- }
480
-
481
- export class GetItemizedInvoiceRequest extends jspb.Message {
482
- getId(): string;
483
- setId(value: string): void;
484
-
485
- serializeBinary(): Uint8Array;
486
- toObject(includeInstance?: boolean): GetItemizedInvoiceRequest.AsObject;
487
- static toObject(includeInstance: boolean, msg: GetItemizedInvoiceRequest): GetItemizedInvoiceRequest.AsObject;
488
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
489
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
490
- static serializeBinaryToWriter(message: GetItemizedInvoiceRequest, writer: jspb.BinaryWriter): void;
491
- static deserializeBinary(bytes: Uint8Array): GetItemizedInvoiceRequest;
492
- static deserializeBinaryFromReader(message: GetItemizedInvoiceRequest, reader: jspb.BinaryReader): GetItemizedInvoiceRequest;
493
- }
494
-
495
- export namespace GetItemizedInvoiceRequest {
496
- export type AsObject = {
497
- id: string,
498
- }
499
- }
500
-
501
- export class GetItemizedInvoiceResponse extends jspb.Message {
502
- hasInvoice(): boolean;
503
- clearInvoice(): void;
504
- getInvoice(): Invoice | undefined;
505
- setInvoice(value?: Invoice): void;
506
-
507
- serializeBinary(): Uint8Array;
508
- toObject(includeInstance?: boolean): GetItemizedInvoiceResponse.AsObject;
509
- static toObject(includeInstance: boolean, msg: GetItemizedInvoiceResponse): GetItemizedInvoiceResponse.AsObject;
510
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
511
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
512
- static serializeBinaryToWriter(message: GetItemizedInvoiceResponse, writer: jspb.BinaryWriter): void;
513
- static deserializeBinary(bytes: Uint8Array): GetItemizedInvoiceResponse;
514
- static deserializeBinaryFromReader(message: GetItemizedInvoiceResponse, reader: jspb.BinaryReader): GetItemizedInvoiceResponse;
515
- }
516
-
517
- export namespace GetItemizedInvoiceResponse {
518
- export type AsObject = {
519
- invoice?: Invoice.AsObject,
520
- }
521
- }
522
-
523
253
  export class GetOrgBillingInformationRequest extends jspb.Message {
524
254
  getOrgId(): string;
525
255
  setOrgId(value: string): void;
@@ -622,82 +352,6 @@ export namespace GetInvoicesSummaryResponse {
622
352
  }
623
353
  }
624
354
 
625
- export class GetBillingSummaryRequest extends jspb.Message {
626
- getOrgId(): string;
627
- setOrgId(value: string): void;
628
-
629
- serializeBinary(): Uint8Array;
630
- toObject(includeInstance?: boolean): GetBillingSummaryRequest.AsObject;
631
- static toObject(includeInstance: boolean, msg: GetBillingSummaryRequest): GetBillingSummaryRequest.AsObject;
632
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
633
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
634
- static serializeBinaryToWriter(message: GetBillingSummaryRequest, writer: jspb.BinaryWriter): void;
635
- static deserializeBinary(bytes: Uint8Array): GetBillingSummaryRequest;
636
- static deserializeBinaryFromReader(message: GetBillingSummaryRequest, reader: jspb.BinaryReader): GetBillingSummaryRequest;
637
- }
638
-
639
- export namespace GetBillingSummaryRequest {
640
- export type AsObject = {
641
- orgId: string,
642
- }
643
- }
644
-
645
- export class GetBillingSummaryResponse extends jspb.Message {
646
- hasUsageSummary(): boolean;
647
- clearUsageSummary(): void;
648
- getUsageSummary(): CurrentMonthUsageSummary | undefined;
649
- setUsageSummary(value?: CurrentMonthUsageSummary): void;
650
-
651
- clearInvoicesList(): void;
652
- getInvoicesList(): Array<InvoiceSummary>;
653
- setInvoicesList(value: Array<InvoiceSummary>): void;
654
- addInvoices(value?: InvoiceSummary, index?: number): InvoiceSummary;
655
-
656
- getStatementBalance(): number;
657
- setStatementBalance(value: number): void;
658
-
659
- getCurrentBalance(): number;
660
- setCurrentBalance(value: number): void;
661
-
662
- getCurrentMonthBalance(): number;
663
- setCurrentMonthBalance(value: number): void;
664
-
665
- hasCurrentMonthDueDate(): boolean;
666
- clearCurrentMonthDueDate(): void;
667
- getCurrentMonthDueDate(): google_protobuf_timestamp_pb.Timestamp | undefined;
668
- setCurrentMonthDueDate(value?: google_protobuf_timestamp_pb.Timestamp): void;
669
-
670
- getInvoiceEmail(): string;
671
- setInvoiceEmail(value: string): void;
672
-
673
- hasPaymentMethod(): boolean;
674
- clearPaymentMethod(): void;
675
- getPaymentMethod(): PaymentMethodCard | undefined;
676
- setPaymentMethod(value?: PaymentMethodCard): void;
677
-
678
- serializeBinary(): Uint8Array;
679
- toObject(includeInstance?: boolean): GetBillingSummaryResponse.AsObject;
680
- static toObject(includeInstance: boolean, msg: GetBillingSummaryResponse): GetBillingSummaryResponse.AsObject;
681
- static extensions: {[key: number]: jspb.ExtensionFieldInfo<jspb.Message>};
682
- static extensionsBinary: {[key: number]: jspb.ExtensionFieldBinaryInfo<jspb.Message>};
683
- static serializeBinaryToWriter(message: GetBillingSummaryResponse, writer: jspb.BinaryWriter): void;
684
- static deserializeBinary(bytes: Uint8Array): GetBillingSummaryResponse;
685
- static deserializeBinaryFromReader(message: GetBillingSummaryResponse, reader: jspb.BinaryReader): GetBillingSummaryResponse;
686
- }
687
-
688
- export namespace GetBillingSummaryResponse {
689
- export type AsObject = {
690
- usageSummary?: CurrentMonthUsageSummary.AsObject,
691
- invoicesList: Array<InvoiceSummary.AsObject>,
692
- statementBalance: number,
693
- currentBalance: number,
694
- currentMonthBalance: number,
695
- currentMonthDueDate?: google_protobuf_timestamp_pb.Timestamp.AsObject,
696
- invoiceEmail: string,
697
- paymentMethod?: PaymentMethodCard.AsObject,
698
- }
699
- }
700
-
701
355
  export class GetInvoicePdfRequest extends jspb.Message {
702
356
  getId(): string;
703
357
  setId(value: string): void;
@@ -4,51 +4,6 @@
4
4
  import * as app_v1_billing_pb from "../../app/v1/billing_pb";
5
5
  import {grpc} from "@improbable-eng/grpc-web";
6
6
 
7
- type BillingServiceGetCurrentMonthUsageSummary = {
8
- readonly methodName: string;
9
- readonly service: typeof BillingService;
10
- readonly requestStream: false;
11
- readonly responseStream: false;
12
- readonly requestType: typeof app_v1_billing_pb.GetCurrentMonthUsageSummaryRequest;
13
- readonly responseType: typeof app_v1_billing_pb.GetCurrentMonthUsageSummaryResponse;
14
- };
15
-
16
- type BillingServiceGetUnpaidBalance = {
17
- readonly methodName: string;
18
- readonly service: typeof BillingService;
19
- readonly requestStream: false;
20
- readonly responseStream: false;
21
- readonly requestType: typeof app_v1_billing_pb.GetUnpaidBalanceRequest;
22
- readonly responseType: typeof app_v1_billing_pb.GetUnpaidBalanceResponse;
23
- };
24
-
25
- type BillingServiceGetInvoiceHistory = {
26
- readonly methodName: string;
27
- readonly service: typeof BillingService;
28
- readonly requestStream: false;
29
- readonly responseStream: false;
30
- readonly requestType: typeof app_v1_billing_pb.GetInvoiceHistoryRequest;
31
- readonly responseType: typeof app_v1_billing_pb.GetInvoiceHistoryResponse;
32
- };
33
-
34
- type BillingServiceGetItemizedInvoice = {
35
- readonly methodName: string;
36
- readonly service: typeof BillingService;
37
- readonly requestStream: false;
38
- readonly responseStream: false;
39
- readonly requestType: typeof app_v1_billing_pb.GetItemizedInvoiceRequest;
40
- readonly responseType: typeof app_v1_billing_pb.GetItemizedInvoiceResponse;
41
- };
42
-
43
- type BillingServiceGetBillingSummary = {
44
- readonly methodName: string;
45
- readonly service: typeof BillingService;
46
- readonly requestStream: false;
47
- readonly responseStream: false;
48
- readonly requestType: typeof app_v1_billing_pb.GetBillingSummaryRequest;
49
- readonly responseType: typeof app_v1_billing_pb.GetBillingSummaryResponse;
50
- };
51
-
52
7
  type BillingServiceGetCurrentMonthUsage = {
53
8
  readonly methodName: string;
54
9
  readonly service: typeof BillingService;
@@ -87,11 +42,6 @@ type BillingServiceGetInvoicePdf = {
87
42
 
88
43
  export class BillingService {
89
44
  static readonly serviceName: string;
90
- static readonly GetCurrentMonthUsageSummary: BillingServiceGetCurrentMonthUsageSummary;
91
- static readonly GetUnpaidBalance: BillingServiceGetUnpaidBalance;
92
- static readonly GetInvoiceHistory: BillingServiceGetInvoiceHistory;
93
- static readonly GetItemizedInvoice: BillingServiceGetItemizedInvoice;
94
- static readonly GetBillingSummary: BillingServiceGetBillingSummary;
95
45
  static readonly GetCurrentMonthUsage: BillingServiceGetCurrentMonthUsage;
96
46
  static readonly GetOrgBillingInformation: BillingServiceGetOrgBillingInformation;
97
47
  static readonly GetInvoicesSummary: BillingServiceGetInvoicesSummary;
@@ -130,51 +80,6 @@ export class BillingServiceClient {
130
80
  readonly serviceHost: string;
131
81
 
132
82
  constructor(serviceHost: string, options?: grpc.RpcOptions);
133
- getCurrentMonthUsageSummary(
134
- requestMessage: app_v1_billing_pb.GetCurrentMonthUsageSummaryRequest,
135
- metadata: grpc.Metadata,
136
- callback: (error: ServiceError|null, responseMessage: app_v1_billing_pb.GetCurrentMonthUsageSummaryResponse|null) => void
137
- ): UnaryResponse;
138
- getCurrentMonthUsageSummary(
139
- requestMessage: app_v1_billing_pb.GetCurrentMonthUsageSummaryRequest,
140
- callback: (error: ServiceError|null, responseMessage: app_v1_billing_pb.GetCurrentMonthUsageSummaryResponse|null) => void
141
- ): UnaryResponse;
142
- getUnpaidBalance(
143
- requestMessage: app_v1_billing_pb.GetUnpaidBalanceRequest,
144
- metadata: grpc.Metadata,
145
- callback: (error: ServiceError|null, responseMessage: app_v1_billing_pb.GetUnpaidBalanceResponse|null) => void
146
- ): UnaryResponse;
147
- getUnpaidBalance(
148
- requestMessage: app_v1_billing_pb.GetUnpaidBalanceRequest,
149
- callback: (error: ServiceError|null, responseMessage: app_v1_billing_pb.GetUnpaidBalanceResponse|null) => void
150
- ): UnaryResponse;
151
- getInvoiceHistory(
152
- requestMessage: app_v1_billing_pb.GetInvoiceHistoryRequest,
153
- metadata: grpc.Metadata,
154
- callback: (error: ServiceError|null, responseMessage: app_v1_billing_pb.GetInvoiceHistoryResponse|null) => void
155
- ): UnaryResponse;
156
- getInvoiceHistory(
157
- requestMessage: app_v1_billing_pb.GetInvoiceHistoryRequest,
158
- callback: (error: ServiceError|null, responseMessage: app_v1_billing_pb.GetInvoiceHistoryResponse|null) => void
159
- ): UnaryResponse;
160
- getItemizedInvoice(
161
- requestMessage: app_v1_billing_pb.GetItemizedInvoiceRequest,
162
- metadata: grpc.Metadata,
163
- callback: (error: ServiceError|null, responseMessage: app_v1_billing_pb.GetItemizedInvoiceResponse|null) => void
164
- ): UnaryResponse;
165
- getItemizedInvoice(
166
- requestMessage: app_v1_billing_pb.GetItemizedInvoiceRequest,
167
- callback: (error: ServiceError|null, responseMessage: app_v1_billing_pb.GetItemizedInvoiceResponse|null) => void
168
- ): UnaryResponse;
169
- getBillingSummary(
170
- requestMessage: app_v1_billing_pb.GetBillingSummaryRequest,
171
- metadata: grpc.Metadata,
172
- callback: (error: ServiceError|null, responseMessage: app_v1_billing_pb.GetBillingSummaryResponse|null) => void
173
- ): UnaryResponse;
174
- getBillingSummary(
175
- requestMessage: app_v1_billing_pb.GetBillingSummaryRequest,
176
- callback: (error: ServiceError|null, responseMessage: app_v1_billing_pb.GetBillingSummaryResponse|null) => void
177
- ): UnaryResponse;
178
83
  getCurrentMonthUsage(
179
84
  requestMessage: app_v1_billing_pb.GetCurrentMonthUsageRequest,
180
85
  metadata: grpc.Metadata,
@@ -343,6 +343,26 @@ export namespace GetAccuracyRequest {
343
343
  export class GetAccuracyResponse extends jspb.Message {
344
344
  getAccuracyMap(): jspb.Map<string, number>;
345
345
  clearAccuracyMap(): void;
346
+ hasPositionHdop(): boolean;
347
+ clearPositionHdop(): void;
348
+ getPositionHdop(): number;
349
+ setPositionHdop(value: number): void;
350
+
351
+ hasPositionVdop(): boolean;
352
+ clearPositionVdop(): void;
353
+ getPositionVdop(): number;
354
+ setPositionVdop(value: number): void;
355
+
356
+ hasPositionNmeaGgaFix(): boolean;
357
+ clearPositionNmeaGgaFix(): void;
358
+ getPositionNmeaGgaFix(): NmeaGGAFixMap[keyof NmeaGGAFixMap];
359
+ setPositionNmeaGgaFix(value: NmeaGGAFixMap[keyof NmeaGGAFixMap]): void;
360
+
361
+ hasCompassDegreesError(): boolean;
362
+ clearCompassDegreesError(): void;
363
+ getCompassDegreesError(): number;
364
+ setCompassDegreesError(value: number): void;
365
+
346
366
  serializeBinary(): Uint8Array;
347
367
  toObject(includeInstance?: boolean): GetAccuracyResponse.AsObject;
348
368
  static toObject(includeInstance: boolean, msg: GetAccuracyResponse): GetAccuracyResponse.AsObject;
@@ -356,6 +376,10 @@ export class GetAccuracyResponse extends jspb.Message {
356
376
  export namespace GetAccuracyResponse {
357
377
  export type AsObject = {
358
378
  accuracyMap: Array<[string, number]>,
379
+ positionHdop: number,
380
+ positionVdop: number,
381
+ positionNmeaGgaFix: NmeaGGAFixMap[keyof NmeaGGAFixMap],
382
+ compassDegreesError: number,
359
383
  }
360
384
  }
361
385
 
@@ -407,3 +431,17 @@ export namespace GetLinearAccelerationResponse {
407
431
  }
408
432
  }
409
433
 
434
+ export interface NmeaGGAFixMap {
435
+ NMEA_GGA_FIX_INVALID_UNSPECIFIED: 0;
436
+ NMEA_GGA_FIX_GNSS: 1;
437
+ NMEA_GGA_FIX_DGPS: 2;
438
+ NMEA_GGA_FIX_PPS: 3;
439
+ NMEA_GGA_FIX_RTK_FIXED: 4;
440
+ NMEA_GGA_FIX_RTK_FLOAT: 5;
441
+ NMEA_GGA_FIX_DEAD_RECKONING: 6;
442
+ NMEA_GGA_FIX_MANUAL: 7;
443
+ NMEA_GGA_FIX_SIMULATION: 8;
444
+ }
445
+
446
+ export const NmeaGGAFix: NmeaGGAFixMap;
447
+