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