@viamrobotics/sdk 0.39.0 → 0.40.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.
Files changed (36) hide show
  1. package/dist/api-version.d.ts +1 -1
  2. package/dist/app/app-client.d.ts +642 -11
  3. package/dist/app/data-client.d.ts +325 -0
  4. package/dist/components/arm/arm.d.ts +82 -7
  5. package/dist/components/base/base.d.ts +106 -4
  6. package/dist/components/board/board.d.ts +119 -2
  7. package/dist/components/button/button.d.ts +12 -1
  8. package/dist/components/encoder/encoder.d.ts +36 -2
  9. package/dist/components/gantry/gantry.d.ts +88 -6
  10. package/dist/components/generic/generic.d.ts +16 -1
  11. package/dist/components/gripper/gripper.d.ts +62 -5
  12. package/dist/components/input-controller/input-controller.d.ts +36 -2
  13. package/dist/components/motor/motor.d.ts +108 -4
  14. package/dist/components/servo/servo.d.ts +54 -4
  15. package/dist/components/switch/switch.d.ts +49 -3
  16. package/dist/gen/app/data/v1/data_pb.d.ts +98 -14
  17. package/dist/gen/app/datapipelines/v1/data_pipelines_connect.d.ts +34 -1
  18. package/dist/gen/app/datapipelines/v1/data_pipelines_pb.d.ts +259 -7
  19. package/dist/gen/app/datasync/v1/data_sync_pb.d.ts +4 -2
  20. package/dist/gen/app/v1/app_connect.d.ts +21 -1
  21. package/dist/gen/app/v1/app_pb.d.ts +156 -0
  22. package/dist/gen/app/v1/billing_connect.d.ts +23 -1
  23. package/dist/gen/app/v1/billing_pb.d.ts +91 -0
  24. package/dist/gen/google/rpc/error_details_pb.d.ts +89 -0
  25. package/dist/main.d.ts +1 -0
  26. package/dist/main.es.js +6174 -4823
  27. package/dist/main.umd.js +7 -7
  28. package/dist/robot/client.d.ts +28 -2
  29. package/dist/robot/robot.d.ts +80 -8
  30. package/dist/services/ml-model/client.d.ts +13 -0
  31. package/dist/services/ml-model/index.d.ts +2 -0
  32. package/dist/services/ml-model/ml-model.d.ts +7 -0
  33. package/dist/services/motion/motion.d.ts +161 -2
  34. package/dist/services/slam/slam.d.ts +47 -2
  35. package/dist/services/vision/vision.d.ts +77 -0
  36. package/package.json +1 -1
@@ -706,3 +706,94 @@ export declare class SendPaymentRequiredEmailResponse extends Message<SendPaymen
706
706
  static equals(a: SendPaymentRequiredEmailResponse | PlainMessage<SendPaymentRequiredEmailResponse> | undefined, b: SendPaymentRequiredEmailResponse | PlainMessage<SendPaymentRequiredEmailResponse> | undefined): boolean;
707
707
  }
708
708
 
