@viamrobotics/sdk 0.52.2 → 0.54.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/viam-client.d.ts +1 -0
- package/dist/app/viam-transport.d.ts +1 -1
- package/dist/audio-common.d.ts +20 -0
- package/dist/components/arm/arm.d.ts +29 -1
- package/dist/components/arm/client.d.ts +13 -0
- package/dist/components/audio-in/audio-in.d.ts +36 -0
- package/dist/components/audio-in/client.d.ts +19 -0
- package/dist/components/audio-in/client.spec.d.ts +1 -0
- package/dist/components/audio-out/audio-out.d.ts +34 -0
- package/dist/components/audio-out/client.d.ts +25 -0
- package/dist/components/audio-out/client.spec.d.ts +1 -0
- package/dist/components/audioin.d.ts +3 -0
- package/dist/components/audioout.d.ts +3 -0
- package/dist/gen/app/build/v1/build_connect.d.ts +12 -1
- package/dist/gen/app/build/v1/build_pb.d.ts +106 -0
- package/dist/gen/app/data/v1/data_connect.d.ts +56 -1
- package/dist/gen/app/data/v1/data_pb.d.ts +314 -0
- package/dist/gen/app/v1/billing_pb.d.ts +5 -0
- package/dist/gen/common/v1/common_pb.d.ts +172 -10
- package/dist/gen/component/arm/v1/arm_connect.d.ts +12 -1
- package/dist/gen/component/audioin/v1/audioin_connect.d.ts +64 -0
- package/dist/gen/component/audioin/v1/audioin_pb.d.ts +146 -0
- package/dist/gen/component/audioout/v1/audioout_connect.d.ts +64 -0
- package/dist/gen/component/audioout/v1/audioout_pb.d.ts +69 -0
- package/dist/gen/google/longrunning/operations_pb.d.ts +26 -0
- package/dist/gen/service/video/v1/video_connect.d.ts +42 -0
- package/dist/gen/service/video/v1/video_pb.d.ts +116 -0
- package/dist/main.d.ts +3 -0
- package/dist/main.es.js +6029 -5410
- package/dist/main.umd.js +7 -7
- package/dist/robot/client.d.ts +11 -0
- package/dist/robot/client.spec.d.ts +1 -0
- package/dist/rpc/dial.d.ts +11 -1
- package/dist/rpc/dial.spec.d.ts +1 -0
- package/package.json +4 -4
|
@@ -2564,3 +2564,317 @@ export declare class Index extends Message<Index> {
|
|
|
2564
2564
|
static equals(a: Index | PlainMessage<Index> | undefined, b: Index | PlainMessage<Index> | undefined): boolean;
|
|
2565
2565
|
}
|
|
2566
2566
|
|
|
2567
|
+
/**
|
|
2568
|
+
* CreateSavedQueryRequest saves a mql query.
|
|
2569
|
+
*
|
|
2570
|
+
* @generated from message viam.app.data.v1.CreateSavedQueryRequest
|
|
2571
|
+
*/
|
|
2572
|
+
export declare class CreateSavedQueryRequest extends Message<CreateSavedQueryRequest> {
|
|
2573
|
+
/**
|
|
2574
|
+
* @generated from field: string organization_id = 1;
|
|
2575
|
+
*/
|
|
2576
|
+
organizationId: string;
|
|
2577
|
+
|
|
2578
|
+
/**
|
|
2579
|
+
* @generated from field: string name = 2;
|
|
2580
|
+
*/
|
|
2581
|
+
name: string;
|
|
2582
|
+
|
|
2583
|
+
/**
|
|
2584
|
+
* @generated from field: repeated bytes mql_binary = 3;
|
|
2585
|
+
*/
|
|
2586
|
+
mqlBinary: Uint8Array[];
|
|
2587
|
+
|
|
2588
|
+
constructor(data?: PartialMessage<CreateSavedQueryRequest>);
|
|
2589
|
+
|
|
2590
|
+
static readonly runtime: typeof proto3;
|
|
2591
|
+
static readonly typeName = "viam.app.data.v1.CreateSavedQueryRequest";
|
|
2592
|
+
static readonly fields: FieldList;
|
|
2593
|
+
|
|
2594
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateSavedQueryRequest;
|
|
2595
|
+
|
|
2596
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateSavedQueryRequest;
|
|
2597
|
+
|
|
2598
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateSavedQueryRequest;
|
|
2599
|
+
|
|
2600
|
+
static equals(a: CreateSavedQueryRequest | PlainMessage<CreateSavedQueryRequest> | undefined, b: CreateSavedQueryRequest | PlainMessage<CreateSavedQueryRequest> | undefined): boolean;
|
|
2601
|
+
}
|
|
2602
|
+
|
|
2603
|
+
/**
|
|
2604
|
+
* @generated from message viam.app.data.v1.CreateSavedQueryResponse
|
|
2605
|
+
*/
|
|
2606
|
+
export declare class CreateSavedQueryResponse extends Message<CreateSavedQueryResponse> {
|
|
2607
|
+
/**
|
|
2608
|
+
* @generated from field: string id = 1;
|
|
2609
|
+
*/
|
|
2610
|
+
id: string;
|
|
2611
|
+
|
|
2612
|
+
constructor(data?: PartialMessage<CreateSavedQueryResponse>);
|
|
2613
|
+
|
|
2614
|
+
static readonly runtime: typeof proto3;
|
|
2615
|
+
static readonly typeName = "viam.app.data.v1.CreateSavedQueryResponse";
|
|
2616
|
+
static readonly fields: FieldList;
|
|
2617
|
+
|
|
2618
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): CreateSavedQueryResponse;
|
|
2619
|
+
|
|
2620
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): CreateSavedQueryResponse;
|
|
2621
|
+
|
|
2622
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): CreateSavedQueryResponse;
|
|
2623
|
+
|
|
2624
|
+
static equals(a: CreateSavedQueryResponse | PlainMessage<CreateSavedQueryResponse> | undefined, b: CreateSavedQueryResponse | PlainMessage<CreateSavedQueryResponse> | undefined): boolean;
|
|
2625
|
+
}
|
|
2626
|
+
|
|
2627
|
+
/**
|
|
2628
|
+
* @generated from message viam.app.data.v1.Query
|
|
2629
|
+
*/
|
|
2630
|
+
export declare class Query extends Message<Query> {
|
|
2631
|
+
/**
|
|
2632
|
+
* @generated from field: string id = 1;
|
|
2633
|
+
*/
|
|
2634
|
+
id: string;
|
|
2635
|
+
|
|
2636
|
+
/**
|
|
2637
|
+
* @generated from field: string organization_id = 2;
|
|
2638
|
+
*/
|
|
2639
|
+
organizationId: string;
|
|
2640
|
+
|
|
2641
|
+
/**
|
|
2642
|
+
* @generated from field: string name = 3;
|
|
2643
|
+
*/
|
|
2644
|
+
name: string;
|
|
2645
|
+
|
|
2646
|
+
/**
|
|
2647
|
+
* @generated from field: repeated bytes mql_binary = 4;
|
|
2648
|
+
*/
|
|
2649
|
+
mqlBinary: Uint8Array[];
|
|
2650
|
+
|
|
2651
|
+
/**
|
|
2652
|
+
* @generated from field: google.protobuf.Timestamp created_on = 5;
|
|
2653
|
+
*/
|
|
2654
|
+
createdOn?: Timestamp;
|
|
2655
|
+
|
|
2656
|
+
/**
|
|
2657
|
+
* @generated from field: google.protobuf.Timestamp updated_at = 6;
|
|
2658
|
+
*/
|
|
2659
|
+
updatedAt?: Timestamp;
|
|
2660
|
+
|
|
2661
|
+
constructor(data?: PartialMessage<Query>);
|
|
2662
|
+
|
|
2663
|
+
static readonly runtime: typeof proto3;
|
|
2664
|
+
static readonly typeName = "viam.app.data.v1.Query";
|
|
2665
|
+
static readonly fields: FieldList;
|
|
2666
|
+
|
|
2667
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Query;
|
|
2668
|
+
|
|
2669
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Query;
|
|
2670
|
+
|
|
2671
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Query;
|
|
2672
|
+
|
|
2673
|
+
static equals(a: Query | PlainMessage<Query> | undefined, b: Query | PlainMessage<Query> | undefined): boolean;
|
|
2674
|
+
}
|
|
2675
|
+
|
|
2676
|
+
/**
|
|
2677
|
+
* DeleteSavedQuery deletes a saved query based on the given id.
|
|
2678
|
+
*
|
|
2679
|
+
* @generated from message viam.app.data.v1.DeleteSavedQueryRequest
|
|
2680
|
+
*/
|
|
2681
|
+
export declare class DeleteSavedQueryRequest extends Message<DeleteSavedQueryRequest> {
|
|
2682
|
+
/**
|
|
2683
|
+
* @generated from field: string id = 1;
|
|
2684
|
+
*/
|
|
2685
|
+
id: string;
|
|
2686
|
+
|
|
2687
|
+
constructor(data?: PartialMessage<DeleteSavedQueryRequest>);
|
|
2688
|
+
|
|
2689
|
+
static readonly runtime: typeof proto3;
|
|
2690
|
+
static readonly typeName = "viam.app.data.v1.DeleteSavedQueryRequest";
|
|
2691
|
+
static readonly fields: FieldList;
|
|
2692
|
+
|
|
2693
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteSavedQueryRequest;
|
|
2694
|
+
|
|
2695
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteSavedQueryRequest;
|
|
2696
|
+
|
|
2697
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteSavedQueryRequest;
|
|
2698
|
+
|
|
2699
|
+
static equals(a: DeleteSavedQueryRequest | PlainMessage<DeleteSavedQueryRequest> | undefined, b: DeleteSavedQueryRequest | PlainMessage<DeleteSavedQueryRequest> | undefined): boolean;
|
|
2700
|
+
}
|
|
2701
|
+
|
|
2702
|
+
/**
|
|
2703
|
+
* @generated from message viam.app.data.v1.DeleteSavedQueryResponse
|
|
2704
|
+
*/
|
|
2705
|
+
export declare class DeleteSavedQueryResponse extends Message<DeleteSavedQueryResponse> {
|
|
2706
|
+
constructor(data?: PartialMessage<DeleteSavedQueryResponse>);
|
|
2707
|
+
|
|
2708
|
+
static readonly runtime: typeof proto3;
|
|
2709
|
+
static readonly typeName = "viam.app.data.v1.DeleteSavedQueryResponse";
|
|
2710
|
+
static readonly fields: FieldList;
|
|
2711
|
+
|
|
2712
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DeleteSavedQueryResponse;
|
|
2713
|
+
|
|
2714
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DeleteSavedQueryResponse;
|
|
2715
|
+
|
|
2716
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DeleteSavedQueryResponse;
|
|
2717
|
+
|
|
2718
|
+
static equals(a: DeleteSavedQueryResponse | PlainMessage<DeleteSavedQueryResponse> | undefined, b: DeleteSavedQueryResponse | PlainMessage<DeleteSavedQueryResponse> | undefined): boolean;
|
|
2719
|
+
}
|
|
2720
|
+
|
|
2721
|
+
/**
|
|
2722
|
+
* GetSavedQuery retrieves a saved query by id.
|
|
2723
|
+
*
|
|
2724
|
+
* @generated from message viam.app.data.v1.GetSavedQueryRequest
|
|
2725
|
+
*/
|
|
2726
|
+
export declare class GetSavedQueryRequest extends Message<GetSavedQueryRequest> {
|
|
2727
|
+
/**
|
|
2728
|
+
* @generated from field: string id = 1;
|
|
2729
|
+
*/
|
|
2730
|
+
id: string;
|
|
2731
|
+
|
|
2732
|
+
constructor(data?: PartialMessage<GetSavedQueryRequest>);
|
|
2733
|
+
|
|
2734
|
+
static readonly runtime: typeof proto3;
|
|
2735
|
+
static readonly typeName = "viam.app.data.v1.GetSavedQueryRequest";
|
|
2736
|
+
static readonly fields: FieldList;
|
|
2737
|
+
|
|
2738
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSavedQueryRequest;
|
|
2739
|
+
|
|
2740
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSavedQueryRequest;
|
|
2741
|
+
|
|
2742
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSavedQueryRequest;
|
|
2743
|
+
|
|
2744
|
+
static equals(a: GetSavedQueryRequest | PlainMessage<GetSavedQueryRequest> | undefined, b: GetSavedQueryRequest | PlainMessage<GetSavedQueryRequest> | undefined): boolean;
|
|
2745
|
+
}
|
|
2746
|
+
|
|
2747
|
+
/**
|
|
2748
|
+
* @generated from message viam.app.data.v1.GetSavedQueryResponse
|
|
2749
|
+
*/
|
|
2750
|
+
export declare class GetSavedQueryResponse extends Message<GetSavedQueryResponse> {
|
|
2751
|
+
/**
|
|
2752
|
+
* @generated from field: viam.app.data.v1.Query saved_query = 1;
|
|
2753
|
+
*/
|
|
2754
|
+
savedQuery?: Query;
|
|
2755
|
+
|
|
2756
|
+
constructor(data?: PartialMessage<GetSavedQueryResponse>);
|
|
2757
|
+
|
|
2758
|
+
static readonly runtime: typeof proto3;
|
|
2759
|
+
static readonly typeName = "viam.app.data.v1.GetSavedQueryResponse";
|
|
2760
|
+
static readonly fields: FieldList;
|
|
2761
|
+
|
|
2762
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetSavedQueryResponse;
|
|
2763
|
+
|
|
2764
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetSavedQueryResponse;
|
|
2765
|
+
|
|
2766
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetSavedQueryResponse;
|
|
2767
|
+
|
|
2768
|
+
static equals(a: GetSavedQueryResponse | PlainMessage<GetSavedQueryResponse> | undefined, b: GetSavedQueryResponse | PlainMessage<GetSavedQueryResponse> | undefined): boolean;
|
|
2769
|
+
}
|
|
2770
|
+
|
|
2771
|
+
/**
|
|
2772
|
+
* UpdateSavedQuery updates the saved query with the given id.
|
|
2773
|
+
*
|
|
2774
|
+
* @generated from message viam.app.data.v1.UpdateSavedQueryRequest
|
|
2775
|
+
*/
|
|
2776
|
+
export declare class UpdateSavedQueryRequest extends Message<UpdateSavedQueryRequest> {
|
|
2777
|
+
/**
|
|
2778
|
+
* @generated from field: string id = 1;
|
|
2779
|
+
*/
|
|
2780
|
+
id: string;
|
|
2781
|
+
|
|
2782
|
+
/**
|
|
2783
|
+
* @generated from field: string name = 2;
|
|
2784
|
+
*/
|
|
2785
|
+
name: string;
|
|
2786
|
+
|
|
2787
|
+
/**
|
|
2788
|
+
* @generated from field: repeated bytes mql_binary = 3;
|
|
2789
|
+
*/
|
|
2790
|
+
mqlBinary: Uint8Array[];
|
|
2791
|
+
|
|
2792
|
+
constructor(data?: PartialMessage<UpdateSavedQueryRequest>);
|
|
2793
|
+
|
|
2794
|
+
static readonly runtime: typeof proto3;
|
|
2795
|
+
static readonly typeName = "viam.app.data.v1.UpdateSavedQueryRequest";
|
|
2796
|
+
static readonly fields: FieldList;
|
|
2797
|
+
|
|
2798
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateSavedQueryRequest;
|
|
2799
|
+
|
|
2800
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateSavedQueryRequest;
|
|
2801
|
+
|
|
2802
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateSavedQueryRequest;
|
|
2803
|
+
|
|
2804
|
+
static equals(a: UpdateSavedQueryRequest | PlainMessage<UpdateSavedQueryRequest> | undefined, b: UpdateSavedQueryRequest | PlainMessage<UpdateSavedQueryRequest> | undefined): boolean;
|
|
2805
|
+
}
|
|
2806
|
+
|
|
2807
|
+
/**
|
|
2808
|
+
* @generated from message viam.app.data.v1.UpdateSavedQueryResponse
|
|
2809
|
+
*/
|
|
2810
|
+
export declare class UpdateSavedQueryResponse extends Message<UpdateSavedQueryResponse> {
|
|
2811
|
+
constructor(data?: PartialMessage<UpdateSavedQueryResponse>);
|
|
2812
|
+
|
|
2813
|
+
static readonly runtime: typeof proto3;
|
|
2814
|
+
static readonly typeName = "viam.app.data.v1.UpdateSavedQueryResponse";
|
|
2815
|
+
static readonly fields: FieldList;
|
|
2816
|
+
|
|
2817
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateSavedQueryResponse;
|
|
2818
|
+
|
|
2819
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateSavedQueryResponse;
|
|
2820
|
+
|
|
2821
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateSavedQueryResponse;
|
|
2822
|
+
|
|
2823
|
+
static equals(a: UpdateSavedQueryResponse | PlainMessage<UpdateSavedQueryResponse> | undefined, b: UpdateSavedQueryResponse | PlainMessage<UpdateSavedQueryResponse> | undefined): boolean;
|
|
2824
|
+
}
|
|
2825
|
+
|
|
2826
|
+
/**
|
|
2827
|
+
* ListSavedQueries lists saved queries for a given organization.
|
|
2828
|
+
*
|
|
2829
|
+
* @generated from message viam.app.data.v1.ListSavedQueriesRequest
|
|
2830
|
+
*/
|
|
2831
|
+
export declare class ListSavedQueriesRequest extends Message<ListSavedQueriesRequest> {
|
|
2832
|
+
/**
|
|
2833
|
+
* @generated from field: string organization_id = 1;
|
|
2834
|
+
*/
|
|
2835
|
+
organizationId: string;
|
|
2836
|
+
|
|
2837
|
+
/**
|
|
2838
|
+
* @generated from field: int64 limit = 2;
|
|
2839
|
+
*/
|
|
2840
|
+
limit: bigint;
|
|
2841
|
+
|
|
2842
|
+
constructor(data?: PartialMessage<ListSavedQueriesRequest>);
|
|
2843
|
+
|
|
2844
|
+
static readonly runtime: typeof proto3;
|
|
2845
|
+
static readonly typeName = "viam.app.data.v1.ListSavedQueriesRequest";
|
|
2846
|
+
static readonly fields: FieldList;
|
|
2847
|
+
|
|
2848
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSavedQueriesRequest;
|
|
2849
|
+
|
|
2850
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSavedQueriesRequest;
|
|
2851
|
+
|
|
2852
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSavedQueriesRequest;
|
|
2853
|
+
|
|
2854
|
+
static equals(a: ListSavedQueriesRequest | PlainMessage<ListSavedQueriesRequest> | undefined, b: ListSavedQueriesRequest | PlainMessage<ListSavedQueriesRequest> | undefined): boolean;
|
|
2855
|
+
}
|
|
2856
|
+
|
|
2857
|
+
/**
|
|
2858
|
+
* @generated from message viam.app.data.v1.ListSavedQueriesResponse
|
|
2859
|
+
*/
|
|
2860
|
+
export declare class ListSavedQueriesResponse extends Message<ListSavedQueriesResponse> {
|
|
2861
|
+
/**
|
|
2862
|
+
* @generated from field: repeated viam.app.data.v1.Query queries = 1;
|
|
2863
|
+
*/
|
|
2864
|
+
queries: Query[];
|
|
2865
|
+
|
|
2866
|
+
constructor(data?: PartialMessage<ListSavedQueriesResponse>);
|
|
2867
|
+
|
|
2868
|
+
static readonly runtime: typeof proto3;
|
|
2869
|
+
static readonly typeName = "viam.app.data.v1.ListSavedQueriesResponse";
|
|
2870
|
+
static readonly fields: FieldList;
|
|
2871
|
+
|
|
2872
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ListSavedQueriesResponse;
|
|
2873
|
+
|
|
2874
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ListSavedQueriesResponse;
|
|
2875
|
+
|
|
2876
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ListSavedQueriesResponse;
|
|
2877
|
+
|
|
2878
|
+
static equals(a: ListSavedQueriesResponse | PlainMessage<ListSavedQueriesResponse> | undefined, b: ListSavedQueriesResponse | PlainMessage<ListSavedQueriesResponse> | undefined): boolean;
|
|
2879
|
+
}
|
|
2880
|
+
|
|
@@ -913,6 +913,11 @@ export declare class CreateInvoiceAndChargeImmediatelyRequest extends Message<Cr
|
|
|
913
913
|
*/
|
|
914
914
|
orgIdForBranding?: string;
|
|
915
915
|
|
|
916
|
+
/**
|
|
917
|
+
* @generated from field: bool disable_email = 5;
|
|
918
|
+
*/
|
|
919
|
+
disableEmail: boolean;
|
|
920
|
+
|
|
916
921
|
constructor(data?: PartialMessage<CreateInvoiceAndChargeImmediatelyRequest>);
|
|
917
922
|
|
|
918
923
|
static readonly runtime: typeof proto3;
|
|
@@ -52,16 +52,6 @@ export declare class ResourceName extends Message<ResourceName> {
|
|
|
52
52
|
*/
|
|
53
53
|
name: string;
|
|
54
54
|
|
|
55
|
-
/**
|
|
56
|
-
* @generated from field: repeated string remote_path = 5;
|
|
57
|
-
*/
|
|
58
|
-
remotePath: string[];
|
|
59
|
-
|
|
60
|
-
/**
|
|
61
|
-
* @generated from field: string local_name = 6;
|
|
62
|
-
*/
|
|
63
|
-
localName: string;
|
|
64
|
-
|
|
65
55
|
constructor(data?: PartialMessage<ResourceName>);
|
|
66
56
|
|
|
67
57
|
static readonly runtime: typeof proto3;
|
|
@@ -943,6 +933,65 @@ export declare class GetGeometriesResponse extends Message<GetGeometriesResponse
|
|
|
943
933
|
static equals(a: GetGeometriesResponse | PlainMessage<GetGeometriesResponse> | undefined, b: GetGeometriesResponse | PlainMessage<GetGeometriesResponse> | undefined): boolean;
|
|
944
934
|
}
|
|
945
935
|
|
|
936
|
+
/**
|
|
937
|
+
* @generated from message viam.common.v1.Get3DModelsRequest
|
|
938
|
+
*/
|
|
939
|
+
export declare class Get3DModelsRequest extends Message<Get3DModelsRequest> {
|
|
940
|
+
/**
|
|
941
|
+
* The component name
|
|
942
|
+
*
|
|
943
|
+
* @generated from field: string name = 1;
|
|
944
|
+
*/
|
|
945
|
+
name: string;
|
|
946
|
+
|
|
947
|
+
/**
|
|
948
|
+
* Additional arguments to the method
|
|
949
|
+
*
|
|
950
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
951
|
+
*/
|
|
952
|
+
extra?: Struct;
|
|
953
|
+
|
|
954
|
+
constructor(data?: PartialMessage<Get3DModelsRequest>);
|
|
955
|
+
|
|
956
|
+
static readonly runtime: typeof proto3;
|
|
957
|
+
static readonly typeName = "viam.common.v1.Get3DModelsRequest";
|
|
958
|
+
static readonly fields: FieldList;
|
|
959
|
+
|
|
960
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Get3DModelsRequest;
|
|
961
|
+
|
|
962
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Get3DModelsRequest;
|
|
963
|
+
|
|
964
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Get3DModelsRequest;
|
|
965
|
+
|
|
966
|
+
static equals(a: Get3DModelsRequest | PlainMessage<Get3DModelsRequest> | undefined, b: Get3DModelsRequest | PlainMessage<Get3DModelsRequest> | undefined): boolean;
|
|
967
|
+
}
|
|
968
|
+
|
|
969
|
+
/**
|
|
970
|
+
* @generated from message viam.common.v1.Get3DModelsResponse
|
|
971
|
+
*/
|
|
972
|
+
export declare class Get3DModelsResponse extends Message<Get3DModelsResponse> {
|
|
973
|
+
/**
|
|
974
|
+
* the 3D models associated with the component
|
|
975
|
+
*
|
|
976
|
+
* @generated from field: map<string, viam.common.v1.Mesh> models = 1;
|
|
977
|
+
*/
|
|
978
|
+
models: { [key: string]: Mesh };
|
|
979
|
+
|
|
980
|
+
constructor(data?: PartialMessage<Get3DModelsResponse>);
|
|
981
|
+
|
|
982
|
+
static readonly runtime: typeof proto3;
|
|
983
|
+
static readonly typeName = "viam.common.v1.Get3DModelsResponse";
|
|
984
|
+
static readonly fields: FieldList;
|
|
985
|
+
|
|
986
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): Get3DModelsResponse;
|
|
987
|
+
|
|
988
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): Get3DModelsResponse;
|
|
989
|
+
|
|
990
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): Get3DModelsResponse;
|
|
991
|
+
|
|
992
|
+
static equals(a: Get3DModelsResponse | PlainMessage<Get3DModelsResponse> | undefined, b: Get3DModelsResponse | PlainMessage<Get3DModelsResponse> | undefined): boolean;
|
|
993
|
+
}
|
|
994
|
+
|
|
946
995
|
/**
|
|
947
996
|
* @generated from message viam.common.v1.GetReadingsRequest
|
|
948
997
|
*/
|
|
@@ -1059,6 +1108,119 @@ export declare class LogEntry extends Message<LogEntry> {
|
|
|
1059
1108
|
static equals(a: LogEntry | PlainMessage<LogEntry> | undefined, b: LogEntry | PlainMessage<LogEntry> | undefined): boolean;
|
|
1060
1109
|
}
|
|
1061
1110
|
|
|
1111
|
+
/**
|
|
1112
|
+
* Information about an audio stream or device.
|
|
1113
|
+
*
|
|
1114
|
+
* @generated from message viam.common.v1.AudioInfo
|
|
1115
|
+
*/
|
|
1116
|
+
export declare class AudioInfo extends Message<AudioInfo> {
|
|
1117
|
+
/**
|
|
1118
|
+
* Audio codec used for the stream or device (e.g., "pcm16", "pcm32float", "mp3")
|
|
1119
|
+
*
|
|
1120
|
+
* @generated from field: string codec = 1;
|
|
1121
|
+
*/
|
|
1122
|
+
codec: string;
|
|
1123
|
+
|
|
1124
|
+
/**
|
|
1125
|
+
* Sample rate of the audio in Hz
|
|
1126
|
+
*
|
|
1127
|
+
* @generated from field: int32 sample_rate_hz = 2;
|
|
1128
|
+
*/
|
|
1129
|
+
sampleRateHz: number;
|
|
1130
|
+
|
|
1131
|
+
/**
|
|
1132
|
+
* Number of audio channels in the recording or playback
|
|
1133
|
+
*
|
|
1134
|
+
* @generated from field: int32 num_channels = 3;
|
|
1135
|
+
*/
|
|
1136
|
+
numChannels: number;
|
|
1137
|
+
|
|
1138
|
+
constructor(data?: PartialMessage<AudioInfo>);
|
|
1139
|
+
|
|
1140
|
+
static readonly runtime: typeof proto3;
|
|
1141
|
+
static readonly typeName = "viam.common.v1.AudioInfo";
|
|
1142
|
+
static readonly fields: FieldList;
|
|
1143
|
+
|
|
1144
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): AudioInfo;
|
|
1145
|
+
|
|
1146
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): AudioInfo;
|
|
1147
|
+
|
|
1148
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): AudioInfo;
|
|
1149
|
+
|
|
1150
|
+
static equals(a: AudioInfo | PlainMessage<AudioInfo> | undefined, b: AudioInfo | PlainMessage<AudioInfo> | undefined): boolean;
|
|
1151
|
+
}
|
|
1152
|
+
|
|
1153
|
+
/**
|
|
1154
|
+
* Shared properties for AudioIn and AudioOut components.
|
|
1155
|
+
*
|
|
1156
|
+
* @generated from message viam.common.v1.GetPropertiesRequest
|
|
1157
|
+
*/
|
|
1158
|
+
export declare class GetPropertiesRequest extends Message<GetPropertiesRequest> {
|
|
1159
|
+
/**
|
|
1160
|
+
* @generated from field: string name = 1;
|
|
1161
|
+
*/
|
|
1162
|
+
name: string;
|
|
1163
|
+
|
|
1164
|
+
/**
|
|
1165
|
+
* @generated from field: google.protobuf.Struct extra = 99;
|
|
1166
|
+
*/
|
|
1167
|
+
extra?: Struct;
|
|
1168
|
+
|
|
1169
|
+
constructor(data?: PartialMessage<GetPropertiesRequest>);
|
|
1170
|
+
|
|
1171
|
+
static readonly runtime: typeof proto3;
|
|
1172
|
+
static readonly typeName = "viam.common.v1.GetPropertiesRequest";
|
|
1173
|
+
static readonly fields: FieldList;
|
|
1174
|
+
|
|
1175
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPropertiesRequest;
|
|
1176
|
+
|
|
1177
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPropertiesRequest;
|
|
1178
|
+
|
|
1179
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPropertiesRequest;
|
|
1180
|
+
|
|
1181
|
+
static equals(a: GetPropertiesRequest | PlainMessage<GetPropertiesRequest> | undefined, b: GetPropertiesRequest | PlainMessage<GetPropertiesRequest> | undefined): boolean;
|
|
1182
|
+
}
|
|
1183
|
+
|
|
1184
|
+
/**
|
|
1185
|
+
* @generated from message viam.common.v1.GetPropertiesResponse
|
|
1186
|
+
*/
|
|
1187
|
+
export declare class GetPropertiesResponse extends Message<GetPropertiesResponse> {
|
|
1188
|
+
/**
|
|
1189
|
+
* List of audio codecs supported by the system (e.g., "mp3", "pcm16", "pcm32float")
|
|
1190
|
+
*
|
|
1191
|
+
* @generated from field: repeated string supported_codecs = 1;
|
|
1192
|
+
*/
|
|
1193
|
+
supportedCodecs: string[];
|
|
1194
|
+
|
|
1195
|
+
/**
|
|
1196
|
+
* current sample rate in Hz
|
|
1197
|
+
*
|
|
1198
|
+
* @generated from field: int32 sample_rate_hz = 2;
|
|
1199
|
+
*/
|
|
1200
|
+
sampleRateHz: number;
|
|
1201
|
+
|
|
1202
|
+
/**
|
|
1203
|
+
* Maximum number of audio channels supported (e.g., 1 for mono, 2 for stereo)
|
|
1204
|
+
*
|
|
1205
|
+
* @generated from field: int32 num_channels = 3;
|
|
1206
|
+
*/
|
|
1207
|
+
numChannels: number;
|
|
1208
|
+
|
|
1209
|
+
constructor(data?: PartialMessage<GetPropertiesResponse>);
|
|
1210
|
+
|
|
1211
|
+
static readonly runtime: typeof proto3;
|
|
1212
|
+
static readonly typeName = "viam.common.v1.GetPropertiesResponse";
|
|
1213
|
+
static readonly fields: FieldList;
|
|
1214
|
+
|
|
1215
|
+
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetPropertiesResponse;
|
|
1216
|
+
|
|
1217
|
+
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetPropertiesResponse;
|
|
1218
|
+
|
|
1219
|
+
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetPropertiesResponse;
|
|
1220
|
+
|
|
1221
|
+
static equals(a: GetPropertiesResponse | PlainMessage<GetPropertiesResponse> | undefined, b: GetPropertiesResponse | PlainMessage<GetPropertiesResponse> | undefined): boolean;
|
|
1222
|
+
}
|
|
1223
|
+
|
|
1062
1224
|
/**
|
|
1063
1225
|
* safety_heartbeat_monitored is used on methods to signify that if a session is in use
|
|
1064
1226
|
* and the session was the last to call this method, the resource associated with the
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
import { GetEndPositionRequest, GetEndPositionResponse, GetJointPositionsRequest, GetJointPositionsResponse, IsMovingRequest, IsMovingResponse, MoveThroughJointPositionsRequest, MoveThroughJointPositionsResponse, MoveToJointPositionsRequest, MoveToJointPositionsResponse, MoveToPositionRequest, MoveToPositionResponse, StopRequest, StopResponse } from "./arm_pb.js";
|
|
7
7
|
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
-
import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse, GetKinematicsRequest, GetKinematicsResponse } from "../../../common/v1/common_pb.js";
|
|
8
|
+
import { DoCommandRequest, DoCommandResponse, Get3DModelsRequest, Get3DModelsResponse, GetGeometriesRequest, GetGeometriesResponse, GetKinematicsRequest, GetKinematicsResponse } from "../../../common/v1/common_pb.js";
|
|
9
9
|
|
|
10
10
|
/**
|
|
11
11
|
* An ArmService services all arms associated with a robot
|
|
@@ -129,6 +129,17 @@ export declare const ArmService: {
|
|
|
129
129
|
readonly O: typeof GetGeometriesResponse,
|
|
130
130
|
readonly kind: MethodKind.Unary,
|
|
131
131
|
},
|
|
132
|
+
/**
|
|
133
|
+
* Get3DModels returns the 3D models of the component
|
|
134
|
+
*
|
|
135
|
+
* @generated from rpc viam.component.arm.v1.ArmService.Get3DModels
|
|
136
|
+
*/
|
|
137
|
+
readonly get3DModels: {
|
|
138
|
+
readonly name: "Get3DModels",
|
|
139
|
+
readonly I: typeof Get3DModelsRequest,
|
|
140
|
+
readonly O: typeof Get3DModelsResponse,
|
|
141
|
+
readonly kind: MethodKind.Unary,
|
|
142
|
+
},
|
|
132
143
|
}
|
|
133
144
|
};
|
|
134
145
|
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
// @generated by protoc-gen-connect-es v1.5.0
|
|
2
|
+
// @generated from file component/audioin/v1/audioin.proto (package viam.component.audioin.v1, syntax proto3)
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
// @ts-nocheck
|
|
5
|
+
|
|
6
|
+
import { GetAudioRequest, GetAudioResponse } from "./audioin_pb.js";
|
|
7
|
+
import { MethodKind } from "@bufbuild/protobuf";
|
|
8
|
+
import { DoCommandRequest, DoCommandResponse, GetGeometriesRequest, GetGeometriesResponse, GetPropertiesRequest, GetPropertiesResponse } from "../../../common/v1/common_pb.js";
|
|
9
|
+
|
|
10
|
+
/**
|
|
11
|
+
* An AudioInService services all audio inputss associated with a robot
|
|
12
|
+
*
|
|
13
|
+
* @generated from service viam.component.audioin.v1.AudioInService
|
|
14
|
+
*/
|
|
15
|
+
export declare const AudioInService: {
|
|
16
|
+
readonly typeName: "viam.component.audioin.v1.AudioInService",
|
|
17
|
+
readonly methods: {
|
|
18
|
+
/**
|
|
19
|
+
* GetAudio streams audio from the given audioin
|
|
20
|
+
*
|
|
21
|
+
* @generated from rpc viam.component.audioin.v1.AudioInService.GetAudio
|
|
22
|
+
*/
|
|
23
|
+
readonly getAudio: {
|
|
24
|
+
readonly name: "GetAudio",
|
|
25
|
+
readonly I: typeof GetAudioRequest,
|
|
26
|
+
readonly O: typeof GetAudioResponse,
|
|
27
|
+
readonly kind: MethodKind.ServerStreaming,
|
|
28
|
+
},
|
|
29
|
+
/**
|
|
30
|
+
* GetProperties returns the properties of the audioin
|
|
31
|
+
*
|
|
32
|
+
* @generated from rpc viam.component.audioin.v1.AudioInService.GetProperties
|
|
33
|
+
*/
|
|
34
|
+
readonly getProperties: {
|
|
35
|
+
readonly name: "GetProperties",
|
|
36
|
+
readonly I: typeof GetPropertiesRequest,
|
|
37
|
+
readonly O: typeof GetPropertiesResponse,
|
|
38
|
+
readonly kind: MethodKind.Unary,
|
|
39
|
+
},
|
|
40
|
+
/**
|
|
41
|
+
* DoCommand sends/receives arbitrary commands
|
|
42
|
+
*
|
|
43
|
+
* @generated from rpc viam.component.audioin.v1.AudioInService.DoCommand
|
|
44
|
+
*/
|
|
45
|
+
readonly doCommand: {
|
|
46
|
+
readonly name: "DoCommand",
|
|
47
|
+
readonly I: typeof DoCommandRequest,
|
|
48
|
+
readonly O: typeof DoCommandResponse,
|
|
49
|
+
readonly kind: MethodKind.Unary,
|
|
50
|
+
},
|
|
51
|
+
/**
|
|
52
|
+
* GetGeometries returns the geometries of the component in their current configuration
|
|
53
|
+
*
|
|
54
|
+
* @generated from rpc viam.component.audioin.v1.AudioInService.GetGeometries
|
|
55
|
+
*/
|
|
56
|
+
readonly getGeometries: {
|
|
57
|
+
readonly name: "GetGeometries",
|
|
58
|
+
readonly I: typeof GetGeometriesRequest,
|
|
59
|
+
readonly O: typeof GetGeometriesResponse,
|
|
60
|
+
readonly kind: MethodKind.Unary,
|
|
61
|
+
},
|
|
62
|
+
}
|
|
63
|
+
};
|
|
64
|
+
|