@viamrobotics/sdk 0.76.0 → 0.78.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.
Files changed (66) hide show
  1. package/README.md +1 -1
  2. package/dist/api-version.d.ts +1 -1
  3. package/dist/app/app-client.d.ts +108 -102
  4. package/dist/app/billing-client.d.ts +4 -5
  5. package/dist/app/data-client.d.ts +31 -31
  6. package/dist/app/ml-training-client.d.ts +6 -6
  7. package/dist/components/arm/arm.d.ts +8 -9
  8. package/dist/components/base/base.d.ts +8 -8
  9. package/dist/components/board/board.d.ts +12 -13
  10. package/dist/components/button/button.d.ts +1 -1
  11. package/dist/components/camera/camera.d.ts +2 -2
  12. package/dist/components/encoder/encoder.d.ts +4 -4
  13. package/dist/components/gantry/gantry.d.ts +8 -8
  14. package/dist/components/generic/generic.d.ts +1 -1
  15. package/dist/components/gripper/gripper.d.ts +6 -6
  16. package/dist/components/input-controller/input-controller.d.ts +3 -3
  17. package/dist/components/motor/motor.d.ts +11 -11
  18. package/dist/components/movement-sensor/movement-sensor.d.ts +10 -10
  19. package/dist/components/pose-tracker/pose-tracker.d.ts +1 -1
  20. package/dist/components/power-sensor/power-sensor.d.ts +4 -4
  21. package/dist/components/sensor/sensor.d.ts +1 -1
  22. package/dist/components/servo/servo.d.ts +5 -5
  23. package/dist/components/switch/switch.d.ts +3 -3
  24. package/dist/debug.d.ts +4 -0
  25. package/dist/gen/app/mltraining/v1/ml_training_connect.d.ts +46 -2
  26. package/dist/gen/app/mltraining/v1/ml_training_pb.d.ts +234 -10
  27. package/dist/gen/app/v1/app_connect.d.ts +45 -1
  28. package/dist/gen/app/v1/app_pb.d.ts +340 -1
  29. package/dist/gen/app/v1/billing_pb.d.ts +5 -0
  30. package/dist/gen/common/v1/common_pb.d.ts +588 -6
  31. package/dist/gen/component/camera/v1/camera_pb.d.ts +8 -0
  32. package/dist/gen/google/api/field_behavior_pb.d.ts +1 -1
  33. package/dist/gen/opentelemetry/proto/collector/profiles/v1development/profiles_service_connect.d.ts +2 -0
  34. package/dist/gen/opentelemetry/proto/collector/profiles/v1development/profiles_service_pb.d.ts +8 -0
  35. package/dist/gen/opentelemetry/proto/common/v1/common_pb.d.ts +6 -0
  36. package/dist/gen/opentelemetry/proto/logs/v1/logs_pb.d.ts +2 -0
  37. package/dist/gen/opentelemetry/proto/metrics/v1/metrics_pb.d.ts +3 -1
  38. package/dist/gen/opentelemetry/proto/processcontext/v1development/process_context_pb.d.ts +2 -0
  39. package/dist/gen/opentelemetry/proto/profiles/v1development/profiles_pb.d.ts +140 -2
  40. package/dist/gen/opentelemetry/proto/resource/v1/resource_pb.d.ts +2 -0
  41. package/dist/gen/opentelemetry/proto/trace/v1/trace_pb.d.ts +15 -5
  42. package/dist/gen/proto/rpc/webrtc/v1/grpc_pb.d.ts +9 -0
  43. package/dist/gen/proto/rpc/webrtc/v1/signaling_pb.d.ts +25 -0
  44. package/dist/gen/robot/v1/robot_pb.d.ts +67 -3
  45. package/dist/gen/service/motion/v1/motion_connect.d.ts +18 -1
  46. package/dist/gen/service/motion/v1/motion_pb.d.ts +198 -0
  47. package/dist/gen/service/navigation/v1/navigation_connect.d.ts +324 -43
  48. package/dist/gen/service/navigation/v1/navigation_pb.d.ts +2350 -229
  49. package/dist/gen/service/vision/v1/vision_connect.d.ts +15 -1
  50. package/dist/gen/service/vision/v1/vision_pb.d.ts +131 -1
  51. package/dist/main.d.ts +2 -2
  52. package/dist/main.es.js +10919 -8671
  53. package/dist/main.umd.js +9 -9
  54. package/dist/robot/client.d.ts +168 -30
  55. package/dist/services/data-manager/client.d.ts +2 -2
  56. package/dist/services/motion/motion.d.ts +7 -7
  57. package/dist/services/navigation/client.d.ts +32 -11
  58. package/dist/services/navigation/navigation.d.ts +162 -110
  59. package/dist/services/navigation/types.d.ts +36 -5
  60. package/dist/services/navigation.d.ts +1 -1
  61. package/dist/services/slam/slam.d.ts +4 -4
  62. package/dist/services/vision/client.d.ts +4 -1
  63. package/dist/services/vision/types.d.ts +7 -1
  64. package/dist/services/vision/vision.d.ts +29 -8
  65. package/dist/services/vision.d.ts +1 -1
  66. package/package.json +5 -2
@@ -1,8 +1,8 @@
1
- import type { JsonValue } from '@bufbuild/protobuf';
1
+ import type { JsonObject, JsonValue } from '@bufbuild/protobuf';
2
2
  import { Struct } from '@bufbuild/protobuf';
3
3
  import { type Transport } from '@connectrpc/connect';
4
4
  import { type PackageType } from '../gen/app/packages/v1/packages_pb';
