@aurigma/ng-design-atoms-api-client 2.64.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.
@@ -609,43 +609,202 @@ export declare class DesignAtomsMockups3dApiClient extends ApiClientBase impleme
609
609
  getGeometryFile(id: string, ownerId?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
610
610
  protected processGetGeometryFile(response: HttpResponseBase): Observable<FileResponse>;
611
611
  }
612
- export interface IDesignAtomsServiceApiClient {
612
+ export interface IDesignAtomsPrintProductApiClient {
613
613
  /**
614
- * Creates new design file with specified parameters and saves it in storage.
614
+ * Patches a print-product of the specified design file.
615
+ * @param id Design identifier.
615
616
  * @param privateStorageOwner (optional) Private storage owner identifier.
616
617
  * @param tenantId (optional) Tenant identifier
617
- * @param body (optional) Design creation parameters.
618
- * @return Created
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
619
625
  */
620
- createDesign(privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: CreateDesignModel | undefined): Observable<DesignInfo>;
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>;
621
627
  /**
622
- * Returns content of the background.
628
+ * Returns a print-product of the specified design file as a json-serialized model.
623
629
  * @param id Design identifier.
624
- * @param surfaceIndex (optional) Surface index.
625
630
  * @param privateStorageOwner (optional) Private storage owner identifier.
626
631
  * @param tenantId (optional) Tenant identifier
627
632
  * @return Success
628
633
  */
629
- extractBackground(id: string, surfaceIndex?: number | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
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>;
630
644
  /**
631
- * Loads product (design model) from design file taken from storage.
645
+ * Returns a list of print-area descriptions of the specified design file.
632
646
  * @param id Design identifier.
647
+ * @param surfaceId (optional)
633
648
  * @param privateStorageOwner (optional) Private storage owner identifier.
634
649
  * @param tenantId (optional) Tenant identifier
635
650
  * @return Success
636
651
  */
637
- loadProduct(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
652
+ getDesignPrintAreas(id: string, surfaceId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignPrintAreaDto[]>;
638
653
  /**
639
- * Saves product (design model) to design file and updates design in storage.
654
+ * Deletes a specified print-area in an existing design file.
640
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.
641
666
  * @param privateStorageOwner (optional) Private storage owner identifier.
642
667
  * @param tenantId (optional) Tenant identifier
643
- * @param body (optional) Serialized product description.
644
668
  * @return Success
645
669
  */
646
- saveProduct(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<void>;
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>;
647
760
  /**
648
- * Patches product (design model) in design file.
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.
649
808
  * @param id Design identifier.
650
809
  * @param privateStorageOwner (optional) Private storage owner identifier.
651
810
  * @param tenantId (optional) Tenant identifier
@@ -655,154 +814,452 @@ export interface IDesignAtomsServiceApiClient {
655
814
  * @param replacePlaceholderItemContentInfo_placeholderItemName (optional)
656
815
  * @param replacePlaceholderItemContentInfo_newContentType (optional)
657
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
658
826
  * @return Success
659
827
  */
660
- 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>;
828
+ getDesignProductModel(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
829
+ protected processGetDesignProductModel(response: HttpResponseBase): Observable<any>;
661
830
  /**
662
- * Returns design parameters stored in product model.
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.
663
842
  * @param id Design identifier.
843
+ * @param surfaceId (optional)
664
844
  * @param privateStorageOwner (optional) Private storage owner identifier.
665
845
  * @param tenantId (optional) Tenant identifier
666
846
  * @return Success
667
847
  */
668
- getDesignParameters(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignParameters>;
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>;
669
860
  /**
670
- * Loads data schema from design file taken from storage.
861
+ * Returns a print-area of the specified design file as a json-serialized model.
671
862
  * @param id Design identifier.
863
+ * @param printAreaId Design print-area identifier.
672
864
  * @param privateStorageOwner (optional) Private storage owner identifier.
673
865
  * @param tenantId (optional) Tenant identifier
674
866
  * @return Success
675
867
  */
676
- loadDataSchema(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
868
+ getDesignPrintAreaModel(id: string, printAreaId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
869
+ protected processGetDesignPrintAreaModel(response: HttpResponseBase): Observable<any>;
677
870
  /**
678
- * Loads a toggle set from design file taken from storage.
871
+ * Updates a specified print-area in an existing design file with the data provided as a json-serialized print-area model.
679
872
  * @param id Design identifier.
873
+ * @param printAreaId Design print-area identifier.
680
874
  * @param privateStorageOwner (optional) Private storage owner identifier.
681
875
  * @param tenantId (optional) Tenant identifier
876
+ * @param body (optional) Updated print-area model.
682
877
  * @return Success
683
878
  */
684
- loadToggleSet(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
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>;
685
881
  /**
686
- * Gets variable items information for design file taken from storage.
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.
687
884
  * @param id Design identifier.
885
+ * @param surfaceId (optional) Parent surface identifier.
688
886
  * @param privateStorageOwner (optional) Private storage owner identifier.
689
887
  * @param tenantId (optional) Tenant identifier
888
+ * @param body (optional) New print-area model.
690
889
  * @return Success
691
890
  */
692
- getVariables(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<VariablesModel>;
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>;
693
893
  /**
694
- * Sets variable items values for design file taken from storage.
894
+ * Returns a list of print-product surfaces descriptions of the specified design file.
695
895
  * @param id Design identifier.
696
896
  * @param privateStorageOwner (optional) Private storage owner identifier.
697
897
  * @param tenantId (optional) Tenant identifier
698
- * @param body (optional) Design variable values.
699
898
  * @return Success
700
899
  */
701
- setVariables(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: VariablesModel | undefined): Observable<void>;
900
+ getDesignSurfaces(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignSurfaceDto[]>;
901
+ protected processGetDesignSurfaces(response: HttpResponseBase): Observable<DesignSurfaceDto[]>;
702
902
  /**
703
- * Loads variable data printing information from design file taken from storage.
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.
704
914
  * @param id Design identifier.
915
+ * @param surfaceId Design surface identifier.
705
916
  * @param privateStorageOwner (optional) Private storage owner identifier.
706
917
  * @param tenantId (optional) Tenant identifier
707
918
  * @return Success
708
919
  */
709
- loadVdpData(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<VdpDataModel>;
920
+ getDesignSurfaceDownMockup(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignSurfaceMockupDto>;
921
+ protected processGetDesignSurfaceDownMockup(response: HttpResponseBase): Observable<DesignSurfaceMockupDto>;
710
922
  /**
711
- * Saves variable data printing information to design file and updates design in storage.
923
+ * Updates a content file of down-mockup for the specified surface in an existing design file.
712
924
  * @param id Design identifier.
925
+ * @param surfaceId Design surface identifier.
713
926
  * @param privateStorageOwner (optional) Private storage owner identifier.
714
927
  * @param tenantId (optional) Tenant identifier
715
- * @param body (optional) Serialized vdp data.
928
+ * @param position_top (optional)
929
+ * @param position_left (optional)
930
+ * @param sourceFile (optional)
716
931
  * @return Success
717
932
  */
718
- saveVdpData(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: VdpDataModel | undefined): Observable<void>;
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>;
719
935
  /**
720
- * Deletes variable data printing information from design file and updates design in storage.
936
+ * Returns a content file for down-mockup of the specified surface in an existing design file.
721
937
  * @param id Design identifier.
938
+ * @param surfaceId Design surface identifier.
722
939
  * @param privateStorageOwner (optional) Private storage owner identifier.
723
940
  * @param tenantId (optional) Tenant identifier
724
941
  * @return Success
725
942
  */
726
- deleteVdpData(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
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>;
727
968
  /**
728
- * Loads product (design model) from resource file taken from storage.
729
- * @param id Resource identifier.
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
+ }
1153
+ export interface IDesignAtomsServiceApiClient {
1154
+ /**
1155
+ * Creates new design file with specified parameters and saves it in storage.
1156
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1157
+ * @param tenantId (optional) Tenant identifier
1158
+ * @param body (optional) Design creation parameters.
1159
+ * @return Created
1160
+ */
1161
+ createDesign(privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: CreateDesignModel | undefined): Observable<DesignInfo>;
1162
+ /**
1163
+ * Returns image content of the background.
1164
+ * @param id Design identifier.
1165
+ * @param surfaceIndex (optional) Surface index.
1166
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1167
+ * @param tenantId (optional) Tenant identifier
1168
+ * @return Success
1169
+ */
1170
+ extractBackground(id: string, surfaceIndex?: number | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
1171
+ /**
1172
+ * Sets specified editor-mockups for selected design surfaces.
1173
+ * @param id Design identifier.
1174
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1175
+ * @param tenantId (optional) Tenant identifier
1176
+ * @param body (optional) Operation parameters.
1177
+ * @return No Content
1178
+ */
1179
+ setEditorMockups(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: SetEditorMockupsModel | undefined): Observable<void>;
1180
+ /**
1181
+ * Returns design parameters stored in product model.
1182
+ * @param id Design identifier.
730
1183
  * @param privateStorageOwner (optional) Private storage owner identifier.
731
1184
  * @param tenantId (optional) Tenant identifier
732
1185
  * @return Success
733
1186
  */
734
- loadProductFromResource(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
1187
+ getDesignParameters(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignParameters>;
735
1188
  /**
736
- * Converts colors.
1189
+ * Loads a data schema from design file taken from storage.
1190
+ * @param id Design identifier.
1191
+ * @param privateStorageOwner (optional) Private storage owner identifier.
737
1192
  * @param tenantId (optional) Tenant identifier
738
- * @param body (optional) Convert colors operation parameters.
739
1193
  * @return Success
740
1194
  */
741
- convertColors(tenantId?: number | undefined, body?: ConvertColorsModel | undefined): Observable<any>;
1195
+ loadDataSchema(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
742
1196
  /**
743
- * Extracts product item image.
1197
+ * Loads a toggle set from design file taken from storage.
1198
+ * @param id Design identifier.
1199
+ * @param privateStorageOwner (optional) Private storage owner identifier.
744
1200
  * @param tenantId (optional) Tenant identifier
745
- * @param body (optional) Extraction parameters.
746
1201
  * @return Success
747
1202
  */
748
- extractItemImage(tenantId?: number | undefined, body?: ExtractItemImageModel | undefined): Observable<FileResponse>;
1203
+ loadToggleSet(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
749
1204
  /**
750
- * Flatten items.
1205
+ * Returns variable items information for design file taken from storage.
1206
+ * @param id Design identifier.
1207
+ * @param privateStorageOwner (optional) Private storage owner identifier.
751
1208
  * @param tenantId (optional) Tenant identifier
752
- * @param body (optional) Items to flatten.
753
1209
  * @return Success
754
1210
  */
755
- flattenItems(tenantId?: number | undefined, body?: any[] | undefined): Observable<any>;
1211
+ getVariables(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<VariablesModel>;
756
1212
  /**
757
- * Creates product item from input image file.
758
- * @param itemType (optional) Desired item type.
1213
+ * Saves variable items values for design file taken from storage.
1214
+ * @param id Design identifier.
1215
+ * @param privateStorageOwner (optional) Private storage owner identifier.
759
1216
  * @param tenantId (optional) Tenant identifier
760
- * @param sourceFile (optional)
1217
+ * @param body (optional) Design variable values.
761
1218
  * @return Success
762
1219
  */
763
- createItemFromFile(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceFile?: FileParameter | null | undefined): Observable<any>;
1220
+ setVariables(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: VariablesModel | undefined): Observable<void>;
764
1221
  /**
765
- * Creates multiple product items from input image files.
766
- * @param itemType (optional) Desired items type.
1222
+ * Loads variable data printing information from design file taken from storage.
1223
+ * @param id Design identifier.
1224
+ * @param privateStorageOwner (optional) Private storage owner identifier.
767
1225
  * @param tenantId (optional) Tenant identifier
768
- * @param sourceFiles (optional)
769
1226
  * @return Success
770
1227
  */
771
- batchCreateItemsFromFile(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceFiles?: FileParameter[] | null | undefined): Observable<any>;
1228
+ loadVdpData(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<VdpDataModel>;
772
1229
  /**
773
- * Creates product item from image in storage.
774
- * @param itemType (optional) Desired item type.
1230
+ * Saves variable data printing information to design file and updates design in storage.
1231
+ * @param id Design identifier.
1232
+ * @param privateStorageOwner (optional) Private storage owner identifier.
775
1233
  * @param tenantId (optional) Tenant identifier
776
- * @param body (optional) Operation parameters.
1234
+ * @param body (optional) Serialized vdp data.
777
1235
  * @return Success
778
1236
  */
779
- createItemFromStorage(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: CreateItemFromStorageModel | undefined): Observable<any>;
1237
+ saveVdpData(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: VdpDataModel | undefined): Observable<void>;
780
1238
  /**
781
- * Creates multiple product items from images in storage.
782
- * @param itemType (optional) Desired items type.
1239
+ * Deletes variable data printing information from design file and updates design file in storage.
1240
+ * @param id Design identifier.
1241
+ * @param privateStorageOwner (optional) Private storage owner identifier.
783
1242
  * @param tenantId (optional) Tenant identifier
784
- * @param body (optional) Create items operation parameters.
785
1243
  * @return Success
786
1244
  */
787
- batchCreateItemsFromStorage(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: BatchCreateItemsFromStorageModel | undefined): Observable<any>;
1245
+ deleteVdpData(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
788
1246
  /**
789
- * Creates product item from remote web image provided by URL.
790
- * @param itemType (optional) Desired item type.
1247
+ * Converts colors for print-product item manipulations.
791
1248
  * @param tenantId (optional) Tenant identifier
792
- * @param body (optional) Operation parameters.
1249
+ * @param body (optional) Convert colors operation parameters.
793
1250
  * @return Success
794
1251
  */
795
- createItemFromUrl(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: CreateItemFromUrlModel | undefined): Observable<any>;
1252
+ convertColors(tenantId?: number | undefined, body?: ConvertColorsModel | undefined): Observable<any>;
796
1253
  /**
797
- * Creates multiple product items from remote web images provided by URLs list.
798
- * @param itemType (optional) Desired items type.
1254
+ * Loads print-product from resource file taken from storage.
1255
+ * @param id (optional) Resource identifier.
1256
+ * @param privateStorageOwner (optional) Private storage owner identifier.
799
1257
  * @param tenantId (optional) Tenant identifier
800
- * @param body (optional) Operation parameters.
801
1258
  * @return Success
802
1259
  */
803
- batchCreateItemsFromUrl(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: BatchCreateItemsFromUrlModel | undefined): Observable<any>;
1260
+ loadProductFromResource(id?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
804
1261
  /**
805
- * Render product proof image with specified parameters.
1262
+ * Renders a product proof image with specified parameters.
806
1263
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
807
1264
  (default value is 'false').
808
1265
  * @param tenantId (optional) Tenant identifier
@@ -843,7 +1300,41 @@ export interface IDesignAtomsServiceApiClient {
843
1300
  */
844
1301
  renderDesignProofToResource(tenantId?: number | undefined, body?: RenderDesignProofToResourceModel | undefined): Observable<ResourceInfoDto>;
845
1302
  /**
846
- * Creates product item.
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.
847
1338
  * @param itemType (optional) Desired item type.
848
1339
  * @param tenantId (optional) Tenant identifier
849
1340
  * @param sourceType (optional)
@@ -855,6 +1346,22 @@ export interface IDesignAtomsServiceApiClient {
855
1346
  * @deprecated
856
1347
  */
857
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>;
858
1365
  /**
859
1366
  * Creates a private design from a public design.
860
1367
  * @param designId (optional) Public design identifier.
@@ -891,7 +1398,7 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
891
1398
  createDesign(privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: CreateDesignModel | undefined): Observable<DesignInfo>;
892
1399
  protected processCreateDesign(response: HttpResponseBase): Observable<DesignInfo>;
893
1400
  /**
894
- * Returns content of the background.
1401
+ * Returns image content of the background.
895
1402
  * @param id Design identifier.
896
1403
  * @param surfaceIndex (optional) Surface index.
897
1404
  * @param privateStorageOwner (optional) Private storage owner identifier.
@@ -901,39 +1408,15 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
901
1408
  extractBackground(id: string, surfaceIndex?: number | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
902
1409
  protected processExtractBackground(response: HttpResponseBase): Observable<FileResponse>;
903
1410
  /**
904
- * Loads product (design model) from design file taken from storage.
905
- * @param id Design identifier.
906
- * @param privateStorageOwner (optional) Private storage owner identifier.
907
- * @param tenantId (optional) Tenant identifier
908
- * @return Success
909
- */
910
- loadProduct(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
911
- protected processLoadProduct(response: HttpResponseBase): Observable<any>;
912
- /**
913
- * Saves product (design model) to design file and updates design in storage.
914
- * @param id Design identifier.
915
- * @param privateStorageOwner (optional) Private storage owner identifier.
916
- * @param tenantId (optional) Tenant identifier
917
- * @param body (optional) Serialized product description.
918
- * @return Success
919
- */
920
- saveProduct(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<void>;
921
- protected processSaveProduct(response: HttpResponseBase): Observable<void>;
922
- /**
923
- * Patches product (design model) in design file.
1411
+ * Sets specified editor-mockups for selected design surfaces.
924
1412
  * @param id Design identifier.
925
1413
  * @param privateStorageOwner (optional) Private storage owner identifier.
926
1414
  * @param tenantId (optional) Tenant identifier
927
- * @param patchType (optional)
928
- * @param replaceImageItemFileInfo_itemName (optional)
929
- * @param replaceImageItemFileInfo_sourceFile (optional)
930
- * @param replacePlaceholderItemContentInfo_placeholderItemName (optional)
931
- * @param replacePlaceholderItemContentInfo_newContentType (optional)
932
- * @param replacePlaceholderItemContentInfo_sourceFile (optional)
933
- * @return Success
1415
+ * @param body (optional) Operation parameters.
1416
+ * @return No Content
934
1417
  */
935
- 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>;
936
- 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>;
937
1420
  /**
938
1421
  * Returns design parameters stored in product model.
939
1422
  * @param id Design identifier.
@@ -944,7 +1427,7 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
944
1427
  getDesignParameters(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignParameters>;
945
1428
  protected processGetDesignParameters(response: HttpResponseBase): Observable<DesignParameters>;
946
1429
  /**
947
- * Loads data schema from design file taken from storage.
1430
+ * Loads a data schema from design file taken from storage.
948
1431
  * @param id Design identifier.
949
1432
  * @param privateStorageOwner (optional) Private storage owner identifier.
950
1433
  * @param tenantId (optional) Tenant identifier
@@ -962,7 +1445,7 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
962
1445
  loadToggleSet(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
963
1446
  protected processLoadToggleSet(response: HttpResponseBase): Observable<FileResponse>;
964
1447
  /**
965
- * Gets variable items information for design file taken from storage.
1448
+ * Returns variable items information for design file taken from storage.
966
1449
  * @param id Design identifier.
967
1450
  * @param privateStorageOwner (optional) Private storage owner identifier.
968
1451
  * @param tenantId (optional) Tenant identifier
@@ -971,7 +1454,7 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
971
1454
  getVariables(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<VariablesModel>;
972
1455
  protected processGetVariables(response: HttpResponseBase): Observable<VariablesModel>;
973
1456
  /**
974
- * Sets variable items values for design file taken from storage.
1457
+ * Saves variable items values for design file taken from storage.
975
1458
  * @param id Design identifier.
976
1459
  * @param privateStorageOwner (optional) Private storage owner identifier.
977
1460
  * @param tenantId (optional) Tenant identifier
@@ -1000,7 +1483,7 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
1000
1483
  saveVdpData(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: VdpDataModel | undefined): Observable<void>;
1001
1484
  protected processSaveVdpData(response: HttpResponseBase): Observable<void>;
1002
1485
  /**
1003
- * 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.
1004
1487
  * @param id Design identifier.
1005
1488
  * @param privateStorageOwner (optional) Private storage owner identifier.
1006
1489
  * @param tenantId (optional) Tenant identifier
@@ -1009,16 +1492,7 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
1009
1492
  deleteVdpData(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
1010
1493
  protected processDeleteVdpData(response: HttpResponseBase): Observable<void>;
1011
1494
  /**
1012
- * Loads product (design model) from resource file taken from storage.
1013
- * @param id Resource identifier.
1014
- * @param privateStorageOwner (optional) Private storage owner identifier.
1015
- * @param tenantId (optional) Tenant identifier
1016
- * @return Success
1017
- */
1018
- loadProductFromResource(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
1019
- protected processLoadProductFromResource(response: HttpResponseBase): Observable<any>;
1020
- /**
1021
- * Converts colors.
1495
+ * Converts colors for print-product item manipulations.
1022
1496
  * @param tenantId (optional) Tenant identifier
1023
1497
  * @param body (optional) Convert colors operation parameters.
1024
1498
  * @return Success
@@ -1026,77 +1500,16 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
1026
1500
  convertColors(tenantId?: number | undefined, body?: ConvertColorsModel | undefined): Observable<any>;
1027
1501
  protected processConvertColors(response: HttpResponseBase): Observable<any>;
1028
1502
  /**
1029
- * Extracts product item image.
1030
- * @param tenantId (optional) Tenant identifier
1031
- * @param body (optional) Extraction parameters.
1032
- * @return Success
1033
- */
1034
- extractItemImage(tenantId?: number | undefined, body?: ExtractItemImageModel | undefined): Observable<FileResponse>;
1035
- protected processExtractItemImage(response: HttpResponseBase): Observable<FileResponse>;
1036
- /**
1037
- * Flatten items.
1038
- * @param tenantId (optional) Tenant identifier
1039
- * @param body (optional) Items to flatten.
1040
- * @return Success
1041
- */
1042
- flattenItems(tenantId?: number | undefined, body?: any[] | undefined): Observable<any>;
1043
- protected processFlattenItems(response: HttpResponseBase): Observable<any>;
1044
- /**
1045
- * Creates product item from input image file.
1046
- * @param itemType (optional) Desired item type.
1047
- * @param tenantId (optional) Tenant identifier
1048
- * @param sourceFile (optional)
1049
- * @return Success
1050
- */
1051
- createItemFromFile(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceFile?: FileParameter | null | undefined): Observable<any>;
1052
- protected processCreateItemFromFile(response: HttpResponseBase): Observable<any>;
1053
- /**
1054
- * Creates multiple product items from input image files.
1055
- * @param itemType (optional) Desired items type.
1056
- * @param tenantId (optional) Tenant identifier
1057
- * @param sourceFiles (optional)
1058
- * @return Success
1059
- */
1060
- batchCreateItemsFromFile(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceFiles?: FileParameter[] | null | undefined): Observable<any>;
1061
- protected processBatchCreateItemsFromFile(response: HttpResponseBase): Observable<any>;
1062
- /**
1063
- * Creates product item from image in storage.
1064
- * @param itemType (optional) Desired item type.
1065
- * @param tenantId (optional) Tenant identifier
1066
- * @param body (optional) Operation parameters.
1067
- * @return Success
1068
- */
1069
- createItemFromStorage(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: CreateItemFromStorageModel | undefined): Observable<any>;
1070
- protected processCreateItemFromStorage(response: HttpResponseBase): Observable<any>;
1071
- /**
1072
- * Creates multiple product items from images in storage.
1073
- * @param itemType (optional) Desired items type.
1074
- * @param tenantId (optional) Tenant identifier
1075
- * @param body (optional) Create items operation parameters.
1076
- * @return Success
1077
- */
1078
- batchCreateItemsFromStorage(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: BatchCreateItemsFromStorageModel | undefined): Observable<any>;
1079
- protected processBatchCreateItemsFromStorage(response: HttpResponseBase): Observable<any>;
1080
- /**
1081
- * Creates product item from remote web image provided by URL.
1082
- * @param itemType (optional) Desired item type.
1083
- * @param tenantId (optional) Tenant identifier
1084
- * @param body (optional) Operation parameters.
1085
- * @return Success
1086
- */
1087
- createItemFromUrl(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: CreateItemFromUrlModel | undefined): Observable<any>;
1088
- protected processCreateItemFromUrl(response: HttpResponseBase): Observable<any>;
1089
- /**
1090
- * Creates multiple product items from remote web images provided by URLs list.
1091
- * @param itemType (optional) Desired items type.
1503
+ * Loads print-product from resource file taken from storage.
1504
+ * @param id (optional) Resource identifier.
1505
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1092
1506
  * @param tenantId (optional) Tenant identifier
1093
- * @param body (optional) Operation parameters.
1094
1507
  * @return Success
1095
1508
  */
1096
- batchCreateItemsFromUrl(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: BatchCreateItemsFromUrlModel | undefined): Observable<any>;
1097
- protected processBatchCreateItemsFromUrl(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>;
1098
1511
  /**
1099
- * Render product proof image with specified parameters.
1512
+ * Renders a product proof image with specified parameters.
1100
1513
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
1101
1514
  (default value is 'false').
1102
1515
  * @param tenantId (optional) Tenant identifier
@@ -1142,7 +1555,44 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
1142
1555
  renderDesignProofToResource(tenantId?: number | undefined, body?: RenderDesignProofToResourceModel | undefined): Observable<ResourceInfoDto>;
1143
1556
  protected processRenderDesignProofToResource(response: HttpResponseBase): Observable<ResourceInfoDto>;
1144
1557
  /**
1145
- * Creates product item.
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.
1146
1596
  * @param itemType (optional) Desired item type.
1147
1597
  * @param tenantId (optional) Tenant identifier
1148
1598
  * @param sourceType (optional)
@@ -1155,6 +1605,24 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
1155
1605
  */
1156
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>;
1157
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>;
1158
1626
  /**
1159
1627
  * Creates a private design from a public design.
1160
1628
  * @param designId (optional) Public design identifier.
@@ -1668,6 +2136,50 @@ export interface DesignParameters {
1668
2136
  /** Version of DesignAtoms library that used to save design file. */
1669
2137
  designAtomsVersion?: string | null;
1670
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
+ }
1671
2183
  /** Item extraction operation parameters. */
1672
2184
  export interface ExtractItemImageModel {
1673
2185
  /** Serialized item description. */
@@ -1774,6 +2286,13 @@ export interface PointF {
1774
2286
  x?: number;
1775
2287
  y?: number;
1776
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
+ }
1777
2296
  export interface PreviewColorSettings {
1778
2297
  rgbColorProfileName?: string | null;
1779
2298
  cmykColorProfileName?: string | null;
@@ -2001,11 +2520,25 @@ export interface ResourceParams {
2001
2520
  type?: string | null;
2002
2521
  anonymousAccess?: boolean;
2003
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
+ }
2004
2535
  export interface UnprocessableDesignElementDto {
2005
2536
  /** Problem description. */
2006
2537
  description?: string | null;
2007
2538
  /** Missing element type. */
2008
- readonly missingElementType?: DesignElementType;
2539
+ readonly missingElementType?: DesignElementType | null;
2540
+ /** Missing element type. */
2541
+ readonly unprocessedElementType?: DesignElementType | null;
2009
2542
  }
2010
2543
  export interface UpdateColorsRequest {
2011
2544
  canvasData?: string | null;