@aurigma/axios-design-atoms-api-client 2.74.1 → 2.77.4
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 +293 -7
- package/dist/cjs/design-atoms-api-client.js +439 -7
- package/dist/cjs/design-atoms-api-client.js.map +1 -1
- package/dist/esm/design-atoms-api-client.d.ts +293 -7
- package/dist/esm/design-atoms-api-client.js +437 -6
- package/dist/esm/design-atoms-api-client.js.map +1 -1
- package/package.json +2 -3
|
@@ -617,6 +617,33 @@ export declare class DesignAtomsImagesApiClient extends ApiClientBase implements
|
|
|
617
617
|
renderImagePreviewToResource(tenantId?: number | undefined, body?: RenderImagePreviewToResourceModel | undefined, cancelToken?: CancelToken | undefined): Promise<ResourceInfoDto>;
|
|
618
618
|
protected processRenderImagePreviewToResource(response: AxiosResponse): Promise<ResourceInfoDto>;
|
|
619
619
|
}
|
|
620
|
+
export interface IDesignAtomsMockups2dApiClient {
|
|
621
|
+
/**
|
|
622
|
+
* Renders a mockup preview with the specified parameters.
|
|
623
|
+
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
|
|
624
|
+
(default value is 'false').
|
|
625
|
+
* @param tenantId (optional) Tenant ID.
|
|
626
|
+
* @param body (optional) Render model with preview parameters.
|
|
627
|
+
* @return Success
|
|
628
|
+
*/
|
|
629
|
+
renderMockupPreview(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderMockupPreviewModel | undefined): Promise<FileResponse>;
|
|
630
|
+
}
|
|
631
|
+
export declare class DesignAtomsMockups2dApiClient extends ApiClientBase implements IDesignAtomsMockups2dApiClient {
|
|
632
|
+
private instance;
|
|
633
|
+
private baseUrl;
|
|
634
|
+
protected jsonParseReviver: ((key: string, value: any) => any) | undefined;
|
|
635
|
+
constructor(configuration: ApiClientConfiguration, baseUrl?: string, instance?: AxiosInstance);
|
|
636
|
+
/**
|
|
637
|
+
* Renders a mockup preview with the specified parameters.
|
|
638
|
+
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
|
|
639
|
+
(default value is 'false').
|
|
640
|
+
* @param tenantId (optional) Tenant ID.
|
|
641
|
+
* @param body (optional) Render model with preview parameters.
|
|
642
|
+
* @return Success
|
|
643
|
+
*/
|
|
644
|
+
renderMockupPreview(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderMockupPreviewModel | undefined, cancelToken?: CancelToken | undefined): Promise<FileResponse>;
|
|
645
|
+
protected processRenderMockupPreview(response: AxiosResponse): Promise<FileResponse>;
|
|
646
|
+
}
|
|
620
647
|
export interface IDesignAtomsMockups3dApiClient {
|
|
621
648
|
/**
|
|
622
649
|
* Returns a 3D-Mockup attributes.
|
|
@@ -742,6 +769,36 @@ export interface IDesignAtomsPrintProductApiClient {
|
|
|
742
769
|
* @return Success
|
|
743
770
|
*/
|
|
744
771
|
getDesignSurfaceContainers(id: string, surfaceId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Promise<DesignSurfaceContainerDto[]>;
|
|
772
|
+
/**
|
|
773
|
+
* Returns a list of print-product container descriptions of the specified design file.
|
|
774
|
+
* @param id Design identifier.
|
|
775
|
+
* @param index (optional)
|
|
776
|
+
* @param surfaceId (optional) Print-product surface identifier.
|
|
777
|
+
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
778
|
+
* @param tenantId (optional) Tenant ID.
|
|
779
|
+
* @param body (optional)
|
|
780
|
+
* @return Success
|
|
781
|
+
*/
|
|
782
|
+
addDesignSurfaceContainer(id: string, index?: number | null | undefined, surfaceId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: DesignSurfaceContainerParams | undefined): Promise<DesignSurfaceContainerDto>;
|
|
783
|
+
/**
|
|
784
|
+
* Returns a print-product container parameters of the specified design file.
|
|
785
|
+
* @param id Design identifier.
|
|
786
|
+
* @param containerId Print-product container identifier.
|
|
787
|
+
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
788
|
+
* @param tenantId (optional) Tenant ID.
|
|
789
|
+
* @return Success
|
|
790
|
+
*/
|
|
791
|
+
getDesignSurfaceContainer(id: string, containerId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Promise<DesignSurfaceContainerDto>;
|
|
792
|
+
/**
|
|
793
|
+
* Returns a list of print-product container descriptions of the specified design file.
|
|
794
|
+
* @param id Design identifier.
|
|
795
|
+
* @param surfaceId (optional) Print-product surface identifier.
|
|
796
|
+
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
797
|
+
* @param tenantId (optional) Tenant ID.
|
|
798
|
+
* @param body (optional)
|
|
799
|
+
* @return Success
|
|
800
|
+
*/
|
|
801
|
+
updateDesignSurfaceContainer(id: string, containerId: string, surfaceId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: DesignSurfaceContainerParams | undefined): Promise<DesignSurfaceContainerDto>;
|
|
745
802
|
/**
|
|
746
803
|
* Deletes a specified print-product container in an existing design file.
|
|
747
804
|
* @param id Design identifier.
|
|
@@ -882,7 +939,7 @@ export interface IDesignAtomsPrintProductApiClient {
|
|
|
882
939
|
* @param body (optional) Print-area description model.
|
|
883
940
|
* @return Success
|
|
884
941
|
*/
|
|
885
|
-
updateDesignPrintArea(id: string, printAreaId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: DesignPrintAreaParams | undefined): Promise<
|
|
942
|
+
updateDesignPrintArea(id: string, printAreaId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: DesignPrintAreaParams | undefined): Promise<DesignPrintAreaDto>;
|
|
886
943
|
/**
|
|
887
944
|
* Deletes a specified print-area in an existing design file.
|
|
888
945
|
* @param id Design identifier.
|
|
@@ -1061,6 +1118,39 @@ export declare class DesignAtomsPrintProductApiClient extends ApiClientBase impl
|
|
|
1061
1118
|
*/
|
|
1062
1119
|
getDesignSurfaceContainers(id: string, surfaceId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise<DesignSurfaceContainerDto[]>;
|
|
1063
1120
|
protected processGetDesignSurfaceContainers(response: AxiosResponse): Promise<DesignSurfaceContainerDto[]>;
|
|
1121
|
+
/**
|
|
1122
|
+
* Returns a list of print-product container descriptions of the specified design file.
|
|
1123
|
+
* @param id Design identifier.
|
|
1124
|
+
* @param index (optional)
|
|
1125
|
+
* @param surfaceId (optional) Print-product surface identifier.
|
|
1126
|
+
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
1127
|
+
* @param tenantId (optional) Tenant ID.
|
|
1128
|
+
* @param body (optional)
|
|
1129
|
+
* @return Success
|
|
1130
|
+
*/
|
|
1131
|
+
addDesignSurfaceContainer(id: string, index?: number | null | undefined, surfaceId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: DesignSurfaceContainerParams | undefined, cancelToken?: CancelToken | undefined): Promise<DesignSurfaceContainerDto>;
|
|
1132
|
+
protected processAddDesignSurfaceContainer(response: AxiosResponse): Promise<DesignSurfaceContainerDto>;
|
|
1133
|
+
/**
|
|
1134
|
+
* Returns a print-product container parameters of the specified design file.
|
|
1135
|
+
* @param id Design identifier.
|
|
1136
|
+
* @param containerId Print-product container identifier.
|
|
1137
|
+
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
1138
|
+
* @param tenantId (optional) Tenant ID.
|
|
1139
|
+
* @return Success
|
|
1140
|
+
*/
|
|
1141
|
+
getDesignSurfaceContainer(id: string, containerId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise<DesignSurfaceContainerDto>;
|
|
1142
|
+
protected processGetDesignSurfaceContainer(response: AxiosResponse): Promise<DesignSurfaceContainerDto>;
|
|
1143
|
+
/**
|
|
1144
|
+
* Returns a list of print-product container descriptions of the specified design file.
|
|
1145
|
+
* @param id Design identifier.
|
|
1146
|
+
* @param surfaceId (optional) Print-product surface identifier.
|
|
1147
|
+
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
1148
|
+
* @param tenantId (optional) Tenant ID.
|
|
1149
|
+
* @param body (optional)
|
|
1150
|
+
* @return Success
|
|
1151
|
+
*/
|
|
1152
|
+
updateDesignSurfaceContainer(id: string, containerId: string, surfaceId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: DesignSurfaceContainerParams | undefined, cancelToken?: CancelToken | undefined): Promise<DesignSurfaceContainerDto>;
|
|
1153
|
+
protected processUpdateDesignSurfaceContainer(response: AxiosResponse): Promise<DesignSurfaceContainerDto>;
|
|
1064
1154
|
/**
|
|
1065
1155
|
* Deletes a specified print-product container in an existing design file.
|
|
1066
1156
|
* @param id Design identifier.
|
|
@@ -1214,8 +1304,8 @@ export declare class DesignAtomsPrintProductApiClient extends ApiClientBase impl
|
|
|
1214
1304
|
* @param body (optional) Print-area description model.
|
|
1215
1305
|
* @return Success
|
|
1216
1306
|
*/
|
|
1217
|
-
updateDesignPrintArea(id: string, printAreaId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: DesignPrintAreaParams | undefined, cancelToken?: CancelToken | undefined): Promise<
|
|
1218
|
-
protected processUpdateDesignPrintArea(response: AxiosResponse): Promise<
|
|
1307
|
+
updateDesignPrintArea(id: string, printAreaId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: DesignPrintAreaParams | undefined, cancelToken?: CancelToken | undefined): Promise<DesignPrintAreaDto>;
|
|
1308
|
+
protected processUpdateDesignPrintArea(response: AxiosResponse): Promise<DesignPrintAreaDto>;
|
|
1219
1309
|
/**
|
|
1220
1310
|
* Deletes a specified print-area in an existing design file.
|
|
1221
1311
|
* @param id Design identifier.
|
|
@@ -1797,11 +1887,11 @@ export interface IDesignAtomsServiceApiClient {
|
|
|
1797
1887
|
* @param resourceId (optional) Resource identifier.
|
|
1798
1888
|
* @param privateDesignId (optional) Private design identifier.
|
|
1799
1889
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
1800
|
-
* @param
|
|
1890
|
+
* @param tenantId (optional) Tenant ID.
|
|
1801
1891
|
* @return Created
|
|
1802
1892
|
* @deprecated
|
|
1803
1893
|
*/
|
|
1804
|
-
createPrivateDesignFromResource(resourceId?: string | null | undefined, privateDesignId?: string | null | undefined, privateStorageOwner?: string | null | undefined,
|
|
1894
|
+
createPrivateDesignFromResource(resourceId?: string | null | undefined, privateDesignId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Promise<void>;
|
|
1805
1895
|
}
|
|
1806
1896
|
export declare class DesignAtomsServiceApiClient extends ApiClientBase implements IDesignAtomsServiceApiClient {
|
|
1807
1897
|
private instance;
|
|
@@ -2069,11 +2159,11 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
|
|
|
2069
2159
|
* @param resourceId (optional) Resource identifier.
|
|
2070
2160
|
* @param privateDesignId (optional) Private design identifier.
|
|
2071
2161
|
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
2072
|
-
* @param
|
|
2162
|
+
* @param tenantId (optional) Tenant ID.
|
|
2073
2163
|
* @return Created
|
|
2074
2164
|
* @deprecated
|
|
2075
2165
|
*/
|
|
2076
|
-
createPrivateDesignFromResource(resourceId?: string | null | undefined, privateDesignId?: string | null | undefined, privateStorageOwner?: string | null | undefined,
|
|
2166
|
+
createPrivateDesignFromResource(resourceId?: string | null | undefined, privateDesignId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise<void>;
|
|
2077
2167
|
protected processCreatePrivateDesignFromResource(response: AxiosResponse): Promise<void>;
|
|
2078
2168
|
}
|
|
2079
2169
|
export interface IDesignAtomsViewerApiClient {
|
|
@@ -2557,6 +2647,10 @@ export interface ApplyDesignItemsDataModel {
|
|
|
2557
2647
|
[key: string]: DesignItemDataModel;
|
|
2558
2648
|
} | null;
|
|
2559
2649
|
}
|
|
2650
|
+
export declare enum ArtworkShapeType {
|
|
2651
|
+
Rectangle = "rectangle",
|
|
2652
|
+
Ellipse = "ellipse"
|
|
2653
|
+
}
|
|
2560
2654
|
/** Batch create items from storage source operation parameters. */
|
|
2561
2655
|
export interface BatchCreateItemsFromStorageModel {
|
|
2562
2656
|
/** Source image assets owner identifier. If value is set, all images should belong to a specified user. */
|
|
@@ -2597,6 +2691,54 @@ export interface BuildInfoModel {
|
|
|
2597
2691
|
/** Aurigma.DesignAtoms.Model version. */
|
|
2598
2692
|
designAtomsModelVersion?: string | null;
|
|
2599
2693
|
}
|
|
2694
|
+
/** Colorless container display type. */
|
|
2695
|
+
export declare enum ColorlessContainerDisplayType {
|
|
2696
|
+
Color = "Color",
|
|
2697
|
+
Texture = "Texture"
|
|
2698
|
+
}
|
|
2699
|
+
/** Colorless container dither type. */
|
|
2700
|
+
export declare enum ColorlessContainerDitherType {
|
|
2701
|
+
None = "None",
|
|
2702
|
+
Diffusion = "Diffusion",
|
|
2703
|
+
Pattern = "Pattern",
|
|
2704
|
+
Noise = "Noise"
|
|
2705
|
+
}
|
|
2706
|
+
/** Colorless container format. */
|
|
2707
|
+
export declare enum ColorlessContainerFormat {
|
|
2708
|
+
OneBit = "OneBit",
|
|
2709
|
+
Grayscale = "Grayscale",
|
|
2710
|
+
Vector = "Vector"
|
|
2711
|
+
}
|
|
2712
|
+
/** Colorless container settigns. */
|
|
2713
|
+
export interface ColorlessContainerSettingsDto {
|
|
2714
|
+
/** Container format. */
|
|
2715
|
+
format?: ColorlessContainerFormat;
|
|
2716
|
+
/** Container dither type. */
|
|
2717
|
+
dither?: ColorlessContainerDitherType;
|
|
2718
|
+
/** Container display type. */
|
|
2719
|
+
displayType?: ColorlessContainerDisplayType;
|
|
2720
|
+
/** Container dither amount. */
|
|
2721
|
+
ditherAmount?: number;
|
|
2722
|
+
/** Display color. */
|
|
2723
|
+
displayColor?: string | null;
|
|
2724
|
+
/** Output color. */
|
|
2725
|
+
outputColor?: string | null;
|
|
2726
|
+
}
|
|
2727
|
+
/** Colorless container settigns. */
|
|
2728
|
+
export interface ColorlessContainerSettingsParams {
|
|
2729
|
+
/** Container format. */
|
|
2730
|
+
format?: ColorlessContainerFormat;
|
|
2731
|
+
/** Container dither type. */
|
|
2732
|
+
dither?: ColorlessContainerDitherType;
|
|
2733
|
+
/** Container display type. */
|
|
2734
|
+
displayType?: ColorlessContainerDisplayType;
|
|
2735
|
+
/** Container dither amount. */
|
|
2736
|
+
ditherAmount?: number;
|
|
2737
|
+
/** Display color. */
|
|
2738
|
+
displayColor?: string | null;
|
|
2739
|
+
/** Output color. */
|
|
2740
|
+
outputColor?: string | null;
|
|
2741
|
+
}
|
|
2600
2742
|
/** Conflict types. */
|
|
2601
2743
|
export declare enum ConflictType {
|
|
2602
2744
|
NameConflict = "NameConflict",
|
|
@@ -2604,6 +2746,42 @@ export declare enum ConflictType {
|
|
|
2604
2746
|
IdConflict = "IdConflict",
|
|
2605
2747
|
GeneralConflict = "GeneralConflict"
|
|
2606
2748
|
}
|
|
2749
|
+
/** Full color container color space. */
|
|
2750
|
+
export declare enum ContainerColorSpace {
|
|
2751
|
+
Rgb = "Rgb",
|
|
2752
|
+
Cmyk = "Cmyk",
|
|
2753
|
+
Grayscale = "Grayscale",
|
|
2754
|
+
Lab = "Lab",
|
|
2755
|
+
Spot = "Spot"
|
|
2756
|
+
}
|
|
2757
|
+
/** Container constraints parameters. */
|
|
2758
|
+
export interface ContainerConstraintsDto {
|
|
2759
|
+
/** Boolean flag indicates if raster images are allowed to be placed in container. */
|
|
2760
|
+
allowRasterObjects?: boolean;
|
|
2761
|
+
/** Target hi-res print file DPI. */
|
|
2762
|
+
targetResolution?: number;
|
|
2763
|
+
/** Minimal font size for text objects placed in container. */
|
|
2764
|
+
minFontSize?: number;
|
|
2765
|
+
/** Maximal size of print zone. */
|
|
2766
|
+
maxArtworkSize?: MaxArtworkSizeConstraintsDto | null;
|
|
2767
|
+
}
|
|
2768
|
+
/** Container constraints parameters. */
|
|
2769
|
+
export interface ContainerConstraintsParams {
|
|
2770
|
+
/** Boolean flag indicates if raster images are allowed to be placed in container. */
|
|
2771
|
+
allowRasterObjects?: boolean;
|
|
2772
|
+
/** Target hi-res print file DPI. */
|
|
2773
|
+
targetResolution?: number;
|
|
2774
|
+
/** Minimal font size for text objects placed in container. */
|
|
2775
|
+
minFontSize?: number;
|
|
2776
|
+
/** Maximal size of print zone. */
|
|
2777
|
+
maxArtworkSize?: MaxArtworkSizeConstraintsParams | null;
|
|
2778
|
+
}
|
|
2779
|
+
/** Container printing mode. */
|
|
2780
|
+
export declare enum ContainerPrintingMode {
|
|
2781
|
+
FullColor = "FullColor",
|
|
2782
|
+
LimitedColor = "LimitedColor",
|
|
2783
|
+
Colorless = "Colorless"
|
|
2784
|
+
}
|
|
2607
2785
|
/** Convert colors operation parameters. */
|
|
2608
2786
|
export interface ConvertColorsModel {
|
|
2609
2787
|
/** Serialized color description. */
|
|
@@ -2754,6 +2932,8 @@ export interface DesignPrintAreaDto {
|
|
|
2754
2932
|
bleed?: MarginDto | null;
|
|
2755
2933
|
/** Print area slug. */
|
|
2756
2934
|
slug?: MarginDto | null;
|
|
2935
|
+
/** Print area shape. Usually content of svg path that describes print area shape is provided. */
|
|
2936
|
+
shape?: string | null;
|
|
2757
2937
|
}
|
|
2758
2938
|
/** Design print area parameters. */
|
|
2759
2939
|
export interface DesignPrintAreaParams {
|
|
@@ -2769,6 +2949,8 @@ export interface DesignPrintAreaParams {
|
|
|
2769
2949
|
bleed?: MarginModel | null;
|
|
2770
2950
|
/** Print area slug. */
|
|
2771
2951
|
slug?: MarginModel | null;
|
|
2952
|
+
/** Print area shape. Usually content of svg path that describes print area shape is provided. */
|
|
2953
|
+
shape?: string | null;
|
|
2772
2954
|
}
|
|
2773
2955
|
/** Print-product container description. */
|
|
2774
2956
|
export interface DesignSurfaceContainerDto {
|
|
@@ -2784,6 +2966,35 @@ export interface DesignSurfaceContainerDto {
|
|
|
2784
2966
|
size?: SizeDto | null;
|
|
2785
2967
|
/** Container position. */
|
|
2786
2968
|
position?: PositionDto | null;
|
|
2969
|
+
/** Container printing mode. */
|
|
2970
|
+
mode?: ContainerPrintingMode;
|
|
2971
|
+
/** Container constraints. */
|
|
2972
|
+
constraints?: ContainerConstraintsDto | null;
|
|
2973
|
+
/** Limited color container settings. If container mode is not 'LimitedColor', null value will be provided. */
|
|
2974
|
+
limitedColorSettings?: LimitedColorContainerSettingsDto | null;
|
|
2975
|
+
/** Full color container settings. If container mode is not 'FullColor', null value will be provided. */
|
|
2976
|
+
fullColorSettings?: FullColorContainerSettingsDto | null;
|
|
2977
|
+
/** Colorless container settings. If container mode is not 'Colorless', null value will be provided. */
|
|
2978
|
+
colorlessSettings?: ColorlessContainerSettingsDto | null;
|
|
2979
|
+
}
|
|
2980
|
+
/** Print-product container description. */
|
|
2981
|
+
export interface DesignSurfaceContainerParams {
|
|
2982
|
+
/** Container name. */
|
|
2983
|
+
name?: string | null;
|
|
2984
|
+
/** Container size. */
|
|
2985
|
+
size?: SizeModel | null;
|
|
2986
|
+
/** Container position. */
|
|
2987
|
+
position?: PositionModel | null;
|
|
2988
|
+
/** Container printing mode. */
|
|
2989
|
+
mode?: ContainerPrintingMode;
|
|
2990
|
+
/** Container constraints. */
|
|
2991
|
+
constraints?: ContainerConstraintsParams | null;
|
|
2992
|
+
/** Limited color container settings. If container mode is not 'LimitedColor', null value will be provided. */
|
|
2993
|
+
limitedColorSettings?: LimitedColorContainerSettingsParams | null;
|
|
2994
|
+
/** Full color container settings. If container mode is not 'FullColor', null value will be provided. */
|
|
2995
|
+
fullColorSettings?: FullColorContainerSettingsParams | null;
|
|
2996
|
+
/** Colorless container settings. If container mode is not 'Colorless', null value will be provided. */
|
|
2997
|
+
colorlessSettings?: ColorlessContainerSettingsParams | null;
|
|
2787
2998
|
}
|
|
2788
2999
|
/** Print-product surface description. */
|
|
2789
3000
|
export interface DesignSurfaceDto {
|
|
@@ -2858,6 +3069,20 @@ export interface FontsMethodData {
|
|
|
2858
3069
|
advancedMode?: boolean;
|
|
2859
3070
|
baseUrl?: string | null;
|
|
2860
3071
|
}
|
|
3072
|
+
/** Full color container settigns. */
|
|
3073
|
+
export interface FullColorContainerSettingsDto {
|
|
3074
|
+
/** Target color space. */
|
|
3075
|
+
colorSpace?: ContainerColorSpace;
|
|
3076
|
+
/** Target color profile name. */
|
|
3077
|
+
colorProfile?: string | null;
|
|
3078
|
+
}
|
|
3079
|
+
/** Full color container settigns. */
|
|
3080
|
+
export interface FullColorContainerSettingsParams {
|
|
3081
|
+
/** Target color space. */
|
|
3082
|
+
colorSpace?: ContainerColorSpace;
|
|
3083
|
+
/** Target color profile name. */
|
|
3084
|
+
colorProfile?: string | null;
|
|
3085
|
+
}
|
|
2861
3086
|
/** Information about operation conflict. */
|
|
2862
3087
|
export interface GeneralConflictDto {
|
|
2863
3088
|
/** Problem description. */
|
|
@@ -2924,6 +3149,20 @@ export declare enum ItemType {
|
|
|
2924
3149
|
Clipart = "Clipart",
|
|
2925
3150
|
Group = "Group"
|
|
2926
3151
|
}
|
|
3152
|
+
/** Limited color container settigns. */
|
|
3153
|
+
export interface LimitedColorContainerSettingsDto {
|
|
3154
|
+
/** Colors limit count. */
|
|
3155
|
+
colors?: number;
|
|
3156
|
+
/** Related palette UID. */
|
|
3157
|
+
paletteUID?: string | null;
|
|
3158
|
+
}
|
|
3159
|
+
/** Limited color container settigns. */
|
|
3160
|
+
export interface LimitedColorContainerSettingsParams {
|
|
3161
|
+
/** Colors limit count. */
|
|
3162
|
+
colors?: number;
|
|
3163
|
+
/** Related palette UID. */
|
|
3164
|
+
paletteUID?: string | null;
|
|
3165
|
+
}
|
|
2927
3166
|
/** Margins of the print-product element. */
|
|
2928
3167
|
export interface MarginDto {
|
|
2929
3168
|
/** Print-product element top margin. */
|
|
@@ -2946,6 +3185,16 @@ export interface MarginModel {
|
|
|
2946
3185
|
/** Bottom margin. */
|
|
2947
3186
|
bottom?: number;
|
|
2948
3187
|
}
|
|
3188
|
+
export interface MaxArtworkSizeConstraintsDto {
|
|
3189
|
+
width?: number | null;
|
|
3190
|
+
height?: number | null;
|
|
3191
|
+
shapeType?: ArtworkShapeType | null;
|
|
3192
|
+
}
|
|
3193
|
+
export interface MaxArtworkSizeConstraintsParams {
|
|
3194
|
+
width?: number | null;
|
|
3195
|
+
height?: number | null;
|
|
3196
|
+
shapeType?: ArtworkShapeType | null;
|
|
3197
|
+
}
|
|
2949
3198
|
export interface MeasureUnitInfo {
|
|
2950
3199
|
name?: string | null;
|
|
2951
3200
|
shortName?: string | null;
|
|
@@ -2956,6 +3205,35 @@ export interface Mockup3dAttributesDto {
|
|
|
2956
3205
|
[key: string]: string;
|
|
2957
3206
|
} | null;
|
|
2958
3207
|
}
|
|
3208
|
+
/** Mockup preview fitting mode. */
|
|
3209
|
+
export declare enum MockupPreviewFitMode {
|
|
3210
|
+
Fit = "Fit",
|
|
3211
|
+
Shrink = "Shrink",
|
|
3212
|
+
Resize = "Resize",
|
|
3213
|
+
Fill = "Fill"
|
|
3214
|
+
}
|
|
3215
|
+
/** Mockup preview file format. */
|
|
3216
|
+
export declare enum MockupPreviewFormat {
|
|
3217
|
+
Jpeg = "Jpeg",
|
|
3218
|
+
Png = "Png"
|
|
3219
|
+
}
|
|
3220
|
+
/** Settings that describe mockup preview rendering parameters. */
|
|
3221
|
+
export interface MockupPreviewRenderingConfig {
|
|
3222
|
+
/** Mockup preview width (in pixels). */
|
|
3223
|
+
width?: number;
|
|
3224
|
+
/** Mockup preview height (in pixels). */
|
|
3225
|
+
height?: number;
|
|
3226
|
+
/** Parameters of active group layers. Each group can have only one active layer.
|
|
3227
|
+
E.g. { "Group1: "Layer1", "Group2": "Layer2" }.
|
|
3228
|
+
If value is not set, all visible layers will be rendered. */
|
|
3229
|
+
groups?: {
|
|
3230
|
+
[key: string]: string;
|
|
3231
|
+
} | null;
|
|
3232
|
+
/** Mockup preview file format. */
|
|
3233
|
+
fileFormat?: MockupPreviewFormat | null;
|
|
3234
|
+
/** Mockup preview fit mode. */
|
|
3235
|
+
fitMode?: MockupPreviewFitMode | null;
|
|
3236
|
+
}
|
|
2959
3237
|
export interface MultiCallRequest {
|
|
2960
3238
|
items?: MultiCallRequestItem[] | null;
|
|
2961
3239
|
}
|
|
@@ -3219,6 +3497,14 @@ export interface RenderImagePreviewToResourceModel {
|
|
|
3219
3497
|
/** Image preview configuration. */
|
|
3220
3498
|
renderingConfig?: ImagePreviewRenderingConfig | null;
|
|
3221
3499
|
}
|
|
3500
|
+
export interface RenderMockupPreviewModel {
|
|
3501
|
+
/** Mockup identifier. */
|
|
3502
|
+
mockupId?: string | null;
|
|
3503
|
+
/** Storage image owner identifier. */
|
|
3504
|
+
ownerId?: string | null;
|
|
3505
|
+
/** Mockup preview configuration. */
|
|
3506
|
+
renderingConfig?: MockupPreviewRenderingConfig | null;
|
|
3507
|
+
}
|
|
3222
3508
|
/** Render product parameters. */
|
|
3223
3509
|
export interface RenderProductModel {
|
|
3224
3510
|
/** Serialized product description. */
|