709
+ /**
710
+ * @generated from message viam.app.v1.GetAvailableBillingTiersRequest
711
+ */
712
+ export declare class GetAvailableBillingTiersRequest extends Message<GetAvailableBillingTiersRequest> {
713
+ constructor(data?: PartialMessage<GetAvailableBillingTiersRequest>);
714
+
715
+ static readonly runtime: typeof proto3;
716
+ static readonly typeName = "viam.app.v1.GetAvailableBillingTiersRequest";
717
+ static readonly fields: FieldList;
718
+
719
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetAvailableBillingTiersRequest;
720
+
721
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetAvailableBillingTiersRequest;
722
+
723
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAvailableBillingTiersRequest;
724
+
725
+ static equals(a: GetAvailableBillingTiersRequest | PlainMessage<GetAvailableBillingTiersRequest> | undefined, b: GetAvailableBillingTiersRequest | PlainMessage<GetAvailableBillingTiersRequest> | undefined): boolean;
726
+ }
727
+
728
+ /**
729
+ * @generated from message viam.app.v1.GetAvailableBillingTiersResponse
730
+ */
731
+ export declare class GetAvailableBillingTiersResponse extends Message<GetAvailableBillingTiersResponse> {
732
+ /**
733
+ * @generated from field: repeated string tiers = 1;
734
+ */
735
+ tiers: string[];
736
+
737
+ constructor(data?: PartialMessage<GetAvailableBillingTiersResponse>);
738
+
739
+ static readonly runtime: typeof proto3;
740
+ static readonly typeName = "viam.app.v1.GetAvailableBillingTiersResponse";
741
+ static readonly fields: FieldList;
742
+
743
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GetAvailableBillingTiersResponse;
744
+
745
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GetAvailableBillingTiersResponse;
746
+
747
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GetAvailableBillingTiersResponse;
748
+
749
+ static equals(a: GetAvailableBillingTiersResponse | PlainMessage<GetAvailableBillingTiersResponse> | undefined, b: GetAvailableBillingTiersResponse | PlainMessage<GetAvailableBillingTiersResponse> | undefined): boolean;
750
+ }
751
+
752
+ /**
753
+ * @generated from message viam.app.v1.UpdateOrganizationBillingTierRequest
754
+ */
755
+ export declare class UpdateOrganizationBillingTierRequest extends Message<UpdateOrganizationBillingTierRequest> {
756
+ /**
757
+ * @generated from field: string organization_id = 1;
758
+ */
759
+ organizationId: string;
760
+
761
+ /**
762
+ * @generated from field: string billing_tier = 2;
763
+ */
764
+ billingTier: string;
765
+
766
+ constructor(data?: PartialMessage<UpdateOrganizationBillingTierRequest>);
767
+
768
+ static readonly runtime: typeof proto3;
769
+ static readonly typeName = "viam.app.v1.UpdateOrganizationBillingTierRequest";
770
+ static readonly fields: FieldList;
771
+
772
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateOrganizationBillingTierRequest;
773
+
774
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateOrganizationBillingTierRequest;
775
+
776
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateOrganizationBillingTierRequest;
777
+
778
+ static equals(a: UpdateOrganizationBillingTierRequest | PlainMessage<UpdateOrganizationBillingTierRequest> | undefined, b: UpdateOrganizationBillingTierRequest | PlainMessage<UpdateOrganizationBillingTierRequest> | undefined): boolean;
779
+ }
780
+
781
+ /**
782
+ * @generated from message viam.app.v1.UpdateOrganizationBillingTierResponse
783
+ */
784
+ export declare class UpdateOrganizationBillingTierResponse extends Message<UpdateOrganizationBillingTierResponse> {
785
+ constructor(data?: PartialMessage<UpdateOrganizationBillingTierResponse>);
786
+
787
+ static readonly runtime: typeof proto3;
788
+ static readonly typeName = "viam.app.v1.UpdateOrganizationBillingTierResponse";
789
+ static readonly fields: FieldList;
790
+
791
+ static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UpdateOrganizationBillingTierResponse;
792
+
793
+ static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UpdateOrganizationBillingTierResponse;
794
+
795
+ static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UpdateOrganizationBillingTierResponse;
796
+
797
+ static equals(a: UpdateOrganizationBillingTierResponse | PlainMessage<UpdateOrganizationBillingTierResponse> | undefined, b: UpdateOrganizationBillingTierResponse | PlainMessage<UpdateOrganizationBillingTierResponse> | undefined): boolean;
798
+ }
799
+
@@ -244,6 +244,95 @@ export declare class QuotaFailure_Violation extends Message<QuotaFailure_Violati
244
244
  */
245
245
  description: string;
246
246
 
