@aurigma/axios-design-atoms-api-client 2.63.1 → 2.65.1

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