@aurigma/ng-design-atoms-api-client 2.64.1 → 2.66.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.
@@ -446,7 +446,7 @@ export interface IDesignAtomsImagesApiClient {
446
446
  * @param fitMode (optional)
447
447
  * @return Success
448
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>;
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 | null | undefined, overwriteExistingResource?: boolean | null | 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
450
  /**
451
451
  * Renders a preview of a web image with the specified parameters.
452
452
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
@@ -521,7 +521,7 @@ export declare class DesignAtomsImagesApiClient extends ApiClientBase implements
521
521
  * @param fitMode (optional)
522
522
  * @return Success
523
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>;
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 | null | undefined, overwriteExistingResource?: boolean | null | 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
525
  protected processRenderImagePreviewFromFileToResource(response: HttpResponseBase): Observable<ResourceInfoDto>;
526
526
  /**
527
527
  * Renders a preview of a web image with the specified parameters.
@@ -609,43 +609,368 @@ 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 IDesignAtomsPalettesApiClient {
613
613
  /**
614
- * Creates new design file with specified parameters and saves it in storage.
614
+ * Returns a closest color to provided color in a specified palette.
615
+ * @param paletteUID (optional) Palette UID.
616
+ * @param tenantId (optional) Tenant identifier
617
+ * @param body (optional) Source color.
618
+ * @return Success
619
+ */
620
+ findPaletteColor(paletteUID?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<Palette>;
621
+ /**
622
+ * Returns a serialized palette model by its identifier or UID.
623
+ * @param id (optional) Palette identifier.
624
+ * @param uid (optional) Palette UID.
625
+ * @param tenantId (optional) Tenant identifier
626
+ * @return Success
627
+ */
628
+ getPaletteModel(id?: string | null | undefined, uid?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
629
+ }
630
+ export declare class DesignAtomsPalettesApiClient extends ApiClientBase implements IDesignAtomsPalettesApiClient {
631
+ private http;
632
+ private baseUrl;
633
+ protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
634
+ constructor(configuration: ApiClientConfiguration, http: HttpClient, baseUrl?: string);
635
+ /**
636
+ * Returns a closest color to provided color in a specified palette.
637
+ * @param paletteUID (optional) Palette UID.
638
+ * @param tenantId (optional) Tenant identifier
639
+ * @param body (optional) Source color.
640
+ * @return Success
641
+ */
642
+ findPaletteColor(paletteUID?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<Palette>;
643
+ protected processFindPaletteColor(response: HttpResponseBase): Observable<Palette>;
644
+ /**
645
+ * Returns a serialized palette model by its identifier or UID.
646
+ * @param id (optional) Palette identifier.
647
+ * @param uid (optional) Palette UID.
648
+ * @param tenantId (optional) Tenant identifier
649
+ * @return Success
650
+ */
651
+ getPaletteModel(id?: string | null | undefined, uid?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
652
+ protected processGetPaletteModel(response: HttpResponseBase): Observable<any>;
653
+ }
654
+ export interface IDesignAtomsPrintProductApiClient {
655
+ /**
656
+ * Patches a print-product of the specified design file.
657
+ * @param id Design identifier.
615
658
  * @param privateStorageOwner (optional) Private storage owner identifier.
616
659
  * @param tenantId (optional) Tenant identifier
617
- * @param body (optional) Design creation parameters.
618
- * @return Created
660
+ * @param patchType (optional)
661
+ * @param replaceImageItemFileInfo_itemName (optional)
662
+ * @param replaceImageItemFileInfo_sourceFile (optional)
663
+ * @param replacePlaceholderItemContentInfo_placeholderItemName (optional)
664
+ * @param replacePlaceholderItemContentInfo_newContentType (optional)
665
+ * @param replacePlaceholderItemContentInfo_sourceFile (optional)
666
+ * @return No Content
619
667
  */
620
- createDesign(privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: CreateDesignModel | undefined): Observable<DesignInfo>;
668
+ 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
669
  /**
622
- * Returns content of the background.
670
+ * Returns a list of print-product container descriptions of the specified design file.
623
671
  * @param id Design identifier.
624
- * @param surfaceIndex (optional) Surface index.
672
+ * @param surfaceId (optional) Print-product surface identifier.
625
673
  * @param privateStorageOwner (optional) Private storage owner identifier.
626
674
  * @param tenantId (optional) Tenant identifier
627
675
  * @return Success
628
676
  */
629
- extractBackground(id: string, surfaceIndex?: number | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
677
+ getDesignSurfaceContainers(id: string, surfaceId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignSurfaceContainerDto[]>;
678
+ /**
679
+ * Deletes a specified print-product container in an existing design file.
680
+ * @param id Design identifier.
681
+ * @param containerId Print-product container identifier.
682
+ * @param privateStorageOwner (optional) Private storage owner identifier.
683
+ * @param tenantId (optional) Tenant identifier
684
+ * @return No Content
685
+ */
686
+ deleteDesignSurfaceContainer(id: string, containerId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
630
687
  /**
631
- * Loads product (design model) from design file taken from storage.
688
+ * Returns a print-product container of the specified design file as a json-serialized model.
632
689
  * @param id Design identifier.
690
+ * @param containerId Print-product container identifier.
633
691
  * @param privateStorageOwner (optional) Private storage owner identifier.
634
692
  * @param tenantId (optional) Tenant identifier
635
693
  * @return Success
636
694
  */
637
- loadProduct(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
695
+ getDesignSurfaceContainerModel(id: string, containerId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
638
696
  /**
639
- * Saves product (design model) to design file and updates design in storage.
697
+ * Updates a specified print-product container in an existing design file with the data provided as a json-serialized model.
640
698
  * @param id Design identifier.
699
+ * @param containerId Print-product container identifier.
641
700
  * @param privateStorageOwner (optional) Private storage owner identifier.
642
701
  * @param tenantId (optional) Tenant identifier
643
- * @param body (optional) Serialized product description.
702
+ * @param body (optional) Json-serialized model of a print-product container.
644
703
  * @return Success
645
704
  */
646
- saveProduct(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<void>;
705
+ updateDesignSurfaceContainerModel(id: string, containerId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
706
+ /**
707
+ * Inserts a new print-product container provided as a json-serialized model to the certain surface in an existing design file.
708
+ Print-product container identifier will be reset by auto-generated value to prevent identifiers collisions.
709
+ * @param id Design identifier.
710
+ * @param surfaceId (optional) Print-product surface identifier.
711
+ * @param index (optional) Container index within the conatiners list of a surface.
712
+ * @param top (optional) Y axis position.
713
+ * @param left (optional) X axis position.
714
+ * @param privateStorageOwner (optional) Private storage owner identifier.
715
+ * @param tenantId (optional) Tenant identifier
716
+ * @param body (optional) Json-serialized model of a new print-product container.
717
+ * @return Success
718
+ */
719
+ addDesignSurfaceContainerModel(id: string, surfaceId?: string | null | undefined, index?: number | null | undefined, top?: number | undefined, left?: number | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
720
+ /**
721
+ * Returns a list of print-product items descriptions of the specified design file.
722
+ * @param id Design identifier.
723
+ * @param surfaceId (optional) Print-product surface identifier.
724
+ * @param containerId (optional) Print-product container identifier.
725
+ * @param parentItemId (optional) Print-product item identifier.
726
+ * @param privateStorageOwner (optional) Private storage owner identifier.
727
+ * @param tenantId (optional) Tenant identifier
728
+ * @return Success
729
+ */
730
+ getDesignSurfaceItems(id: string, surfaceId?: string | null | undefined, containerId?: string | null | undefined, parentItemId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignSurfaceItemDto[]>;
731
+ /**
732
+ * Deletes a specified print-product item in an existing design file.
733
+ * @param id Design identifier.
734
+ * @param itemId Print-product item identifier.
735
+ * @param privateStorageOwner (optional) Private storage owner identifier.
736
+ * @param tenantId (optional) Tenant identifier
737
+ * @return No Content
738
+ */
739
+ deleteDesignSurfaceItem(id: string, itemId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
740
+ /**
741
+ * Returns a print-product item of the specified design file as a json-serialized model.
742
+ * @param id Design identifier.
743
+ * @param itemId Print-product item identifier.
744
+ * @param privateStorageOwner (optional) Private storage owner identifier.
745
+ * @param tenantId (optional) Tenant identifier
746
+ * @return Success
747
+ */
748
+ getDesignSurfaceItemModel(id: string, itemId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
749
+ /**
750
+ * Updates a specified print-product surface item in an existing design file with the data provided as a json-serialized item model.
751
+ * @param id Design identifier.
752
+ * @param itemId Print-product item identifier.
753
+ * @param privateStorageOwner (optional) Private storage owner identifier.
754
+ * @param tenantId (optional) Tenant identifier
755
+ * @param body (optional) Json-serialized model of a print-product item.
756
+ * @return Success
757
+ */
758
+ updateDesignSurfaceItemModel(id: string, itemId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
759
+ /**
760
+ * Inserts a new print-product item provided as a json-serialized model to the specified surface in an existing design file.
761
+ Item identifier will be reset by auto-generated value to prevent identifiers collisions.
762
+ * @param id Design identifier.
763
+ * @param containerId (optional) Parent surface identifier.
764
+ * @param index (optional) Item index within the items list of a container.
765
+ * @param top (optional) Y axis position.
766
+ * @param left (optional) X axis position.
767
+ * @param privateStorageOwner (optional) Private storage owner identifier.
768
+ * @param tenantId (optional) Tenant identifier
769
+ * @param body (optional) Json-serialized model of a new print-product item.
770
+ * @return Success
771
+ */
772
+ addDesignSurfaceItemModel(id: string, containerId?: string | null | undefined, index?: number | null | undefined, top?: number | undefined, left?: number | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
773
+ /**
774
+ * Returns a print-product of the specified design file as a json-serialized model.
775
+ * @param id Design identifier.
776
+ * @param privateStorageOwner (optional) Private storage owner identifier.
777
+ * @param tenantId (optional) Tenant identifier
778
+ * @return Success
779
+ */
780
+ getDesignProductModel(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
781
+ /**
782
+ * Updates a print-product provided as a json-serialized model is the specified design file.
783
+ * @param id Design identifier.
784
+ * @param privateStorageOwner (optional) Private storage owner identifier.
785
+ * @param tenantId (optional) Tenant identifier
786
+ * @param body (optional) Json-serialized model of a print-product .
787
+ * @return No Content
788
+ */
789
+ updateDesignProductModel(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<void>;
790
+ /**
791
+ * Returns a list of print-area descriptions of the specified design file.
792
+ * @param id Design identifier.
793
+ * @param surfaceId (optional)
794
+ * @param privateStorageOwner (optional) Private storage owner identifier.
795
+ * @param tenantId (optional) Tenant identifier
796
+ * @return Success
797
+ */
798
+ getDesignPrintAreas(id: string, surfaceId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignPrintAreaDto[]>;
799
+ /**
800
+ * Inserts a new print-area created by the description at the specified position in an existing design file.
801
+ Print-area identifier will be reset by auto-generated value to prevent identifiers collisions.
802
+ * @param id Design identifier.
803
+ * @param privateStorageOwner (optional) Private storage owner identifier.
804
+ * @param tenantId (optional) Tenant identifier
805
+ * @param body (optional) Print-area description model.
806
+ * @return Success
807
+ */
808
+ addDesignPrintArea(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: DesignPrintAreaParams | undefined): Observable<any>;
809
+ /**
810
+ * Updates a specified print-area using a description in an existing design file.
811
+ * @param id Design identifier.
812
+ * @param printAreaId Design print-area identifier.
813
+ * @param privateStorageOwner (optional) Private storage owner identifier.
814
+ * @param tenantId (optional) Tenant identifier
815
+ * @param body (optional) Print-area description model.
816
+ * @return Success
817
+ */
818
+ updateDesignPrintArea(id: string, printAreaId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: DesignPrintAreaParams | undefined): Observable<any>;
819
+ /**
820
+ * Deletes a specified print-area in an existing design file.
821
+ * @param id Design identifier.
822
+ * @param printAreaId Design print-area identifier.
823
+ * @param privateStorageOwner (optional) Private storage owner identifier.
824
+ * @param tenantId (optional) Tenant identifier
825
+ * @return No Content
826
+ */
827
+ deleteDesignPrintArea(id: string, printAreaId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
828
+ /**
829
+ * Returns a print-area of the specified design file as a json-serialized model.
830
+ * @param id Design identifier.
831
+ * @param printAreaId Design print-area identifier.
832
+ * @param privateStorageOwner (optional) Private storage owner identifier.
833
+ * @param tenantId (optional) Tenant identifier
834
+ * @return Success
835
+ */
836
+ getDesignPrintAreaModel(id: string, printAreaId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
837
+ /**
838
+ * Updates a specified print-area in an existing design file with the data provided as a json-serialized print-area model.
839
+ * @param id Design identifier.
840
+ * @param printAreaId Design print-area identifier.
841
+ * @param privateStorageOwner (optional) Private storage owner identifier.
842
+ * @param tenantId (optional) Tenant identifier
843
+ * @param body (optional) Json-serialized model of a print-area.
844
+ * @return Success
845
+ */
846
+ updateDesignPrintAreaModel(id: string, printAreaId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
847
+ /**
848
+ * Inserts a new print-area provided as a json-serialized model at the specified position in an existing design file.
849
+ Print-area identifier will be reset by auto-generated value to prevent identifiers collisions.
850
+ * @param id Design identifier.
851
+ * @param surfaceId (optional) Parent surface identifier.
852
+ * @param privateStorageOwner (optional) Private storage owner identifier.
853
+ * @param tenantId (optional) Tenant identifier
854
+ * @param body (optional) Json serialized model of a print-area.
855
+ * @return Success
856
+ */
857
+ addDesignPrintAreaModel(id: string, surfaceId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
858
+ /**
859
+ * Returns a list of print-product surfaces descriptions of the specified design file.
860
+ * @param id Design identifier.
861
+ * @param privateStorageOwner (optional) Private storage owner identifier.
862
+ * @param tenantId (optional) Tenant identifier
863
+ * @return Success
864
+ */
865
+ getDesignSurfaces(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignSurfaceDto[]>;
866
+ /**
867
+ * Deletes a specified print-product surface in an existing design file.
868
+ * @param id Design identifier.
869
+ * @param surfaceId Print-product surface identifier.
870
+ * @param privateStorageOwner (optional) Private storage owner identifier.
871
+ * @param tenantId (optional) Tenant identifier
872
+ * @return No Content
873
+ */
874
+ deleteDesignSurface(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
875
+ /**
876
+ * Returns a down-mockup description of the specified print-product surface in an existing design file.
877
+ * @param id Design identifier.
878
+ * @param surfaceId Print product surface identifier.
879
+ * @param privateStorageOwner (optional) Private storage owner identifier.
880
+ * @param tenantId (optional) Tenant identifier
881
+ * @return Success
882
+ */
883
+ getDesignSurfaceDownMockup(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignSurfaceMockupDto>;
884
+ /**
885
+ * Updates a content file of down-mockup for the specified print-product surface in an existing design file.
886
+ * @param id Design identifier.
887
+ * @param surfaceId Print-product surface identifier.
888
+ * @param privateStorageOwner (optional) Private storage owner identifier.
889
+ * @param tenantId (optional) Tenant identifier
890
+ * @param position_top (optional)
891
+ * @param position_left (optional)
892
+ * @param sourceFile (optional)
893
+ * @return Success
894
+ */
895
+ 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>;
896
+ /**
897
+ * Returns a content file for down-mockup of the specified print-product surface in an existing design file.
898
+ * @param id Design identifier.
899
+ * @param surfaceId Print-product surface identifier.
900
+ * @param privateStorageOwner (optional) Private storage owner identifier.
901
+ * @param tenantId (optional) Tenant identifier
902
+ * @return Success
903
+ */
904
+ getDesignSurfaceDownMockupContent(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
905
+ /**
906
+ * Returns an up-mockup description of the specified print-product surface in an existing design file.
907
+ * @param id Design identifier.
908
+ * @param surfaceId Print-product surface identifier.
909
+ * @param privateStorageOwner (optional) Private storage owner identifier.
910
+ * @param tenantId (optional) Tenant identifier
911
+ * @return Success
912
+ */
913
+ getDesignSurfaceUpMockup(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignSurfaceMockupDto>;
914
+ /**
915
+ * Updates a content file of up-mockup for the specified print-product surface in an existing design.
916
+ * @param id Design identifier.
917
+ * @param surfaceId Print-product surface identifier.
918
+ * @param privateStorageOwner (optional) Private storage owner identifier.
919
+ * @param tenantId (optional) Tenant identifier
920
+ * @param position_top (optional)
921
+ * @param position_left (optional)
922
+ * @param sourceFile (optional)
923
+ * @return Success
924
+ */
925
+ 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>;
926
+ /**
927
+ * Returns a content file for up-mockup of the specified print-product surface in an existing design file.
928
+ * @param id Design identifier.
929
+ * @param surfaceId Print-product surface identifier.
930
+ * @param privateStorageOwner (optional) Private storage owner identifier.
931
+ * @param tenantId (optional) Tenant identifier
932
+ * @return Success
933
+ */
934
+ getDesignSurfaceUpMockupContent(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
935
+ /**
936
+ * Returns a print-product surface of the specified design file as a json-serialized model.
937
+ * @param id Design identifier.
938
+ * @param surfaceId Surface identifier.
939
+ * @param privateStorageOwner (optional) Private storage owner identifier.
940
+ * @param tenantId (optional) Tenant identifier
941
+ * @return Success
942
+ */
943
+ getDesignSurfaceModel(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
944
+ /**
945
+ * Replaces a specified print-product surface in an existing design file with the data provided as a json-serialized surface model.
946
+ All design elements identifiers within the surface (including surface identifier) will be reset by auto-generated values to prevent identifiers collisions.
947
+ * @param id Design identifier.
948
+ * @param surfaceId Print-product surface identifier.
949
+ * @param privateStorageOwner (optional) Private storage owner identifier.
950
+ * @param tenantId (optional) Tenant identifier
951
+ * @param body (optional) Json-serialized model of a print-product surface.
952
+ * @return Success
953
+ */
954
+ replaceDesignSurfaceModel(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
647
955
  /**
648
- * Patches product (design model) in design file.
956
+ * Inserts a new surface provided as a json-serialized model at the specified position in an existing design file.
957
+ All design elements identifiers within the surface (including surface identifier) will be reset by auto-generated values to prevent identifiers collisions.
958
+ * @param id Design identifier.
959
+ * @param index (optional) Surface index within the surfaces list of a design.
960
+ * @param privateStorageOwner (optional) Private storage owner identifier.
961
+ * @param tenantId (optional) Tenant identifier
962
+ * @param body (optional) Json-serialized model of a print-prouduct surface.
963
+ * @return Success
964
+ */
965
+ addDesignSurfaceModel(id: string, index?: number | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
966
+ }
967
+ export declare class DesignAtomsPrintProductApiClient extends ApiClientBase implements IDesignAtomsPrintProductApiClient {
968
+ private http;
969
+ private baseUrl;
970
+ protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
971
+ constructor(configuration: ApiClientConfiguration, http: HttpClient, baseUrl?: string);
972
+ /**
973
+ * Patches a print-product of the specified design file.
649
974
  * @param id Design identifier.
650
975
  * @param privateStorageOwner (optional) Private storage owner identifier.
651
976
  * @param tenantId (optional) Tenant identifier
@@ -655,154 +980,613 @@ export interface IDesignAtomsServiceApiClient {
655
980
  * @param replacePlaceholderItemContentInfo_placeholderItemName (optional)
656
981
  * @param replacePlaceholderItemContentInfo_newContentType (optional)
657
982
  * @param replacePlaceholderItemContentInfo_sourceFile (optional)
983
+ * @return No Content
984
+ */
985
+ 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>;
986
+ protected processPatchDesignProduct(response: HttpResponseBase): Observable<void>;
987
+ /**
988
+ * Returns a list of print-product container descriptions of the specified design file.
989
+ * @param id Design identifier.
990
+ * @param surfaceId (optional) Print-product surface identifier.
991
+ * @param privateStorageOwner (optional) Private storage owner identifier.
992
+ * @param tenantId (optional) Tenant identifier
658
993
  * @return Success
659
994
  */
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>;
995
+ getDesignSurfaceContainers(id: string, surfaceId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignSurfaceContainerDto[]>;
996
+ protected processGetDesignSurfaceContainers(response: HttpResponseBase): Observable<DesignSurfaceContainerDto[]>;
661
997
  /**
662
- * Returns design parameters stored in product model.
998
+ * Deletes a specified print-product container in an existing design file.
999
+ * @param id Design identifier.
1000
+ * @param containerId Print-product container identifier.
1001
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1002
+ * @param tenantId (optional) Tenant identifier
1003
+ * @return No Content
1004
+ */
1005
+ deleteDesignSurfaceContainer(id: string, containerId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
1006
+ protected processDeleteDesignSurfaceContainer(response: HttpResponseBase): Observable<void>;
1007
+ /**
1008
+ * Returns a print-product container of the specified design file as a json-serialized model.
663
1009
  * @param id Design identifier.
1010
+ * @param containerId Print-product container identifier.
664
1011
  * @param privateStorageOwner (optional) Private storage owner identifier.
665
1012
  * @param tenantId (optional) Tenant identifier
666
1013
  * @return Success
667
1014
  */
668
- getDesignParameters(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignParameters>;
1015
+ getDesignSurfaceContainerModel(id: string, containerId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
1016
+ protected processGetDesignSurfaceContainerModel(response: HttpResponseBase): Observable<any>;
669
1017
  /**
670
- * Loads data schema from design file taken from storage.
1018
+ * Updates a specified print-product container in an existing design file with the data provided as a json-serialized model.
671
1019
  * @param id Design identifier.
1020
+ * @param containerId Print-product container identifier.
672
1021
  * @param privateStorageOwner (optional) Private storage owner identifier.
673
1022
  * @param tenantId (optional) Tenant identifier
1023
+ * @param body (optional) Json-serialized model of a print-product container.
674
1024
  * @return Success
675
1025
  */
676
- loadDataSchema(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
1026
+ updateDesignSurfaceContainerModel(id: string, containerId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
1027
+ protected processUpdateDesignSurfaceContainerModel(response: HttpResponseBase): Observable<any>;
677
1028
  /**
678
- * Loads a toggle set from design file taken from storage.
1029
+ * Inserts a new print-product container provided as a json-serialized model to the certain surface in an existing design file.
1030
+ Print-product container identifier will be reset by auto-generated value to prevent identifiers collisions.
679
1031
  * @param id Design identifier.
1032
+ * @param surfaceId (optional) Print-product surface identifier.
1033
+ * @param index (optional) Container index within the conatiners list of a surface.
1034
+ * @param top (optional) Y axis position.
1035
+ * @param left (optional) X axis position.
680
1036
  * @param privateStorageOwner (optional) Private storage owner identifier.
681
1037
  * @param tenantId (optional) Tenant identifier
1038
+ * @param body (optional) Json-serialized model of a new print-product container.
682
1039
  * @return Success
683
1040
  */
684
- loadToggleSet(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
1041
+ addDesignSurfaceContainerModel(id: string, surfaceId?: string | null | undefined, index?: number | null | undefined, top?: number | undefined, left?: number | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
1042
+ protected processAddDesignSurfaceContainerModel(response: HttpResponseBase): Observable<any>;
685
1043
  /**
686
- * Gets variable items information for design file taken from storage.
1044
+ * Returns a list of print-product items descriptions of the specified design file.
687
1045
  * @param id Design identifier.
1046
+ * @param surfaceId (optional) Print-product surface identifier.
1047
+ * @param containerId (optional) Print-product container identifier.
1048
+ * @param parentItemId (optional) Print-product item identifier.
688
1049
  * @param privateStorageOwner (optional) Private storage owner identifier.
689
1050
  * @param tenantId (optional) Tenant identifier
690
1051
  * @return Success
691
1052
  */
692
- getVariables(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<VariablesModel>;
1053
+ getDesignSurfaceItems(id: string, surfaceId?: string | null | undefined, containerId?: string | null | undefined, parentItemId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignSurfaceItemDto[]>;
1054
+ protected processGetDesignSurfaceItems(response: HttpResponseBase): Observable<DesignSurfaceItemDto[]>;
693
1055
  /**
694
- * Sets variable items values for design file taken from storage.
1056
+ * Deletes a specified print-product item in an existing design file.
695
1057
  * @param id Design identifier.
1058
+ * @param itemId Print-product item identifier.
1059
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1060
+ * @param tenantId (optional) Tenant identifier
1061
+ * @return No Content
1062
+ */
1063
+ deleteDesignSurfaceItem(id: string, itemId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
1064
+ protected processDeleteDesignSurfaceItem(response: HttpResponseBase): Observable<void>;
1065
+ /**
1066
+ * Returns a print-product item of the specified design file as a json-serialized model.
1067
+ * @param id Design identifier.
1068
+ * @param itemId Print-product item identifier.
696
1069
  * @param privateStorageOwner (optional) Private storage owner identifier.
697
1070
  * @param tenantId (optional) Tenant identifier
698
- * @param body (optional) Design variable values.
699
1071
  * @return Success
700
1072
  */
701
- setVariables(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: VariablesModel | undefined): Observable<void>;
1073
+ getDesignSurfaceItemModel(id: string, itemId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
1074
+ protected processGetDesignSurfaceItemModel(response: HttpResponseBase): Observable<any>;
702
1075
  /**
703
- * Loads variable data printing information from design file taken from storage.
1076
+ * Updates a specified print-product surface item in an existing design file with the data provided as a json-serialized item model.
704
1077
  * @param id Design identifier.
1078
+ * @param itemId Print-product item identifier.
705
1079
  * @param privateStorageOwner (optional) Private storage owner identifier.
706
1080
  * @param tenantId (optional) Tenant identifier
1081
+ * @param body (optional) Json-serialized model of a print-product item.
707
1082
  * @return Success
708
1083
  */
709
- loadVdpData(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<VdpDataModel>;
1084
+ updateDesignSurfaceItemModel(id: string, itemId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
1085
+ protected processUpdateDesignSurfaceItemModel(response: HttpResponseBase): Observable<any>;
710
1086
  /**
711
- * Saves variable data printing information to design file and updates design in storage.
1087
+ * Inserts a new print-product item provided as a json-serialized model to the specified surface in an existing design file.
1088
+ Item identifier will be reset by auto-generated value to prevent identifiers collisions.
712
1089
  * @param id Design identifier.
1090
+ * @param containerId (optional) Parent surface identifier.
1091
+ * @param index (optional) Item index within the items list of a container.
1092
+ * @param top (optional) Y axis position.
1093
+ * @param left (optional) X axis position.
713
1094
  * @param privateStorageOwner (optional) Private storage owner identifier.
714
1095
  * @param tenantId (optional) Tenant identifier
715
- * @param body (optional) Serialized vdp data.
1096
+ * @param body (optional) Json-serialized model of a new print-product item.
716
1097
  * @return Success
717
1098
  */
718
- saveVdpData(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: VdpDataModel | undefined): Observable<void>;
1099
+ addDesignSurfaceItemModel(id: string, containerId?: string | null | undefined, index?: number | null | undefined, top?: number | undefined, left?: number | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
1100
+ protected processAddDesignSurfaceItemModel(response: HttpResponseBase): Observable<any>;
719
1101
  /**
720
- * Deletes variable data printing information from design file and updates design in storage.
1102
+ * Returns a print-product of the specified design file as a json-serialized model.
721
1103
  * @param id Design identifier.
722
1104
  * @param privateStorageOwner (optional) Private storage owner identifier.
723
1105
  * @param tenantId (optional) Tenant identifier
724
1106
  * @return Success
725
1107
  */
726
- deleteVdpData(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
1108
+ getDesignProductModel(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
1109
+ protected processGetDesignProductModel(response: HttpResponseBase): Observable<any>;
1110
+ /**
1111
+ * Updates a print-product provided as a json-serialized model is the specified design file.
1112
+ * @param id Design identifier.
1113
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1114
+ * @param tenantId (optional) Tenant identifier
1115
+ * @param body (optional) Json-serialized model of a print-product .
1116
+ * @return No Content
1117
+ */
1118
+ updateDesignProductModel(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<void>;
1119
+ protected processUpdateDesignProductModel(response: HttpResponseBase): Observable<void>;
1120
+ /**
1121
+ * Returns a list of print-area descriptions of the specified design file.
1122
+ * @param id Design identifier.
1123
+ * @param surfaceId (optional)
1124
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1125
+ * @param tenantId (optional) Tenant identifier
1126
+ * @return Success
1127
+ */
1128
+ getDesignPrintAreas(id: string, surfaceId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignPrintAreaDto[]>;
1129
+ protected processGetDesignPrintAreas(response: HttpResponseBase): Observable<DesignPrintAreaDto[]>;
727
1130
  /**
728
- * Loads product (design model) from resource file taken from storage.
729
- * @param id Resource identifier.
1131
+ * Inserts a new print-area created by the description at the specified position in an existing design file.
1132
+ Print-area identifier will be reset by auto-generated value to prevent identifiers collisions.
1133
+ * @param id Design identifier.
730
1134
  * @param privateStorageOwner (optional) Private storage owner identifier.
731
1135
  * @param tenantId (optional) Tenant identifier
1136
+ * @param body (optional) Print-area description model.
732
1137
  * @return Success
733
1138
  */
734
- loadProductFromResource(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
1139
+ addDesignPrintArea(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: DesignPrintAreaParams | undefined): Observable<any>;
1140
+ protected processAddDesignPrintArea(response: HttpResponseBase): Observable<any>;
735
1141
  /**
736
- * Converts colors.
1142
+ * Updates a specified print-area using a description in an existing design file.
1143
+ * @param id Design identifier.
1144
+ * @param printAreaId Design print-area identifier.
1145
+ * @param privateStorageOwner (optional) Private storage owner identifier.
737
1146
  * @param tenantId (optional) Tenant identifier
738
- * @param body (optional) Convert colors operation parameters.
1147
+ * @param body (optional) Print-area description model.
739
1148
  * @return Success
740
1149
  */
741
- convertColors(tenantId?: number | undefined, body?: ConvertColorsModel | undefined): Observable<any>;
1150
+ updateDesignPrintArea(id: string, printAreaId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: DesignPrintAreaParams | undefined): Observable<any>;
1151
+ protected processUpdateDesignPrintArea(response: HttpResponseBase): Observable<any>;
1152
+ /**
1153
+ * Deletes a specified print-area in an existing design file.
1154
+ * @param id Design identifier.
1155
+ * @param printAreaId Design print-area identifier.
1156
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1157
+ * @param tenantId (optional) Tenant identifier
1158
+ * @return No Content
1159
+ */
1160
+ deleteDesignPrintArea(id: string, printAreaId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
1161
+ protected processDeleteDesignPrintArea(response: HttpResponseBase): Observable<void>;
1162
+ /**
1163
+ * Returns a print-area of the specified design file as a json-serialized model.
1164
+ * @param id Design identifier.
1165
+ * @param printAreaId Design print-area identifier.
1166
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1167
+ * @param tenantId (optional) Tenant identifier
1168
+ * @return Success
1169
+ */
1170
+ getDesignPrintAreaModel(id: string, printAreaId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
1171
+ protected processGetDesignPrintAreaModel(response: HttpResponseBase): Observable<any>;
1172
+ /**
1173
+ * Updates a specified print-area in an existing design file with the data provided as a json-serialized print-area model.
1174
+ * @param id Design identifier.
1175
+ * @param printAreaId Design print-area identifier.
1176
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1177
+ * @param tenantId (optional) Tenant identifier
1178
+ * @param body (optional) Json-serialized model of a print-area.
1179
+ * @return Success
1180
+ */
1181
+ updateDesignPrintAreaModel(id: string, printAreaId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
1182
+ protected processUpdateDesignPrintAreaModel(response: HttpResponseBase): Observable<any>;
1183
+ /**
1184
+ * Inserts a new print-area provided as a json-serialized model at the specified position in an existing design file.
1185
+ Print-area identifier will be reset by auto-generated value to prevent identifiers collisions.
1186
+ * @param id Design identifier.
1187
+ * @param surfaceId (optional) Parent surface identifier.
1188
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1189
+ * @param tenantId (optional) Tenant identifier
1190
+ * @param body (optional) Json serialized model of a print-area.
1191
+ * @return Success
1192
+ */
1193
+ addDesignPrintAreaModel(id: string, surfaceId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
1194
+ protected processAddDesignPrintAreaModel(response: HttpResponseBase): Observable<any>;
1195
+ /**
1196
+ * Returns a list of print-product surfaces descriptions of the specified design file.
1197
+ * @param id Design identifier.
1198
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1199
+ * @param tenantId (optional) Tenant identifier
1200
+ * @return Success
1201
+ */
1202
+ getDesignSurfaces(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignSurfaceDto[]>;
1203
+ protected processGetDesignSurfaces(response: HttpResponseBase): Observable<DesignSurfaceDto[]>;
1204
+ /**
1205
+ * Deletes a specified print-product surface in an existing design file.
1206
+ * @param id Design identifier.
1207
+ * @param surfaceId Print-product surface identifier.
1208
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1209
+ * @param tenantId (optional) Tenant identifier
1210
+ * @return No Content
1211
+ */
1212
+ deleteDesignSurface(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
1213
+ protected processDeleteDesignSurface(response: HttpResponseBase): Observable<void>;
1214
+ /**
1215
+ * Returns a down-mockup description of the specified print-product surface in an existing design file.
1216
+ * @param id Design identifier.
1217
+ * @param surfaceId Print product surface identifier.
1218
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1219
+ * @param tenantId (optional) Tenant identifier
1220
+ * @return Success
1221
+ */
1222
+ getDesignSurfaceDownMockup(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignSurfaceMockupDto>;
1223
+ protected processGetDesignSurfaceDownMockup(response: HttpResponseBase): Observable<DesignSurfaceMockupDto>;
1224
+ /**
1225
+ * Updates a content file of down-mockup for the specified print-product surface in an existing design file.
1226
+ * @param id Design identifier.
1227
+ * @param surfaceId Print-product surface identifier.
1228
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1229
+ * @param tenantId (optional) Tenant identifier
1230
+ * @param position_top (optional)
1231
+ * @param position_left (optional)
1232
+ * @param sourceFile (optional)
1233
+ * @return Success
1234
+ */
1235
+ 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>;
1236
+ protected processUpdateDesignSurfaceDownMockup(response: HttpResponseBase): Observable<any>;
1237
+ /**
1238
+ * Returns a content file for down-mockup of the specified print-product surface in an existing design file.
1239
+ * @param id Design identifier.
1240
+ * @param surfaceId Print-product surface identifier.
1241
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1242
+ * @param tenantId (optional) Tenant identifier
1243
+ * @return Success
1244
+ */
1245
+ getDesignSurfaceDownMockupContent(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
1246
+ protected processGetDesignSurfaceDownMockupContent(response: HttpResponseBase): Observable<FileResponse>;
1247
+ /**
1248
+ * Returns an up-mockup description of the specified print-product surface in an existing design file.
1249
+ * @param id Design identifier.
1250
+ * @param surfaceId Print-product surface identifier.
1251
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1252
+ * @param tenantId (optional) Tenant identifier
1253
+ * @return Success
1254
+ */
1255
+ getDesignSurfaceUpMockup(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignSurfaceMockupDto>;
1256
+ protected processGetDesignSurfaceUpMockup(response: HttpResponseBase): Observable<DesignSurfaceMockupDto>;
1257
+ /**
1258
+ * Updates a content file of up-mockup for the specified print-product surface in an existing design.
1259
+ * @param id Design identifier.
1260
+ * @param surfaceId Print-product surface identifier.
1261
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1262
+ * @param tenantId (optional) Tenant identifier
1263
+ * @param position_top (optional)
1264
+ * @param position_left (optional)
1265
+ * @param sourceFile (optional)
1266
+ * @return Success
1267
+ */
1268
+ 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>;
1269
+ protected processUpdateDesignSurfaceUpMockup(response: HttpResponseBase): Observable<any>;
1270
+ /**
1271
+ * Returns a content file for up-mockup of the specified print-product surface in an existing design file.
1272
+ * @param id Design identifier.
1273
+ * @param surfaceId Print-product surface identifier.
1274
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1275
+ * @param tenantId (optional) Tenant identifier
1276
+ * @return Success
1277
+ */
1278
+ getDesignSurfaceUpMockupContent(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
1279
+ protected processGetDesignSurfaceUpMockupContent(response: HttpResponseBase): Observable<FileResponse>;
1280
+ /**
1281
+ * Returns a print-product surface of the specified design file as a json-serialized model.
1282
+ * @param id Design identifier.
1283
+ * @param surfaceId Surface identifier.
1284
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1285
+ * @param tenantId (optional) Tenant identifier
1286
+ * @return Success
1287
+ */
1288
+ getDesignSurfaceModel(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
1289
+ protected processGetDesignSurfaceModel(response: HttpResponseBase): Observable<any>;
1290
+ /**
1291
+ * Replaces a specified print-product surface in an existing design file with the data provided as a json-serialized surface model.
1292
+ All design elements identifiers within the surface (including surface identifier) will be reset by auto-generated values to prevent identifiers collisions.
1293
+ * @param id Design identifier.
1294
+ * @param surfaceId Print-product surface identifier.
1295
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1296
+ * @param tenantId (optional) Tenant identifier
1297
+ * @param body (optional) Json-serialized model of a print-product surface.
1298
+ * @return Success
1299
+ */
1300
+ replaceDesignSurfaceModel(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
1301
+ protected processReplaceDesignSurfaceModel(response: HttpResponseBase): Observable<any>;
1302
+ /**
1303
+ * Inserts a new surface provided as a json-serialized model at the specified position in an existing design file.
1304
+ All design elements identifiers within the surface (including surface identifier) will be reset by auto-generated values to prevent identifiers collisions.
1305
+ * @param id Design identifier.
1306
+ * @param index (optional) Surface index within the surfaces list of a design.
1307
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1308
+ * @param tenantId (optional) Tenant identifier
1309
+ * @param body (optional) Json-serialized model of a print-prouduct surface.
1310
+ * @return Success
1311
+ */
1312
+ addDesignSurfaceModel(id: string, index?: number | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
1313
+ protected processAddDesignSurfaceModel(response: HttpResponseBase): Observable<any>;
1314
+ }
1315
+ export interface IDesignAtomsPrintProductItemsApiClient {
1316
+ /**
1317
+ * Apply effects to print-product item image.
1318
+ * @param tenantId (optional) Tenant identifier
1319
+ * @param body (optional)
1320
+ * @return Success
1321
+ */
1322
+ applyItemEffects(tenantId?: number | undefined, body?: any | undefined): Observable<any>;
742
1323
  /**
743
- * Extracts product item image.
1324
+ * Extracts print-product item image.
744
1325
  * @param tenantId (optional) Tenant identifier
745
1326
  * @param body (optional) Extraction parameters.
746
1327
  * @return Success
747
1328
  */
748
1329
  extractItemImage(tenantId?: number | undefined, body?: ExtractItemImageModel | undefined): Observable<FileResponse>;
749
1330
  /**
750
- * Flatten items.
1331
+ * Flattens print-product items.
1332
+ * @param paletteUID (optional)
751
1333
  * @param tenantId (optional) Tenant identifier
752
- * @param body (optional) Items to flatten.
1334
+ * @param body (optional) List of print-product items to flatten.
753
1335
  * @return Success
754
1336
  */
755
- flattenItems(tenantId?: number | undefined, body?: any[] | undefined): Observable<any>;
1337
+ flattenItems(paletteUID?: string | null | undefined, tenantId?: number | undefined, body?: any[] | undefined): Observable<any>;
756
1338
  /**
757
- * Creates product item from input image file.
1339
+ * Creates print-product item from input image file.
758
1340
  * @param itemType (optional) Desired item type.
759
1341
  * @param tenantId (optional) Tenant identifier
760
1342
  * @param sourceFile (optional)
1343
+ * @param paletteUID (optional)
1344
+ * @param preserveOriginalFile (optional)
1345
+ * @return Success
1346
+ */
1347
+ createItemFromFile(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceFile?: FileParameter | null | undefined, paletteUID?: string | null | undefined, preserveOriginalFile?: boolean | null | undefined): Observable<any>;
1348
+ /**
1349
+ * Creates multiple print-product items from input image files.
1350
+ * @param itemType (optional) Desired print-product items type.
1351
+ * @param tenantId (optional) Tenant identifier
1352
+ * @param sourceFiles (optional)
1353
+ * @param paletteUID (optional)
1354
+ * @param preserveOriginalFile (optional)
761
1355
  * @return Success
762
1356
  */
763
- createItemFromFile(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceFile?: FileParameter | null | undefined): Observable<any>;
1357
+ batchCreateItemsFromFile(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceFiles?: FileParameter[] | null | undefined, paletteUID?: string | null | undefined, preserveOriginalFile?: boolean | null | undefined): Observable<any>;
764
1358
  /**
765
- * Creates multiple product items from input image files.
1359
+ * Creates print-product item from image file taken from storage.
1360
+ * @param itemType (optional) Desired item type.
1361
+ * @param tenantId (optional) Tenant identifier
1362
+ * @param body (optional) Operation parameters.
1363
+ * @return Success
1364
+ */
1365
+ createItemFromStorage(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: CreateItemFromStorageModel | undefined): Observable<any>;
1366
+ /**
1367
+ * Creates multiple print-product items from the specified image files in storage.
1368
+ * @param itemType (optional) Desired items type.
1369
+ * @param tenantId (optional) Tenant identifier
1370
+ * @param body (optional) Operation parameters.
1371
+ * @return Success
1372
+ */
1373
+ batchCreateItemsFromStorage(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: BatchCreateItemsFromStorageModel | undefined): Observable<any>;
1374
+ /**
1375
+ * Creates print-product item from remote web image provided by URL.
1376
+ * @param itemType (optional) Desired item type.
1377
+ * @param tenantId (optional) Tenant identifier
1378
+ * @param body (optional) Operation parameters.
1379
+ * @return Success
1380
+ */
1381
+ createItemFromUrl(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: CreateItemFromUrlModel | undefined): Observable<any>;
1382
+ /**
1383
+ * Creates multiple print-product items from remote web images provided by URLs list.
766
1384
  * @param itemType (optional) Desired items type.
767
1385
  * @param tenantId (optional) Tenant identifier
1386
+ * @param body (optional) Operation parameters.
1387
+ * @return Success
1388
+ */
1389
+ batchCreateItemsFromUrl(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: BatchCreateItemsFromUrlModel | undefined): Observable<any>;
1390
+ }
1391
+ export declare class DesignAtomsPrintProductItemsApiClient extends ApiClientBase implements IDesignAtomsPrintProductItemsApiClient {
1392
+ private http;
1393
+ private baseUrl;
1394
+ protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
1395
+ constructor(configuration: ApiClientConfiguration, http: HttpClient, baseUrl?: string);
1396
+ /**
1397
+ * Apply effects to print-product item image.
1398
+ * @param tenantId (optional) Tenant identifier
1399
+ * @param body (optional)
1400
+ * @return Success
1401
+ */
1402
+ applyItemEffects(tenantId?: number | undefined, body?: any | undefined): Observable<any>;
1403
+ protected processApplyItemEffects(response: HttpResponseBase): Observable<any>;
1404
+ /**
1405
+ * Extracts print-product item image.
1406
+ * @param tenantId (optional) Tenant identifier
1407
+ * @param body (optional) Extraction parameters.
1408
+ * @return Success
1409
+ */
1410
+ extractItemImage(tenantId?: number | undefined, body?: ExtractItemImageModel | undefined): Observable<FileResponse>;
1411
+ protected processExtractItemImage(response: HttpResponseBase): Observable<FileResponse>;
1412
+ /**
1413
+ * Flattens print-product items.
1414
+ * @param paletteUID (optional)
1415
+ * @param tenantId (optional) Tenant identifier
1416
+ * @param body (optional) List of print-product items to flatten.
1417
+ * @return Success
1418
+ */
1419
+ flattenItems(paletteUID?: string | null | undefined, tenantId?: number | undefined, body?: any[] | undefined): Observable<any>;
1420
+ protected processFlattenItems(response: HttpResponseBase): Observable<any>;
1421
+ /**
1422
+ * Creates print-product item from input image file.
1423
+ * @param itemType (optional) Desired item type.
1424
+ * @param tenantId (optional) Tenant identifier
1425
+ * @param sourceFile (optional)
1426
+ * @param paletteUID (optional)
1427
+ * @param preserveOriginalFile (optional)
1428
+ * @return Success
1429
+ */
1430
+ createItemFromFile(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceFile?: FileParameter | null | undefined, paletteUID?: string | null | undefined, preserveOriginalFile?: boolean | null | undefined): Observable<any>;
1431
+ protected processCreateItemFromFile(response: HttpResponseBase): Observable<any>;
1432
+ /**
1433
+ * Creates multiple print-product items from input image files.
1434
+ * @param itemType (optional) Desired print-product items type.
1435
+ * @param tenantId (optional) Tenant identifier
768
1436
  * @param sourceFiles (optional)
1437
+ * @param paletteUID (optional)
1438
+ * @param preserveOriginalFile (optional)
769
1439
  * @return Success
770
1440
  */
771
- batchCreateItemsFromFile(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceFiles?: FileParameter[] | null | undefined): Observable<any>;
1441
+ batchCreateItemsFromFile(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceFiles?: FileParameter[] | null | undefined, paletteUID?: string | null | undefined, preserveOriginalFile?: boolean | null | undefined): Observable<any>;
1442
+ protected processBatchCreateItemsFromFile(response: HttpResponseBase): Observable<any>;
772
1443
  /**
773
- * Creates product item from image in storage.
1444
+ * Creates print-product item from image file taken from storage.
774
1445
  * @param itemType (optional) Desired item type.
775
1446
  * @param tenantId (optional) Tenant identifier
776
1447
  * @param body (optional) Operation parameters.
777
1448
  * @return Success
778
1449
  */
779
1450
  createItemFromStorage(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: CreateItemFromStorageModel | undefined): Observable<any>;
1451
+ protected processCreateItemFromStorage(response: HttpResponseBase): Observable<any>;
1452
+ /**
1453
+ * Creates multiple print-product items from the specified image files in storage.
1454
+ * @param itemType (optional) Desired items type.
1455
+ * @param tenantId (optional) Tenant identifier
1456
+ * @param body (optional) Operation parameters.
1457
+ * @return Success
1458
+ */
1459
+ batchCreateItemsFromStorage(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: BatchCreateItemsFromStorageModel | undefined): Observable<any>;
1460
+ protected processBatchCreateItemsFromStorage(response: HttpResponseBase): Observable<any>;
1461
+ /**
1462
+ * Creates print-product item from remote web image provided by URL.
1463
+ * @param itemType (optional) Desired item type.
1464
+ * @param tenantId (optional) Tenant identifier
1465
+ * @param body (optional) Operation parameters.
1466
+ * @return Success
1467
+ */
1468
+ createItemFromUrl(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: CreateItemFromUrlModel | undefined): Observable<any>;
1469
+ protected processCreateItemFromUrl(response: HttpResponseBase): Observable<any>;
1470
+ /**
1471
+ * Creates multiple print-product items from remote web images provided by URLs list.
1472
+ * @param itemType (optional) Desired items type.
1473
+ * @param tenantId (optional) Tenant identifier
1474
+ * @param body (optional) Operation parameters.
1475
+ * @return Success
1476
+ */
1477
+ batchCreateItemsFromUrl(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: BatchCreateItemsFromUrlModel | undefined): Observable<any>;
1478
+ protected processBatchCreateItemsFromUrl(response: HttpResponseBase): Observable<any>;
1479
+ }
1480
+ export interface IDesignAtomsServiceApiClient {
1481
+ /**
1482
+ * Creates new design file with specified parameters and saves it in storage.
1483
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1484
+ * @param tenantId (optional) Tenant identifier
1485
+ * @param body (optional) Design creation parameters.
1486
+ * @return Created
1487
+ */
1488
+ createDesign(privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: CreateDesignModel | undefined): Observable<DesignInfo>;
1489
+ /**
1490
+ * Returns image content of the background.
1491
+ * @param id Design identifier.
1492
+ * @param surfaceIndex (optional) Surface index.
1493
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1494
+ * @param tenantId (optional) Tenant identifier
1495
+ * @return Success
1496
+ */
1497
+ extractBackground(id: string, surfaceIndex?: number | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
1498
+ /**
1499
+ * Sets specified editor-mockups for selected design surfaces.
1500
+ * @param id Design identifier.
1501
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1502
+ * @param tenantId (optional) Tenant identifier
1503
+ * @param body (optional) Operation parameters.
1504
+ * @return No Content
1505
+ */
1506
+ setEditorMockups(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: SetEditorMockupsModel | undefined): Observable<void>;
1507
+ /**
1508
+ * Returns design parameters stored in product model.
1509
+ * @param id Design identifier.
1510
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1511
+ * @param tenantId (optional) Tenant identifier
1512
+ * @return Success
1513
+ */
1514
+ getDesignParameters(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignParameters>;
1515
+ /**
1516
+ * Loads a data schema from design file taken from storage.
1517
+ * @param id Design identifier.
1518
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1519
+ * @param tenantId (optional) Tenant identifier
1520
+ * @return Success
1521
+ */
1522
+ loadDataSchema(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
1523
+ /**
1524
+ * Loads a toggle set from design file taken from storage.
1525
+ * @param id Design identifier.
1526
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1527
+ * @param tenantId (optional) Tenant identifier
1528
+ * @return Success
1529
+ */
1530
+ loadToggleSet(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
1531
+ /**
1532
+ * Returns variable items information for design file taken from storage.
1533
+ * @param id Design identifier.
1534
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1535
+ * @param tenantId (optional) Tenant identifier
1536
+ * @return Success
1537
+ */
1538
+ getVariables(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<VariablesModel>;
1539
+ /**
1540
+ * Saves variable items values for design file taken from storage.
1541
+ * @param id Design identifier.
1542
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1543
+ * @param tenantId (optional) Tenant identifier
1544
+ * @param body (optional) Design variable values.
1545
+ * @return Success
1546
+ */
1547
+ setVariables(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: VariablesModel | undefined): Observable<void>;
1548
+ /**
1549
+ * Loads variable data printing information from design file taken from storage.
1550
+ * @param id Design identifier.
1551
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1552
+ * @param tenantId (optional) Tenant identifier
1553
+ * @return Success
1554
+ */
1555
+ loadVdpData(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<VdpDataModel>;
1556
+ /**
1557
+ * Saves variable data printing information to design file and updates design in storage.
1558
+ * @param id Design identifier.
1559
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1560
+ * @param tenantId (optional) Tenant identifier
1561
+ * @param body (optional) Serialized vdp data.
1562
+ * @return Success
1563
+ */
1564
+ saveVdpData(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: VdpDataModel | undefined): Observable<void>;
780
1565
  /**
781
- * Creates multiple product items from images in storage.
782
- * @param itemType (optional) Desired items type.
1566
+ * Deletes variable data printing information from design file and updates design file in storage.
1567
+ * @param id Design identifier.
1568
+ * @param privateStorageOwner (optional) Private storage owner identifier.
783
1569
  * @param tenantId (optional) Tenant identifier
784
- * @param body (optional) Create items operation parameters.
785
1570
  * @return Success
786
1571
  */
787
- batchCreateItemsFromStorage(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: BatchCreateItemsFromStorageModel | undefined): Observable<any>;
1572
+ deleteVdpData(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
788
1573
  /**
789
- * Creates product item from remote web image provided by URL.
790
- * @param itemType (optional) Desired item type.
1574
+ * Converts colors for print-product item manipulations.
791
1575
  * @param tenantId (optional) Tenant identifier
792
- * @param body (optional) Operation parameters.
1576
+ * @param body (optional) Convert colors operation parameters.
793
1577
  * @return Success
794
1578
  */
795
- createItemFromUrl(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: CreateItemFromUrlModel | undefined): Observable<any>;
1579
+ convertColors(tenantId?: number | undefined, body?: ConvertColorsModel | undefined): Observable<any>;
796
1580
  /**
797
- * Creates multiple product items from remote web images provided by URLs list.
798
- * @param itemType (optional) Desired items type.
1581
+ * Loads print-product from resource file taken from storage.
1582
+ * @param id (optional) Resource identifier.
1583
+ * @param privateStorageOwner (optional) Private storage owner identifier.
799
1584
  * @param tenantId (optional) Tenant identifier
800
- * @param body (optional) Operation parameters.
801
1585
  * @return Success
802
1586
  */
803
- batchCreateItemsFromUrl(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: BatchCreateItemsFromUrlModel | undefined): Observable<any>;
1587
+ loadProductFromResource(id?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
804
1588
  /**
805
- * Render product proof image with specified parameters.
1589
+ * Renders a product proof image with specified parameters.
806
1590
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
807
1591
  (default value is 'false').
808
1592
  * @param tenantId (optional) Tenant identifier
@@ -843,7 +1627,41 @@ export interface IDesignAtomsServiceApiClient {
843
1627
  */
844
1628
  renderDesignProofToResource(tenantId?: number | undefined, body?: RenderDesignProofToResourceModel | undefined): Observable<ResourceInfoDto>;
845
1629
  /**
846
- * Creates product item.
1630
+ * Loads print-product from design file taken from storage.
1631
+ * @param id Design identifier.
1632
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1633
+ * @param tenantId (optional) Tenant identifier
1634
+ * @return Success
1635
+ * @deprecated
1636
+ */
1637
+ loadProduct(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
1638
+ /**
1639
+ * Saves print-product to design file and updates design file in storage.
1640
+ * @param id Design identifier.
1641
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1642
+ * @param tenantId (optional) Tenant identifier
1643
+ * @param body (optional) Serialized product description.
1644
+ * @return Success
1645
+ * @deprecated
1646
+ */
1647
+ saveProduct(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<void>;
1648
+ /**
1649
+ * Patches print-product in design file.
1650
+ * @param id Design identifier.
1651
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1652
+ * @param tenantId (optional) Tenant identifier
1653
+ * @param patchType (optional)
1654
+ * @param replaceImageItemFileInfo_itemName (optional)
1655
+ * @param replaceImageItemFileInfo_sourceFile (optional)
1656
+ * @param replacePlaceholderItemContentInfo_placeholderItemName (optional)
1657
+ * @param replacePlaceholderItemContentInfo_newContentType (optional)
1658
+ * @param replacePlaceholderItemContentInfo_sourceFile (optional)
1659
+ * @return Success
1660
+ * @deprecated
1661
+ */
1662
+ 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>;
1663
+ /**
1664
+ * Creates print-product item.
847
1665
  * @param itemType (optional) Desired item type.
848
1666
  * @param tenantId (optional) Tenant identifier
849
1667
  * @param sourceType (optional)
@@ -855,6 +1673,22 @@ export interface IDesignAtomsServiceApiClient {
855
1673
  * @deprecated
856
1674
  */
857
1675
  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>;
1676
+ /**
1677
+ * Extracts print-product item image.
1678
+ * @param tenantId (optional) Tenant identifier
1679
+ * @param body (optional) Extraction parameters.
1680
+ * @return Success
1681
+ * @deprecated
1682
+ */
1683
+ extractItemImage(tenantId?: number | undefined, body?: ExtractItemImageModel | undefined): Observable<FileResponse>;
1684
+ /**
1685
+ * Flattens print-product items.
1686
+ * @param tenantId (optional) Tenant identifier
1687
+ * @param body (optional) Items to flatten.
1688
+ * @return Success
1689
+ * @deprecated
1690
+ */
1691
+ flattenItems(tenantId?: number | undefined, body?: any[] | undefined): Observable<any>;
858
1692
  /**
859
1693
  * Creates a private design from a public design.
860
1694
  * @param designId (optional) Public design identifier.
@@ -891,7 +1725,7 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
891
1725
  createDesign(privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: CreateDesignModel | undefined): Observable<DesignInfo>;
892
1726
  protected processCreateDesign(response: HttpResponseBase): Observable<DesignInfo>;
893
1727
  /**
894
- * Returns content of the background.
1728
+ * Returns image content of the background.
895
1729
  * @param id Design identifier.
896
1730
  * @param surfaceIndex (optional) Surface index.
897
1731
  * @param privateStorageOwner (optional) Private storage owner identifier.
@@ -901,39 +1735,15 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
901
1735
  extractBackground(id: string, surfaceIndex?: number | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
902
1736
  protected processExtractBackground(response: HttpResponseBase): Observable<FileResponse>;
903
1737
  /**
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.
1738
+ * Sets specified editor-mockups for selected design surfaces.
924
1739
  * @param id Design identifier.
925
1740
  * @param privateStorageOwner (optional) Private storage owner identifier.
926
1741
  * @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
1742
+ * @param body (optional) Operation parameters.
1743
+ * @return No Content
934
1744
  */
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>;
1745
+ setEditorMockups(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: SetEditorMockupsModel | undefined): Observable<void>;
1746
+ protected processSetEditorMockups(response: HttpResponseBase): Observable<void>;
937
1747
  /**
938
1748
  * Returns design parameters stored in product model.
939
1749
  * @param id Design identifier.
@@ -944,7 +1754,7 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
944
1754
  getDesignParameters(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignParameters>;
945
1755
  protected processGetDesignParameters(response: HttpResponseBase): Observable<DesignParameters>;
946
1756
  /**
947
- * Loads data schema from design file taken from storage.
1757
+ * Loads a data schema from design file taken from storage.
948
1758
  * @param id Design identifier.
949
1759
  * @param privateStorageOwner (optional) Private storage owner identifier.
950
1760
  * @param tenantId (optional) Tenant identifier
@@ -962,7 +1772,7 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
962
1772
  loadToggleSet(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
963
1773
  protected processLoadToggleSet(response: HttpResponseBase): Observable<FileResponse>;
964
1774
  /**
965
- * Gets variable items information for design file taken from storage.
1775
+ * Returns variable items information for design file taken from storage.
966
1776
  * @param id Design identifier.
967
1777
  * @param privateStorageOwner (optional) Private storage owner identifier.
968
1778
  * @param tenantId (optional) Tenant identifier
@@ -971,7 +1781,7 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
971
1781
  getVariables(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<VariablesModel>;
972
1782
  protected processGetVariables(response: HttpResponseBase): Observable<VariablesModel>;
973
1783
  /**
974
- * Sets variable items values for design file taken from storage.
1784
+ * Saves variable items values for design file taken from storage.
975
1785
  * @param id Design identifier.
976
1786
  * @param privateStorageOwner (optional) Private storage owner identifier.
977
1787
  * @param tenantId (optional) Tenant identifier
@@ -1000,7 +1810,7 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
1000
1810
  saveVdpData(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: VdpDataModel | undefined): Observable<void>;
1001
1811
  protected processSaveVdpData(response: HttpResponseBase): Observable<void>;
1002
1812
  /**
1003
- * Deletes variable data printing information from design file and updates design in storage.
1813
+ * Deletes variable data printing information from design file and updates design file in storage.
1004
1814
  * @param id Design identifier.
1005
1815
  * @param privateStorageOwner (optional) Private storage owner identifier.
1006
1816
  * @param tenantId (optional) Tenant identifier
@@ -1009,16 +1819,7 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
1009
1819
  deleteVdpData(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
1010
1820
  protected processDeleteVdpData(response: HttpResponseBase): Observable<void>;
1011
1821
  /**
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.
1822
+ * Converts colors for print-product item manipulations.
1022
1823
  * @param tenantId (optional) Tenant identifier
1023
1824
  * @param body (optional) Convert colors operation parameters.
1024
1825
  * @return Success
@@ -1026,77 +1827,16 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
1026
1827
  convertColors(tenantId?: number | undefined, body?: ConvertColorsModel | undefined): Observable<any>;
1027
1828
  protected processConvertColors(response: HttpResponseBase): Observable<any>;
1028
1829
  /**
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.
1830
+ * Loads print-product from resource file taken from storage.
1831
+ * @param id (optional) Resource identifier.
1832
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1092
1833
  * @param tenantId (optional) Tenant identifier
1093
- * @param body (optional) Operation parameters.
1094
1834
  * @return Success
1095
1835
  */
1096
- batchCreateItemsFromUrl(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: BatchCreateItemsFromUrlModel | undefined): Observable<any>;
1097
- protected processBatchCreateItemsFromUrl(response: HttpResponseBase): Observable<any>;
1836
+ loadProductFromResource(id?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
1837
+ protected processLoadProductFromResource(response: HttpResponseBase): Observable<any>;
1098
1838
  /**
1099
- * Render product proof image with specified parameters.
1839
+ * Renders a product proof image with specified parameters.
1100
1840
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
1101
1841
  (default value is 'false').
1102
1842
  * @param tenantId (optional) Tenant identifier
@@ -1142,7 +1882,44 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
1142
1882
  renderDesignProofToResource(tenantId?: number | undefined, body?: RenderDesignProofToResourceModel | undefined): Observable<ResourceInfoDto>;
1143
1883
  protected processRenderDesignProofToResource(response: HttpResponseBase): Observable<ResourceInfoDto>;
1144
1884
  /**
1145
- * Creates product item.
1885
+ * Loads print-product from design file taken from storage.
1886
+ * @param id Design identifier.
1887
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1888
+ * @param tenantId (optional) Tenant identifier
1889
+ * @return Success
1890
+ * @deprecated
1891
+ */
1892
+ loadProduct(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
1893
+ protected processLoadProduct(response: HttpResponseBase): Observable<any>;
1894
+ /**
1895
+ * Saves print-product to design file and updates design file in storage.
1896
+ * @param id Design identifier.
1897
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1898
+ * @param tenantId (optional) Tenant identifier
1899
+ * @param body (optional) Serialized product description.
1900
+ * @return Success
1901
+ * @deprecated
1902
+ */
1903
+ saveProduct(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<void>;
1904
+ protected processSaveProduct(response: HttpResponseBase): Observable<void>;
1905
+ /**
1906
+ * Patches print-product in design file.
1907
+ * @param id Design identifier.
1908
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1909
+ * @param tenantId (optional) Tenant identifier
1910
+ * @param patchType (optional)
1911
+ * @param replaceImageItemFileInfo_itemName (optional)
1912
+ * @param replaceImageItemFileInfo_sourceFile (optional)
1913
+ * @param replacePlaceholderItemContentInfo_placeholderItemName (optional)
1914
+ * @param replacePlaceholderItemContentInfo_newContentType (optional)
1915
+ * @param replacePlaceholderItemContentInfo_sourceFile (optional)
1916
+ * @return Success
1917
+ * @deprecated
1918
+ */
1919
+ 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>;
1920
+ protected processPatchProduct(response: HttpResponseBase): Observable<void>;
1921
+ /**
1922
+ * Creates print-product item.
1146
1923
  * @param itemType (optional) Desired item type.
1147
1924
  * @param tenantId (optional) Tenant identifier
1148
1925
  * @param sourceType (optional)
@@ -1155,6 +1932,24 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
1155
1932
  */
1156
1933
  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
1934
  protected processCreateItem(response: HttpResponseBase): Observable<any>;
1935
+ /**
1936
+ * Extracts print-product item image.
1937
+ * @param tenantId (optional) Tenant identifier
1938
+ * @param body (optional) Extraction parameters.
1939
+ * @return Success
1940
+ * @deprecated
1941
+ */
1942
+ extractItemImage(tenantId?: number | undefined, body?: ExtractItemImageModel | undefined): Observable<FileResponse>;
1943
+ protected processExtractItemImage(response: HttpResponseBase): Observable<FileResponse>;
1944
+ /**
1945
+ * Flattens print-product items.
1946
+ * @param tenantId (optional) Tenant identifier
1947
+ * @param body (optional) Items to flatten.
1948
+ * @return Success
1949
+ * @deprecated
1950
+ */
1951
+ flattenItems(tenantId?: number | undefined, body?: any[] | undefined): Observable<any>;
1952
+ protected processFlattenItems(response: HttpResponseBase): Observable<any>;
1158
1953
  /**
1159
1954
  * Creates a private design from a public design.
1160
1955
  * @param designId (optional) Public design identifier.
@@ -1592,11 +2387,24 @@ export interface BatchCreateItemsFromStorageModel {
1592
2387
  sourceOwnerId?: string | null;
1593
2388
  /** Source image asset identifiers. */
1594
2389
  sourceIds?: string[] | null;
2390
+ /** Target palette UID. */
2391
+ paletteUID?: string | null;
2392
+ /** Indicates if resulting item should store original source file. */
2393
+ preserveOriginalFile?: boolean | null;
1595
2394
  }
1596
2395
  /** Batch create items from web source operation parameters. */
1597
2396
  export interface BatchCreateItemsFromUrlModel {
1598
2397
  /** Source URLs. */
1599
2398
  urls?: string[] | null;
2399
+ /** Target palette UID. */
2400
+ paletteUID?: string | null;
2401
+ /** Headers that will be used to download remote image by URL.
2402
+ For example, `Authorization` header can be placed here to provide access to images. */
2403
+ headers?: {
2404
+ [key: string]: string;
2405
+ } | null;
2406
+ /** Indicates if resulting item should store original source file. */
2407
+ preserveOriginalFile?: boolean | null;
1600
2408
  }
1601
2409
  /** Information about a service. */
1602
2410
  export interface BuildInfoModel {
@@ -1613,6 +2421,23 @@ export interface BuildInfoModel {
1613
2421
  /** Aurigma.DesignAtoms.Model version. */
1614
2422
  designAtomsModelVersion?: string | null;
1615
2423
  }
2424
+ export interface Color {
2425
+ readonly colorSpace?: ColorSpace;
2426
+ }
2427
+ export declare enum ColorSpace {
2428
+ Rgb = "Rgb",
2429
+ Cmyk = "Cmyk",
2430
+ Grayscale = "Grayscale",
2431
+ Lab = "Lab",
2432
+ Spot = "Spot"
2433
+ }
2434
+ /** Conflict types. */
2435
+ export declare enum ConflictType {
2436
+ NameConflict = "NameConflict",
2437
+ FolderOverwriteConflict = "FolderOverwriteConflict",
2438
+ IdConflict = "IdConflict",
2439
+ GeneralConflict = "GeneralConflict"
2440
+ }
1616
2441
  /** Convert colors operation parameters. */
1617
2442
  export interface ConvertColorsModel {
1618
2443
  /** Serialized color description. */
@@ -1641,11 +2466,24 @@ export interface CreateItemFromStorageModel {
1641
2466
  sourceOwnerId?: string | null;
1642
2467
  /** Source image asset identifier. */
1643
2468
  sourceId?: string | null;
2469
+ /** Target palette UID. */
2470
+ paletteUID?: string | null;
2471
+ /** Indicates if resulting item should store original source file. */
2472
+ preserveOriginalFile?: boolean | null;
1644
2473
  }
1645
2474
  /** Create item from web source operation parameters. */
1646
2475
  export interface CreateItemFromUrlModel {
1647
2476
  /** Source URL. */
1648
2477
  url?: string | null;
2478
+ /** Target palette UID. */
2479
+ paletteUID?: string | null;
2480
+ /** Headers that will be used to download remote image by URL.
2481
+ For example, `Authorization` header can be placed here to provide access to image. */
2482
+ headers?: {
2483
+ [key: string]: string;
2484
+ } | null;
2485
+ /** Indicates if resulting item should store original source file. */
2486
+ preserveOriginalFile?: boolean | null;
1649
2487
  }
1650
2488
  export declare enum DesignElementType {
1651
2489
  Product = "Product",
@@ -1668,6 +2506,103 @@ export interface DesignParameters {
1668
2506
  /** Version of DesignAtoms library that used to save design file. */
1669
2507
  designAtomsVersion?: string | null;
1670
2508
  }
2509
+ /** Design print area parameters. */
2510
+ export interface DesignPrintAreaDto {
2511
+ /** Print area identifier. */
2512
+ id?: string | null;
2513
+ /** Print area name. */
2514
+ name?: string | null;
2515
+ /** Parent surface identifier. */
2516
+ surfaceId?: string | null;
2517
+ /** Print area size. */
2518
+ size?: SizeDto | null;
2519
+ /** Print area position. */
2520
+ position?: PositionDto | null;
2521
+ /** Print area bleed. */
2522
+ bleed?: MarginDto | null;
2523
+ /** Print area slug. */
2524
+ slug?: MarginDto | null;
2525
+ }
2526
+ /** Design print area parameters. */
2527
+ export interface DesignPrintAreaParams {
2528
+ /** Print area name. */
2529
+ name?: string | null;
2530
+ /** Parent surface identifier. */
2531
+ surfaceId?: string | null;
2532
+ /** Print area size. */
2533
+ size?: SizeModel | null;
2534
+ /** Print area position. */
2535
+ position?: PositionModel | null;
2536
+ /** Print area bleed. */
2537
+ bleed?: MarginModel | null;
2538
+ /** Print area slug. */
2539
+ slug?: MarginModel | null;
2540
+ }
2541
+ /** Print-product container description. */
2542
+ export interface DesignSurfaceContainerDto {
2543
+ /** Container identifier. */
2544
+ id?: string | null;
2545
+ /** Container name. */
2546
+ name?: string | null;
2547
+ /** Parent surface identifier. */
2548
+ surfaceId?: string | null;
2549
+ /** Container index within containers list of a surface (0-based). */
2550
+ index?: number;
2551
+ /** Container size. */
2552
+ size?: SizeDto | null;
2553
+ /** Container position. */
2554
+ position?: PositionDto | null;
2555
+ }
2556
+ /** Print-product surface description. */
2557
+ export interface DesignSurfaceDto {
2558
+ /** Surface identifier. */
2559
+ id?: string | null;
2560
+ /** Surface name. */
2561
+ name?: string | null;
2562
+ /** Surface index within surface list of a design (0-based). */
2563
+ index?: number;
2564
+ /** Surface size. */
2565
+ size?: SizeDto | null;
2566
+ }
2567
+ /** Print-product item description. */
2568
+ export interface DesignSurfaceItemDto {
2569
+ /** Item identifier. */
2570
+ id?: string | null;
2571
+ /** Item name. */
2572
+ name?: string | null;
2573
+ /** Item type. */
2574
+ type?: string | null;
2575
+ /** Parent item identifier. */
2576
+ parentItemId?: string | null;
2577
+ /** Parent container identifier. */
2578
+ containerId?: string | null;
2579
+ /** Parent surface identifier. */
2580
+ surfaceId?: string | null;
2581
+ /** Item index within items list of a surface (0-based). */
2582
+ index?: number;
2583
+ /** Indicates if item is visible. */
2584
+ visible?: boolean;
2585
+ }
2586
+ /** Surface mockup parameters. */
2587
+ export interface DesignSurfaceMockupDto {
2588
+ /** Mockup element position. */
2589
+ position?: PositionDto | null;
2590
+ /** Mockup element size. */
2591
+ size?: SizeDto | null;
2592
+ /** Parent surface identifier. */
2593
+ surfaceId?: string | null;
2594
+ /** Mockup image resolution (DPI). */
2595
+ resolution?: number;
2596
+ }
2597
+ /** Parameters of setting design surface mockup operation. */
2598
+ export interface EditorMockupBindingModel {
2599
+ /** Mockup identifier. */
2600
+ mockupId?: string | null;
2601
+ /** Private mockup owner identifier. Set `null` if public mockup is supposed to be used. */
2602
+ mockupOwnerId?: string | null;
2603
+ /** Target surface index. */
2604
+ surfaceIndex?: number;
2605
+ }
1671
2606
  /** Item extraction operation parameters. */
1672
2607
  export interface ExtractItemImageModel {
1673
2608
  /** Serialized item description. */
@@ -1678,6 +2613,13 @@ export interface FontsMethodData {
1678
2613
  advancedMode?: boolean;
1679
2614
  baseUrl?: string | null;
1680
2615
  }
2616
+ /** Information about operation conflict. */
2617
+ export interface GeneralConflictDto {
2618
+ /** Problem description. */
2619
+ description?: string | null;
2620
+ /** Coflict type. */
2621
+ type?: ConflictType;
2622
+ }
1681
2623
  export interface GetColorPreviewRequest {
1682
2624
  colorData?: any | null;
1683
2625
  colorSettings?: PreviewColorSettings | null;
@@ -1729,17 +2671,33 @@ export declare enum ItemType {
1729
2671
  Clipart = "Clipart",
1730
2672
  Group = "Group"
1731
2673
  }
2674
+ /** Margins of the print-product element. */
2675
+ export interface MarginDto {
2676
+ /** Print-product element top margin. */
2677
+ top?: number;
2678
+ /** Print-product element left margin. */
2679
+ left?: number;
2680
+ /** Print-product element right margin. */
2681
+ right?: number;
2682
+ /** Print-product element bottom margin. */
2683
+ bottom?: number;
2684
+ }
2685
+ /** Print-product element margin. */
2686
+ export interface MarginModel {
2687
+ /** Top margin. */
2688
+ top?: number;
2689
+ /** Left margin. */
2690
+ left?: number;
2691
+ /** Right margin. */
2692
+ right?: number;
2693
+ /** Bottom margin. */
2694
+ bottom?: number;
2695
+ }
1732
2696
  export interface MeasureUnitInfo {
1733
2697
  name?: string | null;
1734
2698
  shortName?: string | null;
1735
2699
  ratio?: number;
1736
2700
  }
1737
- export interface MissingDesignElementDto {
1738
- /** Problem description. */
1739
- description?: string | null;
1740
- /** Missing element type. */
1741
- readonly missingElementType?: DesignElementType;
1742
- }
1743
2701
  export interface Mockup3dAttributesDto {
1744
2702
  data?: {
1745
2703
  [key: string]: string;
@@ -1765,6 +2723,11 @@ export interface NullAbleSize {
1765
2723
  width?: number | null;
1766
2724
  height?: number | null;
1767
2725
  }
2726
+ export interface Palette {
2727
+ uid?: string | null;
2728
+ swatches?: Swatch[] | null;
2729
+ readonly count?: number;
2730
+ }
1768
2731
  /** Placeholder item content type. */
1769
2732
  export declare enum PlaceholderItemContentType {
1770
2733
  Image = "Image"
@@ -1774,6 +2737,20 @@ export interface PointF {
1774
2737
  x?: number;
1775
2738
  y?: number;
1776
2739
  }
2740
+ /** Position of the print-product element top left point on surface. */
2741
+ export interface PositionDto {
2742
+ /** Print-product element Y axis position. */
2743
+ top?: number;
2744
+ /** Print-product element X axis position. */
2745
+ left?: number;
2746
+ }
2747
+ /** Position of item top left point on design surface. */
2748
+ export interface PositionModel {
2749
+ /** Y axis position. */
2750
+ top?: number;
2751
+ /** X axis position. */
2752
+ left?: number;
2753
+ }
1777
2754
  export interface PreviewColorSettings {
1778
2755
  rgbColorProfileName?: string | null;
1779
2756
  cmykColorProfileName?: string | null;
@@ -1876,7 +2853,7 @@ export interface RenderDesignPreviewToResourceModel {
1876
2853
  /** Parameters of resource that should be created for a preview rendering result. */
1877
2854
  previewResourceParams?: ResourceParams | null;
1878
2855
  /** Flag that indicates if an existing resource should be overwritten. */
1879
- overwriteExistingResource?: boolean;
2856
+ overwriteExistingResource?: boolean | null;
1880
2857
  /** Design identifier.
1881
2858
  Used to get design file from public or private storage. */
1882
2859
  designId?: string | null;
@@ -1907,7 +2884,7 @@ export interface RenderDesignProofToResourceModel {
1907
2884
  /** Parameters of resource that should be created for a preview rendering result. */
1908
2885
  proofResourceParams?: ResourceParams | null;
1909
2886
  /** Flag that indicates if an existing resource should be overwritten. */
1910
- overwriteExistingResource?: boolean;
2887
+ overwriteExistingResource?: boolean | null;
1911
2888
  /** Design identifier.
1912
2889
  Used to get design file from public or private storage. */
1913
2890
  designId?: string | null;
@@ -1928,13 +2905,18 @@ export interface RenderImagePreviewFromUrlModel {
1928
2905
  mockupId?: string | null;
1929
2906
  /** Image preview configuration. */
1930
2907
  renderingConfig?: ImagePreviewRenderingConfig | null;
2908
+ /** Headers that will be used to download remote image by URL.
2909
+ For example, `Authorization` header can be placed here to provide access to image. */
2910
+ headers?: {
2911
+ [key: string]: string;
2912
+ } | null;
1931
2913
  }
1932
2914
  /** Image preview rendering parameters. Result will be saved as resource with parameters set as Aurigma.DesignAtomsApi.WebApi.Models.Image.RenderImagePreviewFromUrlToResourceModel.PreviewResourceParams. */
1933
2915
  export interface RenderImagePreviewFromUrlToResourceModel {
1934
2916
  /** Parameters of resource that should be created for a preview rendering result. */
1935
2917
  previewResourceParams?: ResourceParams | null;
1936
2918
  /** Flag that indicates if an existing resource should be overwritten. */
1937
- overwriteExistingResource?: boolean;
2919
+ overwriteExistingResource?: boolean | null;
1938
2920
  /** Web image URL. */
1939
2921
  imageUrl?: string | null;
1940
2922
  /** Mockup owner identifier. */
@@ -1943,6 +2925,11 @@ export interface RenderImagePreviewFromUrlToResourceModel {
1943
2925
  mockupId?: string | null;
1944
2926
  /** Image preview configuration. */
1945
2927
  renderingConfig?: ImagePreviewRenderingConfig | null;
2928
+ /** Headers that will be used to download remote image by URL.
2929
+ For example, `Authorization` header can be placed here to provide access to image. */
2930
+ headers?: {
2931
+ [key: string]: string;
2932
+ } | null;
1946
2933
  }
1947
2934
  /** Image preview rendering parameters. */
1948
2935
  export interface RenderImagePreviewModel {
@@ -1964,7 +2951,7 @@ export interface RenderImagePreviewToResourceModel {
1964
2951
  /** Parameters of resource that should be created for a preview rendering result. */
1965
2952
  previewResourceParams?: ResourceParams | null;
1966
2953
  /** Flag that indicates if an existing resource should be overwritten. */
1967
- overwriteExistingResource?: boolean;
2954
+ overwriteExistingResource?: boolean | null;
1968
2955
  /** External image URL. */
1969
2956
  imageUrl?: string | null;
1970
2957
  /** Storage image identifier. */
@@ -2001,11 +2988,47 @@ export interface ResourceParams {
2001
2988
  type?: string | null;
2002
2989
  anonymousAccess?: boolean;
2003
2990
  }
2991
+ /** Parameters of 'setting editor mockup for design surfaces' operation. */
2992
+ export interface SetEditorMockupsModel {
2993
+ /** List of editor mockup binding instructions. */
2994
+ editorMockupBindings?: EditorMockupBindingModel[] | null;
2995
+ }
2996
+ /** Size of the print-product element. */
2997
+ export interface SizeDto {
2998
+ /** Print-product element width. */
2999
+ width?: number;
3000
+ /** Print-product element height. */
3001
+ height?: number;
3002
+ }
3003
+ /** Design item size. */
3004
+ export interface SizeModel {
3005
+ /** Design item width. */
3006
+ width?: number;
3007
+ /** Design item height. */
3008
+ height?: number;
3009
+ }
3010
+ export interface Swatch {
3011
+ readonly tags?: {
3012
+ [key: string]: any;
3013
+ } | null;
3014
+ swatchValue?: SwatchValue | null;
3015
+ group?: string | null;
3016
+ readonly version?: string | null;
3017
+ id?: string | null;
3018
+ name?: string | null;
3019
+ }
3020
+ export interface SwatchValue {
3021
+ color?: Color | null;
3022
+ }
2004
3023
  export interface UnprocessableDesignElementDto {
3024
+ /** Missing element type. */
3025
+ readonly missingElementType?: DesignElementType | null;
3026
+ /** Missing element type. */
3027
+ readonly unprocessedElementType?: DesignElementType | null;
2005
3028
  /** Problem description. */
2006
3029
  description?: string | null;
2007
- /** Missing element type. */
2008
- readonly missingElementType?: DesignElementType;
3030
+ /** Coflict type. */
3031
+ type?: ConflictType;
2009
3032
  }
2010
3033
  export interface UpdateColorsRequest {
2011
3034
  canvasData?: string | null;