5
- import { type APIKeyWithAuthorizations, type AllowedLoginMethods, Authorization, AuthorizedPermissions, type CreateKeyFromExistingKeyAuthorizationsResponse, type CreateKeyResponse, type CreateModuleResponse, type CreateOAuthAppUserResponse, type Fragment, type FragmentImportList, type FragmentVisibility, type GetAppContentResponse, type GetAppBrandingResponse, type GetRobotPartLogsResponse, type GetRobotPartResponse, type GetRobotPartByNameAndLocationResponse, type ListOrganizationMembersResponse, type Location, type LocationAuth, type Model, type Module, type Organization, type OrganizationIdentity, type OrganizationInvite, type OrgDetails, type RegistryItem, type RegistryItemBilling, type RegistryItemStatus, type Robot, type RobotPart, type RobotPartHistoryEntry, type RotateKeyResponse, type RoverRentalRobot, type Visibility, type LocationSummary } from '../gen/app/v1/app_pb';
5
+ import { Authorization, AuthorizedPermissions, type AllowedLoginMethods, type APIKeyWithAuthorizations, type CreateKeyFromExistingKeyAuthorizationsResponse, type CreateKeyResponse, type CreateModuleResponse, type CreateOAuthAppUserResponse, type Fragment, type FragmentImportList, type FragmentVisibility, type GetAppBrandingResponse, type GetAppContentResponse, type GetRobotPartByNameAndLocationResponse, type GetRobotPartLogsResponse, type GetRobotPartResponse, type ListOrganizationMembersResponse, type Location, type LocationAuth, type LocationSummary, type Model, type Module, type Organization, type OrganizationIdentity, type OrganizationInvite, type OrgDetails, type RegistryItem, type RegistryItemBilling, type RegistryItemStatus, type Robot, type RobotPart, type RobotPartHistoryEntry, type RotateKeyResponse, type RoverRentalRobot, type Visibility } from '../gen/app/v1/app_pb';
6
6
  import type { LogEntry } from '../gen/common/v1/common_pb';
7
7
  /**
8
8
  * Creates an Authorization object from auth details.
@@ -49,7 +49,7 @@ export declare class AppClient {
49
49
  * ```
50
50
  *
51
51
  * For more information, see [App
52
- * API](https://docs.viam.com/dev/reference/apis/fleet/#getuseridbyemail).
52
+ * API](https://docs.viam.com/reference/apis/fleet/#getuseridbyemail).
53
53
  *
54
54
  * @param email The email address of the user
55
55
  * @returns The user's ID
@@ -59,7 +59,7 @@ export declare class AppClient {
59
59
  * Create a new organization.
60
60
  *
61
61
  * For more information, see [App
62
- * API](https://docs.viam.com/dev/reference/apis/fleet/#createorganization).
62
+ * API](https://docs.viam.com/reference/apis/fleet/#createorganization).
63
63
  *
64
64
  * @param name The name of the new organization
65
65
  * @returns The new organization
@@ -75,7 +75,7 @@ export declare class AppClient {
75
75
  * ```
76
76
  *
77
77
  * For more information, see [App
78
- * API](https://docs.viam.com/dev/reference/apis/fleet/#listorganizations).
78
+ * API](https://docs.viam.com/reference/apis/fleet/#listorganizations).
79
79
  *
80
80
  * @returns The organization list
81
81
  */
