@viamrobotics/sdk 0.26.2 → 0.27.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.
@@ -432,6 +432,17 @@ export declare class AppClient {
432
432
  * @param id The ID of the fragment to delete
433
433
  */
434
434
  deleteFragment(id: string): Promise<void>;
435
+ /**
436
+ * @param machineId The machine ID used to filter fragments defined in a
437
+ * machine's parts. Also returns any fragments nested within the fragments
438
+ * defined in parts.
439
+ * @param additionalFragmentIds Additional fragment IDs to append to the
440
+ * response. Useful when needing to view fragments that will be
441
+ * provisionally added to the machine alongside existing fragments.
442
+ * @returns The list of top level and nested fragments for a machine, as well
443
+ * as additionally specified fragment IDs.
444
+ */
445
+ listMachineFragments(machineId: string, additionalFragmentIds?: string[]): Promise<Fragment[]>;
435
446
  /**
436
447
  * Add a role under an organization.
437
448
  *