247
+ /**
248
+ * The API Service from which the `QuotaFailure.Violation` orginates. In
249
+ * some cases, Quota issues originate from an API Service other than the one
250
+ * that was called. In other words, a dependency of the called API Service
251
+ * could be the cause of the `QuotaFailure`, and this field would have the
252
+ * dependency API service name.
253
+ *
254
+ * For example, if the called API is Kubernetes Engine API
255
+ * (container.googleapis.com), and a quota violation occurs in the
256
+ * Kubernetes Engine API itself, this field would be
257
+ * "container.googleapis.com". On the other hand, if the quota violation
258
+ * occurs when the Kubernetes Engine API creates VMs in the Compute Engine
259
+ * API (compute.googleapis.com), this field would be
260
+ * "compute.googleapis.com".
261
+ *
262
+ * @generated from field: string api_service = 3;
263
+ */
264
+ apiService: string;
265
+
266
+ /**
267
+ * The metric of the violated quota. A quota metric is a named counter to
268
+ * measure usage, such as API requests or CPUs. When an activity occurs in a
269
+ * service, such as Virtual Machine allocation, one or more quota metrics
270
+ * may be affected.
271
+ *
272
+ * For example, "compute.googleapis.com/cpus_per_vm_family",
273
+ * "storage.googleapis.com/internet_egress_bandwidth".
274
+ *
275
+ * @generated from field: string quota_metric = 4;
276
+ */
277
+ quotaMetric: string;
278
+
279
+ /**
280
+ * The id of the violated quota. Also know as "limit name", this is the
281
+ * unique identifier of a quota in the context of an API service.
282
+ *
283
+ * For example, "CPUS-PER-VM-FAMILY-per-project-region".
284
+ *
285
+ * @generated from field: string quota_id = 5;
286
+ */
287
+ quotaId: string;
288
+
289
+ /**
290
+ * The dimensions of the violated quota. Every non-global quota is enforced
291
+ * on a set of dimensions. While quota metric defines what to count, the
292
+ * dimensions specify for what aspects the counter should be increased.
293
+ *
294
+ * For example, the quota "CPUs per region per VM family" enforces a limit
295
+ * on the metric "compute.googleapis.com/cpus_per_vm_family" on dimensions
296
+ * "region" and "vm_family". And if the violation occurred in region
297
+ * "us-central1" and for VM family "n1", the quota_dimensions would be,
298
+ *
299
+ * {
300
+ * "region": "us-central1",
301
+ * "vm_family": "n1",
302
+ * }
303
+ *
304
+ * When a quota is enforced globally, the quota_dimensions would always be
305
+ * empty.
306
+ *
307
+ * @generated from field: map<string, string> quota_dimensions = 6;
308
+ */
309
+ quotaDimensions: { [key: string]: string };
310
+
311
+ /**
312
+ * The enforced quota value at the time of the `QuotaFailure`.
313
+ *
314
+ * For example, if the enforced quota value at the time of the
315
+ * `QuotaFailure` on the number of CPUs is "10", then the value of this
316
+ * field would reflect this quantity.
317
+ *
318
+ * @generated from field: int64 quota_value = 7;
319
+ */
320
+ quotaValue: bigint;
321
+
322
+ /**
323
+ * The new quota value being rolled out at the time of the violation. At the
324
+ * completion of the rollout, this value will be enforced in place of
325
+ * quota_value. If no rollout is in progress at the time of the violation,
326
+ * this field is not set.
327
+ *
328
+ * For example, if at the time of the violation a rollout is in progress
329
+ * changing the number of CPUs quota from 10 to 20, 20 would be the value of
330
+ * this field.
331
+ *
332
+ * @generated from field: optional int64 future_quota_value = 8;
333
+ */
334
+ futureQuotaValue?: bigint;
335
+
247
336
  constructor(data?: PartialMessage<QuotaFailure_Violation>);
248
337
 
249
338
  static readonly runtime: typeof proto3;
package/dist/main.d.ts CHANGED
@@ -142,6 +142,7 @@ export { GantryClient, type Gantry } from './components/gantry';
142
142
  * @group Raw Protobufs
143
143
  */
144
144
  export * as gantryApi from './gen/component/gantry/v1/gantry_pb';
145
+ export { MLModelClient, type MLModel } from './services/ml-model';
145
146
  export { MotorClient, type Motor } from './components/motor';
146
147
  /**
147
148
  * Raw Protobuf interfaces for a Motor component.