@roomle/web-sdk 2.107.0-alpha.4 → 2.107.0-alpha.5

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.
Binary file
Binary file
Binary file
@@ -365,11 +365,11 @@ export default class RoomlePlanner<P extends readonly PluginName[] = readonly []
365
365
  calcPartsPriceSum(partList: KernelPartList): Promise<KernelPartListPrice>;
366
366
  /**
367
367
  * Swap two plan objects in the scene in the same position for example swap two object variants
368
- * @param old this is the current selected plan object
368
+ * @param old this is the current selected plan object (runtime ID number or PlanElementViewModel)
369
369
  * @param idOfNew the RAPI id of the new plan object
370
- * returns runtime ID of the new object
370
+ * @returns runtime ID of the new object
371
371
  */
372
- swapObject(old: PlanElementViewModel, idOfNew: RapiId): Promise<number>;
372
+ swapObject(old: number | PlanElementViewModel, idOfNew: RapiId): Promise<number>;
373
373
  exportImageFromCamera(filename?: string, shouldWaitForAssets?: boolean): Promise<void>;
374
374
  exportCanvasScreenshot(quality?: number): Promise<string>;
375
375
  /**