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