@aurigma/ng-design-atoms-api-client 2.63.1 → 2.65.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.
@@ -404,7 +404,7 @@ export declare class DesignAtomsCompatibilityApiClient extends ApiClientBase imp
404
404
  }
405
405
  export interface IDesignAtomsImagesApiClient {
406
406
  /**
407
- * Renders a web image preview with the specified parameters.
407
+ * Renders a preview of an image with the specified parameters.
408
408
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
409
409
  (default value is 'false').
410
410
  * @param tenantId (optional) Tenant identifier
@@ -413,7 +413,58 @@ export interface IDesignAtomsImagesApiClient {
413
413
  */
414
414
  renderImagePreview(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderImagePreviewModel | undefined): Observable<FileResponse>;
415
415
  /**
416
- * Renders a web image preview with the specified parameters and saves rendering result as resource.
416
+ * Renders a preview of an uploaded image with the specified parameters.
417
+ * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
418
+ (default value is 'false').
419
+ * @param tenantId (optional) Tenant identifier
420
+ * @param sourceFile (optional)
421
+ * @param mockupOwnerId (optional)
422
+ * @param mockupId (optional)
423
+ * @param width (optional)
424
+ * @param height (optional)
425
+ * @param fileFormat (optional)
426
+ * @param fitMode (optional)
427
+ * @return Success
428
+ */
429
+ renderImagePreviewFromFile(attachment?: boolean | null | undefined, tenantId?: number | undefined, sourceFile?: FileParameter | null | undefined, mockupOwnerId?: string | null | undefined, mockupId?: string | null | undefined, width?: number | null | undefined, height?: number | null | undefined, fileFormat?: ImagePreviewFormat | null | undefined, fitMode?: ImagePreviewFitMode | null | undefined): Observable<FileResponse>;
430
+ /**
431
+ * Renders a preview of an uploaded image with the specified parameters and saves rendering result as resource.
432
+ * @param tenantId (optional) Tenant identifier
433
+ * @param resourceOwnerId (optional)
434
+ * @param resourceNamespace (optional)
435
+ * @param resourceName (optional)
436
+ * @param resourceSourceId (optional)
437
+ * @param resourceType (optional)
438
+ * @param anonymousAccess (optional)
439
+ * @param overwriteExistingResource (optional)
440
+ * @param sourceFile (optional)
441
+ * @param mockupOwnerId (optional)
442
+ * @param mockupId (optional)
443
+ * @param width (optional)
444
+ * @param height (optional)
445
+ * @param fileFormat (optional)
446
+ * @param fitMode (optional)
447
+ * @return Success
448
+ */
449
+ renderImagePreviewFromFileToResource(tenantId?: number | undefined, resourceOwnerId?: string | null | undefined, resourceNamespace?: string | null | undefined, resourceName?: string | null | undefined, resourceSourceId?: string | null | undefined, resourceType?: string | null | undefined, anonymousAccess?: boolean | undefined, overwriteExistingResource?: boolean | undefined, sourceFile?: FileParameter | null | undefined, mockupOwnerId?: string | null | undefined, mockupId?: string | null | undefined, width?: number | null | undefined, height?: number | null | undefined, fileFormat?: ImagePreviewFormat | null | undefined, fitMode?: ImagePreviewFitMode | null | undefined): Observable<ResourceInfoDto>;
450
+ /**
451
+ * Renders a preview of a web image with the specified parameters.
452
+ * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
453
+ (default value is 'false').
454
+ * @param tenantId (optional) Tenant identifier
455
+ * @param body (optional) Render model with preview parameters.
456
+ * @return Success
457
+ */
458
+ renderImagePreviewFromUrl(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderImagePreviewFromUrlModel | undefined): Observable<FileResponse>;
459
+ /**
460
+ * Renders a preview of a web image with the specified parameters and saves rendering result as resource.
461
+ * @param tenantId (optional) Tenant identifier
462
+ * @param body (optional) Render model with preview parameters.
463
+ * @return Success
464
+ */
465
+ renderImagePreviewFromUrlToResource(tenantId?: number | undefined, body?: RenderImagePreviewFromUrlToResourceModel | undefined): Observable<ResourceInfoDto>;
466
+ /**
467
+ * Renders a preview of an image with the specified parameters and saves rendering result as resource.
417
468
  * @param tenantId (optional) Tenant identifier
418
469
  * @param body (optional) Render model with preview parameters.
419
470
  * @return Success
@@ -426,7 +477,7 @@ export declare class DesignAtomsImagesApiClient extends ApiClientBase implements
426
477
  protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
427
478
  constructor(configuration: ApiClientConfiguration, http: HttpClient, baseUrl?: string);
428
479
  /**
429
- * Renders a web image preview with the specified parameters.
480
+ * Renders a preview of an image with the specified parameters.
430
481
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
431
482
  (default value is 'false').
432
483
  * @param tenantId (optional) Tenant identifier
@@ -436,7 +487,62 @@ export declare class DesignAtomsImagesApiClient extends ApiClientBase implements
436
487
  renderImagePreview(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderImagePreviewModel | undefined): Observable<FileResponse>;
437
488
  protected processRenderImagePreview(response: HttpResponseBase): Observable<FileResponse>;
438
489
  /**
439
- * Renders a web image preview with the specified parameters and saves rendering result as resource.
490
+ * Renders a preview of an uploaded image with the specified parameters.
491
+ * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
492
+ (default value is 'false').
493
+ * @param tenantId (optional) Tenant identifier
494
+ * @param sourceFile (optional)
495
+ * @param mockupOwnerId (optional)
496
+ * @param mockupId (optional)
497
+ * @param width (optional)
498
+ * @param height (optional)
499
+ * @param fileFormat (optional)
500
+ * @param fitMode (optional)
501
+ * @return Success
502
+ */
503
+ renderImagePreviewFromFile(attachment?: boolean | null | undefined, tenantId?: number | undefined, sourceFile?: FileParameter | null | undefined, mockupOwnerId?: string | null | undefined, mockupId?: string | null | undefined, width?: number | null | undefined, height?: number | null | undefined, fileFormat?: ImagePreviewFormat | null | undefined, fitMode?: ImagePreviewFitMode | null | undefined): Observable<FileResponse>;
504
+ protected processRenderImagePreviewFromFile(response: HttpResponseBase): Observable<FileResponse>;
505
+ /**
506
+ * Renders a preview of an uploaded image with the specified parameters and saves rendering result as resource.
507
+ * @param tenantId (optional) Tenant identifier
508
+ * @param resourceOwnerId (optional)
509
+ * @param resourceNamespace (optional)
510
+ * @param resourceName (optional)
511
+ * @param resourceSourceId (optional)
512
+ * @param resourceType (optional)
513
+ * @param anonymousAccess (optional)
514
+ * @param overwriteExistingResource (optional)
515
+ * @param sourceFile (optional)
516
+ * @param mockupOwnerId (optional)
517
+ * @param mockupId (optional)
518
+ * @param width (optional)
519
+ * @param height (optional)
520
+ * @param fileFormat (optional)
521
+ * @param fitMode (optional)
522
+ * @return Success
523
+ */
524
+ renderImagePreviewFromFileToResource(tenantId?: number | undefined, resourceOwnerId?: string | null | undefined, resourceNamespace?: string | null | undefined, resourceName?: string | null | undefined, resourceSourceId?: string | null | undefined, resourceType?: string | null | undefined, anonymousAccess?: boolean | undefined, overwriteExistingResource?: boolean | undefined, sourceFile?: FileParameter | null | undefined, mockupOwnerId?: string | null | undefined, mockupId?: string | null | undefined, width?: number | null | undefined, height?: number | null | undefined, fileFormat?: ImagePreviewFormat | null | undefined, fitMode?: ImagePreviewFitMode | null | undefined): Observable<ResourceInfoDto>;
525
+ protected processRenderImagePreviewFromFileToResource(response: HttpResponseBase): Observable<ResourceInfoDto>;
526
+ /**
527
+ * Renders a preview of a web image with the specified parameters.
528
+ * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
529
+ (default value is 'false').
530
+ * @param tenantId (optional) Tenant identifier
531
+ * @param body (optional) Render model with preview parameters.
532
+ * @return Success
533
+ */
534
+ renderImagePreviewFromUrl(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderImagePreviewFromUrlModel | undefined): Observable<FileResponse>;
535
+ protected processRenderImagePreviewFromUrl(response: HttpResponseBase): Observable<FileResponse>;
536
+ /**
537
+ * Renders a preview of a web image with the specified parameters and saves rendering result as resource.
538
+ * @param tenantId (optional) Tenant identifier
539
+ * @param body (optional) Render model with preview parameters.
540
+ * @return Success
541
+ */
542
+ renderImagePreviewFromUrlToResource(tenantId?: number | undefined, body?: RenderImagePreviewFromUrlToResourceModel | undefined): Observable<ResourceInfoDto>;
543
+ protected processRenderImagePreviewFromUrlToResource(response: HttpResponseBase): Observable<ResourceInfoDto>;
544
+ /**
545
+ * Renders a preview of an image with the specified parameters and saves rendering result as resource.
440
546
  * @param tenantId (optional) Tenant identifier
441
547
  * @param body (optional) Render model with preview parameters.
442
548
  * @return Success
@@ -503,6 +609,547 @@ export declare class DesignAtomsMockups3dApiClient extends ApiClientBase impleme
503
609
  getGeometryFile(id: string, ownerId?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
504
610
  protected processGetGeometryFile(response: HttpResponseBase): Observable<FileResponse>;
505
611
  }
612
+ export interface IDesignAtomsPrintProductApiClient {
613
+ /**
614
+ * Patches a print-product of the specified design file.
615
+ * @param id Design identifier.
616
+ * @param privateStorageOwner (optional) Private storage owner identifier.
617
+ * @param tenantId (optional) Tenant identifier
618
+ * @param patchType (optional)
619
+ * @param replaceImageItemFileInfo_itemName (optional)
620
+ * @param replaceImageItemFileInfo_sourceFile (optional)
621
+ * @param replacePlaceholderItemContentInfo_placeholderItemName (optional)
622
+ * @param replacePlaceholderItemContentInfo_newContentType (optional)
623
+ * @param replacePlaceholderItemContentInfo_sourceFile (optional)
624
+ * @return No Content
625
+ */
626
+ patchDesignProduct(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, patchType?: ProductPatchType | undefined, replaceImageItemFileInfo_itemName?: string | null | undefined, replaceImageItemFileInfo_sourceFile?: FileParameter | null | undefined, replacePlaceholderItemContentInfo_placeholderItemName?: string | null | undefined, replacePlaceholderItemContentInfo_newContentType?: PlaceholderItemContentType | undefined, replacePlaceholderItemContentInfo_sourceFile?: FileParameter | null | undefined): Observable<void>;
627
+ /**
628
+ * Returns a print-product of the specified design file as a json-serialized model.
629
+ * @param id Design identifier.
630
+ * @param privateStorageOwner (optional) Private storage owner identifier.
631
+ * @param tenantId (optional) Tenant identifier
632
+ * @return Success
633
+ */
634
+ getDesignProductModel(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
635
+ /**
636
+ * Saves a print-product provided as a json-serialized model to the specified design file.
637
+ * @param id Design identifier.
638
+ * @param privateStorageOwner (optional) Private storage owner identifier.
639
+ * @param tenantId (optional) Tenant identifier
640
+ * @param body (optional) Serialized print-product description.
641
+ * @return No Content
642
+ */
643
+ updateDesignProductModel(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<void>;
644
+ /**
645
+ * Returns a list of print-area descriptions of the specified design file.
646
+ * @param id Design identifier.
647
+ * @param surfaceId (optional)
648
+ * @param privateStorageOwner (optional) Private storage owner identifier.
649
+ * @param tenantId (optional) Tenant identifier
650
+ * @return Success
651
+ */
652
+ getDesignPrintAreas(id: string, surfaceId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignPrintAreaDto[]>;
653
+ /**
654
+ * Deletes a specified print-area in an existing design file.
655
+ * @param id Design identifier.
656
+ * @param printAreaId Design print-area identifier.
657
+ * @param privateStorageOwner (optional) Private storage owner identifier.
658
+ * @param tenantId (optional) Tenant identifier
659
+ * @return No Content
660
+ */
661
+ deleteDesignPrintArea(id: string, printAreaId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
662
+ /**
663
+ * Returns a print-area of the specified design file as a json-serialized model.
664
+ * @param id Design identifier.
665
+ * @param printAreaId Design print-area identifier.
666
+ * @param privateStorageOwner (optional) Private storage owner identifier.
667
+ * @param tenantId (optional) Tenant identifier
668
+ * @return Success
669
+ */
670
+ getDesignPrintAreaModel(id: string, printAreaId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
671
+ /**
672
+ * Updates a specified print-area in an existing design file with the data provided as a json-serialized print-area model.
673
+ * @param id Design identifier.
674
+ * @param printAreaId Design print-area identifier.
675
+ * @param privateStorageOwner (optional) Private storage owner identifier.
676
+ * @param tenantId (optional) Tenant identifier
677
+ * @param body (optional) Updated print-area model.
678
+ * @return Success
679
+ */
680
+ updateDesignPrintAreaModel(id: string, printAreaId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
681
+ /**
682
+ * Inserts a new print-area provided as a json-serialized model at the specified position in an existing design file.
683
+ Print-area identifier will be reset by auto-generated value to prevent identifiers collisions.
684
+ * @param id Design identifier.
685
+ * @param surfaceId (optional) Parent surface identifier.
686
+ * @param privateStorageOwner (optional) Private storage owner identifier.
687
+ * @param tenantId (optional) Tenant identifier
688
+ * @param body (optional) New print-area model.
689
+ * @return Success
690
+ */
691
+ addDesignPrintAreaModel(id: string, surfaceId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
692
+ /**
693
+ * Returns a list of print-product surfaces descriptions of the specified design file.
694
+ * @param id Design identifier.
695
+ * @param privateStorageOwner (optional) Private storage owner identifier.
696
+ * @param tenantId (optional) Tenant identifier
697
+ * @return Success
698
+ */
699
+ getDesignSurfaces(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignSurfaceDto[]>;
700
+ /**
701
+ * Deletes a specified print-product surface in an existing design file.
702
+ * @param id Design identifier.
703
+ * @param surfaceId Surface identifier.
704
+ * @param privateStorageOwner (optional) Private storage owner identifier.
705
+ * @param tenantId (optional) Tenant identifier
706
+ * @return No Content
707
+ */
708
+ deleteDesignSurface(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
709
+ /**
710
+ * Returns a down-mockup description of the specified surface in an existing design file.
711
+ * @param id Design identifier.
712
+ * @param surfaceId Design surface identifier.
713
+ * @param privateStorageOwner (optional) Private storage owner identifier.
714
+ * @param tenantId (optional) Tenant identifier
715
+ * @return Success
716
+ */
717
+ getDesignSurfaceDownMockup(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignSurfaceMockupDto>;
718
+ /**
719
+ * Updates a content file of down-mockup for the specified surface in an existing design file.
720
+ * @param id Design identifier.
721
+ * @param surfaceId Design surface identifier.
722
+ * @param privateStorageOwner (optional) Private storage owner identifier.
723
+ * @param tenantId (optional) Tenant identifier
724
+ * @param position_top (optional)
725
+ * @param position_left (optional)
726
+ * @param sourceFile (optional)
727
+ * @return Success
728
+ */
729
+ updateDesignSurfaceDownMockup(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, position_top?: number | undefined, position_left?: number | undefined, sourceFile?: FileParameter | null | undefined): Observable<any>;
730
+ /**
731
+ * Returns a content file for down-mockup of the specified surface in an existing design file.
732
+ * @param id Design identifier.
733
+ * @param surfaceId Design surface identifier.
734
+ * @param privateStorageOwner (optional) Private storage owner identifier.
735
+ * @param tenantId (optional) Tenant identifier
736
+ * @return Success
737
+ */
738
+ getDesignSurfaceDownMockupContent(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
739
+ /**
740
+ * Returns an up-mockup description of the specified surface in an existing design file.
741
+ * @param id Design identifier.
742
+ * @param surfaceId Design surface identifier.
743
+ * @param privateStorageOwner (optional) Private storage owner identifier.
744
+ * @param tenantId (optional) Tenant identifier
745
+ * @return Success
746
+ */
747
+ getDesignSurfaceUpMockup(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignSurfaceMockupDto>;
748
+ /**
749
+ * Updates a content file of up-mockup for the specified surface in an existing design.
750
+ * @param id Design identifier.
751
+ * @param surfaceId Design surface identifier.
752
+ * @param privateStorageOwner (optional) Private storage owner identifier.
753
+ * @param tenantId (optional) Tenant identifier
754
+ * @param position_top (optional)
755
+ * @param position_left (optional)
756
+ * @param sourceFile (optional)
757
+ * @return Success
758
+ */
759
+ updateDesignSurfaceUpMockup(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, position_top?: number | undefined, position_left?: number | undefined, sourceFile?: FileParameter | null | undefined): Observable<any>;
760
+ /**
761
+ * Returns a content file for up-mockup of the specified surface in an existing design file.
762
+ * @param id Design identifier.
763
+ * @param surfaceId Design surface identifier.
764
+ * @param privateStorageOwner (optional) Private storage owner identifier.
765
+ * @param tenantId (optional) Tenant identifier
766
+ * @return Success
767
+ */
768
+ getDesignSurfaceUpMockupContent(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
769
+ /**
770
+ * Returns a print-product surface of the specified design file as a json-serialized model.
771
+ * @param id Design identifier.
772
+ * @param surfaceId Surface identifier.
773
+ * @param privateStorageOwner (optional) Private storage owner identifier.
774
+ * @param tenantId (optional) Tenant identifier
775
+ * @return Success
776
+ */
777
+ getDesignSurfaceModel(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
778
+ /**
779
+ * Replaces a specified print-product surface in an existing design file with the data provided as a json-serialized surface model.
780
+ All identifiers of a replaced surface (including surface identifier) will be reset by auto-generated values to prevent identifiers collisions.
781
+ * @param id Design identifier.
782
+ * @param surfaceId Design surface identifier.
783
+ * @param privateStorageOwner (optional) Private storage owner identifier.
784
+ * @param tenantId (optional) Tenant identifier
785
+ * @param body (optional) Updated surface model.
786
+ * @return Success
787
+ */
788
+ replaceDesignSurfaceModel(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
789
+ /**
790
+ * Inserts a new surface provided as a json-serialized model at the specified position in an existing design file.
791
+ All identifiers of a replaced surface (including surface identifier) will be reset by auto-generated values to prevent identifiers collisions.
792
+ * @param id Design identifier.
793
+ * @param surfaceIndex (optional) New surface index.
794
+ * @param privateStorageOwner (optional) Private storage owner identifier.
795
+ * @param tenantId (optional) Tenant identifier
796
+ * @param body (optional) New surface model.
797
+ * @return Success
798
+ */
799
+ addDesignSurfaceModel(id: string, surfaceIndex?: number | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
800
+ }
801
+ export declare class DesignAtomsPrintProductApiClient extends ApiClientBase implements IDesignAtomsPrintProductApiClient {
802
+ private http;
803
+ private baseUrl;
804
+ protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
805
+ constructor(configuration: ApiClientConfiguration, http: HttpClient, baseUrl?: string);
806
+ /**
807
+ * Patches a print-product of the specified design file.
808
+ * @param id Design identifier.
809
+ * @param privateStorageOwner (optional) Private storage owner identifier.
810
+ * @param tenantId (optional) Tenant identifier
811
+ * @param patchType (optional)
812
+ * @param replaceImageItemFileInfo_itemName (optional)
813
+ * @param replaceImageItemFileInfo_sourceFile (optional)
814
+ * @param replacePlaceholderItemContentInfo_placeholderItemName (optional)
815
+ * @param replacePlaceholderItemContentInfo_newContentType (optional)
816
+ * @param replacePlaceholderItemContentInfo_sourceFile (optional)
817
+ * @return No Content
818
+ */
819
+ patchDesignProduct(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, patchType?: ProductPatchType | undefined, replaceImageItemFileInfo_itemName?: string | null | undefined, replaceImageItemFileInfo_sourceFile?: FileParameter | null | undefined, replacePlaceholderItemContentInfo_placeholderItemName?: string | null | undefined, replacePlaceholderItemContentInfo_newContentType?: PlaceholderItemContentType | undefined, replacePlaceholderItemContentInfo_sourceFile?: FileParameter | null | undefined): Observable<void>;
820
+ protected processPatchDesignProduct(response: HttpResponseBase): Observable<void>;
821
+ /**
822
+ * Returns a print-product of the specified design file as a json-serialized model.
823
+ * @param id Design identifier.
824
+ * @param privateStorageOwner (optional) Private storage owner identifier.
825
+ * @param tenantId (optional) Tenant identifier
826
+ * @return Success
827
+ */
828
+ getDesignProductModel(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
829
+ protected processGetDesignProductModel(response: HttpResponseBase): Observable<any>;
830
+ /**
831
+ * Saves a print-product provided as a json-serialized model to the specified design file.
832
+ * @param id Design identifier.
833
+ * @param privateStorageOwner (optional) Private storage owner identifier.
834
+ * @param tenantId (optional) Tenant identifier
835
+ * @param body (optional) Serialized print-product description.
836
+ * @return No Content
837
+ */
838
+ updateDesignProductModel(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<void>;
839
+ protected processUpdateDesignProductModel(response: HttpResponseBase): Observable<void>;
840
+ /**
841
+ * Returns a list of print-area descriptions of the specified design file.
842
+ * @param id Design identifier.
843
+ * @param surfaceId (optional)
844
+ * @param privateStorageOwner (optional) Private storage owner identifier.
845
+ * @param tenantId (optional) Tenant identifier
846
+ * @return Success
847
+ */
848
+ getDesignPrintAreas(id: string, surfaceId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignPrintAreaDto[]>;
849
+ protected processGetDesignPrintAreas(response: HttpResponseBase): Observable<DesignPrintAreaDto[]>;
850
+ /**
851
+ * Deletes a specified print-area in an existing design file.
852
+ * @param id Design identifier.
853
+ * @param printAreaId Design print-area identifier.
854
+ * @param privateStorageOwner (optional) Private storage owner identifier.
855
+ * @param tenantId (optional) Tenant identifier
856
+ * @return No Content
857
+ */
858
+ deleteDesignPrintArea(id: string, printAreaId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
859
+ protected processDeleteDesignPrintArea(response: HttpResponseBase): Observable<void>;
860
+ /**
861
+ * Returns a print-area of the specified design file as a json-serialized model.
862
+ * @param id Design identifier.
863
+ * @param printAreaId Design print-area identifier.
864
+ * @param privateStorageOwner (optional) Private storage owner identifier.
865
+ * @param tenantId (optional) Tenant identifier
866
+ * @return Success
867
+ */
868
+ getDesignPrintAreaModel(id: string, printAreaId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
869
+ protected processGetDesignPrintAreaModel(response: HttpResponseBase): Observable<any>;
870
+ /**
871
+ * Updates a specified print-area in an existing design file with the data provided as a json-serialized print-area model.
872
+ * @param id Design identifier.
873
+ * @param printAreaId Design print-area identifier.
874
+ * @param privateStorageOwner (optional) Private storage owner identifier.
875
+ * @param tenantId (optional) Tenant identifier
876
+ * @param body (optional) Updated print-area model.
877
+ * @return Success
878
+ */
879
+ updateDesignPrintAreaModel(id: string, printAreaId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
880
+ protected processUpdateDesignPrintAreaModel(response: HttpResponseBase): Observable<any>;
881
+ /**
882
+ * Inserts a new print-area provided as a json-serialized model at the specified position in an existing design file.
883
+ Print-area identifier will be reset by auto-generated value to prevent identifiers collisions.
884
+ * @param id Design identifier.
885
+ * @param surfaceId (optional) Parent surface identifier.
886
+ * @param privateStorageOwner (optional) Private storage owner identifier.
887
+ * @param tenantId (optional) Tenant identifier
888
+ * @param body (optional) New print-area model.
889
+ * @return Success
890
+ */
891
+ addDesignPrintAreaModel(id: string, surfaceId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
892
+ protected processAddDesignPrintAreaModel(response: HttpResponseBase): Observable<any>;
893
+ /**
894
+ * Returns a list of print-product surfaces descriptions of the specified design file.
895
+ * @param id Design identifier.
896
+ * @param privateStorageOwner (optional) Private storage owner identifier.
897
+ * @param tenantId (optional) Tenant identifier
898
+ * @return Success
899
+ */
900
+ getDesignSurfaces(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignSurfaceDto[]>;
901
+ protected processGetDesignSurfaces(response: HttpResponseBase): Observable<DesignSurfaceDto[]>;
902
+ /**
903
+ * Deletes a specified print-product surface in an existing design file.
904
+ * @param id Design identifier.
905
+ * @param surfaceId Surface identifier.
906
+ * @param privateStorageOwner (optional) Private storage owner identifier.
907
+ * @param tenantId (optional) Tenant identifier
908
+ * @return No Content
909
+ */
910
+ deleteDesignSurface(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
911
+ protected processDeleteDesignSurface(response: HttpResponseBase): Observable<void>;
912
+ /**
913
+ * Returns a down-mockup description of the specified surface in an existing design file.
914
+ * @param id Design identifier.
915
+ * @param surfaceId Design surface identifier.
916
+ * @param privateStorageOwner (optional) Private storage owner identifier.
917
+ * @param tenantId (optional) Tenant identifier
918
+ * @return Success
919
+ */
920
+ getDesignSurfaceDownMockup(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignSurfaceMockupDto>;
921
+ protected processGetDesignSurfaceDownMockup(response: HttpResponseBase): Observable<DesignSurfaceMockupDto>;
922
+ /**
923
+ * Updates a content file of down-mockup for the specified surface in an existing design file.
924
+ * @param id Design identifier.
925
+ * @param surfaceId Design surface identifier.
926
+ * @param privateStorageOwner (optional) Private storage owner identifier.
927
+ * @param tenantId (optional) Tenant identifier
928
+ * @param position_top (optional)
929
+ * @param position_left (optional)
930
+ * @param sourceFile (optional)
931
+ * @return Success
932
+ */
933
+ updateDesignSurfaceDownMockup(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, position_top?: number | undefined, position_left?: number | undefined, sourceFile?: FileParameter | null | undefined): Observable<any>;
934
+ protected processUpdateDesignSurfaceDownMockup(response: HttpResponseBase): Observable<any>;
935
+ /**
936
+ * Returns a content file for down-mockup of the specified surface in an existing design file.
937
+ * @param id Design identifier.
938
+ * @param surfaceId Design surface identifier.
939
+ * @param privateStorageOwner (optional) Private storage owner identifier.
940
+ * @param tenantId (optional) Tenant identifier
941
+ * @return Success
942
+ */
943
+ getDesignSurfaceDownMockupContent(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
944
+ protected processGetDesignSurfaceDownMockupContent(response: HttpResponseBase): Observable<FileResponse>;
945
+ /**
946
+ * Returns an up-mockup description of the specified surface in an existing design file.
947
+ * @param id Design identifier.
948
+ * @param surfaceId Design surface identifier.
949
+ * @param privateStorageOwner (optional) Private storage owner identifier.
950
+ * @param tenantId (optional) Tenant identifier
951
+ * @return Success
952
+ */
953
+ getDesignSurfaceUpMockup(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignSurfaceMockupDto>;
954
+ protected processGetDesignSurfaceUpMockup(response: HttpResponseBase): Observable<DesignSurfaceMockupDto>;
955
+ /**
956
+ * Updates a content file of up-mockup for the specified surface in an existing design.
957
+ * @param id Design identifier.
958
+ * @param surfaceId Design surface identifier.
959
+ * @param privateStorageOwner (optional) Private storage owner identifier.
960
+ * @param tenantId (optional) Tenant identifier
961
+ * @param position_top (optional)
962
+ * @param position_left (optional)
963
+ * @param sourceFile (optional)
964
+ * @return Success
965
+ */
966
+ updateDesignSurfaceUpMockup(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, position_top?: number | undefined, position_left?: number | undefined, sourceFile?: FileParameter | null | undefined): Observable<any>;
967
+ protected processUpdateDesignSurfaceUpMockup(response: HttpResponseBase): Observable<any>;
968
+ /**
969
+ * Returns a content file for up-mockup of the specified surface in an existing design file.
970
+ * @param id Design identifier.
971
+ * @param surfaceId Design surface identifier.
972
+ * @param privateStorageOwner (optional) Private storage owner identifier.
973
+ * @param tenantId (optional) Tenant identifier
974
+ * @return Success
975
+ */
976
+ getDesignSurfaceUpMockupContent(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
977
+ protected processGetDesignSurfaceUpMockupContent(response: HttpResponseBase): Observable<FileResponse>;
978
+ /**
979
+ * Returns a print-product surface of the specified design file as a json-serialized model.
980
+ * @param id Design identifier.
981
+ * @param surfaceId Surface identifier.
982
+ * @param privateStorageOwner (optional) Private storage owner identifier.
983
+ * @param tenantId (optional) Tenant identifier
984
+ * @return Success
985
+ */
986
+ getDesignSurfaceModel(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
987
+ protected processGetDesignSurfaceModel(response: HttpResponseBase): Observable<any>;
988
+ /**
989
+ * Replaces a specified print-product surface in an existing design file with the data provided as a json-serialized surface model.
990
+ All identifiers of a replaced surface (including surface identifier) will be reset by auto-generated values to prevent identifiers collisions.
991
+ * @param id Design identifier.
992
+ * @param surfaceId Design surface identifier.
993
+ * @param privateStorageOwner (optional) Private storage owner identifier.
994
+ * @param tenantId (optional) Tenant identifier
995
+ * @param body (optional) Updated surface model.
996
+ * @return Success
997
+ */
998
+ replaceDesignSurfaceModel(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
999
+ protected processReplaceDesignSurfaceModel(response: HttpResponseBase): Observable<any>;
1000
+ /**
1001
+ * Inserts a new surface provided as a json-serialized model at the specified position in an existing design file.
1002
+ All identifiers of a replaced surface (including surface identifier) will be reset by auto-generated values to prevent identifiers collisions.
1003
+ * @param id Design identifier.
1004
+ * @param surfaceIndex (optional) New surface index.
1005
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1006
+ * @param tenantId (optional) Tenant identifier
1007
+ * @param body (optional) New surface model.
1008
+ * @return Success
1009
+ */
1010
+ addDesignSurfaceModel(id: string, surfaceIndex?: number | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
1011
+ protected processAddDesignSurfaceModel(response: HttpResponseBase): Observable<any>;
1012
+ }
1013
+ export interface IDesignAtomsPrintProductItemsApiClient {
1014
+ /**
1015
+ * Extracts print-product item image.
1016
+ * @param tenantId (optional) Tenant identifier
1017
+ * @param body (optional) Extraction parameters.
1018
+ * @return Success
1019
+ */
1020
+ extractItemImage(tenantId?: number | undefined, body?: ExtractItemImageModel | undefined): Observable<FileResponse>;
1021
+ /**
1022
+ * Flattens print-product items.
1023
+ * @param tenantId (optional) Tenant identifier
1024
+ * @param body (optional) List of print-product items to flatten.
1025
+ * @return Success
1026
+ */
1027
+ flattenItems(tenantId?: number | undefined, body?: any[] | undefined): Observable<any>;
1028
+ /**
1029
+ * Creates print-product item from input image file.
1030
+ * @param itemType (optional) Desired item type.
1031
+ * @param tenantId (optional) Tenant identifier
1032
+ * @param sourceFile (optional)
1033
+ * @return Success
1034
+ */
1035
+ createItemFromFile(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceFile?: FileParameter | null | undefined): Observable<any>;
1036
+ /**
1037
+ * Creates multiple print-product items from input image files.
1038
+ * @param itemType (optional) Desired print-product items type.
1039
+ * @param tenantId (optional) Tenant identifier
1040
+ * @param sourceFiles (optional)
1041
+ * @return Success
1042
+ */
1043
+ batchCreateItemsFromFile(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceFiles?: FileParameter[] | null | undefined): Observable<any>;
1044
+ /**
1045
+ * Creates print-product item from image file taken from storage.
1046
+ * @param itemType (optional) Desired item type.
1047
+ * @param tenantId (optional) Tenant identifier
1048
+ * @param body (optional) Operation parameters.
1049
+ * @return Success
1050
+ */
1051
+ createItemFromStorage(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: CreateItemFromStorageModel | undefined): Observable<any>;
1052
+ /**
1053
+ * Creates multiple print-product items from the specified image files in storage.
1054
+ * @param itemType (optional) Desired items type.
1055
+ * @param tenantId (optional) Tenant identifier
1056
+ * @param body (optional) Operation parameters.
1057
+ * @return Success
1058
+ */
1059
+ batchCreateItemsFromStorage(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: BatchCreateItemsFromStorageModel | undefined): Observable<any>;
1060
+ /**
1061
+ * Creates print-product item from remote web image provided by URL.
1062
+ * @param itemType (optional) Desired item type.
1063
+ * @param tenantId (optional) Tenant identifier
1064
+ * @param body (optional) Operation parameters.
1065
+ * @return Success
1066
+ */
1067
+ createItemFromUrl(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: CreateItemFromUrlModel | undefined): Observable<any>;
1068
+ /**
1069
+ * Creates multiple print-product items from remote web images provided by URLs list.
1070
+ * @param itemType (optional) Desired items type.
1071
+ * @param tenantId (optional) Tenant identifier
1072
+ * @param body (optional) Operation parameters.
1073
+ * @return Success
1074
+ */
1075
+ batchCreateItemsFromUrl(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: BatchCreateItemsFromUrlModel | undefined): Observable<any>;
1076
+ }
1077
+ export declare class DesignAtomsPrintProductItemsApiClient extends ApiClientBase implements IDesignAtomsPrintProductItemsApiClient {
1078
+ private http;
1079
+ private baseUrl;
1080
+ protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
1081
+ constructor(configuration: ApiClientConfiguration, http: HttpClient, baseUrl?: string);
1082
+ /**
1083
+ * Extracts print-product item image.
1084
+ * @param tenantId (optional) Tenant identifier
1085
+ * @param body (optional) Extraction parameters.
1086
+ * @return Success
1087
+ */
1088
+ extractItemImage(tenantId?: number | undefined, body?: ExtractItemImageModel | undefined): Observable<FileResponse>;
1089
+ protected processExtractItemImage(response: HttpResponseBase): Observable<FileResponse>;
1090
+ /**
1091
+ * Flattens print-product items.
1092
+ * @param tenantId (optional) Tenant identifier
1093
+ * @param body (optional) List of print-product items to flatten.
1094
+ * @return Success
1095
+ */
1096
+ flattenItems(tenantId?: number | undefined, body?: any[] | undefined): Observable<any>;
1097
+ protected processFlattenItems(response: HttpResponseBase): Observable<any>;
1098
+ /**
1099
+ * Creates print-product item from input image file.
1100
+ * @param itemType (optional) Desired item type.
1101
+ * @param tenantId (optional) Tenant identifier
1102
+ * @param sourceFile (optional)
1103
+ * @return Success
1104
+ */
1105
+ createItemFromFile(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceFile?: FileParameter | null | undefined): Observable<any>;
1106
+ protected processCreateItemFromFile(response: HttpResponseBase): Observable<any>;
1107
+ /**
1108
+ * Creates multiple print-product items from input image files.
1109
+ * @param itemType (optional) Desired print-product items type.
1110
+ * @param tenantId (optional) Tenant identifier
1111
+ * @param sourceFiles (optional)
1112
+ * @return Success
1113
+ */
1114
+ batchCreateItemsFromFile(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceFiles?: FileParameter[] | null | undefined): Observable<any>;
1115
+ protected processBatchCreateItemsFromFile(response: HttpResponseBase): Observable<any>;
1116
+ /**
1117
+ * Creates print-product item from image file taken from storage.
1118
+ * @param itemType (optional) Desired item type.
1119
+ * @param tenantId (optional) Tenant identifier
1120
+ * @param body (optional) Operation parameters.
1121
+ * @return Success
1122
+ */
1123
+ createItemFromStorage(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: CreateItemFromStorageModel | undefined): Observable<any>;
1124
+ protected processCreateItemFromStorage(response: HttpResponseBase): Observable<any>;
1125
+ /**
1126
+ * Creates multiple print-product items from the specified image files in storage.
1127
+ * @param itemType (optional) Desired items type.
1128
+ * @param tenantId (optional) Tenant identifier
1129
+ * @param body (optional) Operation parameters.
1130
+ * @return Success
1131
+ */
1132
+ batchCreateItemsFromStorage(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: BatchCreateItemsFromStorageModel | undefined): Observable<any>;
1133
+ protected processBatchCreateItemsFromStorage(response: HttpResponseBase): Observable<any>;
1134
+ /**
1135
+ * Creates print-product item from remote web image provided by URL.
1136
+ * @param itemType (optional) Desired item type.
1137
+ * @param tenantId (optional) Tenant identifier
1138
+ * @param body (optional) Operation parameters.
1139
+ * @return Success
1140
+ */
1141
+ createItemFromUrl(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: CreateItemFromUrlModel | undefined): Observable<any>;
1142
+ protected processCreateItemFromUrl(response: HttpResponseBase): Observable<any>;
1143
+ /**
1144
+ * Creates multiple print-product items from remote web images provided by URLs list.
1145
+ * @param itemType (optional) Desired items type.
1146
+ * @param tenantId (optional) Tenant identifier
1147
+ * @param body (optional) Operation parameters.
1148
+ * @return Success
1149
+ */
1150
+ batchCreateItemsFromUrl(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: BatchCreateItemsFromUrlModel | undefined): Observable<any>;
1151
+ protected processBatchCreateItemsFromUrl(response: HttpResponseBase): Observable<any>;
1152
+ }
506
1153
  export interface IDesignAtomsServiceApiClient {
507
1154
  /**
508
1155
  * Creates new design file with specified parameters and saves it in storage.
@@ -513,7 +1160,7 @@ export interface IDesignAtomsServiceApiClient {
513
1160
  */
514
1161
  createDesign(privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: CreateDesignModel | undefined): Observable<DesignInfo>;
515
1162
  /**
516
- * Returns content of the background.
1163
+ * Returns image content of the background.
517
1164
  * @param id Design identifier.
518
1165
  * @param surfaceIndex (optional) Surface index.
519
1166
  * @param privateStorageOwner (optional) Private storage owner identifier.
@@ -522,36 +1169,14 @@ export interface IDesignAtomsServiceApiClient {
522
1169
  */
523
1170
  extractBackground(id: string, surfaceIndex?: number | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
524
1171
  /**
525
- * Loads product (design model) from design file taken from storage.
526
- * @param id Design identifier.
527
- * @param privateStorageOwner (optional) Private storage owner identifier.
528
- * @param tenantId (optional) Tenant identifier
529
- * @return Success
530
- */
531
- loadProduct(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
532
- /**
533
- * Saves product (design model) to design file and updates design in storage.
534
- * @param id Design identifier.
535
- * @param privateStorageOwner (optional) Private storage owner identifier.
536
- * @param tenantId (optional) Tenant identifier
537
- * @param body (optional) Serialized product description.
538
- * @return Success
539
- */
540
- saveProduct(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<void>;
541
- /**
542
- * Patches product (design model) in design file.
1172
+ * Sets specified editor-mockups for selected design surfaces.
543
1173
  * @param id Design identifier.
544
1174
  * @param privateStorageOwner (optional) Private storage owner identifier.
545
1175
  * @param tenantId (optional) Tenant identifier
546
- * @param patchType (optional)
547
- * @param replaceImageItemFileInfo_itemName (optional)
548
- * @param replaceImageItemFileInfo_sourceFile (optional)
549
- * @param replacePlaceholderItemContentInfo_placeholderItemName (optional)
550
- * @param replacePlaceholderItemContentInfo_newContentType (optional)
551
- * @param replacePlaceholderItemContentInfo_sourceFile (optional)
552
- * @return Success
1176
+ * @param body (optional) Operation parameters.
1177
+ * @return No Content
553
1178
  */
554
- patchProduct(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, patchType?: ProductPatchType | undefined, replaceImageItemFileInfo_itemName?: string | null | undefined, replaceImageItemFileInfo_sourceFile?: FileParameter | null | undefined, replacePlaceholderItemContentInfo_placeholderItemName?: string | null | undefined, replacePlaceholderItemContentInfo_newContentType?: PlaceholderItemContentType | undefined, replacePlaceholderItemContentInfo_sourceFile?: FileParameter | null | undefined): Observable<void>;
1179
+ setEditorMockups(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: SetEditorMockupsModel | undefined): Observable<void>;
555
1180
  /**
556
1181
  * Returns design parameters stored in product model.
557
1182
  * @param id Design identifier.
@@ -561,7 +1186,7 @@ export interface IDesignAtomsServiceApiClient {
561
1186
  */
562
1187
  getDesignParameters(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignParameters>;
563
1188
  /**
564
- * Loads data schema from design file taken from storage.
1189
+ * Loads a data schema from design file taken from storage.
565
1190
  * @param id Design identifier.
566
1191
  * @param privateStorageOwner (optional) Private storage owner identifier.
567
1192
  * @param tenantId (optional) Tenant identifier
@@ -577,7 +1202,7 @@ export interface IDesignAtomsServiceApiClient {
577
1202
  */
578
1203
  loadToggleSet(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
579
1204
  /**
580
- * Gets variable items information for design file taken from storage.
1205
+ * Returns variable items information for design file taken from storage.
581
1206
  * @param id Design identifier.
582
1207
  * @param privateStorageOwner (optional) Private storage owner identifier.
583
1208
  * @param tenantId (optional) Tenant identifier
@@ -585,7 +1210,7 @@ export interface IDesignAtomsServiceApiClient {
585
1210
  */
586
1211
  getVariables(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<VariablesModel>;
587
1212
  /**
588
- * Sets variable items values for design file taken from storage.
1213
+ * Saves variable items values for design file taken from storage.
589
1214
  * @param id Design identifier.
590
1215
  * @param privateStorageOwner (optional) Private storage owner identifier.
591
1216
  * @param tenantId (optional) Tenant identifier
@@ -611,7 +1236,7 @@ export interface IDesignAtomsServiceApiClient {
611
1236
  */
612
1237
  saveVdpData(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: VdpDataModel | undefined): Observable<void>;
613
1238
  /**
614
- * Deletes variable data printing information from design file and updates design in storage.
1239
+ * Deletes variable data printing information from design file and updates design file in storage.
615
1240
  * @param id Design identifier.
616
1241
  * @param privateStorageOwner (optional) Private storage owner identifier.
617
1242
  * @param tenantId (optional) Tenant identifier
@@ -619,47 +1244,22 @@ export interface IDesignAtomsServiceApiClient {
619
1244
  */
620
1245
  deleteVdpData(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
621
1246
  /**
622
- * Loads product (design model) from resource file taken from storage.
623
- * @param id Resource identifier.
624
- * @param privateStorageOwner (optional) Private storage owner identifier.
625
- * @param tenantId (optional) Tenant identifier
626
- * @return Success
627
- */
628
- loadProductFromResource(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
629
- /**
630
- * Converts colors.
1247
+ * Converts colors for print-product item manipulations.
631
1248
  * @param tenantId (optional) Tenant identifier
632
1249
  * @param body (optional) Convert colors operation parameters.
633
1250
  * @return Success
634
1251
  */
635
1252
  convertColors(tenantId?: number | undefined, body?: ConvertColorsModel | undefined): Observable<any>;
636
1253
  /**
637
- * Creates product item.
638
- * @param itemType (optional) Desired item type.
639
- * @param tenantId (optional) Tenant identifier
640
- * @param sourceType (optional)
641
- * @param sourceId (optional)
642
- * @param sourceOwnerId (optional)
643
- * @param sourceFile (optional)
644
- * @return Success
645
- */
646
- createItem(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceType?: ItemSourceType | null | undefined, sourceId?: string | null | undefined, sourceOwnerId?: string | null | undefined, sourceFile?: FileParameter | null | undefined): Observable<any>;
647
- /**
648
- * Extracts product item image.
649
- * @param tenantId (optional) Tenant identifier
650
- * @param body (optional) Extraction parameters.
651
- * @return Success
652
- */
653
- extractItemImage(tenantId?: number | undefined, body?: ExtractItemImageModel | undefined): Observable<FileResponse>;
654
- /**
655
- * Flatten items.
1254
+ * Loads print-product from resource file taken from storage.
1255
+ * @param id (optional) Resource identifier.
1256
+ * @param privateStorageOwner (optional) Private storage owner identifier.
656
1257
  * @param tenantId (optional) Tenant identifier
657
- * @param body (optional) Items to flatten.
658
1258
  * @return Success
659
1259
  */
660
- flattenItems(tenantId?: number | undefined, body?: any[] | undefined): Observable<any>;
1260
+ loadProductFromResource(id?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
661
1261
  /**
662
- * Render product proof image with specified parameters.
1262
+ * Renders a product proof image with specified parameters.
663
1263
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
664
1264
  (default value is 'false').
665
1265
  * @param tenantId (optional) Tenant identifier
@@ -699,6 +1299,69 @@ export interface IDesignAtomsServiceApiClient {
699
1299
  * @return Success
700
1300
  */
701
1301
  renderDesignProofToResource(tenantId?: number | undefined, body?: RenderDesignProofToResourceModel | undefined): Observable<ResourceInfoDto>;
1302
+ /**
1303
+ * Loads print-product from design file taken from storage.
1304
+ * @param id Design identifier.
1305
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1306
+ * @param tenantId (optional) Tenant identifier
1307
+ * @return Success
1308
+ * @deprecated
1309
+ */
1310
+ loadProduct(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
1311
+ /**
1312
+ * Saves print-product to design file and updates design file in storage.
1313
+ * @param id Design identifier.
1314
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1315
+ * @param tenantId (optional) Tenant identifier
1316
+ * @param body (optional) Serialized product description.
1317
+ * @return Success
1318
+ * @deprecated
1319
+ */
1320
+ saveProduct(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<void>;
1321
+ /**
1322
+ * Patches print-product in design file.
1323
+ * @param id Design identifier.
1324
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1325
+ * @param tenantId (optional) Tenant identifier
1326
+ * @param patchType (optional)
1327
+ * @param replaceImageItemFileInfo_itemName (optional)
1328
+ * @param replaceImageItemFileInfo_sourceFile (optional)
1329
+ * @param replacePlaceholderItemContentInfo_placeholderItemName (optional)
1330
+ * @param replacePlaceholderItemContentInfo_newContentType (optional)
1331
+ * @param replacePlaceholderItemContentInfo_sourceFile (optional)
1332
+ * @return Success
1333
+ * @deprecated
1334
+ */
1335
+ patchProduct(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, patchType?: ProductPatchType | undefined, replaceImageItemFileInfo_itemName?: string | null | undefined, replaceImageItemFileInfo_sourceFile?: FileParameter | null | undefined, replacePlaceholderItemContentInfo_placeholderItemName?: string | null | undefined, replacePlaceholderItemContentInfo_newContentType?: PlaceholderItemContentType | undefined, replacePlaceholderItemContentInfo_sourceFile?: FileParameter | null | undefined): Observable<void>;
1336
+ /**
1337
+ * Creates print-product item.
1338
+ * @param itemType (optional) Desired item type.
1339
+ * @param tenantId (optional) Tenant identifier
1340
+ * @param sourceType (optional)
1341
+ * @param sourceId (optional)
1342
+ * @param sourceOwnerId (optional)
1343
+ * @param url (optional)
1344
+ * @param sourceFile (optional)
1345
+ * @return Success
1346
+ * @deprecated
1347
+ */
1348
+ createItem(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceType?: ItemSourceType | null | undefined, sourceId?: string | null | undefined, sourceOwnerId?: string | null | undefined, url?: string | null | undefined, sourceFile?: FileParameter | null | undefined): Observable<any>;
1349
+ /**
1350
+ * Extracts print-product item image.
1351
+ * @param tenantId (optional) Tenant identifier
1352
+ * @param body (optional) Extraction parameters.
1353
+ * @return Success
1354
+ * @deprecated
1355
+ */
1356
+ extractItemImage(tenantId?: number | undefined, body?: ExtractItemImageModel | undefined): Observable<FileResponse>;
1357
+ /**
1358
+ * Flattens print-product items.
1359
+ * @param tenantId (optional) Tenant identifier
1360
+ * @param body (optional) Items to flatten.
1361
+ * @return Success
1362
+ * @deprecated
1363
+ */
1364
+ flattenItems(tenantId?: number | undefined, body?: any[] | undefined): Observable<any>;
702
1365
  /**
703
1366
  * Creates a private design from a public design.
704
1367
  * @param designId (optional) Public design identifier.
@@ -735,7 +1398,7 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
735
1398
  createDesign(privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: CreateDesignModel | undefined): Observable<DesignInfo>;
736
1399
  protected processCreateDesign(response: HttpResponseBase): Observable<DesignInfo>;
737
1400
  /**
738
- * Returns content of the background.
1401
+ * Returns image content of the background.
739
1402
  * @param id Design identifier.
740
1403
  * @param surfaceIndex (optional) Surface index.
741
1404
  * @param privateStorageOwner (optional) Private storage owner identifier.
@@ -745,39 +1408,15 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
745
1408
  extractBackground(id: string, surfaceIndex?: number | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
746
1409
  protected processExtractBackground(response: HttpResponseBase): Observable<FileResponse>;
747
1410
  /**
748
- * Loads product (design model) from design file taken from storage.
749
- * @param id Design identifier.
750
- * @param privateStorageOwner (optional) Private storage owner identifier.
751
- * @param tenantId (optional) Tenant identifier
752
- * @return Success
753
- */
754
- loadProduct(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
755
- protected processLoadProduct(response: HttpResponseBase): Observable<any>;
756
- /**
757
- * Saves product (design model) to design file and updates design in storage.
758
- * @param id Design identifier.
759
- * @param privateStorageOwner (optional) Private storage owner identifier.
760
- * @param tenantId (optional) Tenant identifier
761
- * @param body (optional) Serialized product description.
762
- * @return Success
763
- */
764
- saveProduct(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<void>;
765
- protected processSaveProduct(response: HttpResponseBase): Observable<void>;
766
- /**
767
- * Patches product (design model) in design file.
1411
+ * Sets specified editor-mockups for selected design surfaces.
768
1412
  * @param id Design identifier.
769
1413
  * @param privateStorageOwner (optional) Private storage owner identifier.
770
1414
  * @param tenantId (optional) Tenant identifier
771
- * @param patchType (optional)
772
- * @param replaceImageItemFileInfo_itemName (optional)
773
- * @param replaceImageItemFileInfo_sourceFile (optional)
774
- * @param replacePlaceholderItemContentInfo_placeholderItemName (optional)
775
- * @param replacePlaceholderItemContentInfo_newContentType (optional)
776
- * @param replacePlaceholderItemContentInfo_sourceFile (optional)
777
- * @return Success
1415
+ * @param body (optional) Operation parameters.
1416
+ * @return No Content
778
1417
  */
779
- patchProduct(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, patchType?: ProductPatchType | undefined, replaceImageItemFileInfo_itemName?: string | null | undefined, replaceImageItemFileInfo_sourceFile?: FileParameter | null | undefined, replacePlaceholderItemContentInfo_placeholderItemName?: string | null | undefined, replacePlaceholderItemContentInfo_newContentType?: PlaceholderItemContentType | undefined, replacePlaceholderItemContentInfo_sourceFile?: FileParameter | null | undefined): Observable<void>;
780
- protected processPatchProduct(response: HttpResponseBase): Observable<void>;
1418
+ setEditorMockups(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: SetEditorMockupsModel | undefined): Observable<void>;
1419
+ protected processSetEditorMockups(response: HttpResponseBase): Observable<void>;
781
1420
  /**
782
1421
  * Returns design parameters stored in product model.
783
1422
  * @param id Design identifier.
@@ -788,7 +1427,7 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
788
1427
  getDesignParameters(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignParameters>;
789
1428
  protected processGetDesignParameters(response: HttpResponseBase): Observable<DesignParameters>;
790
1429
  /**
791
- * Loads data schema from design file taken from storage.
1430
+ * Loads a data schema from design file taken from storage.
792
1431
  * @param id Design identifier.
793
1432
  * @param privateStorageOwner (optional) Private storage owner identifier.
794
1433
  * @param tenantId (optional) Tenant identifier
@@ -806,7 +1445,7 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
806
1445
  loadToggleSet(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
807
1446
  protected processLoadToggleSet(response: HttpResponseBase): Observable<FileResponse>;
808
1447
  /**
809
- * Gets variable items information for design file taken from storage.
1448
+ * Returns variable items information for design file taken from storage.
810
1449
  * @param id Design identifier.
811
1450
  * @param privateStorageOwner (optional) Private storage owner identifier.
812
1451
  * @param tenantId (optional) Tenant identifier
@@ -815,7 +1454,7 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
815
1454
  getVariables(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<VariablesModel>;
816
1455
  protected processGetVariables(response: HttpResponseBase): Observable<VariablesModel>;
817
1456
  /**
818
- * Sets variable items values for design file taken from storage.
1457
+ * Saves variable items values for design file taken from storage.
819
1458
  * @param id Design identifier.
820
1459
  * @param privateStorageOwner (optional) Private storage owner identifier.
821
1460
  * @param tenantId (optional) Tenant identifier
@@ -844,7 +1483,7 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
844
1483
  saveVdpData(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: VdpDataModel | undefined): Observable<void>;
845
1484
  protected processSaveVdpData(response: HttpResponseBase): Observable<void>;
846
1485
  /**
847
- * Deletes variable data printing information from design file and updates design in storage.
1486
+ * Deletes variable data printing information from design file and updates design file in storage.
848
1487
  * @param id Design identifier.
849
1488
  * @param privateStorageOwner (optional) Private storage owner identifier.
850
1489
  * @param tenantId (optional) Tenant identifier
@@ -853,16 +1492,7 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
853
1492
  deleteVdpData(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
854
1493
  protected processDeleteVdpData(response: HttpResponseBase): Observable<void>;
855
1494
  /**
856
- * Loads product (design model) from resource file taken from storage.
857
- * @param id Resource identifier.
858
- * @param privateStorageOwner (optional) Private storage owner identifier.
859
- * @param tenantId (optional) Tenant identifier
860
- * @return Success
861
- */
862
- loadProductFromResource(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
863
- protected processLoadProductFromResource(response: HttpResponseBase): Observable<any>;
864
- /**
865
- * Converts colors.
1495
+ * Converts colors for print-product item manipulations.
866
1496
  * @param tenantId (optional) Tenant identifier
867
1497
  * @param body (optional) Convert colors operation parameters.
868
1498
  * @return Success
@@ -870,35 +1500,16 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
870
1500
  convertColors(tenantId?: number | undefined, body?: ConvertColorsModel | undefined): Observable<any>;
871
1501
  protected processConvertColors(response: HttpResponseBase): Observable<any>;
872
1502
  /**
873
- * Creates product item.
874
- * @param itemType (optional) Desired item type.
875
- * @param tenantId (optional) Tenant identifier
876
- * @param sourceType (optional)
877
- * @param sourceId (optional)
878
- * @param sourceOwnerId (optional)
879
- * @param sourceFile (optional)
880
- * @return Success
881
- */
882
- createItem(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceType?: ItemSourceType | null | undefined, sourceId?: string | null | undefined, sourceOwnerId?: string | null | undefined, sourceFile?: FileParameter | null | undefined): Observable<any>;
883
- protected processCreateItem(response: HttpResponseBase): Observable<any>;
884
- /**
885
- * Extracts product item image.
886
- * @param tenantId (optional) Tenant identifier
887
- * @param body (optional) Extraction parameters.
888
- * @return Success
889
- */
890
- extractItemImage(tenantId?: number | undefined, body?: ExtractItemImageModel | undefined): Observable<FileResponse>;
891
- protected processExtractItemImage(response: HttpResponseBase): Observable<FileResponse>;
892
- /**
893
- * Flatten items.
1503
+ * Loads print-product from resource file taken from storage.
1504
+ * @param id (optional) Resource identifier.
1505
+ * @param privateStorageOwner (optional) Private storage owner identifier.
894
1506
  * @param tenantId (optional) Tenant identifier
895
- * @param body (optional) Items to flatten.
896
1507
  * @return Success
897
1508
  */
898
- flattenItems(tenantId?: number | undefined, body?: any[] | undefined): Observable<any>;
899
- protected processFlattenItems(response: HttpResponseBase): Observable<any>;
1509
+ loadProductFromResource(id?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
1510
+ protected processLoadProductFromResource(response: HttpResponseBase): Observable<any>;
900
1511
  /**
901
- * Render product proof image with specified parameters.
1512
+ * Renders a product proof image with specified parameters.
902
1513
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
903
1514
  (default value is 'false').
904
1515
  * @param tenantId (optional) Tenant identifier
@@ -943,6 +1554,75 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
943
1554
  */
944
1555
  renderDesignProofToResource(tenantId?: number | undefined, body?: RenderDesignProofToResourceModel | undefined): Observable<ResourceInfoDto>;
945
1556
  protected processRenderDesignProofToResource(response: HttpResponseBase): Observable<ResourceInfoDto>;
1557
+ /**
1558
+ * Loads print-product from design file taken from storage.
1559
+ * @param id Design identifier.
1560
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1561
+ * @param tenantId (optional) Tenant identifier
1562
+ * @return Success
1563
+ * @deprecated
1564
+ */
1565
+ loadProduct(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
1566
+ protected processLoadProduct(response: HttpResponseBase): Observable<any>;
1567
+ /**
1568
+ * Saves print-product to design file and updates design file in storage.
1569
+ * @param id Design identifier.
1570
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1571
+ * @param tenantId (optional) Tenant identifier
1572
+ * @param body (optional) Serialized product description.
1573
+ * @return Success
1574
+ * @deprecated
1575
+ */
1576
+ saveProduct(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<void>;
1577
+ protected processSaveProduct(response: HttpResponseBase): Observable<void>;
1578
+ /**
1579
+ * Patches print-product in design file.
1580
+ * @param id Design identifier.
1581
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1582
+ * @param tenantId (optional) Tenant identifier
1583
+ * @param patchType (optional)
1584
+ * @param replaceImageItemFileInfo_itemName (optional)
1585
+ * @param replaceImageItemFileInfo_sourceFile (optional)
1586
+ * @param replacePlaceholderItemContentInfo_placeholderItemName (optional)
1587
+ * @param replacePlaceholderItemContentInfo_newContentType (optional)
1588
+ * @param replacePlaceholderItemContentInfo_sourceFile (optional)
1589
+ * @return Success
1590
+ * @deprecated
1591
+ */
1592
+ patchProduct(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, patchType?: ProductPatchType | undefined, replaceImageItemFileInfo_itemName?: string | null | undefined, replaceImageItemFileInfo_sourceFile?: FileParameter | null | undefined, replacePlaceholderItemContentInfo_placeholderItemName?: string | null | undefined, replacePlaceholderItemContentInfo_newContentType?: PlaceholderItemContentType | undefined, replacePlaceholderItemContentInfo_sourceFile?: FileParameter | null | undefined): Observable<void>;
1593
+ protected processPatchProduct(response: HttpResponseBase): Observable<void>;
1594
+ /**
1595
+ * Creates print-product item.
1596
+ * @param itemType (optional) Desired item type.
1597
+ * @param tenantId (optional) Tenant identifier
1598
+ * @param sourceType (optional)
1599
+ * @param sourceId (optional)
1600
+ * @param sourceOwnerId (optional)
1601
+ * @param url (optional)
1602
+ * @param sourceFile (optional)
1603
+ * @return Success
1604
+ * @deprecated
1605
+ */
1606
+ createItem(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceType?: ItemSourceType | null | undefined, sourceId?: string | null | undefined, sourceOwnerId?: string | null | undefined, url?: string | null | undefined, sourceFile?: FileParameter | null | undefined): Observable<any>;
1607
+ protected processCreateItem(response: HttpResponseBase): Observable<any>;
1608
+ /**
1609
+ * Extracts print-product item image.
1610
+ * @param tenantId (optional) Tenant identifier
1611
+ * @param body (optional) Extraction parameters.
1612
+ * @return Success
1613
+ * @deprecated
1614
+ */
1615
+ extractItemImage(tenantId?: number | undefined, body?: ExtractItemImageModel | undefined): Observable<FileResponse>;
1616
+ protected processExtractItemImage(response: HttpResponseBase): Observable<FileResponse>;
1617
+ /**
1618
+ * Flattens print-product items.
1619
+ * @param tenantId (optional) Tenant identifier
1620
+ * @param body (optional) Items to flatten.
1621
+ * @return Success
1622
+ * @deprecated
1623
+ */
1624
+ flattenItems(tenantId?: number | undefined, body?: any[] | undefined): Observable<any>;
1625
+ protected processFlattenItems(response: HttpResponseBase): Observable<any>;
946
1626
  /**
947
1627
  * Creates a private design from a public design.
948
1628
  * @param designId (optional) Public design identifier.
@@ -1374,6 +2054,18 @@ export declare class DesignAtomsViewerApiClient extends ApiClientBase implements
1374
2054
  updateShapeItemHandler(tenantId?: number | undefined, body?: UpdateHandlerRequest | undefined): Observable<any>;
1375
2055
  protected processUpdateShapeItemHandler(response: HttpResponseBase): Observable<any>;
1376
2056
  }
2057
+ /** Batch create items from storage source operation parameters. */
2058
+ export interface BatchCreateItemsFromStorageModel {
2059
+ /** Source image assets owner identifier. If value is set, all images should belong to a specified user. */
2060
+ sourceOwnerId?: string | null;
2061
+ /** Source image asset identifiers. */
2062
+ sourceIds?: string[] | null;
2063
+ }
2064
+ /** Batch create items from web source operation parameters. */
2065
+ export interface BatchCreateItemsFromUrlModel {
2066
+ /** Source URLs. */
2067
+ urls?: string[] | null;
2068
+ }
1377
2069
  /** Information about a service. */
1378
2070
  export interface BuildInfoModel {
1379
2071
  /** Version number. */
@@ -1411,6 +2103,18 @@ export interface CreateDesignModel {
1411
2103
  /** Design location (folder path). */
1412
2104
  path?: string | null;
1413
2105
  }
2106
+ /** Create item from storage source operation parameters. */
2107
+ export interface CreateItemFromStorageModel {
2108
+ /** Source image asset owner identifier. If value is set, all images should belong to a specified user. */
2109
+ sourceOwnerId?: string | null;
2110
+ /** Source image asset identifier. */
2111
+ sourceId?: string | null;
2112
+ }
2113
+ /** Create item from web source operation parameters. */
2114
+ export interface CreateItemFromUrlModel {
2115
+ /** Source URL. */
2116
+ url?: string | null;
2117
+ }
1414
2118
  export declare enum DesignElementType {
1415
2119
  Product = "Product",
1416
2120
  Design = "Design",
@@ -1432,6 +2136,50 @@ export interface DesignParameters {
1432
2136
  /** Version of DesignAtoms library that used to save design file. */
1433
2137
  designAtomsVersion?: string | null;
1434
2138
  }
2139
+ /** Design print area parameters. */
2140
+ export interface DesignPrintAreaDto {
2141
+ /** Print area identifier. */
2142
+ id?: string | null;
2143
+ /** Print area name. */
2144
+ name?: string | null;
2145
+ /** Parent surface identifier. */
2146
+ surfaceId?: string | null;
2147
+ /** Print area size. */
2148
+ size?: SizeDto | null;
2149
+ /** Print area position. */
2150
+ position?: PositionDto | null;
2151
+ }
2152
+ /** Design surface parameters. */
2153
+ export interface DesignSurfaceDto {
2154
+ /** Surface identifier. */
2155
+ id?: string | null;
2156
+ /** Surface name. */
2157
+ name?: string | null;
2158
+ /** Surface index (0-based). */
2159
+ index?: number;
2160
+ /** Surface size. */
2161
+ size?: SizeDto | null;
2162
+ }
2163
+ /** Surface mockup parameters. */
2164
+ export interface DesignSurfaceMockupDto {
2165
+ /** Mockup element position. */
2166
+ position?: PositionDto | null;
2167
+ /** Mockup element size. */
2168
+ size?: SizeDto | null;
2169
+ /** Parent surface identifier. */
2170
+ surfaceId?: string | null;
2171
+ /** Mockup image resolution (DPI). */
2172
+ resolution?: number;
2173
+ }
2174
+ /** Parameters of setting design surface mockup operation. */
2175
+ export interface EditorMockupBindingModel {
2176
+ /** Mockup identifier. */
2177
+ mockupId?: string | null;
2178
+ /** Private mockup owner identifier. Set `null` if public mockup is supposed to be used. */
2179
+ mockupOwnerId?: string | null;
2180
+ /** Target surface index. */
2181
+ surfaceIndex?: number;
2182
+ }
1435
2183
  /** Item extraction operation parameters. */
1436
2184
  export interface ExtractItemImageModel {
1437
2185
  /** Serialized item description. */
@@ -1484,7 +2232,8 @@ export interface ImagePreviewRenderingConfig {
1484
2232
  export declare enum ItemSourceType {
1485
2233
  File = "File",
1486
2234
  ImageStorage = "ImageStorage",
1487
- PrivateImageStorage = "PrivateImageStorage"
2235
+ PrivateImageStorage = "PrivateImageStorage",
2236
+ Url = "Url"
1488
2237
  }
1489
2238
  export declare enum ItemType {
1490
2239
  Image = "Image",
@@ -1537,6 +2286,13 @@ export interface PointF {
1537
2286
  x?: number;
1538
2287
  y?: number;
1539
2288
  }
2289
+ /** Position of item top left point on design surface. */
2290
+ export interface PositionDto {
2291
+ /** Y axis position. */
2292
+ top?: number;
2293
+ /** X axis position. */
2294
+ left?: number;
2295
+ }
1540
2296
  export interface PreviewColorSettings {
1541
2297
  rgbColorProfileName?: string | null;
1542
2298
  cmykColorProfileName?: string | null;
@@ -1638,6 +2394,8 @@ Used to get mockup file from public storage. */
1638
2394
  export interface RenderDesignPreviewToResourceModel {
1639
2395
  /** Parameters of resource that should be created for a preview rendering result. */
1640
2396
  previewResourceParams?: ResourceParams | null;
2397
+ /** Flag that indicates if an existing resource should be overwritten. */
2398
+ overwriteExistingResource?: boolean;
1641
2399
  /** Design identifier.
1642
2400
  Used to get design file from public or private storage. */
1643
2401
  designId?: string | null;
@@ -1667,6 +2425,8 @@ Used to get design file from public or private storage. */
1667
2425
  export interface RenderDesignProofToResourceModel {
1668
2426
  /** Parameters of resource that should be created for a preview rendering result. */
1669
2427
  proofResourceParams?: ResourceParams | null;
2428
+ /** Flag that indicates if an existing resource should be overwritten. */
2429
+ overwriteExistingResource?: boolean;
1670
2430
  /** Design identifier.
1671
2431
  Used to get design file from public or private storage. */
1672
2432
  designId?: string | null;
@@ -1677,6 +2437,32 @@ Used to get design file from public or private storage. */
1677
2437
  /** Variable (user) data for design variable fields in the proof image. */
1678
2438
  variableData?: VariableInfo[] | null;
1679
2439
  }
2440
+ /** Web image preview rendering parameters. */
2441
+ export interface RenderImagePreviewFromUrlModel {
2442
+ /** Web image URL. */
2443
+ imageUrl?: string | null;
2444
+ /** Mockup owner identifier. */
2445
+ mockupOwnerId?: string | null;
2446
+ /** Mockup identifier. */
2447
+ mockupId?: string | null;
2448
+ /** Image preview configuration. */
2449
+ renderingConfig?: ImagePreviewRenderingConfig | null;
2450
+ }
2451
+ /** Image preview rendering parameters. Result will be saved as resource with parameters set as Aurigma.DesignAtomsApi.WebApi.Models.Image.RenderImagePreviewFromUrlToResourceModel.PreviewResourceParams. */
2452
+ export interface RenderImagePreviewFromUrlToResourceModel {
2453
+ /** Parameters of resource that should be created for a preview rendering result. */
2454
+ previewResourceParams?: ResourceParams | null;
2455
+ /** Flag that indicates if an existing resource should be overwritten. */
2456
+ overwriteExistingResource?: boolean;
2457
+ /** Web image URL. */
2458
+ imageUrl?: string | null;
2459
+ /** Mockup owner identifier. */
2460
+ mockupOwnerId?: string | null;
2461
+ /** Mockup identifier. */
2462
+ mockupId?: string | null;
2463
+ /** Image preview configuration. */
2464
+ renderingConfig?: ImagePreviewRenderingConfig | null;
2465
+ }
1680
2466
  /** Image preview rendering parameters. */
1681
2467
  export interface RenderImagePreviewModel {
1682
2468
  /** External image URL. */
@@ -1696,6 +2482,8 @@ export interface RenderImagePreviewModel {
1696
2482
  export interface RenderImagePreviewToResourceModel {
1697
2483
  /** Parameters of resource that should be created for a preview rendering result. */
1698
2484
  previewResourceParams?: ResourceParams | null;
2485
+ /** Flag that indicates if an existing resource should be overwritten. */
2486
+ overwriteExistingResource?: boolean;
1699
2487
  /** External image URL. */
1700
2488
  imageUrl?: string | null;
1701
2489
  /** Storage image identifier. */
@@ -1732,11 +2520,25 @@ export interface ResourceParams {
1732
2520
  type?: string | null;
1733
2521
  anonymousAccess?: boolean;
1734
2522
  }
2523
+ /** Parameters of 'setting editor mockup for design surfaces' operation. */
2524
+ export interface SetEditorMockupsModel {
2525
+ /** List of editor mockup binding instructions. */
2526
+ editorMockupBindings?: EditorMockupBindingModel[] | null;
2527
+ }
2528
+ /** Design item size. */
2529
+ export interface SizeDto {
2530
+ /** Design item width. */
2531
+ width?: number;
2532
+ /** Design item height. */
2533
+ height?: number;
2534
+ }
1735
2535
  export interface UnprocessableDesignElementDto {
1736
2536
  /** Problem description. */
1737
2537
  description?: string | null;
1738
2538
  /** Missing element type. */
1739
- readonly missingElementType?: DesignElementType;
2539
+ readonly missingElementType?: DesignElementType | null;
2540
+ /** Missing element type. */
2541
+ readonly unprocessedElementType?: DesignElementType | null;
1740
2542
  }
1741
2543
  export interface UpdateColorsRequest {
1742
2544
  canvasData?: string | null;