@aurigma/ng-design-atoms-api-client 2.65.1 → 2.67.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -446,7 +446,7 @@ export interface IDesignAtomsImagesApiClient {
446
446
  * @param fitMode (optional)
447
447
  * @return Success
448
448
  */
449
- renderImagePreviewFromFileToResource(tenantId?: number | undefined, resourceOwnerId?: string | null | undefined, resourceNamespace?: string | null | undefined, resourceName?: string | null | undefined, resourceSourceId?: string | null | undefined, resourceType?: string | null | undefined, anonymousAccess?: boolean | undefined, overwriteExistingResource?: boolean | undefined, sourceFile?: FileParameter | null | undefined, mockupOwnerId?: string | null | undefined, mockupId?: string | null | undefined, width?: number | null | undefined, height?: number | null | undefined, fileFormat?: ImagePreviewFormat | null | undefined, fitMode?: ImagePreviewFitMode | null | undefined): Observable<ResourceInfoDto>;
449
+ renderImagePreviewFromFileToResource(tenantId?: number | undefined, resourceOwnerId?: string | null | undefined, resourceNamespace?: string | null | undefined, resourceName?: string | null | undefined, resourceSourceId?: string | null | undefined, resourceType?: string | null | undefined, anonymousAccess?: boolean | null | undefined, overwriteExistingResource?: boolean | null | undefined, sourceFile?: FileParameter | null | undefined, mockupOwnerId?: string | null | undefined, mockupId?: string | null | undefined, width?: number | null | undefined, height?: number | null | undefined, fileFormat?: ImagePreviewFormat | null | undefined, fitMode?: ImagePreviewFitMode | null | undefined): Observable<ResourceInfoDto>;
450
450
  /**
451
451
  * Renders a preview of a web image with the specified parameters.
452
452
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
@@ -521,7 +521,7 @@ export declare class DesignAtomsImagesApiClient extends ApiClientBase implements
521
521
  * @param fitMode (optional)
522
522
  * @return Success
523
523
  */
524
- renderImagePreviewFromFileToResource(tenantId?: number | undefined, resourceOwnerId?: string | null | undefined, resourceNamespace?: string | null | undefined, resourceName?: string | null | undefined, resourceSourceId?: string | null | undefined, resourceType?: string | null | undefined, anonymousAccess?: boolean | undefined, overwriteExistingResource?: boolean | undefined, sourceFile?: FileParameter | null | undefined, mockupOwnerId?: string | null | undefined, mockupId?: string | null | undefined, width?: number | null | undefined, height?: number | null | undefined, fileFormat?: ImagePreviewFormat | null | undefined, fitMode?: ImagePreviewFitMode | null | undefined): Observable<ResourceInfoDto>;
524
+ renderImagePreviewFromFileToResource(tenantId?: number | undefined, resourceOwnerId?: string | null | undefined, resourceNamespace?: string | null | undefined, resourceName?: string | null | undefined, resourceSourceId?: string | null | undefined, resourceType?: string | null | undefined, anonymousAccess?: boolean | null | undefined, overwriteExistingResource?: boolean | null | undefined, sourceFile?: FileParameter | null | undefined, mockupOwnerId?: string | null | undefined, mockupId?: string | null | undefined, width?: number | null | undefined, height?: number | null | undefined, fileFormat?: ImagePreviewFormat | null | undefined, fitMode?: ImagePreviewFitMode | null | undefined): Observable<ResourceInfoDto>;
525
525
  protected processRenderImagePreviewFromFileToResource(response: HttpResponseBase): Observable<ResourceInfoDto>;
526
526
  /**
527
527
  * Renders a preview of a web image with the specified parameters.
@@ -609,6 +609,48 @@ export declare class DesignAtomsMockups3dApiClient extends ApiClientBase impleme
609
609
  getGeometryFile(id: string, ownerId?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
610
610
  protected processGetGeometryFile(response: HttpResponseBase): Observable<FileResponse>;
611
611
  }
612
+ export interface IDesignAtomsPalettesApiClient {
613
+ /**
614
+ * Returns a closest color to provided color in a specified palette.
615
+ * @param paletteUID (optional) Palette UID.
616
+ * @param tenantId (optional) Tenant identifier
617
+ * @param body (optional) Source color.
618
+ * @return Success
619
+ */
620
+ findPaletteColor(paletteUID?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<Palette>;
621
+ /**
622
+ * Returns a serialized palette model by its identifier or UID.
623
+ * @param id (optional) Palette identifier.
624
+ * @param uid (optional) Palette UID.
625
+ * @param tenantId (optional) Tenant identifier
626
+ * @return Success
627
+ */
628
+ getPaletteModel(id?: string | null | undefined, uid?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
629
+ }
630
+ export declare class DesignAtomsPalettesApiClient extends ApiClientBase implements IDesignAtomsPalettesApiClient {
631
+ private http;
632
+ private baseUrl;
633
+ protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
634
+ constructor(configuration: ApiClientConfiguration, http: HttpClient, baseUrl?: string);
635
+ /**
636
+ * Returns a closest color to provided color in a specified palette.
637
+ * @param paletteUID (optional) Palette UID.
638
+ * @param tenantId (optional) Tenant identifier
639
+ * @param body (optional) Source color.
640
+ * @return Success
641
+ */
642
+ findPaletteColor(paletteUID?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<Palette>;
643
+ protected processFindPaletteColor(response: HttpResponseBase): Observable<Palette>;
644
+ /**
645
+ * Returns a serialized palette model by its identifier or UID.
646
+ * @param id (optional) Palette identifier.
647
+ * @param uid (optional) Palette UID.
648
+ * @param tenantId (optional) Tenant identifier
649
+ * @return Success
650
+ */
651
+ getPaletteModel(id?: string | null | undefined, uid?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
652
+ protected processGetPaletteModel(response: HttpResponseBase): Observable<any>;
653
+ }
612
654
  export interface IDesignAtomsPrintProductApiClient {
613
655
  /**
614
656
  * Patches a print-product of the specified design file.
@@ -624,6 +666,110 @@ export interface IDesignAtomsPrintProductApiClient {
624
666
  * @return No Content
625
667
  */
626
668
  patchDesignProduct(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, patchType?: ProductPatchType | undefined, replaceImageItemFileInfo_itemName?: string | null | undefined, replaceImageItemFileInfo_sourceFile?: FileParameter | null | undefined, replacePlaceholderItemContentInfo_placeholderItemName?: string | null | undefined, replacePlaceholderItemContentInfo_newContentType?: PlaceholderItemContentType | undefined, replacePlaceholderItemContentInfo_sourceFile?: FileParameter | null | undefined): Observable<void>;
669
+ /**
670
+ * Returns a list of print-product container descriptions of the specified design file.
671
+ * @param id Design identifier.
672
+ * @param surfaceId (optional) Print-product surface identifier.
673
+ * @param privateStorageOwner (optional) Private storage owner identifier.
674
+ * @param tenantId (optional) Tenant identifier
675
+ * @return Success
676
+ */
677
+ getDesignSurfaceContainers(id: string, surfaceId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignSurfaceContainerDto[]>;
678
+ /**
679
+ * Deletes a specified print-product container in an existing design file.
680
+ * @param id Design identifier.
681
+ * @param containerId Print-product container identifier.
682
+ * @param privateStorageOwner (optional) Private storage owner identifier.
683
+ * @param tenantId (optional) Tenant identifier
684
+ * @return No Content
685
+ */
686
+ deleteDesignSurfaceContainer(id: string, containerId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
687
+ /**
688
+ * Returns a print-product container of the specified design file as a json-serialized model.
689
+ * @param id Design identifier.
690
+ * @param containerId Print-product container identifier.
691
+ * @param privateStorageOwner (optional) Private storage owner identifier.
692
+ * @param tenantId (optional) Tenant identifier
693
+ * @return Success
694
+ */
695
+ getDesignSurfaceContainerModel(id: string, containerId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
696
+ /**
697
+ * Updates a specified print-product container in an existing design file with the data provided as a json-serialized model.
698
+ * @param id Design identifier.
699
+ * @param containerId Print-product container identifier.
700
+ * @param privateStorageOwner (optional) Private storage owner identifier.
701
+ * @param tenantId (optional) Tenant identifier
702
+ * @param body (optional) Json-serialized model of a print-product container.
703
+ * @return Success
704
+ */
705
+ updateDesignSurfaceContainerModel(id: string, containerId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
706
+ /**
707
+ * Inserts a new print-product container provided as a json-serialized model to the certain surface in an existing design file.
708
+ Print-product container identifier will be reset by auto-generated value to prevent identifiers collisions.
709
+ * @param id Design identifier.
710
+ * @param surfaceId (optional) Print-product surface identifier.
711
+ * @param index (optional) Container index within the conatiners list of a surface.
712
+ * @param top (optional) Y axis position.
713
+ * @param left (optional) X axis position.
714
+ * @param privateStorageOwner (optional) Private storage owner identifier.
715
+ * @param tenantId (optional) Tenant identifier
716
+ * @param body (optional) Json-serialized model of a new print-product container.
717
+ * @return Success
718
+ */
719
+ addDesignSurfaceContainerModel(id: string, surfaceId?: string | null | undefined, index?: number | null | undefined, top?: number | undefined, left?: number | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
720
+ /**
721
+ * Returns a list of print-product items descriptions of the specified design file.
722
+ * @param id Design identifier.
723
+ * @param surfaceId (optional) Print-product surface identifier.
724
+ * @param containerId (optional) Print-product container identifier.
725
+ * @param parentItemId (optional) Print-product item identifier.
726
+ * @param privateStorageOwner (optional) Private storage owner identifier.
727
+ * @param tenantId (optional) Tenant identifier
728
+ * @return Success
729
+ */
730
+ getDesignSurfaceItems(id: string, surfaceId?: string | null | undefined, containerId?: string | null | undefined, parentItemId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignSurfaceItemDto[]>;
731
+ /**
732
+ * Deletes a specified print-product item in an existing design file.
733
+ * @param id Design identifier.
734
+ * @param itemId Print-product item identifier.
735
+ * @param privateStorageOwner (optional) Private storage owner identifier.
736
+ * @param tenantId (optional) Tenant identifier
737
+ * @return No Content
738
+ */
739
+ deleteDesignSurfaceItem(id: string, itemId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
740
+ /**
741
+ * Returns a print-product item of the specified design file as a json-serialized model.
742
+ * @param id Design identifier.
743
+ * @param itemId Print-product item identifier.
744
+ * @param privateStorageOwner (optional) Private storage owner identifier.
745
+ * @param tenantId (optional) Tenant identifier
746
+ * @return Success
747
+ */
748
+ getDesignSurfaceItemModel(id: string, itemId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
749
+ /**
750
+ * Updates a specified print-product surface item in an existing design file with the data provided as a json-serialized item model.
751
+ * @param id Design identifier.
752
+ * @param itemId Print-product item identifier.
753
+ * @param privateStorageOwner (optional) Private storage owner identifier.
754
+ * @param tenantId (optional) Tenant identifier
755
+ * @param body (optional) Json-serialized model of a print-product item.
756
+ * @return Success
757
+ */
758
+ updateDesignSurfaceItemModel(id: string, itemId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
759
+ /**
760
+ * Inserts a new print-product item provided as a json-serialized model to the specified surface in an existing design file.
761
+ Item identifier will be reset by auto-generated value to prevent identifiers collisions.
762
+ * @param id Design identifier.
763
+ * @param containerId (optional) Parent surface identifier.
764
+ * @param index (optional) Item index within the items list of a container.
765
+ * @param top (optional) Y axis position.
766
+ * @param left (optional) X axis position.
767
+ * @param privateStorageOwner (optional) Private storage owner identifier.
768
+ * @param tenantId (optional) Tenant identifier
769
+ * @param body (optional) Json-serialized model of a new print-product item.
770
+ * @return Success
771
+ */
772
+ addDesignSurfaceItemModel(id: string, containerId?: string | null | undefined, index?: number | null | undefined, top?: number | undefined, left?: number | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
627
773
  /**
628
774
  * Returns a print-product of the specified design file as a json-serialized model.
629
775
  * @param id Design identifier.
@@ -633,11 +779,11 @@ export interface IDesignAtomsPrintProductApiClient {
633
779
  */
634
780
  getDesignProductModel(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
635
781
  /**
636
- * Saves a print-product provided as a json-serialized model to the specified design file.
782
+ * Updates a print-product provided as a json-serialized model is the specified design file.
637
783
  * @param id Design identifier.
638
784
  * @param privateStorageOwner (optional) Private storage owner identifier.
639
785
  * @param tenantId (optional) Tenant identifier
640
- * @param body (optional) Serialized print-product description.
786
+ * @param body (optional) Json-serialized model of a print-product .
641
787
  * @return No Content
642
788
  */
643
789
  updateDesignProductModel(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<void>;
@@ -650,6 +796,26 @@ export interface IDesignAtomsPrintProductApiClient {
650
796
  * @return Success
651
797
  */
652
798
  getDesignPrintAreas(id: string, surfaceId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignPrintAreaDto[]>;
799
+ /**
800
+ * Inserts a new print-area created by the description at the specified position in an existing design file.
801
+ Print-area identifier will be reset by auto-generated value to prevent identifiers collisions.
802
+ * @param id Design identifier.
803
+ * @param privateStorageOwner (optional) Private storage owner identifier.
804
+ * @param tenantId (optional) Tenant identifier
805
+ * @param body (optional) Print-area description model.
806
+ * @return Success
807
+ */
808
+ addDesignPrintArea(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: DesignPrintAreaParams | undefined): Observable<any>;
809
+ /**
810
+ * Updates a specified print-area using a description in an existing design file.
811
+ * @param id Design identifier.
812
+ * @param printAreaId Design print-area identifier.
813
+ * @param privateStorageOwner (optional) Private storage owner identifier.
814
+ * @param tenantId (optional) Tenant identifier
815
+ * @param body (optional) Print-area description model.
816
+ * @return Success
817
+ */
818
+ updateDesignPrintArea(id: string, printAreaId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: DesignPrintAreaParams | undefined): Observable<any>;
653
819
  /**
654
820
  * Deletes a specified print-area in an existing design file.
655
821
  * @param id Design identifier.
@@ -674,7 +840,7 @@ export interface IDesignAtomsPrintProductApiClient {
674
840
  * @param printAreaId Design print-area identifier.
675
841
  * @param privateStorageOwner (optional) Private storage owner identifier.
676
842
  * @param tenantId (optional) Tenant identifier
677
- * @param body (optional) Updated print-area model.
843
+ * @param body (optional) Json-serialized model of a print-area.
678
844
  * @return Success
679
845
  */
680
846
  updateDesignPrintAreaModel(id: string, printAreaId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
@@ -685,7 +851,7 @@ export interface IDesignAtomsPrintProductApiClient {
685
851
  * @param surfaceId (optional) Parent surface identifier.
686
852
  * @param privateStorageOwner (optional) Private storage owner identifier.
687
853
  * @param tenantId (optional) Tenant identifier
688
- * @param body (optional) New print-area model.
854
+ * @param body (optional) Json serialized model of a print-area.
689
855
  * @return Success
690
856
  */
691
857
  addDesignPrintAreaModel(id: string, surfaceId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
@@ -700,25 +866,25 @@ export interface IDesignAtomsPrintProductApiClient {
700
866
  /**
701
867
  * Deletes a specified print-product surface in an existing design file.
702
868
  * @param id Design identifier.
703
- * @param surfaceId Surface identifier.
869
+ * @param surfaceId Print-product surface identifier.
704
870
  * @param privateStorageOwner (optional) Private storage owner identifier.
705
871
  * @param tenantId (optional) Tenant identifier
706
872
  * @return No Content
707
873
  */
708
874
  deleteDesignSurface(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
709
875
  /**
710
- * Returns a down-mockup description of the specified surface in an existing design file.
876
+ * Returns a down-mockup description of the specified print-product surface in an existing design file.
711
877
  * @param id Design identifier.
712
- * @param surfaceId Design surface identifier.
878
+ * @param surfaceId Print product surface identifier.
713
879
  * @param privateStorageOwner (optional) Private storage owner identifier.
714
880
  * @param tenantId (optional) Tenant identifier
715
881
  * @return Success
716
882
  */
717
883
  getDesignSurfaceDownMockup(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignSurfaceMockupDto>;
718
884
  /**
719
- * Updates a content file of down-mockup for the specified surface in an existing design file.
885
+ * Updates a content file of down-mockup for the specified print-product surface in an existing design file.
720
886
  * @param id Design identifier.
721
- * @param surfaceId Design surface identifier.
887
+ * @param surfaceId Print-product surface identifier.
722
888
  * @param privateStorageOwner (optional) Private storage owner identifier.
723
889
  * @param tenantId (optional) Tenant identifier
724
890
  * @param position_top (optional)
@@ -728,27 +894,27 @@ export interface IDesignAtomsPrintProductApiClient {
728
894
  */
729
895
  updateDesignSurfaceDownMockup(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, position_top?: number | undefined, position_left?: number | undefined, sourceFile?: FileParameter | null | undefined): Observable<any>;
730
896
  /**
731
- * Returns a content file for down-mockup of the specified surface in an existing design file.
897
+ * Returns a content file for down-mockup of the specified print-product surface in an existing design file.
732
898
  * @param id Design identifier.
733
- * @param surfaceId Design surface identifier.
899
+ * @param surfaceId Print-product surface identifier.
734
900
  * @param privateStorageOwner (optional) Private storage owner identifier.
735
901
  * @param tenantId (optional) Tenant identifier
736
902
  * @return Success
737
903
  */
738
904
  getDesignSurfaceDownMockupContent(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
739
905
  /**
740
- * Returns an up-mockup description of the specified surface in an existing design file.
906
+ * Returns an up-mockup description of the specified print-product surface in an existing design file.
741
907
  * @param id Design identifier.
742
- * @param surfaceId Design surface identifier.
908
+ * @param surfaceId Print-product surface identifier.
743
909
  * @param privateStorageOwner (optional) Private storage owner identifier.
744
910
  * @param tenantId (optional) Tenant identifier
745
911
  * @return Success
746
912
  */
747
913
  getDesignSurfaceUpMockup(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignSurfaceMockupDto>;
748
914
  /**
749
- * Updates a content file of up-mockup for the specified surface in an existing design.
915
+ * Updates a content file of up-mockup for the specified print-product surface in an existing design.
750
916
  * @param id Design identifier.
751
- * @param surfaceId Design surface identifier.
917
+ * @param surfaceId Print-product surface identifier.
752
918
  * @param privateStorageOwner (optional) Private storage owner identifier.
753
919
  * @param tenantId (optional) Tenant identifier
754
920
  * @param position_top (optional)
@@ -758,9 +924,9 @@ export interface IDesignAtomsPrintProductApiClient {
758
924
  */
759
925
  updateDesignSurfaceUpMockup(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, position_top?: number | undefined, position_left?: number | undefined, sourceFile?: FileParameter | null | undefined): Observable<any>;
760
926
  /**
761
- * Returns a content file for up-mockup of the specified surface in an existing design file.
927
+ * Returns a content file for up-mockup of the specified print-product surface in an existing design file.
762
928
  * @param id Design identifier.
763
- * @param surfaceId Design surface identifier.
929
+ * @param surfaceId Print-product surface identifier.
764
930
  * @param privateStorageOwner (optional) Private storage owner identifier.
765
931
  * @param tenantId (optional) Tenant identifier
766
932
  * @return Success
@@ -777,26 +943,26 @@ export interface IDesignAtomsPrintProductApiClient {
777
943
  getDesignSurfaceModel(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
778
944
  /**
779
945
  * Replaces a specified print-product surface in an existing design file with the data provided as a json-serialized surface model.
780
- All identifiers of a replaced surface (including surface identifier) will be reset by auto-generated values to prevent identifiers collisions.
946
+ All design elements identifiers within the surface (including surface identifier) will be reset by auto-generated values to prevent identifiers collisions.
781
947
  * @param id Design identifier.
782
- * @param surfaceId Design surface identifier.
948
+ * @param surfaceId Print-product surface identifier.
783
949
  * @param privateStorageOwner (optional) Private storage owner identifier.
784
950
  * @param tenantId (optional) Tenant identifier
785
- * @param body (optional) Updated surface model.
951
+ * @param body (optional) Json-serialized model of a print-product surface.
786
952
  * @return Success
787
953
  */
788
954
  replaceDesignSurfaceModel(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
789
955
  /**
790
956
  * Inserts a new surface provided as a json-serialized model at the specified position in an existing design file.
791
- All identifiers of a replaced surface (including surface identifier) will be reset by auto-generated values to prevent identifiers collisions.
957
+ All design elements identifiers within the surface (including surface identifier) will be reset by auto-generated values to prevent identifiers collisions.
792
958
  * @param id Design identifier.
793
- * @param surfaceIndex (optional) New surface index.
959
+ * @param index (optional) Surface index within the surfaces list of a design.
794
960
  * @param privateStorageOwner (optional) Private storage owner identifier.
795
961
  * @param tenantId (optional) Tenant identifier
796
- * @param body (optional) New surface model.
962
+ * @param body (optional) Json-serialized model of a print-prouduct surface.
797
963
  * @return Success
798
964
  */
799
- addDesignSurfaceModel(id: string, surfaceIndex?: number | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
965
+ addDesignSurfaceModel(id: string, index?: number | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
800
966
  }
801
967
  export declare class DesignAtomsPrintProductApiClient extends ApiClientBase implements IDesignAtomsPrintProductApiClient {
802
968
  private http;
@@ -818,6 +984,120 @@ export declare class DesignAtomsPrintProductApiClient extends ApiClientBase impl
818
984
  */
819
985
  patchDesignProduct(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, patchType?: ProductPatchType | undefined, replaceImageItemFileInfo_itemName?: string | null | undefined, replaceImageItemFileInfo_sourceFile?: FileParameter | null | undefined, replacePlaceholderItemContentInfo_placeholderItemName?: string | null | undefined, replacePlaceholderItemContentInfo_newContentType?: PlaceholderItemContentType | undefined, replacePlaceholderItemContentInfo_sourceFile?: FileParameter | null | undefined): Observable<void>;
820
986
  protected processPatchDesignProduct(response: HttpResponseBase): Observable<void>;
987
+ /**
988
+ * Returns a list of print-product container descriptions of the specified design file.
989
+ * @param id Design identifier.
990
+ * @param surfaceId (optional) Print-product surface identifier.
991
+ * @param privateStorageOwner (optional) Private storage owner identifier.
992
+ * @param tenantId (optional) Tenant identifier
993
+ * @return Success
994
+ */
995
+ getDesignSurfaceContainers(id: string, surfaceId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignSurfaceContainerDto[]>;
996
+ protected processGetDesignSurfaceContainers(response: HttpResponseBase): Observable<DesignSurfaceContainerDto[]>;
997
+ /**
998
+ * Deletes a specified print-product container in an existing design file.
999
+ * @param id Design identifier.
1000
+ * @param containerId Print-product container identifier.
1001
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1002
+ * @param tenantId (optional) Tenant identifier
1003
+ * @return No Content
1004
+ */
1005
+ deleteDesignSurfaceContainer(id: string, containerId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
1006
+ protected processDeleteDesignSurfaceContainer(response: HttpResponseBase): Observable<void>;
1007
+ /**
1008
+ * Returns a print-product container of the specified design file as a json-serialized model.
1009
+ * @param id Design identifier.
1010
+ * @param containerId Print-product container identifier.
1011
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1012
+ * @param tenantId (optional) Tenant identifier
1013
+ * @return Success
1014
+ */
1015
+ getDesignSurfaceContainerModel(id: string, containerId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
1016
+ protected processGetDesignSurfaceContainerModel(response: HttpResponseBase): Observable<any>;
1017
+ /**
1018
+ * Updates a specified print-product container in an existing design file with the data provided as a json-serialized model.
1019
+ * @param id Design identifier.
1020
+ * @param containerId Print-product container identifier.
1021
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1022
+ * @param tenantId (optional) Tenant identifier
1023
+ * @param body (optional) Json-serialized model of a print-product container.
1024
+ * @return Success
1025
+ */
1026
+ updateDesignSurfaceContainerModel(id: string, containerId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
1027
+ protected processUpdateDesignSurfaceContainerModel(response: HttpResponseBase): Observable<any>;
1028
+ /**
1029
+ * Inserts a new print-product container provided as a json-serialized model to the certain surface in an existing design file.
1030
+ Print-product container identifier will be reset by auto-generated value to prevent identifiers collisions.
1031
+ * @param id Design identifier.
1032
+ * @param surfaceId (optional) Print-product surface identifier.
1033
+ * @param index (optional) Container index within the conatiners list of a surface.
1034
+ * @param top (optional) Y axis position.
1035
+ * @param left (optional) X axis position.
1036
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1037
+ * @param tenantId (optional) Tenant identifier
1038
+ * @param body (optional) Json-serialized model of a new print-product container.
1039
+ * @return Success
1040
+ */
1041
+ addDesignSurfaceContainerModel(id: string, surfaceId?: string | null | undefined, index?: number | null | undefined, top?: number | undefined, left?: number | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
1042
+ protected processAddDesignSurfaceContainerModel(response: HttpResponseBase): Observable<any>;
1043
+ /**
1044
+ * Returns a list of print-product items descriptions of the specified design file.
1045
+ * @param id Design identifier.
1046
+ * @param surfaceId (optional) Print-product surface identifier.
1047
+ * @param containerId (optional) Print-product container identifier.
1048
+ * @param parentItemId (optional) Print-product item identifier.
1049
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1050
+ * @param tenantId (optional) Tenant identifier
1051
+ * @return Success
1052
+ */
1053
+ getDesignSurfaceItems(id: string, surfaceId?: string | null | undefined, containerId?: string | null | undefined, parentItemId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignSurfaceItemDto[]>;
1054
+ protected processGetDesignSurfaceItems(response: HttpResponseBase): Observable<DesignSurfaceItemDto[]>;
1055
+ /**
1056
+ * Deletes a specified print-product item in an existing design file.
1057
+ * @param id Design identifier.
1058
+ * @param itemId Print-product item identifier.
1059
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1060
+ * @param tenantId (optional) Tenant identifier
1061
+ * @return No Content
1062
+ */
1063
+ deleteDesignSurfaceItem(id: string, itemId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
1064
+ protected processDeleteDesignSurfaceItem(response: HttpResponseBase): Observable<void>;
1065
+ /**
1066
+ * Returns a print-product item of the specified design file as a json-serialized model.
1067
+ * @param id Design identifier.
1068
+ * @param itemId Print-product item identifier.
1069
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1070
+ * @param tenantId (optional) Tenant identifier
1071
+ * @return Success
1072
+ */
1073
+ getDesignSurfaceItemModel(id: string, itemId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
1074
+ protected processGetDesignSurfaceItemModel(response: HttpResponseBase): Observable<any>;
1075
+ /**
1076
+ * Updates a specified print-product surface item in an existing design file with the data provided as a json-serialized item model.
1077
+ * @param id Design identifier.
1078
+ * @param itemId Print-product item identifier.
1079
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1080
+ * @param tenantId (optional) Tenant identifier
1081
+ * @param body (optional) Json-serialized model of a print-product item.
1082
+ * @return Success
1083
+ */
1084
+ updateDesignSurfaceItemModel(id: string, itemId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
1085
+ protected processUpdateDesignSurfaceItemModel(response: HttpResponseBase): Observable<any>;
1086
+ /**
1087
+ * Inserts a new print-product item provided as a json-serialized model to the specified surface in an existing design file.
1088
+ Item identifier will be reset by auto-generated value to prevent identifiers collisions.
1089
+ * @param id Design identifier.
1090
+ * @param containerId (optional) Parent surface identifier.
1091
+ * @param index (optional) Item index within the items list of a container.
1092
+ * @param top (optional) Y axis position.
1093
+ * @param left (optional) X axis position.
1094
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1095
+ * @param tenantId (optional) Tenant identifier
1096
+ * @param body (optional) Json-serialized model of a new print-product item.
1097
+ * @return Success
1098
+ */
1099
+ addDesignSurfaceItemModel(id: string, containerId?: string | null | undefined, index?: number | null | undefined, top?: number | undefined, left?: number | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
1100
+ protected processAddDesignSurfaceItemModel(response: HttpResponseBase): Observable<any>;
821
1101
  /**
822
1102
  * Returns a print-product of the specified design file as a json-serialized model.
823
1103
  * @param id Design identifier.
@@ -828,11 +1108,11 @@ export declare class DesignAtomsPrintProductApiClient extends ApiClientBase impl
828
1108
  getDesignProductModel(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
829
1109
  protected processGetDesignProductModel(response: HttpResponseBase): Observable<any>;
830
1110
  /**
831
- * Saves a print-product provided as a json-serialized model to the specified design file.
1111
+ * Updates a print-product provided as a json-serialized model is the specified design file.
832
1112
  * @param id Design identifier.
833
1113
  * @param privateStorageOwner (optional) Private storage owner identifier.
834
1114
  * @param tenantId (optional) Tenant identifier
835
- * @param body (optional) Serialized print-product description.
1115
+ * @param body (optional) Json-serialized model of a print-product .
836
1116
  * @return No Content
837
1117
  */
838
1118
  updateDesignProductModel(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<void>;
@@ -847,6 +1127,28 @@ export declare class DesignAtomsPrintProductApiClient extends ApiClientBase impl
847
1127
  */
848
1128
  getDesignPrintAreas(id: string, surfaceId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignPrintAreaDto[]>;
849
1129
  protected processGetDesignPrintAreas(response: HttpResponseBase): Observable<DesignPrintAreaDto[]>;
1130
+ /**
1131
+ * Inserts a new print-area created by the description at the specified position in an existing design file.
1132
+ Print-area identifier will be reset by auto-generated value to prevent identifiers collisions.
1133
+ * @param id Design identifier.
1134
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1135
+ * @param tenantId (optional) Tenant identifier
1136
+ * @param body (optional) Print-area description model.
1137
+ * @return Success
1138
+ */
1139
+ addDesignPrintArea(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: DesignPrintAreaParams | undefined): Observable<any>;
1140
+ protected processAddDesignPrintArea(response: HttpResponseBase): Observable<any>;
1141
+ /**
1142
+ * Updates a specified print-area using a description in an existing design file.
1143
+ * @param id Design identifier.
1144
+ * @param printAreaId Design print-area identifier.
1145
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1146
+ * @param tenantId (optional) Tenant identifier
1147
+ * @param body (optional) Print-area description model.
1148
+ * @return Success
1149
+ */
1150
+ updateDesignPrintArea(id: string, printAreaId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: DesignPrintAreaParams | undefined): Observable<any>;
1151
+ protected processUpdateDesignPrintArea(response: HttpResponseBase): Observable<any>;
850
1152
  /**
851
1153
  * Deletes a specified print-area in an existing design file.
852
1154
  * @param id Design identifier.
@@ -873,7 +1175,7 @@ export declare class DesignAtomsPrintProductApiClient extends ApiClientBase impl
873
1175
  * @param printAreaId Design print-area identifier.
874
1176
  * @param privateStorageOwner (optional) Private storage owner identifier.
875
1177
  * @param tenantId (optional) Tenant identifier
876
- * @param body (optional) Updated print-area model.
1178
+ * @param body (optional) Json-serialized model of a print-area.
877
1179
  * @return Success
878
1180
  */
879
1181
  updateDesignPrintAreaModel(id: string, printAreaId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
@@ -885,7 +1187,7 @@ export declare class DesignAtomsPrintProductApiClient extends ApiClientBase impl
885
1187
  * @param surfaceId (optional) Parent surface identifier.
886
1188
  * @param privateStorageOwner (optional) Private storage owner identifier.
887
1189
  * @param tenantId (optional) Tenant identifier
888
- * @param body (optional) New print-area model.
1190
+ * @param body (optional) Json serialized model of a print-area.
889
1191
  * @return Success
890
1192
  */
891
1193
  addDesignPrintAreaModel(id: string, surfaceId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
@@ -902,7 +1204,7 @@ export declare class DesignAtomsPrintProductApiClient extends ApiClientBase impl
902
1204
  /**
903
1205
  * Deletes a specified print-product surface in an existing design file.
904
1206
  * @param id Design identifier.
905
- * @param surfaceId Surface identifier.
1207
+ * @param surfaceId Print-product surface identifier.
906
1208
  * @param privateStorageOwner (optional) Private storage owner identifier.
907
1209
  * @param tenantId (optional) Tenant identifier
908
1210
  * @return No Content
@@ -910,9 +1212,9 @@ export declare class DesignAtomsPrintProductApiClient extends ApiClientBase impl
910
1212
  deleteDesignSurface(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
911
1213
  protected processDeleteDesignSurface(response: HttpResponseBase): Observable<void>;
912
1214
  /**
913
- * Returns a down-mockup description of the specified surface in an existing design file.
1215
+ * Returns a down-mockup description of the specified print-product surface in an existing design file.
914
1216
  * @param id Design identifier.
915
- * @param surfaceId Design surface identifier.
1217
+ * @param surfaceId Print product surface identifier.
916
1218
  * @param privateStorageOwner (optional) Private storage owner identifier.
917
1219
  * @param tenantId (optional) Tenant identifier
918
1220
  * @return Success
@@ -920,9 +1222,9 @@ export declare class DesignAtomsPrintProductApiClient extends ApiClientBase impl
920
1222
  getDesignSurfaceDownMockup(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignSurfaceMockupDto>;
921
1223
  protected processGetDesignSurfaceDownMockup(response: HttpResponseBase): Observable<DesignSurfaceMockupDto>;
922
1224
  /**
923
- * Updates a content file of down-mockup for the specified surface in an existing design file.
1225
+ * Updates a content file of down-mockup for the specified print-product surface in an existing design file.
924
1226
  * @param id Design identifier.
925
- * @param surfaceId Design surface identifier.
1227
+ * @param surfaceId Print-product surface identifier.
926
1228
  * @param privateStorageOwner (optional) Private storage owner identifier.
927
1229
  * @param tenantId (optional) Tenant identifier
928
1230
  * @param position_top (optional)
@@ -933,9 +1235,9 @@ export declare class DesignAtomsPrintProductApiClient extends ApiClientBase impl
933
1235
  updateDesignSurfaceDownMockup(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, position_top?: number | undefined, position_left?: number | undefined, sourceFile?: FileParameter | null | undefined): Observable<any>;
934
1236
  protected processUpdateDesignSurfaceDownMockup(response: HttpResponseBase): Observable<any>;
935
1237
  /**
936
- * Returns a content file for down-mockup of the specified surface in an existing design file.
1238
+ * Returns a content file for down-mockup of the specified print-product surface in an existing design file.
937
1239
  * @param id Design identifier.
938
- * @param surfaceId Design surface identifier.
1240
+ * @param surfaceId Print-product surface identifier.
939
1241
  * @param privateStorageOwner (optional) Private storage owner identifier.
940
1242
  * @param tenantId (optional) Tenant identifier
941
1243
  * @return Success
@@ -943,9 +1245,9 @@ export declare class DesignAtomsPrintProductApiClient extends ApiClientBase impl
943
1245
  getDesignSurfaceDownMockupContent(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<FileResponse>;
944
1246
  protected processGetDesignSurfaceDownMockupContent(response: HttpResponseBase): Observable<FileResponse>;
945
1247
  /**
946
- * Returns an up-mockup description of the specified surface in an existing design file.
1248
+ * Returns an up-mockup description of the specified print-product surface in an existing design file.
947
1249
  * @param id Design identifier.
948
- * @param surfaceId Design surface identifier.
1250
+ * @param surfaceId Print-product surface identifier.
949
1251
  * @param privateStorageOwner (optional) Private storage owner identifier.
950
1252
  * @param tenantId (optional) Tenant identifier
951
1253
  * @return Success
@@ -953,9 +1255,9 @@ export declare class DesignAtomsPrintProductApiClient extends ApiClientBase impl
953
1255
  getDesignSurfaceUpMockup(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignSurfaceMockupDto>;
954
1256
  protected processGetDesignSurfaceUpMockup(response: HttpResponseBase): Observable<DesignSurfaceMockupDto>;
955
1257
  /**
956
- * Updates a content file of up-mockup for the specified surface in an existing design.
1258
+ * Updates a content file of up-mockup for the specified print-product surface in an existing design.
957
1259
  * @param id Design identifier.
958
- * @param surfaceId Design surface identifier.
1260
+ * @param surfaceId Print-product surface identifier.
959
1261
  * @param privateStorageOwner (optional) Private storage owner identifier.
960
1262
  * @param tenantId (optional) Tenant identifier
961
1263
  * @param position_top (optional)
@@ -966,9 +1268,9 @@ export declare class DesignAtomsPrintProductApiClient extends ApiClientBase impl
966
1268
  updateDesignSurfaceUpMockup(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, position_top?: number | undefined, position_left?: number | undefined, sourceFile?: FileParameter | null | undefined): Observable<any>;
967
1269
  protected processUpdateDesignSurfaceUpMockup(response: HttpResponseBase): Observable<any>;
968
1270
  /**
969
- * Returns a content file for up-mockup of the specified surface in an existing design file.
1271
+ * Returns a content file for up-mockup of the specified print-product surface in an existing design file.
970
1272
  * @param id Design identifier.
971
- * @param surfaceId Design surface identifier.
1273
+ * @param surfaceId Print-product surface identifier.
972
1274
  * @param privateStorageOwner (optional) Private storage owner identifier.
973
1275
  * @param tenantId (optional) Tenant identifier
974
1276
  * @return Success
@@ -987,30 +1289,37 @@ export declare class DesignAtomsPrintProductApiClient extends ApiClientBase impl
987
1289
  protected processGetDesignSurfaceModel(response: HttpResponseBase): Observable<any>;
988
1290
  /**
989
1291
  * Replaces a specified print-product surface in an existing design file with the data provided as a json-serialized surface model.
990
- All identifiers of a replaced surface (including surface identifier) will be reset by auto-generated values to prevent identifiers collisions.
1292
+ All design elements identifiers within the surface (including surface identifier) will be reset by auto-generated values to prevent identifiers collisions.
991
1293
  * @param id Design identifier.
992
- * @param surfaceId Design surface identifier.
1294
+ * @param surfaceId Print-product surface identifier.
993
1295
  * @param privateStorageOwner (optional) Private storage owner identifier.
994
1296
  * @param tenantId (optional) Tenant identifier
995
- * @param body (optional) Updated surface model.
1297
+ * @param body (optional) Json-serialized model of a print-product surface.
996
1298
  * @return Success
997
1299
  */
998
1300
  replaceDesignSurfaceModel(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
999
1301
  protected processReplaceDesignSurfaceModel(response: HttpResponseBase): Observable<any>;
1000
1302
  /**
1001
1303
  * Inserts a new surface provided as a json-serialized model at the specified position in an existing design file.
1002
- All identifiers of a replaced surface (including surface identifier) will be reset by auto-generated values to prevent identifiers collisions.
1304
+ All design elements identifiers within the surface (including surface identifier) will be reset by auto-generated values to prevent identifiers collisions.
1003
1305
  * @param id Design identifier.
1004
- * @param surfaceIndex (optional) New surface index.
1306
+ * @param index (optional) Surface index within the surfaces list of a design.
1005
1307
  * @param privateStorageOwner (optional) Private storage owner identifier.
1006
1308
  * @param tenantId (optional) Tenant identifier
1007
- * @param body (optional) New surface model.
1309
+ * @param body (optional) Json-serialized model of a print-prouduct surface.
1008
1310
  * @return Success
1009
1311
  */
1010
- addDesignSurfaceModel(id: string, surfaceIndex?: number | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
1312
+ addDesignSurfaceModel(id: string, index?: number | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
1011
1313
  protected processAddDesignSurfaceModel(response: HttpResponseBase): Observable<any>;
1012
1314
  }
1013
1315
  export interface IDesignAtomsPrintProductItemsApiClient {
1316
+ /**
1317
+ * Apply effects to print-product item image.
1318
+ * @param tenantId (optional) Tenant identifier
1319
+ * @param body (optional)
1320
+ * @return Success
1321
+ */
1322
+ applyItemEffects(tenantId?: number | undefined, body?: any | undefined): Observable<any>;
1014
1323
  /**
1015
1324
  * Extracts print-product item image.
1016
1325
  * @param tenantId (optional) Tenant identifier
@@ -1020,27 +1329,32 @@ export interface IDesignAtomsPrintProductItemsApiClient {
1020
1329
  extractItemImage(tenantId?: number | undefined, body?: ExtractItemImageModel | undefined): Observable<FileResponse>;
1021
1330
  /**
1022
1331
  * Flattens print-product items.
1332
+ * @param paletteUID (optional)
1023
1333
  * @param tenantId (optional) Tenant identifier
1024
1334
  * @param body (optional) List of print-product items to flatten.
1025
1335
  * @return Success
1026
1336
  */
1027
- flattenItems(tenantId?: number | undefined, body?: any[] | undefined): Observable<any>;
1337
+ flattenItems(paletteUID?: string | null | undefined, tenantId?: number | undefined, body?: any[] | undefined): Observable<any>;
1028
1338
  /**
1029
1339
  * Creates print-product item from input image file.
1030
1340
  * @param itemType (optional) Desired item type.
1031
1341
  * @param tenantId (optional) Tenant identifier
1032
1342
  * @param sourceFile (optional)
1343
+ * @param paletteUID (optional)
1344
+ * @param preserveOriginalFile (optional)
1033
1345
  * @return Success
1034
1346
  */
1035
- createItemFromFile(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceFile?: FileParameter | null | undefined): Observable<any>;
1347
+ createItemFromFile(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceFile?: FileParameter | null | undefined, paletteUID?: string | null | undefined, preserveOriginalFile?: boolean | null | undefined): Observable<any>;
1036
1348
  /**
1037
1349
  * Creates multiple print-product items from input image files.
1038
1350
  * @param itemType (optional) Desired print-product items type.
1039
1351
  * @param tenantId (optional) Tenant identifier
1040
1352
  * @param sourceFiles (optional)
1353
+ * @param paletteUID (optional)
1354
+ * @param preserveOriginalFile (optional)
1041
1355
  * @return Success
1042
1356
  */
1043
- batchCreateItemsFromFile(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceFiles?: FileParameter[] | null | undefined): Observable<any>;
1357
+ batchCreateItemsFromFile(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceFiles?: FileParameter[] | null | undefined, paletteUID?: string | null | undefined, preserveOriginalFile?: boolean | null | undefined): Observable<any>;
1044
1358
  /**
1045
1359
  * Creates print-product item from image file taken from storage.
1046
1360
  * @param itemType (optional) Desired item type.
@@ -1079,6 +1393,14 @@ export declare class DesignAtomsPrintProductItemsApiClient extends ApiClientBase
1079
1393
  private baseUrl;
1080
1394
  protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
1081
1395
  constructor(configuration: ApiClientConfiguration, http: HttpClient, baseUrl?: string);
1396
+ /**
1397
+ * Apply effects to print-product item image.
1398
+ * @param tenantId (optional) Tenant identifier
1399
+ * @param body (optional)
1400
+ * @return Success
1401
+ */
1402
+ applyItemEffects(tenantId?: number | undefined, body?: any | undefined): Observable<any>;
1403
+ protected processApplyItemEffects(response: HttpResponseBase): Observable<any>;
1082
1404
  /**
1083
1405
  * Extracts print-product item image.
1084
1406
  * @param tenantId (optional) Tenant identifier
@@ -1089,29 +1411,34 @@ export declare class DesignAtomsPrintProductItemsApiClient extends ApiClientBase
1089
1411
  protected processExtractItemImage(response: HttpResponseBase): Observable<FileResponse>;
1090
1412
  /**
1091
1413
  * Flattens print-product items.
1414
+ * @param paletteUID (optional)
1092
1415
  * @param tenantId (optional) Tenant identifier
1093
1416
  * @param body (optional) List of print-product items to flatten.
1094
1417
  * @return Success
1095
1418
  */
1096
- flattenItems(tenantId?: number | undefined, body?: any[] | undefined): Observable<any>;
1419
+ flattenItems(paletteUID?: string | null | undefined, tenantId?: number | undefined, body?: any[] | undefined): Observable<any>;
1097
1420
  protected processFlattenItems(response: HttpResponseBase): Observable<any>;
1098
1421
  /**
1099
1422
  * Creates print-product item from input image file.
1100
1423
  * @param itemType (optional) Desired item type.
1101
1424
  * @param tenantId (optional) Tenant identifier
1102
1425
  * @param sourceFile (optional)
1426
+ * @param paletteUID (optional)
1427
+ * @param preserveOriginalFile (optional)
1103
1428
  * @return Success
1104
1429
  */
1105
- createItemFromFile(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceFile?: FileParameter | null | undefined): Observable<any>;
1430
+ createItemFromFile(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceFile?: FileParameter | null | undefined, paletteUID?: string | null | undefined, preserveOriginalFile?: boolean | null | undefined): Observable<any>;
1106
1431
  protected processCreateItemFromFile(response: HttpResponseBase): Observable<any>;
1107
1432
  /**
1108
1433
  * Creates multiple print-product items from input image files.
1109
1434
  * @param itemType (optional) Desired print-product items type.
1110
1435
  * @param tenantId (optional) Tenant identifier
1111
1436
  * @param sourceFiles (optional)
1437
+ * @param paletteUID (optional)
1438
+ * @param preserveOriginalFile (optional)
1112
1439
  * @return Success
1113
1440
  */
1114
- batchCreateItemsFromFile(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceFiles?: FileParameter[] | null | undefined): Observable<any>;
1441
+ batchCreateItemsFromFile(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceFiles?: FileParameter[] | null | undefined, paletteUID?: string | null | undefined, preserveOriginalFile?: boolean | null | undefined): Observable<any>;
1115
1442
  protected processBatchCreateItemsFromFile(response: HttpResponseBase): Observable<any>;
1116
1443
  /**
1117
1444
  * Creates print-product item from image file taken from storage.
@@ -2060,11 +2387,24 @@ export interface BatchCreateItemsFromStorageModel {
2060
2387
  sourceOwnerId?: string | null;
2061
2388
  /** Source image asset identifiers. */
2062
2389
  sourceIds?: string[] | null;
2390
+ /** Target palette UID. */
2391
+ paletteUID?: string | null;
2392
+ /** Indicates if resulting item should store original source file. */
2393
+ preserveOriginalFile?: boolean | null;
2063
2394
  }
2064
2395
  /** Batch create items from web source operation parameters. */
2065
2396
  export interface BatchCreateItemsFromUrlModel {
2066
2397
  /** Source URLs. */
2067
2398
  urls?: string[] | null;
2399
+ /** Target palette UID. */
2400
+ paletteUID?: string | null;
2401
+ /** Headers that will be used to download remote image by URL.
2402
+ For example, `Authorization` header can be placed here to provide access to images. */
2403
+ headers?: {
2404
+ [key: string]: string;
2405
+ } | null;
2406
+ /** Indicates if resulting item should store original source file. */
2407
+ preserveOriginalFile?: boolean | null;
2068
2408
  }
2069
2409
  /** Information about a service. */
2070
2410
  export interface BuildInfoModel {
@@ -2081,6 +2421,23 @@ export interface BuildInfoModel {
2081
2421
  /** Aurigma.DesignAtoms.Model version. */
2082
2422
  designAtomsModelVersion?: string | null;
2083
2423
  }
2424
+ export interface Color {
2425
+ readonly colorSpace?: ColorSpace;
2426
+ }
2427
+ export declare enum ColorSpace {
2428
+ Rgb = "Rgb",
2429
+ Cmyk = "Cmyk",
2430
+ Grayscale = "Grayscale",
2431
+ Lab = "Lab",
2432
+ Spot = "Spot"
2433
+ }
2434
+ /** Conflict types. */
2435
+ export declare enum ConflictType {
2436
+ NameConflict = "NameConflict",
2437
+ FolderOverwriteConflict = "FolderOverwriteConflict",
2438
+ IdConflict = "IdConflict",
2439
+ GeneralConflict = "GeneralConflict"
2440
+ }
2084
2441
  /** Convert colors operation parameters. */
2085
2442
  export interface ConvertColorsModel {
2086
2443
  /** Serialized color description. */
@@ -2109,11 +2466,24 @@ export interface CreateItemFromStorageModel {
2109
2466
  sourceOwnerId?: string | null;
2110
2467
  /** Source image asset identifier. */
2111
2468
  sourceId?: string | null;
2469
+ /** Target palette UID. */
2470
+ paletteUID?: string | null;
2471
+ /** Indicates if resulting item should store original source file. */
2472
+ preserveOriginalFile?: boolean | null;
2112
2473
  }
2113
2474
  /** Create item from web source operation parameters. */
2114
2475
  export interface CreateItemFromUrlModel {
2115
2476
  /** Source URL. */
2116
2477
  url?: string | null;
2478
+ /** Target palette UID. */
2479
+ paletteUID?: string | null;
2480
+ /** Headers that will be used to download remote image by URL.
2481
+ For example, `Authorization` header can be placed here to provide access to image. */
2482
+ headers?: {
2483
+ [key: string]: string;
2484
+ } | null;
2485
+ /** Indicates if resulting item should store original source file. */
2486
+ preserveOriginalFile?: boolean | null;
2117
2487
  }
2118
2488
  export declare enum DesignElementType {
2119
2489
  Product = "Product",
@@ -2148,18 +2518,71 @@ export interface DesignPrintAreaDto {
2148
2518
  size?: SizeDto | null;
2149
2519
  /** Print area position. */
2150
2520
  position?: PositionDto | null;
2521
+ /** Print area bleed. */
2522
+ bleed?: MarginDto | null;
2523
+ /** Print area slug. */
2524
+ slug?: MarginDto | null;
2525
+ }
2526
+ /** Design print area parameters. */
2527
+ export interface DesignPrintAreaParams {
2528
+ /** Print area name. */
2529
+ name?: string | null;
2530
+ /** Parent surface identifier. */
2531
+ surfaceId?: string | null;
2532
+ /** Print area size. */
2533
+ size?: SizeModel | null;
2534
+ /** Print area position. */
2535
+ position?: PositionModel | null;
2536
+ /** Print area bleed. */
2537
+ bleed?: MarginModel | null;
2538
+ /** Print area slug. */
2539
+ slug?: MarginModel | null;
2540
+ }
2541
+ /** Print-product container description. */
2542
+ export interface DesignSurfaceContainerDto {
2543
+ /** Container identifier. */
2544
+ id?: string | null;
2545
+ /** Container name. */
2546
+ name?: string | null;
2547
+ /** Parent surface identifier. */
2548
+ surfaceId?: string | null;
2549
+ /** Container index within containers list of a surface (0-based). */
2550
+ index?: number;
2551
+ /** Container size. */
2552
+ size?: SizeDto | null;
2553
+ /** Container position. */
2554
+ position?: PositionDto | null;
2151
2555
  }
2152
- /** Design surface parameters. */
2556
+ /** Print-product surface description. */
2153
2557
  export interface DesignSurfaceDto {
2154
2558
  /** Surface identifier. */
2155
2559
  id?: string | null;
2156
2560
  /** Surface name. */
2157
2561
  name?: string | null;
2158
- /** Surface index (0-based). */
2562
+ /** Surface index within surface list of a design (0-based). */
2159
2563
  index?: number;
2160
2564
  /** Surface size. */
2161
2565
  size?: SizeDto | null;
2162
2566
  }
2567
+ /** Print-product item description. */
2568
+ export interface DesignSurfaceItemDto {
2569
+ /** Item identifier. */
2570
+ id?: string | null;
2571
+ /** Item name. */
2572
+ name?: string | null;
2573
+ /** Item type. */
2574
+ type?: string | null;
2575
+ /** Parent item identifier. */
2576
+ parentItemId?: string | null;
2577
+ /** Parent container identifier. */
2578
+ containerId?: string | null;
2579
+ /** Parent surface identifier. */
2580
+ surfaceId?: string | null;
2581
+ /** Item index within items list of a surface (0-based). */
2582
+ index?: number;
2583
+ /** Indicates if item is visible. */
2584
+ visible?: boolean;
2585
+ }
2163
2586
  /** Surface mockup parameters. */
2164
2587
  export interface DesignSurfaceMockupDto {
2165
2588
  /** Mockup element position. */
@@ -2190,6 +2613,13 @@ export interface FontsMethodData {
2190
2613
  advancedMode?: boolean;
2191
2614
  baseUrl?: string | null;
2192
2615
  }
2616
+ /** Information about operation conflict. */
2617
+ export interface GeneralConflictDto {
2618
+ /** Problem description. */
2619
+ description?: string | null;
2620
+ /** Coflict type. */
2621
+ type?: ConflictType;
2622
+ }
2193
2623
  export interface GetColorPreviewRequest {
2194
2624
  colorData?: any | null;
2195
2625
  colorSettings?: PreviewColorSettings | null;
@@ -2241,17 +2671,33 @@ export declare enum ItemType {
2241
2671
  Clipart = "Clipart",
2242
2672
  Group = "Group"
2243
2673
  }
2674
+ /** Margins of the print-product element. */
2675
+ export interface MarginDto {
2676
+ /** Print-product element top margin. */
2677
+ top?: number;
2678
+ /** Print-product element left margin. */
2679
+ left?: number;
2680
+ /** Print-product element right margin. */
2681
+ right?: number;
2682
+ /** Print-product element bottom margin. */
2683
+ bottom?: number;
2684
+ }
2685
+ /** Print-product element margin. */
2686
+ export interface MarginModel {
2687
+ /** Top margin. */
2688
+ top?: number;
2689
+ /** Left margin. */
2690
+ left?: number;
2691
+ /** Right margin. */
2692
+ right?: number;
2693
+ /** Bottom margin. */
2694
+ bottom?: number;
2695
+ }
2244
2696
  export interface MeasureUnitInfo {
2245
2697
  name?: string | null;
2246
2698
  shortName?: string | null;
2247
2699
  ratio?: number;
2248
2700
  }
2249
- export interface MissingDesignElementDto {
2250
- /** Problem description. */
2251
- description?: string | null;
2252
- /** Missing element type. */
2253
- readonly missingElementType?: DesignElementType;
2254
- }
2255
2701
  export interface Mockup3dAttributesDto {
2256
2702
  data?: {
2257
2703
  [key: string]: string;
@@ -2277,6 +2723,11 @@ export interface NullAbleSize {
2277
2723
  width?: number | null;
2278
2724
  height?: number | null;
2279
2725
  }
2726
+ export interface Palette {
2727
+ uid?: string | null;
2728
+ swatches?: Swatch[] | null;
2729
+ readonly count?: number;
2730
+ }
2280
2731
  /** Placeholder item content type. */
2281
2732
  export declare enum PlaceholderItemContentType {
2282
2733
  Image = "Image"
@@ -2286,8 +2737,15 @@ export interface PointF {
2286
2737
  x?: number;
2287
2738
  y?: number;
2288
2739
  }
2289
- /** Position of item top left point on design surface. */
2740
+ /** Position of the print-product element top left point on surface. */
2290
2741
  export interface PositionDto {
2742
+ /** Print-product element Y axis position. */
2743
+ top?: number;
2744
+ /** Print-product element X axis position. */
2745
+ left?: number;
2746
+ }
2747
+ /** Position of item top left point on design surface. */
2748
+ export interface PositionModel {
2291
2749
  /** Y axis position. */
2292
2750
  top?: number;
2293
2751
  /** X axis position. */
@@ -2395,7 +2853,7 @@ export interface RenderDesignPreviewToResourceModel {
2395
2853
  /** Parameters of resource that should be created for a preview rendering result. */
2396
2854
  previewResourceParams?: ResourceParams | null;
2397
2855
  /** Flag that indicates if an existing resource should be overwritten. */
2398
- overwriteExistingResource?: boolean;
2856
+ overwriteExistingResource?: boolean | null;
2399
2857
  /** Design identifier.
2400
2858
  Used to get design file from public or private storage. */
2401
2859
  designId?: string | null;
@@ -2426,7 +2884,7 @@ export interface RenderDesignProofToResourceModel {
2426
2884
  /** Parameters of resource that should be created for a preview rendering result. */
2427
2885
  proofResourceParams?: ResourceParams | null;
2428
2886
  /** Flag that indicates if an existing resource should be overwritten. */
2429
- overwriteExistingResource?: boolean;
2887
+ overwriteExistingResource?: boolean | null;
2430
2888
  /** Design identifier.
2431
2889
  Used to get design file from public or private storage. */
2432
2890
  designId?: string | null;
@@ -2447,13 +2905,18 @@ export interface RenderImagePreviewFromUrlModel {
2447
2905
  mockupId?: string | null;
2448
2906
  /** Image preview configuration. */
2449
2907
  renderingConfig?: ImagePreviewRenderingConfig | null;
2908
+ /** Headers that will be used to download remote image by URL.
2909
+ For example, `Authorization` header can be placed here to provide access to image. */
2910
+ headers?: {
2911
+ [key: string]: string;
2912
+ } | null;
2450
2913
  }
2451
2914
  /** Image preview rendering parameters. Result will be saved as resource with parameters set as Aurigma.DesignAtomsApi.WebApi.Models.Image.RenderImagePreviewFromUrlToResourceModel.PreviewResourceParams. */
2452
2915
  export interface RenderImagePreviewFromUrlToResourceModel {
2453
2916
  /** Parameters of resource that should be created for a preview rendering result. */
2454
2917
  previewResourceParams?: ResourceParams | null;
2455
2918
  /** Flag that indicates if an existing resource should be overwritten. */
2456
- overwriteExistingResource?: boolean;
2919
+ overwriteExistingResource?: boolean | null;
2457
2920
  /** Web image URL. */
2458
2921
  imageUrl?: string | null;
2459
2922
  /** Mockup owner identifier. */
@@ -2462,6 +2925,11 @@ export interface RenderImagePreviewFromUrlToResourceModel {
2462
2925
  mockupId?: string | null;
2463
2926
  /** Image preview configuration. */
2464
2927
  renderingConfig?: ImagePreviewRenderingConfig | null;
2928
+ /** Headers that will be used to download remote image by URL.
2929
+ For example, `Authorization` header can be placed here to provide access to image. */
2930
+ headers?: {
2931
+ [key: string]: string;
2932
+ } | null;
2465
2933
  }
2466
2934
  /** Image preview rendering parameters. */
2467
2935
  export interface RenderImagePreviewModel {
@@ -2483,7 +2951,7 @@ export interface RenderImagePreviewToResourceModel {
2483
2951
  /** Parameters of resource that should be created for a preview rendering result. */
2484
2952
  previewResourceParams?: ResourceParams | null;
2485
2953
  /** Flag that indicates if an existing resource should be overwritten. */
2486
- overwriteExistingResource?: boolean;
2954
+ overwriteExistingResource?: boolean | null;
2487
2955
  /** External image URL. */
2488
2956
  imageUrl?: string | null;
2489
2957
  /** Storage image identifier. */
@@ -2525,20 +2993,42 @@ export interface SetEditorMockupsModel {
2525
2993
  /** List of editor mockup binding instructions. */
2526
2994
  editorMockupBindings?: EditorMockupBindingModel[] | null;
2527
2995
  }
2528
- /** Design item size. */
2996
+ /** Size of the print-product element. */
2529
2997
  export interface SizeDto {
2998
+ /** Print-product element width. */
2999
+ width?: number;
3000
+ /** Print-product element height. */
3001
+ height?: number;
3002
+ }
3003
+ /** Design item size. */
3004
+ export interface SizeModel {
2530
3005
  /** Design item width. */
2531
3006
  width?: number;
2532
3007
  /** Design item height. */
2533
3008
  height?: number;
2534
3009
  }
3010
+ export interface Swatch {
3011
+ readonly tags?: {
3012
+ [key: string]: any;
3013
+ } | null;
3014
+ swatchValue?: SwatchValue | null;
3015
+ group?: string | null;
3016
+ readonly version?: string | null;
3017
+ id?: string | null;
3018
+ name?: string | null;
3019
+ }
3020
+ export interface SwatchValue {
3021
+ color?: Color | null;
3022
+ }
2535
3023
  export interface UnprocessableDesignElementDto {
2536
- /** Problem description. */
2537
- description?: string | null;
2538
3024
  /** Missing element type. */
2539
3025
  readonly missingElementType?: DesignElementType | null;
2540
3026
  /** Missing element type. */
2541
3027
  readonly unprocessedElementType?: DesignElementType | null;
3028
+ /** Problem description. */
3029
+ description?: string | null;
3030
+ /** Coflict type. */
3031
+ type?: ConflictType;
2542
3032
  }
2543
3033
  export interface UpdateColorsRequest {
2544
3034
  canvasData?: string | null;