@@ -91,7 +91,7 @@ export declare class AppClient {
91
91
  * ```
92
92
  *
93
93
  * For more information, see [App
94
- * API](https://docs.viam.com/dev/reference/apis/fleet/#getorganizationswithaccesstolocation).
94
+ * API](https://docs.viam.com/reference/apis/fleet/#getorganizationswithaccesstolocation).
95
95
  *
96
96
  * @param locationId The ID of the location to query
97
97
  * @returns The list of locations with access to the requested location
@@ -114,7 +114,7 @@ export declare class AppClient {
114
114
  * ```
115
115
  *
116
116
  * For more information, see [App
117
- * API](https://docs.viam.com/dev/reference/apis/fleet/#getorganization).
117
+ * API](https://docs.viam.com/reference/apis/fleet/#getorganization).
118
118
  *
119
119
  * @param organizationId The ID of the organization
120
120
  * @returns Details about the organization, if it exists
@@ -130,7 +130,7 @@ export declare class AppClient {
130
130
  * ```
131
131
  *
132
132
  * For more information, see [App
133
- * API](https://docs.viam.com/dev/reference/apis/fleet/#getorganizationnamespaceavailability).
133
+ * API](https://docs.viam.com/reference/apis/fleet/#getorganizationnamespaceavailability).
134
134
  *
135
135
  * @param namespace The namespace to query for availability
136
136
  * @returns A boolean indicating whether or not the namespace is available
@@ -149,7 +149,7 @@ export declare class AppClient {
149
149
  * ```
150
150
  *
151
151
  * For more information, see [App
152
- * API](https://docs.viam.com/dev/reference/apis/fleet/#updateorganization).
152
+ * API](https://docs.viam.com/reference/apis/fleet/#updateorganization).
153
153
  *
154
154
  * @param organizationId The id of the organization to update
155
155
  * @param name Optional name to update the organization with
@@ -171,7 +171,7 @@ export declare class AppClient {
171
171
  * ```
172
172
  *
173
173
  * For more information, see [App
174
- * API](https://docs.viam.com/dev/reference/apis/fleet/#deleteorganization).
174
+ * API](https://docs.viam.com/reference/apis/fleet/#deleteorganization).
175
175
  *
176
176
  * @param organizationId The id of the organization to delete
177
177
  */
@@ -186,7 +186,7 @@ export declare class AppClient {
186
186
  * ```
187
187
  *
188
188
  * For more information, see [App
189
- * API](https://docs.viam.com/dev/reference/apis/fleet/#listorganizationmembers).
189
+ * API](https://docs.viam.com/reference/apis/fleet/#listorganizationmembers).
190
190
  *
191
191
  * @param organizationId The id of the organization to query
192
192
  * @returns An object containing organization members, pending invites, and org ID
@@ -217,7 +217,7 @@ export declare class AppClient {
217
217
  * ```
218
218
  *
219
219
  * For more information, see [App
220
- * API](https://docs.viam.com/dev/reference/apis/fleet/#createorganizationinvite).
220
+ * API](https://docs.viam.com/reference/apis/fleet/#createorganizationinvite).
221
221
  *
222
222
  * @param organizationId The id of the organization to create the invite for
223
223
  * @param email The email address of the user to generate an invite for
@@ -252,7 +252,7 @@ export declare class AppClient {
252
252
  * ```
253
253
  *
254
254
  * For more information, see [App
255
- * API](https://docs.viam.com/dev/reference/apis/fleet/#updateorganizationinviteauthorizations).
255
+ * API](https://docs.viam.com/reference/apis/fleet/#updateorganizationinviteauthorizations).
256
256
  *
257
257
  * @param organizationId The id of the organization
258
258
  * @param email The email address associated with the invite
@@ -271,7 +271,7 @@ export declare class AppClient {
271
271
  * ```
272
272
  *
273
273
  * For more information, see [App
274
- * API](https://docs.viam.com/dev/reference/apis/fleet/#deleteorganizationmember).
274
+ * API](https://docs.viam.com/reference/apis/fleet/#deleteorganizationmember).
275
275
  *
276
276
  * @param organizationId The ID of the organization
277
277
  * @param userId The ID of the user
@@ -287,7 +287,7 @@ export declare class AppClient {
287
287
  * ```
288
288
  *
289
289
  * For more information, see [App
290
- * API](https://docs.viam.com/dev/reference/apis/fleet/#deleteorganizationinvite).
290
+ * API](https://docs.viam.com/reference/apis/fleet/#deleteorganizationinvite).
291
291
  *
292
292
  * @param organizationId The ID of the organization
293
293
  * @param email The email associated with the invite to delete
@@ -306,7 +306,7 @@ export declare class AppClient {
306
306
  * ```
307
307
  *
308
308
  * For more information, see [App
309
- * API](https://docs.viam.com/dev/reference/apis/fleet/#resendorganizationinvite).
309
+ * API](https://docs.viam.com/reference/apis/fleet/#resendorganizationinvite).
310
310
  *
311
311
  * @param organizationId The ID of the organization
312
312
  * @param email The email associated with the invite to resend
@@ -323,7 +323,7 @@ export declare class AppClient {
323
323
  * ```
324
324
  *
325
325
  * For more information, see [App
326
- * API](https://docs.viam.com/dev/reference/apis/fleet/#createlocation).
326
+ * API](https://docs.viam.com/reference/apis/fleet/#createlocation).
327
327
  *
328
328
  * @param organizationId The ID of the organization to create the location under
329
329
  * @param name The name of the location to create
@@ -340,8 +340,7 @@ export declare class AppClient {
340
340
  * const location = await appClient.getLocation('<YOUR-LOCATION-ID>');
341
341
  * ```
342
342
  *
343
- * For more information, see [App
344
- * API](https://docs.viam.com/dev/reference/apis/fleet/#getlocation).
343
+ * For more information, see [App API](https://docs.viam.com/reference/apis/fleet/#getlocation).
345
344
  *
346
345
  * @param locId The ID of the location to query.
347
346
  * @returns The location object
@@ -357,7 +356,7 @@ export declare class AppClient {
357
356
  * ```
358
357
  *
359
358
  * For more information, see [App
360
- * API](https://docs.viam.com/dev/reference/apis/fleet/#updatelocation).
359
+ * API](https://docs.viam.com/reference/apis/fleet/#updatelocation).
361
360
  *
362
361
  * @param locId The ID of the location to update
363
362
  * @param name Optional string to update the location's name to
@@ -376,7 +375,7 @@ export declare class AppClient {
376
375
  * ```
377
376
  *
378
377
  * For more information, see [App
379
- * API](https://docs.viam.com/dev/reference/apis/fleet/#deletelocation).
378
+ * API](https://docs.viam.com/reference/apis/fleet/#deletelocation).
380
379
  *
381
380
  * @param locId The ID of the location to delete
382
381
  */
@@ -390,8 +389,7 @@ export declare class AppClient {
390
389
  * const locations = await appClient.listLocations('<YOUR-ORGANIZATION-ID>');
391
390
  * ```
392
391
  *
393
- * For more information, see [App
394
- * API](https://docs.viam.com/dev/reference/apis/fleet/#listlocations).
392
+ * For more information, see [App API](https://docs.viam.com/reference/apis/fleet/#listlocations).
395
393
  *
396
394
  * @param organizationId The ID of the organization to query
397
395
  * @returns A list of locations under the organization
@@ -406,8 +404,7 @@ export declare class AppClient {
406
404
  * await appClient.shareLocation('<OTHER-ORGANIZATION-ID>', '<YOUR-LOCATION-ID>');
407
405
  * ```
408
406
  *
409
- * For more information, see [App
410
- * API](https://docs.viam.com/dev/reference/apis/fleet/#sharelocation).
407
+ * For more information, see [App API](https://docs.viam.com/reference/apis/fleet/#sharelocation).
411
408
  *
412
409
  * @param organizationId The ID of the organization to share with
413
410
  * @param locId The ID of the location to share
@@ -423,7 +420,7 @@ export declare class AppClient {
423
420
  * ```
424
421
  *
425
422
  * For more information, see [App
426
- * API](https://docs.viam.com/dev/reference/apis/fleet/#unsharelocation).
423
+ * API](https://docs.viam.com/reference/apis/fleet/#unsharelocation).
427
424
  *
428
425
  * @param organizationId The ID of the organization to unshare with
429
426
  * @param locId The ID of the location to unshare
@@ -438,8 +435,7 @@ export declare class AppClient {
438
435
  * const locationAuth = await appClient.locationAuth('<YOUR-LOCATION-ID>');
439
436
  * ```
440
437
  *
441
- * For more information, see [App
442
- * API](https://docs.viam.com/dev/reference/apis/fleet/#locationauth).
438
+ * For more information, see [App API](https://docs.viam.com/reference/apis/fleet/#locationauth).
443
439
  *
444
440
  * @param locId The ID of the location to retrieve `LocationAuth` from.
445
441
  * @returns The `LocationAuth` for the requested location.
@@ -455,7 +451,7 @@ export declare class AppClient {
455
451
  * ```
456
452
  *
457
453
  * For more information, see [App
458
- * API](https://docs.viam.com/dev/reference/apis/fleet/#createlocationsecret).
454
+ * API](https://docs.viam.com/reference/apis/fleet/#createlocationsecret).
459
455
  *
460
456
  * @param locId The ID of the location to create a `LocationAuth` for
461
457
  * @returns The newly created `LocationAuth`
@@ -471,7 +467,7 @@ export declare class AppClient {
471
467
  * ```
472
468
  *
473
469
  * For more information, see [App
474
- * API](https://docs.viam.com/dev/reference/apis/fleet/#deletelocationsecret).
470
+ * API](https://docs.viam.com/reference/apis/fleet/#deletelocationsecret).
475
471
  *
476
472
  * @param locId The ID of the location to delete the `LocationAuth` from
477
473
  * @param secretId The ID of the location secret to delete
@@ -486,7 +482,7 @@ export declare class AppClient {
486
482
  * const robot = await appClient.getRobot('<YOUR-ROBOT-ID>');
487
483
  * ```
488
484
  *
489
- * For more information, see [App API](https://docs.viam.com/dev/reference/apis/fleet/#getrobot).
485
+ * For more information, see [App API](https://docs.viam.com/reference/apis/fleet/#getrobot).
490
486
  *
491
487
  * @param id The ID of the robot
492
488
  * @returns The `Robot` object
@@ -501,8 +497,7 @@ export declare class AppClient {
501
497
  * const roverRentalRobots = await appClient.getRoverRentalRobots('<YOUR-ORGANIZATION-ID>');
502
498
  * ```
503
499
  *
504
- * For more information, see [App
505
- * API](https://docs.viam.com/dev/reference/apis/fleet/#getroverrentalrobots).
500
+ * For more information, see [App API](https://docs.viam.com/reference/apis/fleet/).
506
501
  *
507
502
  * @param orgId The ID of the organization to query
508
503
  * @returns The list of `RoverRentalRobot` objects
@@ -517,8 +512,7 @@ export declare class AppClient {
517
512
  * const robotParts = await appClient.getRobotParts('<YOUR-ROBOT-ID>');
518
513
  * ```
519
514
  *
520
- * For more information, see [App
521
- * API](https://docs.viam.com/dev/reference/apis/fleet/#getrobotparts).
515
+ * For more information, see [App API](https://docs.viam.com/reference/apis/fleet/#getrobotparts).
522
516
  *
523
517
  * @param robotId The ID of the robot to query
524
518
  * @returns The list of `RobotPart` objects associated with the robot
@@ -539,8 +533,7 @@ export declare class AppClient {
539
533
  * }
540
534
  * ```
541
535
  *
542
- * For more information, see [App
543
- * API](https://docs.viam.com/dev/reference/apis/fleet/#getrobotpart).
536
+ * For more information, see [App API](https://docs.viam.com/reference/apis/fleet/#getrobotpart).
544
537
  *
545
538
  * @param id The ID of the requested robot part
546
539
  * @returns The robot part and a its json config
@@ -559,7 +552,7 @@ export declare class AppClient {
559
552
  * ```
560
553
  *
561
554
  * For more information, see [App
562
- * API](https://docs.viam.com/dev/reference/apis/fleet/#getrobotpartbynameandlocation).
555
+ * API](https://docs.viam.com/reference/apis/fleet/#getrobotpartbynameandlocation).
563
556
  *
564
557
  * @param name The name of the requested robot part
565
558
  * @param locationId The ID of the location of the requested robot part
@@ -577,7 +570,7 @@ export declare class AppClient {
577
570
  * ```
578
571
  *
579
572
  * For more information, see [App
580
- * API](https://docs.viam.com/dev/reference/apis/fleet/#getrobotpartlogs).
573
+ * API](https://docs.viam.com/reference/apis/fleet/#getrobotpartlogs).
581
574
  *
582
575
  * @param id The ID of the requested robot part
583
576
  * @param filter Optional string to filter logs on
@@ -602,7 +595,7 @@ export declare class AppClient {
602
595
  * ```
603
596
  *
604
597
  * For more information, see [App
605
- * API](https://docs.viam.com/dev/reference/apis/fleet/#tailrobotpartlogs).
598
+ * API](https://docs.viam.com/reference/apis/fleet/#tailrobotpartlogs).
606
599
  *
607
600
  * @param id The ID of the requested robot part
608
601
  * @param queue A queue to put the log entries into
@@ -621,12 +614,16 @@ export declare class AppClient {
621
614
  * ```
622
615
  *
623
616
  * For more information, see [App
624
- * API](https://docs.viam.com/dev/reference/apis/fleet/#getrobotparthistory).
617
+ * API](https://docs.viam.com/reference/apis/fleet/#getrobotparthistory).
625
618
  *
626
619
  * @param id The ID of the requested robot part
620
+ * @param start Optional start time. Only history entries created after this time will be
621
+ * returned.
622
+ * @param end Optional end time. Only history entries created before this time will be returned.
623
+ * @param pageLimit Optional maximum number of history entries to return, newest first.
627
624
  * @returns The list of the robot part's history
628
625
  */
629
- getRobotPartHistory(id: string): Promise<RobotPartHistoryEntry[]>;
626
+ getRobotPartHistory(id: string, start?: Date, end?: Date, pageLimit?: number): Promise<RobotPartHistoryEntry[]>;
630
627
  /**
631
628
  * Updates a robot part based on its ID.
632
629
  *
@@ -637,7 +634,7 @@ export declare class AppClient {
637
634
  * ```
638
635
  *
639
636
  * For more information, see [App
640
- * API](https://docs.viam.com/dev/reference/apis/fleet/#updaterobotpart).
637
+ * API](https://docs.viam.com/reference/apis/fleet/#updaterobotpart).
641
638
  *
642
639
  * @param id The ID of the requested robot part
643
640
  * @param name The new name of the robot part
@@ -654,8 +651,7 @@ export declare class AppClient {
654
651
  * const robotPartId = await appClient.newRobotPart('<YOUR-ROBOT-ID>', 'newPart');
655
652
  * ```
656
653
  *
657
- * For more information, see [App
658
- * API](https://docs.viam.com/dev/reference/apis/fleet/#newrobotpart).
654
+ * For more information, see [App API](https://docs.viam.com/reference/apis/fleet/#newrobotpart).
659
655
  *
660
656
  * @param robotId The ID of the robot to create a part for
661
657
  * @param partName The name for the new robot part
@@ -672,7 +668,7 @@ export declare class AppClient {
672
668
  * ```
673
669
  *
674
670
  * For more information, see [App
675
- * API](https://docs.viam.com/dev/reference/apis/fleet/#deleterobotpart).
671
+ * API](https://docs.viam.com/reference/apis/fleet/#deleterobotpart).
676
672
  *
677
673
  * @param partId The ID of the part to delete
678
674
  */
@@ -687,7 +683,7 @@ export declare class AppClient {
687
683
  * ```
688
684
  *
689
685
  * For more information, see [App
690
- * API](https://docs.viam.com/dev/reference/apis/fleet/#getrobotapikeys).
686
+ * API](https://docs.viam.com/reference/apis/fleet/#getrobotapikeys).
691
687
  *
692
688
  * @param robotId The ID of the robot to get API keys for
693
689
  * @returns A list of the robot's API keys
@@ -703,7 +699,7 @@ export declare class AppClient {
703
699
  * ```
704
700
  *
705
701
  * For more information, see [App
706
- * API](https://docs.viam.com/dev/reference/apis/fleet/#markpartasmain).
702
+ * API](https://docs.viam.com/reference/apis/fleet/#markpartasmain).
707
703
  *
708
704
  * @param partId The ID of the part to mark as main
709
705
  */
@@ -718,7 +714,7 @@ export declare class AppClient {
718
714
  * ```
719
715
  *
720
716
  * For more information, see [App
721
- * API](https://docs.viam.com/dev/reference/apis/fleet/#markpartforrestart).
717
+ * API](https://docs.viam.com/reference/apis/fleet/#markpartforrestart).
722
718
  *
723
719
  * @param partId The ID of the part to mark for restart
724
720
  */
@@ -733,7 +729,7 @@ export declare class AppClient {
733
729
  * ```
734
730
  *
735
731
  * For more information, see [App
736
- * API](https://docs.viam.com/dev/reference/apis/fleet/#createrobotpartsecret).
732
+ * API](https://docs.viam.com/reference/apis/fleet/#createrobotpartsecret).
737
733
  *
738
734
  * @param partId The ID of the part to create a secret for
739
735
  * @returns The robot part object
@@ -749,7 +745,7 @@ export declare class AppClient {
749
745
  * ```
750
746
  *
751
747
  * For more information, see [App
752
- * API](https://docs.viam.com/dev/reference/apis/fleet/#deleterobotpartsecret).
748
+ * API](https://docs.viam.com/reference/apis/fleet/#deleterobotpartsecret).
753
749
  *
754
750
  * @param partId The ID of the part to delete a secret from
755
751
  * @param secretId The ID of the secret to delete
@@ -764,13 +760,31 @@ export declare class AppClient {
764
760
  * const robots = await appClient.listRobots('<YOUR-LOCATION-ID>');
765
761
  * ```
766
762
  *
767
- * For more information, see [App
768
- * API](https://docs.viam.com/dev/reference/apis/fleet/#listrobots).
763
+ * For more information, see [App API](https://docs.viam.com/reference/apis/fleet/#listrobots).
769
764
  *
770
765
  * @param locId The ID of the location to list robots for
771
766
  * @returns The list of robot objects
772
767
  */
773
768
  listRobots(locId: string): Promise<Robot[]>;
769
+ /**
770
+ * Lists all robots across multiple locations in a single request.
771
+ *
772
+ * @example
773
+ *
774
+ * ```ts
775
+ * const robots = await appClient.listRobotsForLocations([
776
+ * '<YOUR-LOCATION-ID-1>',
777
+ * '<YOUR-LOCATION-ID-2>',
778
+ * ]);
779
+ * ```
780
+ *
781
+ * For more information, see [App
782
+ * API](https://docs.viam.com/reference/apis/fleet/#listrobotsforlocations).
783
+ *
784
+ * @param locationIds The IDs of the locations to list robots for
785
+ * @returns The list of robot objects across all the given locations
786
+ */
787
+ listRobotsForLocations(locationIds: string[]): Promise<Robot[]>;
774
788
  /**
775
789
  * Creates a new robot.
776
790
  *
@@ -780,7 +794,7 @@ export declare class AppClient {
780
794
  * const robotId = await appClient.newRobot('<YOUR-LOCATION-ID>', 'newRobot');
781
795
  * ```
782
796
  *
783
- * For more information, see [App API](https://docs.viam.com/dev/reference/apis/fleet/#newrobot).
797
+ * For more information, see [App API](https://docs.viam.com/reference/apis/fleet/#newrobot).
784
798
  *
785
799
  * @param locId The ID of the location to create the robot in
786
800
  * @param name The name of the new robot
@@ -801,8 +815,7 @@ export declare class AppClient {
801
815
  * );
802
816
  * ```
803
817
  *
804
- * For more information, see [App
805
- * API](https://docs.viam.com/dev/reference/apis/fleet/#updaterobot).
818
+ * For more information, see [App API](https://docs.viam.com/reference/apis/fleet/#updaterobot).
806
819
  *
807
820
  * @param robotId The ID of the robot to update
808
821
  * @param locId The ID of the location where the robot is
@@ -819,8 +832,7 @@ export declare class AppClient {
819
832
  * await appClient.deleteRobot('<YOUR-ROBOT-ID>');
820
833
  * ```
821
834
  *
822
- * For more information, see [App
823
- * API](https://docs.viam.com/dev/reference/apis/fleet/#deleterobot).
835
+ * For more information, see [App API](https://docs.viam.com/reference/apis/fleet/#deleterobot).
824
836
  *
825
837
  * @param id The ID of the robot to delete
826
838
  */
@@ -834,8 +846,7 @@ export declare class AppClient {
834
846
  * const fragments = await appClient.listFragments('<YOUR-ORGANIZATION-ID>');
835
847
  * ```
836
848
  *
837
- * For more information, see [App
838
- * API](https://docs.viam.com/dev/reference/apis/fleet/#listfragments).
849
+ * For more information, see [App API](https://docs.viam.com/reference/apis/fleet/#listfragments).
839
850
  *
840
851
  * @param organizationId The ID of the organization to list fragments for
841
852
  * @param publicOnly Optional, deprecated boolean. Use fragmentVisibilities instead. If true then
@@ -856,8 +867,7 @@ export declare class AppClient {
856
867
  * const fragment = await appClient.getFragment('12a12ab1-1234-5678-abcd-abcd01234567');
857
868
  * ```
858
869
  *
859
- * For more information, see [App
860
- * API](https://docs.viam.com/dev/reference/apis/fleet/#getfragment).
870
+ * For more information, see [App API](https://docs.viam.com/reference/apis/fleet/#getfragment).
861
871
  *
862
872
  * @param id The ID of the fragment to look up
863
873
  * @returns The requested fragment
@@ -873,7 +883,7 @@ export declare class AppClient {
873
883
  * ```
874
884
  *
875
885
  * For more information, see [App
876
- * API](https://docs.viam.com/dev/reference/apis/fleet/#createfragment).
886
+ * API](https://docs.viam.com/reference/apis/fleet/#createfragment).
877
887
  *
878
888
  * @param organizationId The ID of the organization to create the fragment under
879
889
  * @param name The name of the new fragment
@@ -894,7 +904,7 @@ export declare class AppClient {
894
904
  * ```
895
905
  *
896
906
  * For more information, see [App
897
- * API](https://docs.viam.com/dev/reference/apis/fleet/#updatefragment).
907
+ * API](https://docs.viam.com/reference/apis/fleet/#updatefragment).
898
908
  *
899
909
  * @param id The ID of the fragment to update
900
910
  * @param name The name to update the fragment to
@@ -906,9 +916,11 @@ export declare class AppClient {
906
916
  * not passed, the visibility will be unchanged. If visibility is not set and makePublic is set,
907
917
  * makePublic takes effect. If makePublic and visibility are set, they must not be conflicting.
908
918
  * If neither is set, the fragment visibility will remain unchanged.
919
+ * @param fragmentConfigJson Optional fragment config as a JSON object. Takes precedence over
920
+ * config if both are passed.
909
921
  * @returns The updated fragment
910
922
  */
911
- updateFragment(id: string, name: string, config: Struct, makePublic?: boolean, visibility?: FragmentVisibility): Promise<Fragment | undefined>;
923
+ updateFragment(id: string, name: string, config: Struct, makePublic?: boolean, visibility?: FragmentVisibility, fragmentConfigJson?: JsonObject): Promise<Fragment | undefined>;
912
924
  /**
913
925
  * Deletes a fragment.
914
926
  *
@@ -919,7 +931,7 @@ export declare class AppClient {
919
931
  * ```
920
932
  *
921
933
  * For more information, see [App
922
- * API](https://docs.viam.com/dev/reference/apis/fleet/#deletefragment).
934
+ * API](https://docs.viam.com/reference/apis/fleet/#deletefragment).
923
935
  *
924
936
  * @param id The ID of the fragment to delete
925
937
  */
@@ -932,7 +944,7 @@ export declare class AppClient {
932
944
  * ```
933
945
  *
934
946
  * For more information, see [App
935
- * API](https://docs.viam.com/dev/reference/apis/fleet/#listmachinefragments).
947
+ * API](https://docs.viam.com/reference/apis/fleet/#listmachinefragments).
936
948
  *
937
949
  * @param machineId The machine ID used to filter fragments defined in a machine's parts. Also
938
950
  * returns any fragments nested within the fragments defined in parts.
@@ -958,7 +970,7 @@ export declare class AppClient {
958
970
  * );
959
971
  * ```
960
972
  *
961
- * For more information, see [App API](https://docs.viam.com/dev/reference/apis/fleet/#addrole).
973
+ * For more information, see [App API](https://docs.viam.com/reference/apis/fleet/#addrole).
962
974
  *
963
975
  * @param organizationId The ID of the organization to create the role under
964
976
  * @param entityId The ID of the entity the role belongs to (for example a user ID)
@@ -983,8 +995,7 @@ export declare class AppClient {
983
995
  * );
984
996
  * ```
985
997
  *
986
- * For more information, see [App
987
- * API](https://docs.viam.com/dev/reference/apis/fleet/#removerole).
998
+ * For more information, see [App API](https://docs.viam.com/reference/apis/fleet/#removerole).
988
999
  *
989
1000
  * @param organizationId The ID of the organization to remove the role from
990
1001
  * @param entityId The ID of the entity the role belongs to (for example a user ID)
@@ -1023,8 +1034,7 @@ export declare class AppClient {
1023
1034
  * await appClient.changeRole(oldAuth, newAuth);
1024
1035
  * ```
1025
1036
  *
1026
- * For more information, see [App
1027
- * API](https://docs.viam.com/dev/reference/apis/fleet/#changerole).
1037
+ * For more information, see [App API](https://docs.viam.com/reference/apis/fleet/#changerole).
1028
1038
  *
1029
1039
  * @param oldAuthorization The existing authorization
1030
1040
  * @param newAuthorization The new authorization to change to
@@ -1034,7 +1044,7 @@ export declare class AppClient {
1034
1044
  * List all authorizations for an organization.
1035
1045
  *
1036
1046
  * For more information, see [App
1037
- * API](https://docs.viam.com/dev/reference/apis/fleet/#listauthorizations).
1047
+ * API](https://docs.viam.com/reference/apis/fleet/#listauthorizations).
1038
1048
  *
1039
1049
  * @param organizationId The ID of the organization to list authorizations for
1040
1050
  * @param resourceIds Optional list of IDs of resources to list authorizations for. If not
@@ -1046,7 +1056,7 @@ export declare class AppClient {
1046
1056
  * Checks whether requested permissions exist.
1047
1057
  *
1048
1058
  * For more information, see [App
1049
- * API](https://docs.viam.com/dev/reference/apis/fleet/#checkpermissions).
1059
+ * API](https://docs.viam.com/reference/apis/fleet/#checkpermissions).
1050
1060
  *
1051
1061
  * @param permissions A list of permissions to check
1052
1062
  * @returns A filtered list of the authorized permissions
@@ -1062,7 +1072,7 @@ export declare class AppClient {
1062
1072
  * ```
1063
1073
  *
1064
1074
  * For more information, see [App
1065
- * API](https://docs.viam.com/dev/reference/apis/fleet/#getregistryitem).
1075
+ * API](https://docs.viam.com/reference/apis/fleet/#getregistryitem).
1066
1076
  *
1067
1077
  * @param itemId The ID of the item to get
1068
1078
  * @returns The requested item
@@ -1078,7 +1088,7 @@ export declare class AppClient {
1078
1088
  * ```
1079
1089
  *
1080
1090
  * For more information, see [App
1081
- * API](https://docs.viam.com/dev/reference/apis/fleet/#createregistryitem).
1091
+ * API](https://docs.viam.com/reference/apis/fleet/#createregistryitem).
1082
1092
  *
1083
1093
  * @param organizationId The ID of the organization to create the registry item under
1084
1094
  * @param name The name of the registry item
@@ -1100,7 +1110,7 @@ export declare class AppClient {
1100
1110
  * ```
1101
1111
  *
1102
1112
  * For more information, see [App
1103
- * API](https://docs.viam.com/dev/reference/apis/fleet/#updateregistryitem).
1113
+ * API](https://docs.viam.com/reference/apis/fleet/#updateregistryitem).
1104
1114
  *
1105
1115
  * @param itemId The ID of the registry item to update
1106
1116
  * @param type The PackageType to update the item to
@@ -1126,7 +1136,7 @@ export declare class AppClient {
1126
1136
  * ```
1127
1137
  *
1128
1138
  * For more information, see [App
1129
- * API](https://docs.viam.com/dev/reference/apis/fleet/#listregistryitems).
1139
+ * API](https://docs.viam.com/reference/apis/fleet/#listregistryitems).
1130
1140
  *
1131
1141
  * @param organizationId The ID of the organization to query registry items for
1132
1142
  * @param types A list of types to query. If empty, will not filter on type
@@ -1149,7 +1159,7 @@ export declare class AppClient {
1149
1159
  * ```
1150
1160
  *
1151
1161
  * For more information, see [App
1152
- * API](https://docs.viam.com/dev/reference/apis/fleet/#deleteregistryitem).
1162
+ * API](https://docs.viam.com/reference/apis/fleet/#deleteregistryitem).
1153
1163
  *
1154
1164
  * @param itemId The ID of the item to delete
1155
1165
  */
@@ -1219,8 +1229,7 @@ export declare class AppClient {
1219
1229
  * const module = await appClient.createModule('<YOUR-ORGANIZATION-ID>', 'newModule');
1220
1230
  * ```
1221
1231
  *
1222
- * For more information, see [App
1223
- * API](https://docs.viam.com/dev/reference/apis/fleet/#createmodule).
1232
+ * For more information, see [App API](https://docs.viam.com/reference/apis/fleet/#createmodule).
1224
1233
  *
1225
1234
  * @param organizationId The ID of the organization to create the module under
1226
1235
  * @param name The name of the module
@@ -1243,8 +1252,7 @@ export declare class AppClient {
1243
1252
  * );
1244
1253
  * ```
1245
1254
  *
1246
- * For more information, see [App
1247
- * API](https://docs.viam.com/dev/reference/apis/fleet/#updatemodule).
1255
+ * For more information, see [App API](https://docs.viam.com/reference/apis/fleet/#updatemodule).
1248
1256
  *
1249
1257
  * @param moduleId The ID of the module to update
1250
1258
  * @param visibility The visibility to set for the module
@@ -1264,7 +1272,7 @@ export declare class AppClient {
1264
1272
  * const module = await appClient.getModule('<YOUR-MODULE-ID>');
1265
1273
  * ```
1266
1274
  *
1267
- * For more information, see [App API](https://docs.viam.com/dev/reference/apis/fleet/#getmodule).
1275
+ * For more information, see [App API](https://docs.viam.com/reference/apis/fleet/#getmodule).
1268
1276
  *
1269
1277
  * @param moduleId The ID of the module
1270
1278
  * @returns The requested module
@@ -1279,8 +1287,7 @@ export declare class AppClient {
1279
1287
  * const modules = await appClient.listModules('<YOUR-ORGANIZATION-ID>');
1280
1288
  * ```
1281
1289
  *
1282
- * For more information, see [App
1283
- * API](https://docs.viam.com/dev/reference/apis/fleet/#listmodules).
1290
+ * For more information, see [App API](https://docs.viam.com/reference/apis/fleet/#listmodules).
1284
1291
  *
1285
1292
  * @param organizationId The ID of the organization to query
1286
1293
  * @returns The organization's modules
@@ -1289,7 +1296,7 @@ export declare class AppClient {
1289
1296
  /**
1290
1297
  * Creates a new API key.
1291
1298
  *
1292
- * For more information, see [App API](https://docs.viam.com/dev/reference/apis/fleet/#createkey).
1299
+ * For more information, see [App API](https://docs.viam.com/reference/apis/fleet/#createkey).
1293
1300
  *
1294
1301
  * @param authorizations The list of authorizations to provide for the API key
1295
1302
  * @param name An optional name for the key. If none is passed, defaults to present timestamp
@@ -1305,7 +1312,7 @@ export declare class AppClient {
1305
1312
  * await appClient.deleteKey('<YOUR-KEY-ID>');
1306
1313
  * ```
1307
1314
  *
1308
- * For more information, see [App API](https://docs.viam.com/dev/reference/apis/fleet/#deletekey).
1315
+ * For more information, see [App API](https://docs.viam.com/reference/apis/fleet/#deletekey).
1309
1316
  *
1310
1317
  * @param id The ID of the key to delete
1311
1318
  */
@@ -1319,7 +1326,7 @@ export declare class AppClient {
1319
1326
  * const keys = await appClient.listKeys('<YOUR-ORGANIZATION-ID>');
1320
1327
  * ```
1321
1328
  *
1322
- * For more information, see [App API](https://docs.viam.com/dev/reference/apis/fleet/#listkeys).
1329
+ * For more information, see [App API](https://docs.viam.com/reference/apis/fleet/#listkeys).
1323
1330
  *
1324
1331
  * @param orgId The ID of the organization to query
1325
1332
  * @returns The list of API keys
@@ -1334,7 +1341,7 @@ export declare class AppClient {
1334
1341
  * const key = await appClient.rotateKey('<YOUR-KEY-ID>');
1335
1342
  * ```
1336
1343
  *
1337
- * For more information, see [App API](https://docs.viam.com/dev/reference/apis/fleet/#rotatekey).
1344
+ * For more information, see [App API](https://docs.viam.com/reference/apis/fleet/#rotatekey).
1338
1345
  *
1339
1346
  * @param id The ID of the key to rotate
1340
1347
  * @returns The updated key and ID
@@ -1350,7 +1357,7 @@ export declare class AppClient {
1350
1357
  * ```
1351
1358
  *
1352
1359
  * For more information, see [App
1353
- * API](https://docs.viam.com/dev/reference/apis/fleet/#createkeyfromexistingkeyauthorizations).
1360
+ * API](https://docs.viam.com/reference/apis/fleet/#createkeyfromexistingkeyauthorizations).
1354
1361
  *
1355
1362
  * @param id The ID of the key to duplicate
1356
1363
  * @returns The new key and ID
@@ -1368,8 +1375,7 @@ export declare class AppClient {
1368
1375
  * );
1369
1376
  * ```
1370
1377
  *
1371
- * For more information, see [App
1372
- * API](https://docs.viam.com/dev/reference/apis/fleet/#getappcontent).
1378
+ * For more information, see [App API](https://docs.viam.com/reference/apis/fleet/#getappcontent).
1373
1379
  *
1374
1380
  * @param publicNamespace The public namespace of the organization
1375
1381
  * @param name The name of the app
@@ -1386,7 +1392,7 @@ export declare class AppClient {
1386
1392
  * ```
1387
1393
  *
1388
1394
  * For more information, see [App
1389
- * API](https://docs.viam.com/dev/reference/apis/fleet/#getorganizationmetadata).
1395
+ * API](https://docs.viam.com/reference/apis/fleet/#getorganizationmetadata).
1390
1396
  *
1391
1397
  * @param id The ID of the organization
1392
1398
  * @returns The metadata associated with the organization
@@ -1404,7 +1410,7 @@ export declare class AppClient {
1404
1410
  * ```
1405
1411
  *
1406
1412
  * For more information, see [App
1407
- * API](https://docs.viam.com/dev/reference/apis/fleet/#updateorganizationmetadata).
1413
+ * API](https://docs.viam.com/reference/apis/fleet/#updateorganizationmetadata).
1408
1414
  *
1409
1415
  * @param id The ID of the organization
1410
1416
  * @param data The metadata to update
@@ -1420,7 +1426,7 @@ export declare class AppClient {
1420
1426
  * ```
1421
1427
  *
1422
1428
  * For more information, see [App
1423
- * API](https://docs.viam.com/dev/reference/apis/fleet/#getlocationmetadata).
1429
+ * API](https://docs.viam.com/reference/apis/fleet/#getlocationmetadata).
1424
1430
  *
1425
1431
  * @param id The ID of the location
1426
1432
  * @returns The metadata associated with the location
@@ -1438,7 +1444,7 @@ export declare class AppClient {
1438
1444
  * ```
1439
1445
  *
1440
1446
  * For more information, see [App
1441
- * API](https://docs.viam.com/dev/reference/apis/fleet/#updatelocationmetadata).
1447
+ * API](https://docs.viam.com/reference/apis/fleet/#updatelocationmetadata).
1442
1448
  *
1443
1449
  * @param id The ID of the location
1444
1450
  * @param data The metadata to update
@@ -1454,7 +1460,7 @@ export declare class AppClient {
1454
1460
  * ```
1455
1461
  *
1456
1462
  * For more information, see [App
1457
- * API](https://docs.viam.com/dev/reference/apis/fleet/#getrobotmetadata).
1463
+ * API](https://docs.viam.com/reference/apis/fleet/#getrobotmetadata).
1458
1464
  *
1459
1465
  * @param id The ID of the robot
1460
1466
  * @returns The metadata associated with the robot
@@ -1472,7 +1478,7 @@ export declare class AppClient {
1472
1478
  * ```
1473
1479
  *
1474
1480
  * For more information, see [App
1475
- * API](https://docs.viam.com/dev/reference/apis/fleet/#updaterobotmetadata).
1481
+ * API](https://docs.viam.com/reference/apis/fleet/#updaterobotmetadata).
1476
1482
  *
1477
1483
  * @param id The ID of the robot
1478
1484
  * @param data The metadata to update
@@ -1488,7 +1494,7 @@ export declare class AppClient {
1488
1494
  * ```
1489
1495
  *
1490
1496
  * For more information, see [App
1491
- * API](https://docs.viam.com/dev/reference/apis/fleet/#getrobotpartmetadata).
1497
+ * API](https://docs.viam.com/reference/apis/fleet/#getrobotpartmetadata).
1492
1498
  *
1493
1499
  * @param id The ID of the robot part
1494
1500
  * @returns The metadata associated with the robot part
@@ -1506,7 +1512,7 @@ export declare class AppClient {
1506
1512
  * ```
1507
1513
  *
1508
1514
  * For more information, see [App
1509
- * API](https://docs.viam.com/dev/reference/apis/fleet/#updaterobotpartmetadata).
1515
+ * API](https://docs.viam.com/reference/apis/fleet/#updaterobotpartmetadata).
1510
1516
  *
1511
1517
  * @param id The ID of the robot part
1512
1518
  * @param data The metadata to update
@@ -1525,7 +1531,7 @@ export declare class AppClient {
1525
1531
  * ```
1526
1532
  *
1527
1533
  * For more information, see [App
1528
- * API](https://docs.viam.com/dev/reference/apis/fleet/#getappbranding).
1534
+ * API](https://docs.viam.com/reference/apis/fleet/#getappbranding).
1529
1535
  *
1530
1536
  * @param publicNamespace The public namespace of the organization
1531
1537
  * @param name The name of the app