import { AxiosInstance, AxiosRequestConfig, AxiosResponse, CancelToken } from 'axios'; export declare class ApiClientConfiguration { apiUrl: string; apiKey: string; private authorizationToken; getAuthorizationToken(): Promise; setAuthorizationToken(token: string): void; } export declare class ApiClientBase { private configuration; constructor(configuration: ApiClientConfiguration); protected transformOptions(options: AxiosRequestConfig): Promise; protected getBaseUrl(defultUrl: string): string; protected transformResult(url: string, res: AxiosResponse, cb: (res: AxiosResponse) => Promise): Promise; } export interface IBuildInfoApiClient { /** * Get assembly build info. * @return Success */ headInfo(): Promise; /** * Get assembly build info. * @return Success */ getInfo(): Promise; } export declare class BuildInfoApiClient extends ApiClientBase implements IBuildInfoApiClient { private instance; private baseUrl; protected jsonParseReviver: ((key: string, value: any) => any) | undefined; constructor(configuration: ApiClientConfiguration, baseUrl?: string, instance?: AxiosInstance); /** * Get assembly build info. * @return Success */ headInfo(cancelToken?: CancelToken | undefined): Promise; protected processHeadInfo(response: AxiosResponse): Promise; /** * Get assembly build info. * @return Success */ getInfo(cancelToken?: CancelToken | undefined): Promise; protected processGetInfo(response: AxiosResponse): Promise; } export interface IDesignAtomsCompatibilityApiClient { /** * @param body (optional) * @return Success */ cssFonts(tenantId: number, body?: FontsMethodData | undefined): Promise; /** * @return Success */ fonts(tenantId: number, psName: string): Promise; /** * @param body (optional) * @return Success */ getColorPreview(tenantId: number, body?: GetColorPreviewRequest | undefined): Promise; /** * @param body (optional) * @return Success */ getColorPreviews(tenantId: number, body?: GetColorPreviewsRequest | undefined): Promise; /** * @param fontKey (optional) * @return Success */ getCssFont(tenantId: number, fontKey?: string | null | undefined): Promise; /** * @return Success */ getFallbackFonts(tenantId: number): Promise; /** * @param body (optional) * @return Success */ getImageSize(tenantId: number, body?: GetImageSizeRequest | undefined): Promise; /** * @param body (optional) * @return Success */ getShapeBounds(tenantId: number, body?: GetShapeBoundsRequest | undefined): Promise; /** * @param body (optional) * @return Success */ getWatermarkItems(tenantId: number, body?: any | undefined): Promise; /** * Retrieves an image with resized dimensions and additional visual effects based on the provided parameters. * @param f (optional) The identifier of the original image file. * @param w (optional) Target width of the resulting image. * @param h (optional) Target height of the resulting image. * @param cmyk (optional) Name of the CMYK profile used for color conversion. * @param rgb (optional) Name of the RGB profile used for color conversion. * @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray. * @param target (optional) Target color space, one of "Rgb", "Grayscale", or "Cmyk". * @param sq (optional) Indicates that the image is squared. The default value is "false". * @param effect (optional) Effect applied to the image. Possible values: "None", "BlackAndWhite", "FlipVertical", "FlipHorizontal", "Colorize", "Grayscale", or "BlackAndTransparent". The default value is "None". * @param kp (optional) Indicates that image proportions should be maintained. The default value is "false". * @param color (optional) Overlay color in the RGB, RGBA, CMYK, or CMYKA format. By default, it's an empty string. * @param obm (optional) Overlay blend mode used for blending colors. Possible values: "Normal", "Multiply", "Screen", "Overlay", "Darken", "Lighten", "ColorDodge", "ColorBurn", "HardLight", "SoftLight", `Difference", "Exclusion", "None", or "LinearBurn". By default, it's an empty string. * @param oo (optional) Opacity level of the overlaid layer, in the range [0.0, 1.0]. The default value is "null". * @param alphaMask (optional) Enables alpha mask processing. The default value is "false". * @param page (optional) Page index in a PDF document that needs to be processed. The default value is "0". * @param colorizeColor (optional) Color applied for the "Colorize" image effect. By default, it's an empty string. * @param rw (optional) Rectangle width for area selection. The default value is "0". * @param rh (optional) Rectangle height for area selection. The default value is "0". * @param dt (optional) Dithering type. * @param da (optional) Dithering amount. * @return Success */ img(tenantId: number, f?: string | null | undefined, w?: number | null | undefined, h?: number | null | undefined, cmyk?: string | null | undefined, rgb?: string | null | undefined, grayscale?: string | null | undefined, target?: string | null | undefined, sq?: boolean | null | undefined, effect?: string | null | undefined, kp?: boolean | null | undefined, color?: string | null | undefined, obm?: string | null | undefined, oo?: number | null | undefined, alphaMask?: boolean | null | undefined, page?: number | null | undefined, colorizeColor?: string | null | undefined, rw?: number | null | undefined, rh?: number | null | undefined, dt?: string | null | undefined, da?: number | null | undefined): Promise; /** * @return Success */ getLicense(tenantId: number): Promise; /** * @param f (optional) * @return Success */ pth(tenantId: number, f?: string | null | undefined): Promise; /** * @param image (optional) * @return Success */ resource(tenantId: number, image?: string | null | undefined): Promise; /** * @param f (optional) The identifier of the original image file. * @param w (optional) Target width of the resulting image. * @param h (optional) Target height of the resulting image. * @param cmyk (optional) Name of the CMYK profile used for color conversion. * @param rgb (optional) Name of the RGB profile used for color conversion. * @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray. * @param target (optional) Target color space, one of "Rgb", "Grayscale", or "Cmyk". * @param sq (optional) Indicates that the image is squared. The default value is "false". * @param effect (optional) Effect applied to the image. Possible values: "None", "BlackAndWhite", "FlipVertical", "FlipHorizontal", "Colorize", "Grayscale", or "BlackAndTransparent". The default value is "None". * @param kp (optional) Indicates that image proportions should be maintained. The default value is "false". * @param color (optional) Overlay color in the RGB, RGBA, CMYK, or CMYKA format. By default, it's an empty string. * @param obm (optional) Overlay blend mode used for blending colors. Possible values: "Normal", "Multiply", "Screen", "Overlay", "Darken", "Lighten", "ColorDodge", "ColorBurn", "HardLight", "SoftLight", `Difference", "Exclusion", "None", or "LinearBurn". By default, it's an empty string. * @param oo (optional) Opacity level of the overlaid layer, in the range [0.0, 1.0]. The default value is "null". * @param alphaMask (optional) Enables alpha mask processing. The default value is "false". * @param page (optional) Page index in a PDF document that needs to be processed. The default value is "0". * @param colorizeColor (optional) Color applied for the "Colorize" image effect. By default, it's an empty string. * @param rw (optional) Rectangle width for area selection. The default value is "0". * @param rh (optional) Rectangle height for area selection. The default value is "0". * @param dt (optional) Dithering type. * @param da (optional) Dithering amount. * @return Success */ svg(tenantId: number, f?: string | null | undefined, w?: number | null | undefined, h?: number | null | undefined, cmyk?: string | null | undefined, rgb?: string | null | undefined, grayscale?: string | null | undefined, target?: string | null | undefined, sq?: boolean | null | undefined, effect?: string | null | undefined, kp?: boolean | null | undefined, color?: string | null | undefined, obm?: string | null | undefined, oo?: number | null | undefined, alphaMask?: boolean | null | undefined, page?: number | null | undefined, colorizeColor?: string | null | undefined, rw?: number | null | undefined, rh?: number | null | undefined, dt?: string | null | undefined, da?: number | null | undefined): Promise; /** * @param f (optional) * @return Success */ txt(tenantId: number, f?: string | null | undefined): Promise; /** * @param body (optional) * @return Success */ updateArchedTextItemHandler(tenantId: number, body?: UpdateHandlerRequest | undefined): Promise; /** * @param body (optional) * @return Success */ updateAutoScaledTextItemHandler(tenantId: number, body?: UpdateHandlerRequest | undefined): Promise; /** * @param body (optional) * @return Success */ updateBarcodeItemHandler(tenantId: number, body?: UpdateHandlerRequest | undefined): Promise; /** * @param body (optional) * @return Success */ updateBoundedTextItemHandler(tenantId: number, body?: UpdateHandlerRequest | undefined): Promise; /** * @param body (optional) * @return Success */ updateByColorData(tenantId: number, body?: UpdateColorsRequest | undefined): Promise; /** * @param body (optional) * @return Success */ updateByMultiCallRequest(tenantId: number, body?: MultiCallRequest | undefined): Promise; /** * @param body (optional) * @return Success */ updateCurvedTextItemHandler(tenantId: number, body?: UpdateHandlerRequest | undefined): Promise; /** * @param body (optional) * @return Success */ updateImageItemHandler(tenantId: number, body?: UpdateImageHandlerRequest | undefined): Promise; /** * @param body (optional) * @return Success */ updatePathBoundedTextItemHandler(tenantId: number, body?: UpdateHandlerRequest | undefined): Promise; /** * @param body (optional) * @return Success */ updatePlainTextItemHandler(tenantId: number, body?: UpdateHandlerRequest | undefined): Promise; /** * @param body (optional) * @return Success */ updateShapeItemHandler(tenantId: number, body?: UpdateHandlerRequest | undefined): Promise; } export declare class DesignAtomsCompatibilityApiClient extends ApiClientBase implements IDesignAtomsCompatibilityApiClient { private instance; private baseUrl; protected jsonParseReviver: ((key: string, value: any) => any) | undefined; constructor(configuration: ApiClientConfiguration, baseUrl?: string, instance?: AxiosInstance); /** * @param body (optional) * @return Success */ cssFonts(tenantId: number, body?: FontsMethodData | undefined, cancelToken?: CancelToken | undefined): Promise; protected processCssFonts(response: AxiosResponse): Promise; /** * @return Success */ fonts(tenantId: number, psName: string, cancelToken?: CancelToken | undefined): Promise; protected processFonts(response: AxiosResponse): Promise; /** * @param body (optional) * @return Success */ getColorPreview(tenantId: number, body?: GetColorPreviewRequest | undefined, cancelToken?: CancelToken | undefined): Promise; protected processGetColorPreview(response: AxiosResponse): Promise; /** * @param body (optional) * @return Success */ getColorPreviews(tenantId: number, body?: GetColorPreviewsRequest | undefined, cancelToken?: CancelToken | undefined): Promise; protected processGetColorPreviews(response: AxiosResponse): Promise; /** * @param fontKey (optional) * @return Success */ getCssFont(tenantId: number, fontKey?: string | null | undefined, cancelToken?: CancelToken | undefined): Promise; protected processGetCssFont(response: AxiosResponse): Promise; /** * @return Success */ getFallbackFonts(tenantId: number, cancelToken?: CancelToken | undefined): Promise; protected processGetFallbackFonts(response: AxiosResponse): Promise; /** * @param body (optional) * @return Success */ getImageSize(tenantId: number, body?: GetImageSizeRequest | undefined, cancelToken?: CancelToken | undefined): Promise; protected processGetImageSize(response: AxiosResponse): Promise; /** * @param body (optional) * @return Success */ getShapeBounds(tenantId: number, body?: GetShapeBoundsRequest | undefined, cancelToken?: CancelToken | undefined): Promise; protected processGetShapeBounds(response: AxiosResponse): Promise; /** * @param body (optional) * @return Success */ getWatermarkItems(tenantId: number, body?: any | undefined, cancelToken?: CancelToken | undefined): Promise; protected processGetWatermarkItems(response: AxiosResponse): Promise; /** * Retrieves an image with resized dimensions and additional visual effects based on the provided parameters. * @param f (optional) The identifier of the original image file. * @param w (optional) Target width of the resulting image. * @param h (optional) Target height of the resulting image. * @param cmyk (optional) Name of the CMYK profile used for color conversion. * @param rgb (optional) Name of the RGB profile used for color conversion. * @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray. * @param target (optional) Target color space, one of "Rgb", "Grayscale", or "Cmyk". * @param sq (optional) Indicates that the image is squared. The default value is "false". * @param effect (optional) Effect applied to the image. Possible values: "None", "BlackAndWhite", "FlipVertical", "FlipHorizontal", "Colorize", "Grayscale", or "BlackAndTransparent". The default value is "None". * @param kp (optional) Indicates that image proportions should be maintained. The default value is "false". * @param color (optional) Overlay color in the RGB, RGBA, CMYK, or CMYKA format. By default, it's an empty string. * @param obm (optional) Overlay blend mode used for blending colors. Possible values: "Normal", "Multiply", "Screen", "Overlay", "Darken", "Lighten", "ColorDodge", "ColorBurn", "HardLight", "SoftLight", `Difference", "Exclusion", "None", or "LinearBurn". By default, it's an empty string. * @param oo (optional) Opacity level of the overlaid layer, in the range [0.0, 1.0]. The default value is "null". * @param alphaMask (optional) Enables alpha mask processing. The default value is "false". * @param page (optional) Page index in a PDF document that needs to be processed. The default value is "0". * @param colorizeColor (optional) Color applied for the "Colorize" image effect. By default, it's an empty string. * @param rw (optional) Rectangle width for area selection. The default value is "0". * @param rh (optional) Rectangle height for area selection. The default value is "0". * @param dt (optional) Dithering type. * @param da (optional) Dithering amount. * @return Success */ img(tenantId: number, f?: string | null | undefined, w?: number | null | undefined, h?: number | null | undefined, cmyk?: string | null | undefined, rgb?: string | null | undefined, grayscale?: string | null | undefined, target?: string | null | undefined, sq?: boolean | null | undefined, effect?: string | null | undefined, kp?: boolean | null | undefined, color?: string | null | undefined, obm?: string | null | undefined, oo?: number | null | undefined, alphaMask?: boolean | null | undefined, page?: number | null | undefined, colorizeColor?: string | null | undefined, rw?: number | null | undefined, rh?: number | null | undefined, dt?: string | null | undefined, da?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise; protected processImg(response: AxiosResponse): Promise; /** * @return Success */ getLicense(tenantId: number, cancelToken?: CancelToken | undefined): Promise; protected processGetLicense(response: AxiosResponse): Promise; /** * @param f (optional) * @return Success */ pth(tenantId: number, f?: string | null | undefined, cancelToken?: CancelToken | undefined): Promise; protected processPth(response: AxiosResponse): Promise; /** * @param image (optional) * @return Success */ resource(tenantId: number, image?: string | null | undefined, cancelToken?: CancelToken | undefined): Promise; protected processResource(response: AxiosResponse): Promise; /** * @param f (optional) The identifier of the original image file. * @param w (optional) Target width of the resulting image. * @param h (optional) Target height of the resulting image. * @param cmyk (optional) Name of the CMYK profile used for color conversion. * @param rgb (optional) Name of the RGB profile used for color conversion. * @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray. * @param target (optional) Target color space, one of "Rgb", "Grayscale", or "Cmyk". * @param sq (optional) Indicates that the image is squared. The default value is "false". * @param effect (optional) Effect applied to the image. Possible values: "None", "BlackAndWhite", "FlipVertical", "FlipHorizontal", "Colorize", "Grayscale", or "BlackAndTransparent". The default value is "None". * @param kp (optional) Indicates that image proportions should be maintained. The default value is "false". * @param color (optional) Overlay color in the RGB, RGBA, CMYK, or CMYKA format. By default, it's an empty string. * @param obm (optional) Overlay blend mode used for blending colors. Possible values: "Normal", "Multiply", "Screen", "Overlay", "Darken", "Lighten", "ColorDodge", "ColorBurn", "HardLight", "SoftLight", `Difference", "Exclusion", "None", or "LinearBurn". By default, it's an empty string. * @param oo (optional) Opacity level of the overlaid layer, in the range [0.0, 1.0]. The default value is "null". * @param alphaMask (optional) Enables alpha mask processing. The default value is "false". * @param page (optional) Page index in a PDF document that needs to be processed. The default value is "0". * @param colorizeColor (optional) Color applied for the "Colorize" image effect. By default, it's an empty string. * @param rw (optional) Rectangle width for area selection. The default value is "0". * @param rh (optional) Rectangle height for area selection. The default value is "0". * @param dt (optional) Dithering type. * @param da (optional) Dithering amount. * @return Success */ svg(tenantId: number, f?: string | null | undefined, w?: number | null | undefined, h?: number | null | undefined, cmyk?: string | null | undefined, rgb?: string | null | undefined, grayscale?: string | null | undefined, target?: string | null | undefined, sq?: boolean | null | undefined, effect?: string | null | undefined, kp?: boolean | null | undefined, color?: string | null | undefined, obm?: string | null | undefined, oo?: number | null | undefined, alphaMask?: boolean | null | undefined, page?: number | null | undefined, colorizeColor?: string | null | undefined, rw?: number | null | undefined, rh?: number | null | undefined, dt?: string | null | undefined, da?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise; protected processSvg(response: AxiosResponse): Promise; /** * @param f (optional) * @return Success */ txt(tenantId: number, f?: string | null | undefined, cancelToken?: CancelToken | undefined): Promise; protected processTxt(response: AxiosResponse): Promise; /** * @param body (optional) * @return Success */ updateArchedTextItemHandler(tenantId: number, body?: UpdateHandlerRequest | undefined, cancelToken?: CancelToken | undefined): Promise; protected processUpdateArchedTextItemHandler(response: AxiosResponse): Promise; /** * @param body (optional) * @return Success */ updateAutoScaledTextItemHandler(tenantId: number, body?: UpdateHandlerRequest | undefined, cancelToken?: CancelToken | undefined): Promise; protected processUpdateAutoScaledTextItemHandler(response: AxiosResponse): Promise; /** * @param body (optional) * @return Success */ updateBarcodeItemHandler(tenantId: number, body?: UpdateHandlerRequest | undefined, cancelToken?: CancelToken | undefined): Promise; protected processUpdateBarcodeItemHandler(response: AxiosResponse): Promise; /** * @param body (optional) * @return Success */ updateBoundedTextItemHandler(tenantId: number, body?: UpdateHandlerRequest | undefined, cancelToken?: CancelToken | undefined): Promise; protected processUpdateBoundedTextItemHandler(response: AxiosResponse): Promise; /** * @param body (optional) * @return Success */ updateByColorData(tenantId: number, body?: UpdateColorsRequest | undefined, cancelToken?: CancelToken | undefined): Promise; protected processUpdateByColorData(response: AxiosResponse): Promise; /** * @param body (optional) * @return Success */ updateByMultiCallRequest(tenantId: number, body?: MultiCallRequest | undefined, cancelToken?: CancelToken | undefined): Promise; protected processUpdateByMultiCallRequest(response: AxiosResponse): Promise; /** * @param body (optional) * @return Success */ updateCurvedTextItemHandler(tenantId: number, body?: UpdateHandlerRequest | undefined, cancelToken?: CancelToken | undefined): Promise; protected processUpdateCurvedTextItemHandler(response: AxiosResponse): Promise; /** * @param body (optional) * @return Success */ updateImageItemHandler(tenantId: number, body?: UpdateImageHandlerRequest | undefined, cancelToken?: CancelToken | undefined): Promise; protected processUpdateImageItemHandler(response: AxiosResponse): Promise; /** * @param body (optional) * @return Success */ updatePathBoundedTextItemHandler(tenantId: number, body?: UpdateHandlerRequest | undefined, cancelToken?: CancelToken | undefined): Promise; protected processUpdatePathBoundedTextItemHandler(response: AxiosResponse): Promise; /** * @param body (optional) * @return Success */ updatePlainTextItemHandler(tenantId: number, body?: UpdateHandlerRequest | undefined, cancelToken?: CancelToken | undefined): Promise; protected processUpdatePlainTextItemHandler(response: AxiosResponse): Promise; /** * @param body (optional) * @return Success */ updateShapeItemHandler(tenantId: number, body?: UpdateHandlerRequest | undefined, cancelToken?: CancelToken | undefined): Promise; protected processUpdateShapeItemHandler(response: AxiosResponse): Promise; } export interface IDesignAtomsImagesApiClient { /** * Renders a preview of an image with the specified parameters. * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied (default value is 'false'). * @param tenantId (optional) Tenant ID. * @param body (optional) Render model with preview parameters. * @return Success */ renderImagePreview(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderImagePreviewModel | undefined): Promise; /** * Renders a preview of an uploaded image with the specified parameters. * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied (default value is 'false'). * @param tenantId (optional) Tenant ID. * @param sourceFile (optional) * @param mockupOwnerId (optional) * @param mockupId (optional) * @param width (optional) * @param height (optional) * @param fileFormat (optional) * @param fitMode (optional) * @param pageIndex (optional) * @return Success */ renderImagePreviewFromFile(attachment?: boolean | null | undefined, tenantId?: number | undefined, sourceFile?: FileParameter | null | undefined, mockupOwnerId?: string | null | undefined, mockupId?: string | null | undefined, width?: number | null | undefined, height?: number | null | undefined, fileFormat?: ImagePreviewFormat | null | undefined, fitMode?: ImagePreviewFitMode | null | undefined, pageIndex?: number | null | undefined): Promise; /** * Renders a preview of an uploaded image with the specified parameters and saves rendering result as resource. * @param tenantId (optional) Tenant ID. * @param resourceOwnerId (optional) * @param resourceNamespace (optional) * @param resourceName (optional) * @param resourceSourceId (optional) * @param resourceType (optional) * @param anonymousAccess (optional) * @param overwriteExistingResource (optional) * @param sourceFile (optional) * @param mockupOwnerId (optional) * @param mockupId (optional) * @param width (optional) * @param height (optional) * @param fileFormat (optional) * @param fitMode (optional) * @param pageIndex (optional) * @return Success */ 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, pageIndex?: number | null | undefined): Promise; /** * Renders a preview of a web image with the specified parameters. * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied (default value is 'false'). * @param tenantId (optional) Tenant ID. * @param body (optional) Render model with preview parameters. * @return Success */ renderImagePreviewFromUrl(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderImagePreviewFromUrlModel | undefined): Promise; /** * Renders a preview of a web image with the specified parameters and saves rendering result as resource. * @param tenantId (optional) Tenant ID. * @param body (optional) Render model with preview parameters. * @return Success */ renderImagePreviewFromUrlToResource(tenantId?: number | undefined, body?: RenderImagePreviewFromUrlToResourceModel | undefined): Promise; /** * Renders a preview of an image with the specified parameters and saves rendering result as resource. * @param tenantId (optional) Tenant ID. * @param body (optional) Render model with preview parameters. * @return Success */ renderImagePreviewToResource(tenantId?: number | undefined, body?: RenderImagePreviewToResourceModel | undefined): Promise; } export declare class DesignAtomsImagesApiClient extends ApiClientBase implements IDesignAtomsImagesApiClient { private instance; private baseUrl; protected jsonParseReviver: ((key: string, value: any) => any) | undefined; constructor(configuration: ApiClientConfiguration, baseUrl?: string, instance?: AxiosInstance); /** * Renders a preview of an image with the specified parameters. * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied (default value is 'false'). * @param tenantId (optional) Tenant ID. * @param body (optional) Render model with preview parameters. * @return Success */ renderImagePreview(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderImagePreviewModel | undefined, cancelToken?: CancelToken | undefined): Promise; protected processRenderImagePreview(response: AxiosResponse): Promise; /** * Renders a preview of an uploaded image with the specified parameters. * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied (default value is 'false'). * @param tenantId (optional) Tenant ID. * @param sourceFile (optional) * @param mockupOwnerId (optional) * @param mockupId (optional) * @param width (optional) * @param height (optional) * @param fileFormat (optional) * @param fitMode (optional) * @param pageIndex (optional) * @return Success */ renderImagePreviewFromFile(attachment?: boolean | null | undefined, tenantId?: number | undefined, sourceFile?: FileParameter | null | undefined, mockupOwnerId?: string | null | undefined, mockupId?: string | null | undefined, width?: number | null | undefined, height?: number | null | undefined, fileFormat?: ImagePreviewFormat | null | undefined, fitMode?: ImagePreviewFitMode | null | undefined, pageIndex?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise; protected processRenderImagePreviewFromFile(response: AxiosResponse): Promise; /** * Renders a preview of an uploaded image with the specified parameters and saves rendering result as resource. * @param tenantId (optional) Tenant ID. * @param resourceOwnerId (optional) * @param resourceNamespace (optional) * @param resourceName (optional) * @param resourceSourceId (optional) * @param resourceType (optional) * @param anonymousAccess (optional) * @param overwriteExistingResource (optional) * @param sourceFile (optional) * @param mockupOwnerId (optional) * @param mockupId (optional) * @param width (optional) * @param height (optional) * @param fileFormat (optional) * @param fitMode (optional) * @param pageIndex (optional) * @return Success */ 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, pageIndex?: number | null | undefined, cancelToken?: CancelToken | undefined): Promise; protected processRenderImagePreviewFromFileToResource(response: AxiosResponse): Promise; /** * Renders a preview of a web image with the specified parameters. * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied (default value is 'false'). * @param tenantId (optional) Tenant ID. * @param body (optional) Render model with preview parameters. * @return Success */ renderImagePreviewFromUrl(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderImagePreviewFromUrlModel | undefined, cancelToken?: CancelToken | undefined): Promise; protected processRenderImagePreviewFromUrl(response: AxiosResponse): Promise; /** * Renders a preview of a web image with the specified parameters and saves rendering result as resource. * @param tenantId (optional) Tenant ID. * @param body (optional) Render model with preview parameters. * @return Success */ renderImagePreviewFromUrlToResource(tenantId?: number | undefined, body?: RenderImagePreviewFromUrlToResourceModel | undefined, cancelToken?: CancelToken | undefined): Promise; protected processRenderImagePreviewFromUrlToResource(response: AxiosResponse): Promise; /** * Renders a preview of an image with the specified parameters and saves rendering result as resource. * @param tenantId (optional) Tenant ID. * @param body (optional) Render model with preview parameters. * @return Success */ renderImagePreviewToResource(tenantId?: number | undefined, body?: RenderImagePreviewToResourceModel | undefined, cancelToken?: CancelToken | undefined): Promise; protected processRenderImagePreviewToResource(response: AxiosResponse): Promise; } export interface IDesignAtomsMockups2dApiClient { /** * Renders a mockup preview with the specified parameters. * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied (default value is 'false'). * @param tenantId (optional) Tenant ID. * @param body (optional) Render model with preview parameters. * @return Success */ renderMockupPreview(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderMockupPreviewModel | undefined): Promise; } export declare class DesignAtomsMockups2dApiClient extends ApiClientBase implements IDesignAtomsMockups2dApiClient { private instance; private baseUrl; protected jsonParseReviver: ((key: string, value: any) => any) | undefined; constructor(configuration: ApiClientConfiguration, baseUrl?: string, instance?: AxiosInstance); /** * Renders a mockup preview with the specified parameters. * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied (default value is 'false'). * @param tenantId (optional) Tenant ID. * @param body (optional) Render model with preview parameters. * @return Success */ renderMockupPreview(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderMockupPreviewModel | undefined, cancelToken?: CancelToken | undefined): Promise; protected processRenderMockupPreview(response: AxiosResponse): Promise; } export interface IDesignAtomsMockups3dApiClient { /** * Returns a 3D-Mockup attributes. * @param id 3D-Mockup identifier. * @param ownerId (optional) Private mockup owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ getAttributes(id: string, ownerId?: string | null | undefined, tenantId?: number | undefined): Promise; /** * Returns a 3D-Mockup content as protobuf binary stream. * @param id 3D-Mockup identifier. * @param ownerId (optional) Private mockup owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ getContentAsProtobuf(id: string, ownerId?: string | null | undefined, tenantId?: number | undefined): Promise; /** * Returns a 3D-Mockup geometry as binary stream. * @param id 3D-Mockup identifier. * @param ownerId (optional) Private mockup owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ getGeometryFile(id: string, ownerId?: string | null | undefined, tenantId?: number | undefined): Promise; } export declare class DesignAtomsMockups3dApiClient extends ApiClientBase implements IDesignAtomsMockups3dApiClient { private instance; private baseUrl; protected jsonParseReviver: ((key: string, value: any) => any) | undefined; constructor(configuration: ApiClientConfiguration, baseUrl?: string, instance?: AxiosInstance); /** * Returns a 3D-Mockup attributes. * @param id 3D-Mockup identifier. * @param ownerId (optional) Private mockup owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ getAttributes(id: string, ownerId?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processGetAttributes(response: AxiosResponse): Promise; /** * Returns a 3D-Mockup content as protobuf binary stream. * @param id 3D-Mockup identifier. * @param ownerId (optional) Private mockup owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ getContentAsProtobuf(id: string, ownerId?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processGetContentAsProtobuf(response: AxiosResponse): Promise; /** * Returns a 3D-Mockup geometry as binary stream. * @param id 3D-Mockup identifier. * @param ownerId (optional) Private mockup owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ getGeometryFile(id: string, ownerId?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processGetGeometryFile(response: AxiosResponse): Promise; } export interface IDesignAtomsPalettesApiClient { /** * Returns a closest color to provided color in a specified palette. * @param paletteUID (optional) Palette UID. * @param tenantId (optional) Tenant ID. * @param body (optional) Source color. * @return Success */ findPaletteColor(paletteUID?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Promise; /** * Returns a serialized palette model by its identifier or UID. * @param id (optional) Palette identifier. * @param uid (optional) Palette UID. * @param tenantId (optional) Tenant ID. * @return Success */ getPaletteModel(id?: string | null | undefined, uid?: string | null | undefined, tenantId?: number | undefined): Promise; } export declare class DesignAtomsPalettesApiClient extends ApiClientBase implements IDesignAtomsPalettesApiClient { private instance; private baseUrl; protected jsonParseReviver: ((key: string, value: any) => any) | undefined; constructor(configuration: ApiClientConfiguration, baseUrl?: string, instance?: AxiosInstance); /** * Returns a closest color to provided color in a specified palette. * @param paletteUID (optional) Palette UID. * @param tenantId (optional) Tenant ID. * @param body (optional) Source color. * @return Success */ findPaletteColor(paletteUID?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined, cancelToken?: CancelToken | undefined): Promise; protected processFindPaletteColor(response: AxiosResponse): Promise; /** * Returns a serialized palette model by its identifier or UID. * @param id (optional) Palette identifier. * @param uid (optional) Palette UID. * @param tenantId (optional) Tenant ID. * @return Success */ getPaletteModel(id?: string | null | undefined, uid?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processGetPaletteModel(response: AxiosResponse): Promise; } export interface IDesignAtomsPrintProductApiClient { /** * Patches a print-product of the specified design file. * @param id Design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param patchType (optional) * @param replaceImageItemFileInfo_itemName (optional) * @param replaceImageItemFileInfo_sourceFile (optional) * @param replacePlaceholderItemContentInfo_placeholderItemName (optional) * @param replacePlaceholderItemContentInfo_newContentType (optional) * @param replacePlaceholderItemContentInfo_sourceFile (optional) * @return No Content */ patchDesignProduct(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, patchType?: ProductPatchType | null | undefined, replaceImageItemFileInfo_itemName?: string | null | undefined, replaceImageItemFileInfo_sourceFile?: FileParameter | null | undefined, replacePlaceholderItemContentInfo_placeholderItemName?: string | null | undefined, replacePlaceholderItemContentInfo_newContentType?: PlaceholderItemContentType | null | undefined, replacePlaceholderItemContentInfo_sourceFile?: FileParameter | null | undefined): Promise; /** * Returns a list of print-product container descriptions of the specified design file. * @param id Design identifier. * @param surfaceId (optional) Print-product surface identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ getDesignSurfaceContainers(id: string, surfaceId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Promise; /** * Returns a list of print-product container descriptions of the specified design file. * @param id Design identifier. * @param index (optional) * @param surfaceId (optional) Print-product surface identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ addDesignSurfaceContainer(id: string, index?: number | null | undefined, surfaceId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: DesignSurfaceContainerParams | undefined): Promise; /** * Returns a print-product container parameters of the specified design file. * @param id Design identifier. * @param containerId Print-product container identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ getDesignSurfaceContainer(id: string, containerId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Promise; /** * Returns a list of print-product container descriptions of the specified design file. * @param id Design identifier. * @param surfaceId (optional) Print-product surface identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ updateDesignSurfaceContainer(id: string, containerId: string, surfaceId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: DesignSurfaceContainerParams | undefined): Promise; /** * Deletes a specified print-product container in an existing design file. * @param id Design identifier. * @param containerId Print-product container identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return No Content */ deleteDesignSurfaceContainer(id: string, containerId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Promise; /** * Returns a print-product container of the specified design file as a json-serialized model. * @param id Design identifier. * @param containerId Print-product container identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ getDesignSurfaceContainerModel(id: string, containerId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Promise; /** * Updates a specified print-product container in an existing design file with the data provided as a json-serialized model. * @param id Design identifier. * @param containerId Print-product container identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param body (optional) Json-serialized model of a print-product container. * @return Success */ updateDesignSurfaceContainerModel(id: string, containerId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Promise; /** * Inserts a new print-product container provided as a json-serialized model to the certain surface in an existing design file. Print-product container identifier will be reset by auto-generated value to prevent identifiers collisions. * @param id Design identifier. * @param surfaceId (optional) Print-product surface identifier. * @param index (optional) Container index within the conatiners list of a surface. * @param top (optional) Y axis position. * @param left (optional) X axis position. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param body (optional) Json-serialized model of a new print-product container. * @return Success */ 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; /** * Returns a list of print-product items descriptions of the specified design file. * @param id Design identifier. * @param surfaceId (optional) Print-product surface identifier. * @param containerId (optional) Print-product container identifier. * @param parentItemId (optional) Print-product item identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ getDesignSurfaceItems(id: string, surfaceId?: string | null | undefined, containerId?: string | null | undefined, parentItemId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Promise; /** * Deletes a specified print-product item in an existing design file. * @param id Design identifier. * @param itemId Print-product item identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return No Content */ deleteDesignSurfaceItem(id: string, itemId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Promise; /** * Returns a print-product item of the specified design file as a json-serialized model. * @param id Design identifier. * @param itemId Print-product item identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ getDesignSurfaceItemModel(id: string, itemId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Promise; /** * Updates a specified print-product surface item in an existing design file with the data provided as a json-serialized item model. * @param id Design identifier. * @param itemId Print-product item identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param body (optional) Json-serialized model of a print-product item. * @return Success */ updateDesignSurfaceItemModel(id: string, itemId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Promise; /** * Inserts a new print-product item provided as a json-serialized model to the specified surface in an existing design file. Item identifier will be reset by auto-generated value to prevent identifiers collisions. * @param id Design identifier. * @param containerId (optional) Parent surface identifier. * @param index (optional) Item index within the items list of a container. * @param top (optional) Y axis position. * @param left (optional) X axis position. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param body (optional) Json-serialized model of a new print-product item. * @return Success */ 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; /** * Returns a print-product of the specified design file as a json-serialized model. * @param id Design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ getDesignProductModel(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Promise; /** * Updates a print-product provided as a json-serialized model is the specified design file. * @param id Design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param body (optional) Json-serialized model of a print-product . * @return No Content */ updateDesignProductModel(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Promise; /** * Returns a list of print-area descriptions of the specified design file. * @param id Design identifier. * @param surfaceId (optional) * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ getDesignPrintAreas(id: string, surfaceId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Promise; /** * Inserts a new print-area created by the description at the specified position in an existing design file. Print-area identifier will be reset by auto-generated value to prevent identifiers collisions. * @param id Design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param body (optional) Print-area description model. * @return Success */ addDesignPrintArea(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: DesignPrintAreaParams | undefined): Promise; /** * Updates a specified print-area using a description in an existing design file. * @param id Design identifier. * @param printAreaId Design print-area identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param body (optional) Print-area description model. * @return Success */ updateDesignPrintArea(id: string, printAreaId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: DesignPrintAreaParams | undefined): Promise; /** * Deletes a specified print-area in an existing design file. * @param id Design identifier. * @param printAreaId Design print-area identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return No Content */ deleteDesignPrintArea(id: string, printAreaId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Promise; /** * Returns a print-area of the specified design file as a json-serialized model. * @param id Design identifier. * @param printAreaId Design print-area identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ getDesignPrintAreaModel(id: string, printAreaId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Promise; /** * Updates a specified print-area in an existing design file with the data provided as a json-serialized print-area model. * @param id Design identifier. * @param printAreaId Design print-area identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param body (optional) Json-serialized model of a print-area. * @return Success */ updateDesignPrintAreaModel(id: string, printAreaId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Promise; /** * Inserts a new print-area provided as a json-serialized model at the specified position in an existing design file. Print-area identifier will be reset by auto-generated value to prevent identifiers collisions. * @param id Design identifier. * @param surfaceId (optional) Parent surface identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param body (optional) Json serialized model of a print-area. * @return Success */ addDesignPrintAreaModel(id: string, surfaceId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Promise; /** * Returns a list of print-product surfaces descriptions of the specified design file. * @param id Design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ getDesignSurfaces(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Promise; /** * Deletes a specified print-product surface in an existing design file. * @param id Design identifier. * @param surfaceId Print-product surface identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return No Content */ deleteDesignSurface(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Promise; /** * Returns a down-mockup description of the specified print-product surface in an existing design file. * @param id Design identifier. * @param surfaceId Print product surface identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ getDesignSurfaceDownMockup(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Promise; /** * Updates a content file of down-mockup for the specified print-product surface in an existing design file. * @param id Design identifier. * @param surfaceId Print-product surface identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param position_top (optional) * @param position_left (optional) * @param sourceFile (optional) * @return Success */ 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; /** * Returns a content file for down-mockup of the specified print-product surface in an existing design file. * @param id Design identifier. * @param surfaceId Print-product surface identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ getDesignSurfaceDownMockupContent(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Promise; /** * Returns an up-mockup description of the specified print-product surface in an existing design file. * @param id Design identifier. * @param surfaceId Print-product surface identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ getDesignSurfaceUpMockup(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Promise; /** * Updates a content file of up-mockup for the specified print-product surface in an existing design. * @param id Design identifier. * @param surfaceId Print-product surface identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param position_top (optional) * @param position_left (optional) * @param sourceFile (optional) * @return Success */ 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; /** * Returns a content file for up-mockup of the specified print-product surface in an existing design file. * @param id Design identifier. * @param surfaceId Print-product surface identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ getDesignSurfaceUpMockupContent(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Promise; /** * Returns a print-product surface of the specified design file as a json-serialized model. * @param id Design identifier. * @param surfaceId Surface identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ getDesignSurfaceModel(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Promise; /** * Replaces a specified print-product surface in an existing design file with the data provided as a json-serialized surface model. All design elements identifiers within the surface (including surface identifier) will be reset by auto-generated values to prevent identifiers collisions. * @param id Design identifier. * @param surfaceId Print-product surface identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param body (optional) Json-serialized model of a print-product surface. * @return Success */ replaceDesignSurfaceModel(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Promise; /** * Inserts a new surface provided as a json-serialized model at the specified position in an existing design file. All design elements identifiers within the surface (including surface identifier) will be reset by auto-generated values to prevent identifiers collisions. * @param id Design identifier. * @param index (optional) Surface index within the surfaces list of a design. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param body (optional) Json-serialized model of a print-prouduct surface. * @return Success */ addDesignSurfaceModel(id: string, index?: number | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Promise; } export declare class DesignAtomsPrintProductApiClient extends ApiClientBase implements IDesignAtomsPrintProductApiClient { private instance; private baseUrl; protected jsonParseReviver: ((key: string, value: any) => any) | undefined; constructor(configuration: ApiClientConfiguration, baseUrl?: string, instance?: AxiosInstance); /** * Patches a print-product of the specified design file. * @param id Design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param patchType (optional) * @param replaceImageItemFileInfo_itemName (optional) * @param replaceImageItemFileInfo_sourceFile (optional) * @param replacePlaceholderItemContentInfo_placeholderItemName (optional) * @param replacePlaceholderItemContentInfo_newContentType (optional) * @param replacePlaceholderItemContentInfo_sourceFile (optional) * @return No Content */ patchDesignProduct(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, patchType?: ProductPatchType | null | undefined, replaceImageItemFileInfo_itemName?: string | null | undefined, replaceImageItemFileInfo_sourceFile?: FileParameter | null | undefined, replacePlaceholderItemContentInfo_placeholderItemName?: string | null | undefined, replacePlaceholderItemContentInfo_newContentType?: PlaceholderItemContentType | null | undefined, replacePlaceholderItemContentInfo_sourceFile?: FileParameter | null | undefined, cancelToken?: CancelToken | undefined): Promise; protected processPatchDesignProduct(response: AxiosResponse): Promise; /** * Returns a list of print-product container descriptions of the specified design file. * @param id Design identifier. * @param surfaceId (optional) Print-product surface identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ getDesignSurfaceContainers(id: string, surfaceId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processGetDesignSurfaceContainers(response: AxiosResponse): Promise; /** * Returns a list of print-product container descriptions of the specified design file. * @param id Design identifier. * @param index (optional) * @param surfaceId (optional) Print-product surface identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ 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; protected processAddDesignSurfaceContainer(response: AxiosResponse): Promise; /** * Returns a print-product container parameters of the specified design file. * @param id Design identifier. * @param containerId Print-product container identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ getDesignSurfaceContainer(id: string, containerId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processGetDesignSurfaceContainer(response: AxiosResponse): Promise; /** * Returns a list of print-product container descriptions of the specified design file. * @param id Design identifier. * @param surfaceId (optional) Print-product surface identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ updateDesignSurfaceContainer(id: string, containerId: string, surfaceId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: DesignSurfaceContainerParams | undefined, cancelToken?: CancelToken | undefined): Promise; protected processUpdateDesignSurfaceContainer(response: AxiosResponse): Promise; /** * Deletes a specified print-product container in an existing design file. * @param id Design identifier. * @param containerId Print-product container identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return No Content */ deleteDesignSurfaceContainer(id: string, containerId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processDeleteDesignSurfaceContainer(response: AxiosResponse): Promise; /** * Returns a print-product container of the specified design file as a json-serialized model. * @param id Design identifier. * @param containerId Print-product container identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ getDesignSurfaceContainerModel(id: string, containerId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processGetDesignSurfaceContainerModel(response: AxiosResponse): Promise; /** * Updates a specified print-product container in an existing design file with the data provided as a json-serialized model. * @param id Design identifier. * @param containerId Print-product container identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param body (optional) Json-serialized model of a print-product container. * @return Success */ updateDesignSurfaceContainerModel(id: string, containerId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined, cancelToken?: CancelToken | undefined): Promise; protected processUpdateDesignSurfaceContainerModel(response: AxiosResponse): Promise; /** * Inserts a new print-product container provided as a json-serialized model to the certain surface in an existing design file. Print-product container identifier will be reset by auto-generated value to prevent identifiers collisions. * @param id Design identifier. * @param surfaceId (optional) Print-product surface identifier. * @param index (optional) Container index within the conatiners list of a surface. * @param top (optional) Y axis position. * @param left (optional) X axis position. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param body (optional) Json-serialized model of a new print-product container. * @return Success */ 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; protected processAddDesignSurfaceContainerModel(response: AxiosResponse): Promise; /** * Returns a list of print-product items descriptions of the specified design file. * @param id Design identifier. * @param surfaceId (optional) Print-product surface identifier. * @param containerId (optional) Print-product container identifier. * @param parentItemId (optional) Print-product item identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ 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; protected processGetDesignSurfaceItems(response: AxiosResponse): Promise; /** * Deletes a specified print-product item in an existing design file. * @param id Design identifier. * @param itemId Print-product item identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return No Content */ deleteDesignSurfaceItem(id: string, itemId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processDeleteDesignSurfaceItem(response: AxiosResponse): Promise; /** * Returns a print-product item of the specified design file as a json-serialized model. * @param id Design identifier. * @param itemId Print-product item identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ getDesignSurfaceItemModel(id: string, itemId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processGetDesignSurfaceItemModel(response: AxiosResponse): Promise; /** * Updates a specified print-product surface item in an existing design file with the data provided as a json-serialized item model. * @param id Design identifier. * @param itemId Print-product item identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param body (optional) Json-serialized model of a print-product item. * @return Success */ updateDesignSurfaceItemModel(id: string, itemId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined, cancelToken?: CancelToken | undefined): Promise; protected processUpdateDesignSurfaceItemModel(response: AxiosResponse): Promise; /** * Inserts a new print-product item provided as a json-serialized model to the specified surface in an existing design file. Item identifier will be reset by auto-generated value to prevent identifiers collisions. * @param id Design identifier. * @param containerId (optional) Parent surface identifier. * @param index (optional) Item index within the items list of a container. * @param top (optional) Y axis position. * @param left (optional) X axis position. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param body (optional) Json-serialized model of a new print-product item. * @return Success */ 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; protected processAddDesignSurfaceItemModel(response: AxiosResponse): Promise; /** * Returns a print-product of the specified design file as a json-serialized model. * @param id Design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ getDesignProductModel(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processGetDesignProductModel(response: AxiosResponse): Promise; /** * Updates a print-product provided as a json-serialized model is the specified design file. * @param id Design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param body (optional) Json-serialized model of a print-product . * @return No Content */ updateDesignProductModel(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined, cancelToken?: CancelToken | undefined): Promise; protected processUpdateDesignProductModel(response: AxiosResponse): Promise; /** * Returns a list of print-area descriptions of the specified design file. * @param id Design identifier. * @param surfaceId (optional) * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ getDesignPrintAreas(id: string, surfaceId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processGetDesignPrintAreas(response: AxiosResponse): Promise; /** * Inserts a new print-area created by the description at the specified position in an existing design file. Print-area identifier will be reset by auto-generated value to prevent identifiers collisions. * @param id Design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param body (optional) Print-area description model. * @return Success */ addDesignPrintArea(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: DesignPrintAreaParams | undefined, cancelToken?: CancelToken | undefined): Promise; protected processAddDesignPrintArea(response: AxiosResponse): Promise; /** * Updates a specified print-area using a description in an existing design file. * @param id Design identifier. * @param printAreaId Design print-area identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param body (optional) Print-area description model. * @return Success */ updateDesignPrintArea(id: string, printAreaId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: DesignPrintAreaParams | undefined, cancelToken?: CancelToken | undefined): Promise; protected processUpdateDesignPrintArea(response: AxiosResponse): Promise; /** * Deletes a specified print-area in an existing design file. * @param id Design identifier. * @param printAreaId Design print-area identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return No Content */ deleteDesignPrintArea(id: string, printAreaId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processDeleteDesignPrintArea(response: AxiosResponse): Promise; /** * Returns a print-area of the specified design file as a json-serialized model. * @param id Design identifier. * @param printAreaId Design print-area identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ getDesignPrintAreaModel(id: string, printAreaId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processGetDesignPrintAreaModel(response: AxiosResponse): Promise; /** * Updates a specified print-area in an existing design file with the data provided as a json-serialized print-area model. * @param id Design identifier. * @param printAreaId Design print-area identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param body (optional) Json-serialized model of a print-area. * @return Success */ updateDesignPrintAreaModel(id: string, printAreaId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined, cancelToken?: CancelToken | undefined): Promise; protected processUpdateDesignPrintAreaModel(response: AxiosResponse): Promise; /** * Inserts a new print-area provided as a json-serialized model at the specified position in an existing design file. Print-area identifier will be reset by auto-generated value to prevent identifiers collisions. * @param id Design identifier. * @param surfaceId (optional) Parent surface identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param body (optional) Json serialized model of a print-area. * @return Success */ addDesignPrintAreaModel(id: string, surfaceId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined, cancelToken?: CancelToken | undefined): Promise; protected processAddDesignPrintAreaModel(response: AxiosResponse): Promise; /** * Returns a list of print-product surfaces descriptions of the specified design file. * @param id Design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ getDesignSurfaces(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processGetDesignSurfaces(response: AxiosResponse): Promise; /** * Deletes a specified print-product surface in an existing design file. * @param id Design identifier. * @param surfaceId Print-product surface identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return No Content */ deleteDesignSurface(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processDeleteDesignSurface(response: AxiosResponse): Promise; /** * Returns a down-mockup description of the specified print-product surface in an existing design file. * @param id Design identifier. * @param surfaceId Print product surface identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ getDesignSurfaceDownMockup(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processGetDesignSurfaceDownMockup(response: AxiosResponse): Promise; /** * Updates a content file of down-mockup for the specified print-product surface in an existing design file. * @param id Design identifier. * @param surfaceId Print-product surface identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param position_top (optional) * @param position_left (optional) * @param sourceFile (optional) * @return Success */ 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; protected processUpdateDesignSurfaceDownMockup(response: AxiosResponse): Promise; /** * Returns a content file for down-mockup of the specified print-product surface in an existing design file. * @param id Design identifier. * @param surfaceId Print-product surface identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ getDesignSurfaceDownMockupContent(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processGetDesignSurfaceDownMockupContent(response: AxiosResponse): Promise; /** * Returns an up-mockup description of the specified print-product surface in an existing design file. * @param id Design identifier. * @param surfaceId Print-product surface identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ getDesignSurfaceUpMockup(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processGetDesignSurfaceUpMockup(response: AxiosResponse): Promise; /** * Updates a content file of up-mockup for the specified print-product surface in an existing design. * @param id Design identifier. * @param surfaceId Print-product surface identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param position_top (optional) * @param position_left (optional) * @param sourceFile (optional) * @return Success */ 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; protected processUpdateDesignSurfaceUpMockup(response: AxiosResponse): Promise; /** * Returns a content file for up-mockup of the specified print-product surface in an existing design file. * @param id Design identifier. * @param surfaceId Print-product surface identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ getDesignSurfaceUpMockupContent(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processGetDesignSurfaceUpMockupContent(response: AxiosResponse): Promise; /** * Returns a print-product surface of the specified design file as a json-serialized model. * @param id Design identifier. * @param surfaceId Surface identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ getDesignSurfaceModel(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processGetDesignSurfaceModel(response: AxiosResponse): Promise; /** * Replaces a specified print-product surface in an existing design file with the data provided as a json-serialized surface model. All design elements identifiers within the surface (including surface identifier) will be reset by auto-generated values to prevent identifiers collisions. * @param id Design identifier. * @param surfaceId Print-product surface identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param body (optional) Json-serialized model of a print-product surface. * @return Success */ replaceDesignSurfaceModel(id: string, surfaceId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined, cancelToken?: CancelToken | undefined): Promise; protected processReplaceDesignSurfaceModel(response: AxiosResponse): Promise; /** * Inserts a new surface provided as a json-serialized model at the specified position in an existing design file. All design elements identifiers within the surface (including surface identifier) will be reset by auto-generated values to prevent identifiers collisions. * @param id Design identifier. * @param index (optional) Surface index within the surfaces list of a design. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param body (optional) Json-serialized model of a print-prouduct surface. * @return Success */ addDesignSurfaceModel(id: string, index?: number | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined, cancelToken?: CancelToken | undefined): Promise; protected processAddDesignSurfaceModel(response: AxiosResponse): Promise; } export interface IDesignAtomsPrintProductItemsApiClient { /** * Apply effects to print-product item image. * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ applyItemEffects(tenantId?: number | undefined, body?: any | undefined): Promise; /** * Extracts print-product item image. * @param tenantId (optional) Tenant ID. * @param body (optional) Extraction parameters. * @return Success */ extractItemImage(tenantId?: number | undefined, body?: ExtractItemImageModel | undefined): Promise; /** * Extracts print-product item image. * @param tenantId (optional) Tenant ID. * @param body (optional) Extraction parameters. * @return Success */ extractItemImageToResource(tenantId?: number | undefined, body?: ExtractItemImageToResourceModel | undefined): Promise; /** * Flattens print-product items. * @param paletteUID (optional) * @param tenantId (optional) Tenant ID. * @param body (optional) List of print-product items to flatten. * @return Success */ flattenItems(paletteUID?: string | null | undefined, tenantId?: number | undefined, body?: any[] | undefined): Promise; /** * Creates print-product item from input image file. * @param itemType (optional) Desired item type. * @param tenantId (optional) Tenant ID. * @param sourceFile (optional) * @param paletteUID (optional) * @param pageIndex (optional) * @param preserveOriginalFile (optional) * @return Success */ createItemFromFile(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceFile?: FileParameter | null | undefined, paletteUID?: string | null | undefined, pageIndex?: number | null | undefined, preserveOriginalFile?: boolean | null | undefined): Promise; /** * Creates multiple print-product items from input image files. * @param itemType (optional) Desired print-product items type. * @param tenantId (optional) Tenant ID. * @param sourceFiles (optional) * @param paletteUID (optional) * @param preserveOriginalFile (optional) * @return Success */ batchCreateItemsFromFile(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceFiles?: FileParameter[] | null | undefined, paletteUID?: string | null | undefined, preserveOriginalFile?: boolean | null | undefined): Promise; /** * Creates print-product item from image file taken from storage. * @param itemType (optional) Desired item type. * @param tenantId (optional) Tenant ID. * @param body (optional) Operation parameters. * @return Success */ createItemFromStorage(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: CreateItemFromStorageModel | undefined): Promise; /** * Creates multiple print-product items from the specified image files in storage. * @param itemType (optional) Desired items type. * @param tenantId (optional) Tenant ID. * @param body (optional) Operation parameters. * @return Success */ batchCreateItemsFromStorage(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: BatchCreateItemsFromStorageModel | undefined): Promise; /** * Creates print-product item from remote web image provided by URL. * @param itemType (optional) Desired item type. * @param tenantId (optional) Tenant ID. * @param body (optional) Operation parameters. * @return Success */ createItemFromUrl(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: CreateItemFromUrlModel | undefined): Promise; /** * Creates multiple print-product items from remote web images provided by URLs list. * @param itemType (optional) Desired items type. * @param tenantId (optional) Tenant ID. * @param body (optional) Operation parameters. * @return Success */ batchCreateItemsFromUrl(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: BatchCreateItemsFromUrlModel | undefined): Promise; } export declare class DesignAtomsPrintProductItemsApiClient extends ApiClientBase implements IDesignAtomsPrintProductItemsApiClient { private instance; private baseUrl; protected jsonParseReviver: ((key: string, value: any) => any) | undefined; constructor(configuration: ApiClientConfiguration, baseUrl?: string, instance?: AxiosInstance); /** * Apply effects to print-product item image. * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ applyItemEffects(tenantId?: number | undefined, body?: any | undefined, cancelToken?: CancelToken | undefined): Promise; protected processApplyItemEffects(response: AxiosResponse): Promise; /** * Extracts print-product item image. * @param tenantId (optional) Tenant ID. * @param body (optional) Extraction parameters. * @return Success */ extractItemImage(tenantId?: number | undefined, body?: ExtractItemImageModel | undefined, cancelToken?: CancelToken | undefined): Promise; protected processExtractItemImage(response: AxiosResponse): Promise; /** * Extracts print-product item image. * @param tenantId (optional) Tenant ID. * @param body (optional) Extraction parameters. * @return Success */ extractItemImageToResource(tenantId?: number | undefined, body?: ExtractItemImageToResourceModel | undefined, cancelToken?: CancelToken | undefined): Promise; protected processExtractItemImageToResource(response: AxiosResponse): Promise; /** * Flattens print-product items. * @param paletteUID (optional) * @param tenantId (optional) Tenant ID. * @param body (optional) List of print-product items to flatten. * @return Success */ flattenItems(paletteUID?: string | null | undefined, tenantId?: number | undefined, body?: any[] | undefined, cancelToken?: CancelToken | undefined): Promise; protected processFlattenItems(response: AxiosResponse): Promise; /** * Creates print-product item from input image file. * @param itemType (optional) Desired item type. * @param tenantId (optional) Tenant ID. * @param sourceFile (optional) * @param paletteUID (optional) * @param pageIndex (optional) * @param preserveOriginalFile (optional) * @return Success */ createItemFromFile(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceFile?: FileParameter | null | undefined, paletteUID?: string | null | undefined, pageIndex?: number | null | undefined, preserveOriginalFile?: boolean | null | undefined, cancelToken?: CancelToken | undefined): Promise; protected processCreateItemFromFile(response: AxiosResponse): Promise; /** * Creates multiple print-product items from input image files. * @param itemType (optional) Desired print-product items type. * @param tenantId (optional) Tenant ID. * @param sourceFiles (optional) * @param paletteUID (optional) * @param preserveOriginalFile (optional) * @return Success */ batchCreateItemsFromFile(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceFiles?: FileParameter[] | null | undefined, paletteUID?: string | null | undefined, preserveOriginalFile?: boolean | null | undefined, cancelToken?: CancelToken | undefined): Promise; protected processBatchCreateItemsFromFile(response: AxiosResponse): Promise; /** * Creates print-product item from image file taken from storage. * @param itemType (optional) Desired item type. * @param tenantId (optional) Tenant ID. * @param body (optional) Operation parameters. * @return Success */ createItemFromStorage(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: CreateItemFromStorageModel | undefined, cancelToken?: CancelToken | undefined): Promise; protected processCreateItemFromStorage(response: AxiosResponse): Promise; /** * Creates multiple print-product items from the specified image files in storage. * @param itemType (optional) Desired items type. * @param tenantId (optional) Tenant ID. * @param body (optional) Operation parameters. * @return Success */ batchCreateItemsFromStorage(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: BatchCreateItemsFromStorageModel | undefined, cancelToken?: CancelToken | undefined): Promise; protected processBatchCreateItemsFromStorage(response: AxiosResponse): Promise; /** * Creates print-product item from remote web image provided by URL. * @param itemType (optional) Desired item type. * @param tenantId (optional) Tenant ID. * @param body (optional) Operation parameters. * @return Success */ createItemFromUrl(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: CreateItemFromUrlModel | undefined, cancelToken?: CancelToken | undefined): Promise; protected processCreateItemFromUrl(response: AxiosResponse): Promise; /** * Creates multiple print-product items from remote web images provided by URLs list. * @param itemType (optional) Desired items type. * @param tenantId (optional) Tenant ID. * @param body (optional) Operation parameters. * @return Success */ batchCreateItemsFromUrl(itemType?: ItemType | null | undefined, tenantId?: number | undefined, body?: BatchCreateItemsFromUrlModel | undefined, cancelToken?: CancelToken | undefined): Promise; protected processBatchCreateItemsFromUrl(response: AxiosResponse): Promise; } export interface IDesignAtomsServiceApiClient { /** * Creates new design file with specified parameters and saves it in storage. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param body (optional) Design creation parameters. * @return Created */ createDesign(privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: CreateDesignModel | undefined): Promise; /** * Applies item data for a specified design file taken from storage. * @param id Design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param body (optional) Design items data. * @return Success */ applyItemsData(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: ApplyDesignItemsDataModel | undefined): Promise; /** * Returns image content of the background. * @param id Design identifier. * @param surfaceIndex (optional) Surface index. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ extractBackground(id: string, surfaceIndex?: number | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Promise; /** * Sets specified editor-mockups for selected design surfaces. * @param id Design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param body (optional) Operation parameters. * @return No Content */ setEditorMockups(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: SetEditorMockupsModel | undefined): Promise; /** * Returns design parameters stored in product model. * @param id Design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ getDesignParameters(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Promise; /** * Loads a data schema from design file taken from storage. * @param id Design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ loadDataSchema(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Promise; /** * Loads a toggle set from design file taken from storage. * @param id Design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ loadToggleSet(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Promise; /** * Returns variable items information for design file taken from storage. * @param id Design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ getVariables(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Promise; /** * Saves variable items values for design file taken from storage. * @param id Design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param body (optional) Design variable values. * @return Success */ setVariables(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: VariablesModel | undefined): Promise; /** * Loads variable data printing information from design file taken from storage. * @param id Design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ loadVdpData(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Promise; /** * Saves variable data printing information to design file and updates design in storage. * @param id Design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param body (optional) Serialized vdp data. * @return Success */ saveVdpData(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: VdpDataModel | undefined): Promise; /** * Deletes variable data printing information from design file and updates design file in storage. * @param id Design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ deleteVdpData(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Promise; /** * Converts colors for print-product item manipulations. * @param tenantId (optional) Tenant ID. * @param body (optional) Convert colors operation parameters. * @return Success */ convertColors(tenantId?: number | undefined, body?: ConvertColorsModel | undefined): Promise; /** * Loads print-product from resource file taken from storage. * @param id (optional) Resource identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ loadProductFromResource(id?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Promise; /** * Renders a product proof image with specified parameters. * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied (default value is 'false'). * @param tenantId (optional) Tenant ID. * @param body (optional) Preview parameters. * @return Success */ renderProduct(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderProductModel | undefined): Promise; /** * Renders a design preview with the specified parameters. * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied (default value is 'false'). * @param tenantId (optional) Tenant ID. * @param body (optional) Render model with preview parameters. * @return Success */ renderDesignPreview(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderDesignPreviewModel | undefined): Promise; /** * Renders a design preview with the specified parameters and saves rendering result as resource. * @param tenantId (optional) Tenant ID. * @param body (optional) Render model with preview parameters. * @return Success */ renderDesignPreviewToResource(tenantId?: number | undefined, body?: RenderDesignPreviewToResourceModel | undefined): Promise; /** * Renders a design proof with the specified parameters. * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied (default value is 'false'). * @param tenantId (optional) Tenant ID. * @param body (optional) Render model with proof parameters. * @return Success */ renderDesignProof(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderDesignProofModel | undefined): Promise; /** * Renders a design proof with the specified parameters and saves rendering result as resource. * @param tenantId (optional) Tenant ID. * @param body (optional) Render model with preview parameters. * @return Success */ renderDesignProofToResource(tenantId?: number | undefined, body?: RenderDesignProofToResourceModel | undefined): Promise; /** * Loads print-product from design file taken from storage. * @param id Design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success * @deprecated */ loadProduct(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Promise; /** * Saves print-product to design file and updates design file in storage. * @param id Design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param body (optional) Serialized product description. * @return Success * @deprecated */ saveProduct(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Promise; /** * Patches print-product in design file. * @param id Design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param patchType (optional) * @param replaceImageItemFileInfo_itemName (optional) * @param replaceImageItemFileInfo_sourceFile (optional) * @param replacePlaceholderItemContentInfo_placeholderItemName (optional) * @param replacePlaceholderItemContentInfo_newContentType (optional) * @param replacePlaceholderItemContentInfo_sourceFile (optional) * @return Success * @deprecated */ patchProduct(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, patchType?: ProductPatchType | null | undefined, replaceImageItemFileInfo_itemName?: string | null | undefined, replaceImageItemFileInfo_sourceFile?: FileParameter | null | undefined, replacePlaceholderItemContentInfo_placeholderItemName?: string | null | undefined, replacePlaceholderItemContentInfo_newContentType?: PlaceholderItemContentType | null | undefined, replacePlaceholderItemContentInfo_sourceFile?: FileParameter | null | undefined): Promise; /** * Creates print-product item. * @param itemType (optional) Desired item type. * @param tenantId (optional) Tenant ID. * @param sourceType (optional) * @param sourceId (optional) * @param sourceOwnerId (optional) * @param url (optional) * @param sourceFile (optional) * @return Success * @deprecated */ createItem(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceType?: ItemSourceType | null | undefined, sourceId?: string | null | undefined, sourceOwnerId?: string | null | undefined, url?: string | null | undefined, sourceFile?: FileParameter | null | undefined): Promise; /** * Extracts print-product item image. * @param tenantId (optional) Tenant ID. * @param body (optional) Extraction parameters. * @return Success * @deprecated */ extractItemImage(tenantId?: number | undefined, body?: ExtractItemImageModel | undefined): Promise; /** * Flattens print-product items. * @param tenantId (optional) Tenant ID. * @param body (optional) Items to flatten. * @return Success * @deprecated */ flattenItems(tenantId?: number | undefined, body?: any[] | undefined): Promise; /** * Creates a private design from a public design. * @param designId (optional) Public design identifier. * @param privateDesignId (optional) Private design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Created * @deprecated */ createPrivateDesignFromDesign(designId?: string | null | undefined, privateDesignId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Promise; /** * Creates a private design from a public resource. * @param resourceId (optional) Resource identifier. * @param privateDesignId (optional) Private design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Created * @deprecated */ createPrivateDesignFromResource(resourceId?: string | null | undefined, privateDesignId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Promise; } export declare class DesignAtomsServiceApiClient extends ApiClientBase implements IDesignAtomsServiceApiClient { private instance; private baseUrl; protected jsonParseReviver: ((key: string, value: any) => any) | undefined; constructor(configuration: ApiClientConfiguration, baseUrl?: string, instance?: AxiosInstance); /** * Creates new design file with specified parameters and saves it in storage. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param body (optional) Design creation parameters. * @return Created */ createDesign(privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: CreateDesignModel | undefined, cancelToken?: CancelToken | undefined): Promise; protected processCreateDesign(response: AxiosResponse): Promise; /** * Applies item data for a specified design file taken from storage. * @param id Design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param body (optional) Design items data. * @return Success */ applyItemsData(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: ApplyDesignItemsDataModel | undefined, cancelToken?: CancelToken | undefined): Promise; protected processApplyItemsData(response: AxiosResponse): Promise; /** * Returns image content of the background. * @param id Design identifier. * @param surfaceIndex (optional) Surface index. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ extractBackground(id: string, surfaceIndex?: number | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processExtractBackground(response: AxiosResponse): Promise; /** * Sets specified editor-mockups for selected design surfaces. * @param id Design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param body (optional) Operation parameters. * @return No Content */ setEditorMockups(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: SetEditorMockupsModel | undefined, cancelToken?: CancelToken | undefined): Promise; protected processSetEditorMockups(response: AxiosResponse): Promise; /** * Returns design parameters stored in product model. * @param id Design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ getDesignParameters(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processGetDesignParameters(response: AxiosResponse): Promise; /** * Loads a data schema from design file taken from storage. * @param id Design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ loadDataSchema(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processLoadDataSchema(response: AxiosResponse): Promise; /** * Loads a toggle set from design file taken from storage. * @param id Design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ loadToggleSet(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processLoadToggleSet(response: AxiosResponse): Promise; /** * Returns variable items information for design file taken from storage. * @param id Design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ getVariables(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processGetVariables(response: AxiosResponse): Promise; /** * Saves variable items values for design file taken from storage. * @param id Design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param body (optional) Design variable values. * @return Success */ setVariables(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: VariablesModel | undefined, cancelToken?: CancelToken | undefined): Promise; protected processSetVariables(response: AxiosResponse): Promise; /** * Loads variable data printing information from design file taken from storage. * @param id Design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ loadVdpData(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processLoadVdpData(response: AxiosResponse): Promise; /** * Saves variable data printing information to design file and updates design in storage. * @param id Design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param body (optional) Serialized vdp data. * @return Success */ saveVdpData(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: VdpDataModel | undefined, cancelToken?: CancelToken | undefined): Promise; protected processSaveVdpData(response: AxiosResponse): Promise; /** * Deletes variable data printing information from design file and updates design file in storage. * @param id Design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ deleteVdpData(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processDeleteVdpData(response: AxiosResponse): Promise; /** * Converts colors for print-product item manipulations. * @param tenantId (optional) Tenant ID. * @param body (optional) Convert colors operation parameters. * @return Success */ convertColors(tenantId?: number | undefined, body?: ConvertColorsModel | undefined, cancelToken?: CancelToken | undefined): Promise; protected processConvertColors(response: AxiosResponse): Promise; /** * Loads print-product from resource file taken from storage. * @param id (optional) Resource identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success */ loadProductFromResource(id?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processLoadProductFromResource(response: AxiosResponse): Promise; /** * Renders a product proof image with specified parameters. * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied (default value is 'false'). * @param tenantId (optional) Tenant ID. * @param body (optional) Preview parameters. * @return Success */ renderProduct(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderProductModel | undefined, cancelToken?: CancelToken | undefined): Promise; protected processRenderProduct(response: AxiosResponse): Promise; /** * Renders a design preview with the specified parameters. * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied (default value is 'false'). * @param tenantId (optional) Tenant ID. * @param body (optional) Render model with preview parameters. * @return Success */ renderDesignPreview(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderDesignPreviewModel | undefined, cancelToken?: CancelToken | undefined): Promise; protected processRenderDesignPreview(response: AxiosResponse): Promise; /** * Renders a design preview with the specified parameters and saves rendering result as resource. * @param tenantId (optional) Tenant ID. * @param body (optional) Render model with preview parameters. * @return Success */ renderDesignPreviewToResource(tenantId?: number | undefined, body?: RenderDesignPreviewToResourceModel | undefined, cancelToken?: CancelToken | undefined): Promise; protected processRenderDesignPreviewToResource(response: AxiosResponse): Promise; /** * Renders a design proof with the specified parameters. * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied (default value is 'false'). * @param tenantId (optional) Tenant ID. * @param body (optional) Render model with proof parameters. * @return Success */ renderDesignProof(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderDesignProofModel | undefined, cancelToken?: CancelToken | undefined): Promise; protected processRenderDesignProof(response: AxiosResponse): Promise; /** * Renders a design proof with the specified parameters and saves rendering result as resource. * @param tenantId (optional) Tenant ID. * @param body (optional) Render model with preview parameters. * @return Success */ renderDesignProofToResource(tenantId?: number | undefined, body?: RenderDesignProofToResourceModel | undefined, cancelToken?: CancelToken | undefined): Promise; protected processRenderDesignProofToResource(response: AxiosResponse): Promise; /** * Loads print-product from design file taken from storage. * @param id Design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Success * @deprecated */ loadProduct(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processLoadProduct(response: AxiosResponse): Promise; /** * Saves print-product to design file and updates design file in storage. * @param id Design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param body (optional) Serialized product description. * @return Success * @deprecated */ saveProduct(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined, cancelToken?: CancelToken | undefined): Promise; protected processSaveProduct(response: AxiosResponse): Promise; /** * Patches print-product in design file. * @param id Design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @param patchType (optional) * @param replaceImageItemFileInfo_itemName (optional) * @param replaceImageItemFileInfo_sourceFile (optional) * @param replacePlaceholderItemContentInfo_placeholderItemName (optional) * @param replacePlaceholderItemContentInfo_newContentType (optional) * @param replacePlaceholderItemContentInfo_sourceFile (optional) * @return Success * @deprecated */ patchProduct(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, patchType?: ProductPatchType | null | undefined, replaceImageItemFileInfo_itemName?: string | null | undefined, replaceImageItemFileInfo_sourceFile?: FileParameter | null | undefined, replacePlaceholderItemContentInfo_placeholderItemName?: string | null | undefined, replacePlaceholderItemContentInfo_newContentType?: PlaceholderItemContentType | null | undefined, replacePlaceholderItemContentInfo_sourceFile?: FileParameter | null | undefined, cancelToken?: CancelToken | undefined): Promise; protected processPatchProduct(response: AxiosResponse): Promise; /** * Creates print-product item. * @param itemType (optional) Desired item type. * @param tenantId (optional) Tenant ID. * @param sourceType (optional) * @param sourceId (optional) * @param sourceOwnerId (optional) * @param url (optional) * @param sourceFile (optional) * @return Success * @deprecated */ createItem(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceType?: ItemSourceType | null | undefined, sourceId?: string | null | undefined, sourceOwnerId?: string | null | undefined, url?: string | null | undefined, sourceFile?: FileParameter | null | undefined, cancelToken?: CancelToken | undefined): Promise; protected processCreateItem(response: AxiosResponse): Promise; /** * Extracts print-product item image. * @param tenantId (optional) Tenant ID. * @param body (optional) Extraction parameters. * @return Success * @deprecated */ extractItemImage(tenantId?: number | undefined, body?: ExtractItemImageModel | undefined, cancelToken?: CancelToken | undefined): Promise; protected processExtractItemImage(response: AxiosResponse): Promise; /** * Flattens print-product items. * @param tenantId (optional) Tenant ID. * @param body (optional) Items to flatten. * @return Success * @deprecated */ flattenItems(tenantId?: number | undefined, body?: any[] | undefined, cancelToken?: CancelToken | undefined): Promise; protected processFlattenItems(response: AxiosResponse): Promise; /** * Creates a private design from a public design. * @param designId (optional) Public design identifier. * @param privateDesignId (optional) Private design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Created * @deprecated */ createPrivateDesignFromDesign(designId?: string | null | undefined, privateDesignId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processCreatePrivateDesignFromDesign(response: AxiosResponse): Promise; /** * Creates a private design from a public resource. * @param resourceId (optional) Resource identifier. * @param privateDesignId (optional) Private design identifier. * @param privateStorageOwner (optional) Private storage owner identifier. * @param tenantId (optional) Tenant ID. * @return Created * @deprecated */ createPrivateDesignFromResource(resourceId?: string | null | undefined, privateDesignId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processCreatePrivateDesignFromResource(response: AxiosResponse): Promise; } export interface IDesignAtomsViewerApiClient { /** * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ cssFonts(tenantId?: number | undefined, body?: FontsMethodData | undefined): Promise; /** * @param tenantId (optional) Tenant ID. * @return Success */ fonts(psName: string, tenantId?: number | undefined): Promise; /** * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ getColorPreview(tenantId?: number | undefined, body?: GetColorPreviewRequest | undefined): Promise; /** * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ getColorPreviews(tenantId?: number | undefined, body?: GetColorPreviewsRequest | undefined): Promise; /** * @param fontKey (optional) * @param tenantId (optional) Tenant ID. * @return Success */ getCssFont(fontKey?: string | null | undefined, tenantId?: number | undefined): Promise; /** * @param tenantId (optional) Tenant ID. * @return Success */ getFallbackFonts(tenantId?: number | undefined): Promise; /** * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ getImageSize(tenantId?: number | undefined, body?: GetImageSizeRequest | undefined): Promise; /** * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ getShapeBounds(tenantId?: number | undefined, body?: GetShapeBoundsRequest | undefined): Promise; /** * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ getWatermarkItems(tenantId?: number | undefined, body?: any | undefined): Promise; /** * Retrieves an image with resized dimensions and additional visual effects based on the provided parameters. * @param f (optional) The identifier of the original image file. * @param w (optional) Target width of the resulting image. * @param h (optional) Target height of the resulting image. * @param cmyk (optional) Name of the CMYK profile used for color conversion. * @param rgb (optional) Name of the RGB profile used for color conversion. * @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray. * @param target (optional) Target color space, one of "Rgb", "Grayscale", or "Cmyk". * @param sq (optional) Indicates that the image is squared. The default value is "false". * @param effect (optional) Effect applied to the image. Possible values: "None", "BlackAndWhite", "FlipVertical", "FlipHorizontal", "Colorize", "Grayscale", or "BlackAndTransparent". The default value is "None". * @param kp (optional) Indicates that image proportions should be maintained. The default value is "false". * @param color (optional) Overlay color in the RGB, RGBA, CMYK, or CMYKA format. By default, it's an empty string. * @param obm (optional) Overlay blend mode used for blending colors. Possible values: "Normal", "Multiply", "Screen", "Overlay", "Darken", "Lighten", "ColorDodge", "ColorBurn", "HardLight", "SoftLight", `Difference", "Exclusion", "None", or "LinearBurn". By default, it's an empty string. * @param oo (optional) Opacity level of the overlaid layer, in the range [0.0, 1.0]. The default value is "null". * @param alphaMask (optional) Enables alpha mask processing. The default value is "false". * @param page (optional) Page index in a PDF document that needs to be processed. The default value is "0". * @param colorizeColor (optional) Color applied for the "Colorize" image effect. By default, it's an empty string. * @param rw (optional) Rectangle width for area selection. The default value is "0". * @param rh (optional) Rectangle height for area selection. The default value is "0". * @param dt (optional) Dithering type. * @param da (optional) Dithering amount. * @param tenantId (optional) Tenant ID. * @return Success */ img(f?: string | null | undefined, w?: number | null | undefined, h?: number | null | undefined, cmyk?: string | null | undefined, rgb?: string | null | undefined, grayscale?: string | null | undefined, target?: string | null | undefined, sq?: boolean | null | undefined, effect?: string | null | undefined, kp?: boolean | null | undefined, color?: string | null | undefined, obm?: string | null | undefined, oo?: number | null | undefined, alphaMask?: boolean | null | undefined, page?: number | null | undefined, colorizeColor?: string | null | undefined, rw?: number | null | undefined, rh?: number | null | undefined, dt?: string | null | undefined, da?: number | null | undefined, tenantId?: number | undefined): Promise; /** * @param tenantId (optional) Tenant ID. * @return Success */ getLicense(tenantId?: number | undefined): Promise; /** * @param f (optional) * @param tenantId (optional) Tenant ID. * @return Success */ pth(f?: string | null | undefined, tenantId?: number | undefined): Promise; /** * @param image (optional) * @param tenantId (optional) Tenant ID. * @return Success */ resource(image?: string | null | undefined, tenantId?: number | undefined): Promise; /** * @param f (optional) The identifier of the original image file. * @param w (optional) Target width of the resulting image. * @param h (optional) Target height of the resulting image. * @param cmyk (optional) Name of the CMYK profile used for color conversion. * @param rgb (optional) Name of the RGB profile used for color conversion. * @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray. * @param target (optional) Target color space, one of "Rgb", "Grayscale", or "Cmyk". * @param sq (optional) Indicates that the image is squared. The default value is "false". * @param effect (optional) Effect applied to the image. Possible values: "None", "BlackAndWhite", "FlipVertical", "FlipHorizontal", "Colorize", "Grayscale", or "BlackAndTransparent". The default value is "None". * @param kp (optional) Indicates that image proportions should be maintained. The default value is "false". * @param color (optional) Overlay color in the RGB, RGBA, CMYK, or CMYKA format. By default, it's an empty string. * @param obm (optional) Overlay blend mode used for blending colors. Possible values: "Normal", "Multiply", "Screen", "Overlay", "Darken", "Lighten", "ColorDodge", "ColorBurn", "HardLight", "SoftLight", `Difference", "Exclusion", "None", or "LinearBurn". By default, it's an empty string. * @param oo (optional) Opacity level of the overlaid layer, in the range [0.0, 1.0]. The default value is "null". * @param alphaMask (optional) Enables alpha mask processing. The default value is "false". * @param page (optional) Page index in a PDF document that needs to be processed. The default value is "0". * @param colorizeColor (optional) Color applied for the "Colorize" image effect. By default, it's an empty string. * @param rw (optional) Rectangle width for area selection. The default value is "0". * @param rh (optional) Rectangle height for area selection. The default value is "0". * @param dt (optional) Dithering type. * @param da (optional) Dithering amount. * @param tenantId (optional) Tenant ID. * @return Success */ svg(f?: string | null | undefined, w?: number | null | undefined, h?: number | null | undefined, cmyk?: string | null | undefined, rgb?: string | null | undefined, grayscale?: string | null | undefined, target?: string | null | undefined, sq?: boolean | null | undefined, effect?: string | null | undefined, kp?: boolean | null | undefined, color?: string | null | undefined, obm?: string | null | undefined, oo?: number | null | undefined, alphaMask?: boolean | null | undefined, page?: number | null | undefined, colorizeColor?: string | null | undefined, rw?: number | null | undefined, rh?: number | null | undefined, dt?: string | null | undefined, da?: number | null | undefined, tenantId?: number | undefined): Promise; /** * @param f (optional) * @param tenantId (optional) Tenant ID. * @return Success */ txt(f?: string | null | undefined, tenantId?: number | undefined): Promise; /** * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ updateArchedTextItemHandler(tenantId?: number | undefined, body?: UpdateHandlerRequest | undefined): Promise; /** * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ updateAutoScaledTextItemHandler(tenantId?: number | undefined, body?: UpdateHandlerRequest | undefined): Promise; /** * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ updateBarcodeItemHandler(tenantId?: number | undefined, body?: UpdateHandlerRequest | undefined): Promise; /** * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ updateBoundedTextItemHandler(tenantId?: number | undefined, body?: UpdateHandlerRequest | undefined): Promise; /** * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ updateByColorData(tenantId?: number | undefined, body?: UpdateColorsRequest | undefined): Promise; /** * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ updateByMultiCallRequest(tenantId?: number | undefined, body?: MultiCallRequest | undefined): Promise; /** * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ updateCurvedTextItemHandler(tenantId?: number | undefined, body?: UpdateHandlerRequest | undefined): Promise; /** * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ updateImageItemHandler(tenantId?: number | undefined, body?: UpdateImageHandlerRequest | undefined): Promise; /** * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ updatePathBoundedTextItemHandler(tenantId?: number | undefined, body?: UpdateHandlerRequest | undefined): Promise; /** * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ updatePlainTextItemHandler(tenantId?: number | undefined, body?: UpdateHandlerRequest | undefined): Promise; /** * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ updateShapeItemHandler(tenantId?: number | undefined, body?: UpdateHandlerRequest | undefined): Promise; } export declare class DesignAtomsViewerApiClient extends ApiClientBase implements IDesignAtomsViewerApiClient { private instance; private baseUrl; protected jsonParseReviver: ((key: string, value: any) => any) | undefined; constructor(configuration: ApiClientConfiguration, baseUrl?: string, instance?: AxiosInstance); /** * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ cssFonts(tenantId?: number | undefined, body?: FontsMethodData | undefined, cancelToken?: CancelToken | undefined): Promise; protected processCssFonts(response: AxiosResponse): Promise; /** * @param tenantId (optional) Tenant ID. * @return Success */ fonts(psName: string, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processFonts(response: AxiosResponse): Promise; /** * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ getColorPreview(tenantId?: number | undefined, body?: GetColorPreviewRequest | undefined, cancelToken?: CancelToken | undefined): Promise; protected processGetColorPreview(response: AxiosResponse): Promise; /** * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ getColorPreviews(tenantId?: number | undefined, body?: GetColorPreviewsRequest | undefined, cancelToken?: CancelToken | undefined): Promise; protected processGetColorPreviews(response: AxiosResponse): Promise; /** * @param fontKey (optional) * @param tenantId (optional) Tenant ID. * @return Success */ getCssFont(fontKey?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processGetCssFont(response: AxiosResponse): Promise; /** * @param tenantId (optional) Tenant ID. * @return Success */ getFallbackFonts(tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processGetFallbackFonts(response: AxiosResponse): Promise; /** * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ getImageSize(tenantId?: number | undefined, body?: GetImageSizeRequest | undefined, cancelToken?: CancelToken | undefined): Promise; protected processGetImageSize(response: AxiosResponse): Promise; /** * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ getShapeBounds(tenantId?: number | undefined, body?: GetShapeBoundsRequest | undefined, cancelToken?: CancelToken | undefined): Promise; protected processGetShapeBounds(response: AxiosResponse): Promise; /** * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ getWatermarkItems(tenantId?: number | undefined, body?: any | undefined, cancelToken?: CancelToken | undefined): Promise; protected processGetWatermarkItems(response: AxiosResponse): Promise; /** * Retrieves an image with resized dimensions and additional visual effects based on the provided parameters. * @param f (optional) The identifier of the original image file. * @param w (optional) Target width of the resulting image. * @param h (optional) Target height of the resulting image. * @param cmyk (optional) Name of the CMYK profile used for color conversion. * @param rgb (optional) Name of the RGB profile used for color conversion. * @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray. * @param target (optional) Target color space, one of "Rgb", "Grayscale", or "Cmyk". * @param sq (optional) Indicates that the image is squared. The default value is "false". * @param effect (optional) Effect applied to the image. Possible values: "None", "BlackAndWhite", "FlipVertical", "FlipHorizontal", "Colorize", "Grayscale", or "BlackAndTransparent". The default value is "None". * @param kp (optional) Indicates that image proportions should be maintained. The default value is "false". * @param color (optional) Overlay color in the RGB, RGBA, CMYK, or CMYKA format. By default, it's an empty string. * @param obm (optional) Overlay blend mode used for blending colors. Possible values: "Normal", "Multiply", "Screen", "Overlay", "Darken", "Lighten", "ColorDodge", "ColorBurn", "HardLight", "SoftLight", `Difference", "Exclusion", "None", or "LinearBurn". By default, it's an empty string. * @param oo (optional) Opacity level of the overlaid layer, in the range [0.0, 1.0]. The default value is "null". * @param alphaMask (optional) Enables alpha mask processing. The default value is "false". * @param page (optional) Page index in a PDF document that needs to be processed. The default value is "0". * @param colorizeColor (optional) Color applied for the "Colorize" image effect. By default, it's an empty string. * @param rw (optional) Rectangle width for area selection. The default value is "0". * @param rh (optional) Rectangle height for area selection. The default value is "0". * @param dt (optional) Dithering type. * @param da (optional) Dithering amount. * @param tenantId (optional) Tenant ID. * @return Success */ img(f?: string | null | undefined, w?: number | null | undefined, h?: number | null | undefined, cmyk?: string | null | undefined, rgb?: string | null | undefined, grayscale?: string | null | undefined, target?: string | null | undefined, sq?: boolean | null | undefined, effect?: string | null | undefined, kp?: boolean | null | undefined, color?: string | null | undefined, obm?: string | null | undefined, oo?: number | null | undefined, alphaMask?: boolean | null | undefined, page?: number | null | undefined, colorizeColor?: string | null | undefined, rw?: number | null | undefined, rh?: number | null | undefined, dt?: string | null | undefined, da?: number | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processImg(response: AxiosResponse): Promise; /** * @param tenantId (optional) Tenant ID. * @return Success */ getLicense(tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processGetLicense(response: AxiosResponse): Promise; /** * @param f (optional) * @param tenantId (optional) Tenant ID. * @return Success */ pth(f?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processPth(response: AxiosResponse): Promise; /** * @param image (optional) * @param tenantId (optional) Tenant ID. * @return Success */ resource(image?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processResource(response: AxiosResponse): Promise; /** * @param f (optional) The identifier of the original image file. * @param w (optional) Target width of the resulting image. * @param h (optional) Target height of the resulting image. * @param cmyk (optional) Name of the CMYK profile used for color conversion. * @param rgb (optional) Name of the RGB profile used for color conversion. * @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray. * @param target (optional) Target color space, one of "Rgb", "Grayscale", or "Cmyk". * @param sq (optional) Indicates that the image is squared. The default value is "false". * @param effect (optional) Effect applied to the image. Possible values: "None", "BlackAndWhite", "FlipVertical", "FlipHorizontal", "Colorize", "Grayscale", or "BlackAndTransparent". The default value is "None". * @param kp (optional) Indicates that image proportions should be maintained. The default value is "false". * @param color (optional) Overlay color in the RGB, RGBA, CMYK, or CMYKA format. By default, it's an empty string. * @param obm (optional) Overlay blend mode used for blending colors. Possible values: "Normal", "Multiply", "Screen", "Overlay", "Darken", "Lighten", "ColorDodge", "ColorBurn", "HardLight", "SoftLight", `Difference", "Exclusion", "None", or "LinearBurn". By default, it's an empty string. * @param oo (optional) Opacity level of the overlaid layer, in the range [0.0, 1.0]. The default value is "null". * @param alphaMask (optional) Enables alpha mask processing. The default value is "false". * @param page (optional) Page index in a PDF document that needs to be processed. The default value is "0". * @param colorizeColor (optional) Color applied for the "Colorize" image effect. By default, it's an empty string. * @param rw (optional) Rectangle width for area selection. The default value is "0". * @param rh (optional) Rectangle height for area selection. The default value is "0". * @param dt (optional) Dithering type. * @param da (optional) Dithering amount. * @param tenantId (optional) Tenant ID. * @return Success */ svg(f?: string | null | undefined, w?: number | null | undefined, h?: number | null | undefined, cmyk?: string | null | undefined, rgb?: string | null | undefined, grayscale?: string | null | undefined, target?: string | null | undefined, sq?: boolean | null | undefined, effect?: string | null | undefined, kp?: boolean | null | undefined, color?: string | null | undefined, obm?: string | null | undefined, oo?: number | null | undefined, alphaMask?: boolean | null | undefined, page?: number | null | undefined, colorizeColor?: string | null | undefined, rw?: number | null | undefined, rh?: number | null | undefined, dt?: string | null | undefined, da?: number | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processSvg(response: AxiosResponse): Promise; /** * @param f (optional) * @param tenantId (optional) Tenant ID. * @return Success */ txt(f?: string | null | undefined, tenantId?: number | undefined, cancelToken?: CancelToken | undefined): Promise; protected processTxt(response: AxiosResponse): Promise; /** * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ updateArchedTextItemHandler(tenantId?: number | undefined, body?: UpdateHandlerRequest | undefined, cancelToken?: CancelToken | undefined): Promise; protected processUpdateArchedTextItemHandler(response: AxiosResponse): Promise; /** * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ updateAutoScaledTextItemHandler(tenantId?: number | undefined, body?: UpdateHandlerRequest | undefined, cancelToken?: CancelToken | undefined): Promise; protected processUpdateAutoScaledTextItemHandler(response: AxiosResponse): Promise; /** * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ updateBarcodeItemHandler(tenantId?: number | undefined, body?: UpdateHandlerRequest | undefined, cancelToken?: CancelToken | undefined): Promise; protected processUpdateBarcodeItemHandler(response: AxiosResponse): Promise; /** * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ updateBoundedTextItemHandler(tenantId?: number | undefined, body?: UpdateHandlerRequest | undefined, cancelToken?: CancelToken | undefined): Promise; protected processUpdateBoundedTextItemHandler(response: AxiosResponse): Promise; /** * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ updateByColorData(tenantId?: number | undefined, body?: UpdateColorsRequest | undefined, cancelToken?: CancelToken | undefined): Promise; protected processUpdateByColorData(response: AxiosResponse): Promise; /** * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ updateByMultiCallRequest(tenantId?: number | undefined, body?: MultiCallRequest | undefined, cancelToken?: CancelToken | undefined): Promise; protected processUpdateByMultiCallRequest(response: AxiosResponse): Promise; /** * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ updateCurvedTextItemHandler(tenantId?: number | undefined, body?: UpdateHandlerRequest | undefined, cancelToken?: CancelToken | undefined): Promise; protected processUpdateCurvedTextItemHandler(response: AxiosResponse): Promise; /** * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ updateImageItemHandler(tenantId?: number | undefined, body?: UpdateImageHandlerRequest | undefined, cancelToken?: CancelToken | undefined): Promise; protected processUpdateImageItemHandler(response: AxiosResponse): Promise; /** * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ updatePathBoundedTextItemHandler(tenantId?: number | undefined, body?: UpdateHandlerRequest | undefined, cancelToken?: CancelToken | undefined): Promise; protected processUpdatePathBoundedTextItemHandler(response: AxiosResponse): Promise; /** * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ updatePlainTextItemHandler(tenantId?: number | undefined, body?: UpdateHandlerRequest | undefined, cancelToken?: CancelToken | undefined): Promise; protected processUpdatePlainTextItemHandler(response: AxiosResponse): Promise; /** * @param tenantId (optional) Tenant ID. * @param body (optional) * @return Success */ updateShapeItemHandler(tenantId?: number | undefined, body?: UpdateHandlerRequest | undefined, cancelToken?: CancelToken | undefined): Promise; protected processUpdateShapeItemHandler(response: AxiosResponse): Promise; } /** Design items data applying operation parameters. */ export interface ApplyDesignItemsDataModel { /** Set of (item name - item data) pairs. */ itemsData?: { [key: string]: DesignItemDataModel; } | null; } export declare enum ArtworkShapeType { Rectangle = "rectangle", Ellipse = "ellipse" } /** Batch create items from storage source operation parameters. */ export interface BatchCreateItemsFromStorageModel { /** Source image assets owner identifier. If value is set, all images should belong to a specified user. */ sourceOwnerId?: string | null; /** Source image asset identifiers. */ sourceIds?: string[] | null; /** Target palette UID. */ paletteUID?: string | null; /** Indicates if resulting item should store original source file. */ preserveOriginalFile?: boolean | null; } /** Batch create items from web source operation parameters. */ export interface BatchCreateItemsFromUrlModel { /** Source URLs. */ urls?: string[] | null; /** Target palette UID. */ paletteUID?: string | null; /** Headers that will be used to download remote image by URL. For example, `Authorization` header can be placed here to provide access to images. */ headers?: { [key: string]: string; } | null; /** Indicates if resulting item should store original source file. */ preserveOriginalFile?: boolean | null; } /** Information about a service. */ export interface BuildInfoModel { /** Version number. */ version?: string | null; /** Build date (UTC). */ buildDate?: string | null; /** Build configuration (Debug | Release). */ configuration?: string | null; /** Service name. */ appName?: string | null; /** Aurigma.DesignAtoms version. */ designAtomsVersion?: string | null; /** Aurigma.DesignAtoms.Model version. */ designAtomsModelVersion?: string | null; } /** Colorless container display type. */ export declare enum ColorlessContainerDisplayType { Color = "Color", Texture = "Texture" } /** Colorless container dither type. */ export declare enum ColorlessContainerDitherType { None = "None", Diffusion = "Diffusion", Pattern = "Pattern", Noise = "Noise" } /** Colorless container format. */ export declare enum ColorlessContainerFormat { OneBit = "OneBit", Grayscale = "Grayscale", Vector = "Vector" } /** Colorless container settigns. */ export interface ColorlessContainerSettingsDto { /** Container format. */ format?: ColorlessContainerFormat; /** Container dither type. */ dither?: ColorlessContainerDitherType; /** Container display type. */ displayType?: ColorlessContainerDisplayType; /** Container dither amount. */ ditherAmount?: number; /** Display color. */ displayColor?: string | null; /** Output color. */ outputColor?: string | null; } /** Colorless container settigns. */ export interface ColorlessContainerSettingsParams { /** Container format. */ format?: ColorlessContainerFormat; /** Container dither type. */ dither?: ColorlessContainerDitherType; /** Container display type. */ displayType?: ColorlessContainerDisplayType; /** Container dither amount. */ ditherAmount?: number; /** Display color. */ displayColor?: string | null; /** Output color. */ outputColor?: string | null; } /** Conflict types. */ export declare enum ConflictType { NameConflict = "NameConflict", FolderOverwriteConflict = "FolderOverwriteConflict", IdConflict = "IdConflict", GeneralConflict = "GeneralConflict" } /** Full color container color space. */ export declare enum ContainerColorSpace { Rgb = "Rgb", Cmyk = "Cmyk", Grayscale = "Grayscale", Lab = "Lab", Spot = "Spot" } /** Container constraints parameters. */ export interface ContainerConstraintsDto { /** Boolean flag indicates if raster images are allowed to be placed in container. */ allowRasterObjects?: boolean; /** Target hi-res print file DPI. */ targetResolution?: number; /** Minimal font size for text objects placed in container. */ minFontSize?: number; /** Maximal size of print zone. */ maxArtworkSize?: MaxArtworkSizeConstraintsDto | null; } /** Container constraints parameters. */ export interface ContainerConstraintsParams { /** Boolean flag indicates if raster images are allowed to be placed in container. */ allowRasterObjects?: boolean; /** Target hi-res print file DPI. */ targetResolution?: number; /** Minimal font size for text objects placed in container. */ minFontSize?: number; /** Maximal size of print zone. */ maxArtworkSize?: MaxArtworkSizeConstraintsParams | null; } /** Container printing mode. */ export declare enum ContainerPrintingMode { FullColor = "FullColor", LimitedColor = "LimitedColor", Colorless = "Colorless" } /** Convert colors operation parameters. */ export interface ConvertColorsModel { /** Serialized color description. */ colors: any[]; /** Source color profile description. */ sourceColorProfile?: string | null; /** Destination color profile description. */ destinationColorProfile?: string | null; /** Target color profile description. */ targetDeviceColorProfile?: string | null; } /** Design creation parameters. */ export interface CreateDesignModel { /** Serialized product description. */ product?: any | null; /** Serialized product data schema (base64 file stream). */ dataSchema?: string | null; /** Design name. */ name?: string | null; /** Design location (folder path). */ path?: string | null; } /** Create item from storage source operation parameters. */ export interface CreateItemFromStorageModel { /** Source image asset owner identifier. If value is set, all images should belong to a specified user. */ sourceOwnerId?: string | null; /** Source image asset identifier. */ sourceId?: string | null; /** Target palette UID. */ paletteUID?: string | null; /** Index of image page (applies to multi-page image formats only, e.g. PDF and TIFF). Zero by default. */ pageIndex?: number | null; /** Indicates if resulting item should store original source file. */ preserveOriginalFile?: boolean | null; } /** Create item from web source operation parameters. */ export interface CreateItemFromUrlModel { /** Source URL. */ url?: string | null; /** Target palette UID. */ paletteUID?: string | null; /** Index of image page (applies to multi-page image formats only, e.g. PDF and TIFF). Zero by default. */ pageIndex?: number | null; /** Headers that will be used to download remote image by URL. For example, `Authorization` header can be placed here to provide access to image. */ headers?: { [key: string]: string; } | null; /** Indicates if resulting item should store original source file. */ preserveOriginalFile?: boolean | null; } export interface DesignElementProcessingConflictDto { /** Missing element type. */ readonly missingElementType?: DesignElementType | null; /** Missing element type. */ readonly unprocessedElementType?: DesignElementType | null; /** Problem description. */ description?: string | null; /** Coflict type. */ type?: ConflictType; } export declare enum DesignElementType { Product = "Product", Design = "Design", Surface = "Surface", Container = "Container", PrintArea = "PrintArea", Item = "Item" } export interface DesignInfo { id?: string | null; ownerId?: string | null; name?: string | null; private?: boolean; } /** Design item data model parameters. */ export interface DesignItemDataModel { /** Text item value. */ text?: string | null; /** Text leading value. */ leading?: number | null; /** Text tracking value. */ tracking?: number | null; /** Text font parameters. */ font?: DesignItemFontSettingsModel | null; /** Text item content alignment. */ textAlignment?: TextAlignment | null; /** Text item content vertical alignment. */ textVerticalAlignment?: TextVerticalAlignment | null; /** Flag that indicates if text should have underline. */ underline?: boolean | null; /** Item color serialized value. */ color?: string | null; /** Item border color serialized value. */ borderColor?: string | null; /** Item fill color serialized value. */ fillColor?: string | null; /** Text item fill color serialized value. */ textFillColor?: string | null; /** Image item content source value. */ image?: string | null; /** Item opacity value. */ opacity?: number | null; /** Item border width. */ borderWidth?: number | null; /** Barcode item color serialized value. */ barcodeColor?: string | null; /** Raw barcode value. */ barcodeValue?: string | null; /** Flag that indicates if an item should be visible. */ visible?: boolean | null; } /** Design item font parameters. */ export interface DesignItemFontSettingsModel { /** Font post script name. */ postScriptName?: string | null; /** Font size. */ size?: number; /** Flag that indicates whether font is bold. */ fauxBold?: boolean; /** Flag that indicates whether font is italic. */ fauxItalic?: boolean; /** Flag that indicates whether all letters should be capital. */ allCaps?: boolean; } /** Specific design parameters stored in product model. */ export interface DesignParameters { /** Design measure unit description. */ measureUnit?: MeasureUnitInfo | null; /** Version of DesignAtoms library that used to save design file. */ designAtomsVersion?: string | null; } /** Design print area parameters. */ export interface DesignPrintAreaDto { /** Print area identifier. */ id?: string | null; /** Print area name. */ name?: string | null; /** Parent surface identifier. */ surfaceId?: string | null; /** Print area size. */ size?: SizeDto | null; /** Print area position. */ position?: PositionDto | null; /** Print area bleed. */ bleed?: MarginDto | null; /** Print area slug. */ slug?: MarginDto | null; /** Print area shape. Usually content of svg path that describes print area shape is provided. */ shape?: string | null; } /** Design print area parameters. */ export interface DesignPrintAreaParams { /** Print area name. */ name?: string | null; /** Parent surface identifier. */ surfaceId?: string | null; /** Print area size. */ size?: SizeModel | null; /** Print area position. */ position?: PositionModel | null; /** Print area bleed. */ bleed?: MarginModel | null; /** Print area slug. */ slug?: MarginModel | null; /** Print area shape. Usually content of svg path that describes print area shape is provided. */ shape?: string | null; } /** Print-product container description. */ export interface DesignSurfaceContainerDto { /** Container identifier. */ id?: string | null; /** Container name. */ name?: string | null; /** Parent surface identifier. */ surfaceId?: string | null; /** Container index within containers list of a surface (0-based). */ index?: number; /** Container size. */ size?: SizeDto | null; /** Container position. */ position?: PositionDto | null; /** Container printing mode. */ mode?: ContainerPrintingMode; /** Container constraints. */ constraints?: ContainerConstraintsDto | null; /** Limited color container settings. If container mode is not 'LimitedColor', null value will be provided. */ limitedColorSettings?: LimitedColorContainerSettingsDto | null; /** Full color container settings. If container mode is not 'FullColor', null value will be provided. */ fullColorSettings?: FullColorContainerSettingsDto | null; /** Colorless container settings. If container mode is not 'Colorless', null value will be provided. */ colorlessSettings?: ColorlessContainerSettingsDto | null; } /** Print-product container description. */ export interface DesignSurfaceContainerParams { /** Container name. */ name?: string | null; /** Container size. */ size?: SizeModel | null; /** Container position. */ position?: PositionModel | null; /** Container printing mode. */ mode?: ContainerPrintingMode; /** Container constraints. */ constraints?: ContainerConstraintsParams | null; /** Limited color container settings. If container mode is not 'LimitedColor', null value will be provided. */ limitedColorSettings?: LimitedColorContainerSettingsParams | null; /** Full color container settings. If container mode is not 'FullColor', null value will be provided. */ fullColorSettings?: FullColorContainerSettingsParams | null; /** Colorless container settings. If container mode is not 'Colorless', null value will be provided. */ colorlessSettings?: ColorlessContainerSettingsParams | null; } /** Print-product surface description. */ export interface DesignSurfaceDto { /** Surface identifier. */ id?: string | null; /** Surface name. */ name?: string | null; /** Surface index within surface list of a design (0-based). */ index?: number; /** Surface size. */ size?: SizeDto | null; } /** Print-product item description. */ export interface DesignSurfaceItemDto { /** Item identifier. */ id?: string | null; /** Item name. */ name?: string | null; /** Item type. */ type?: string | null; /** Parent item identifier. */ parentItemId?: string | null; /** Parent container identifier. */ containerId?: string | null; /** Parent surface identifier. */ surfaceId?: string | null; /** Item index within items list of a surface (0-based). */ index?: number; /** Indicates if item is visible. */ visible?: boolean; } /** Surface mockup parameters. */ export interface DesignSurfaceMockupDto { /** Mockup element position. */ position?: PositionDto | null; /** Mockup element size. */ size?: SizeDto | null; /** Parent surface identifier. */ surfaceId?: string | null; /** Mockup image resolution (DPI). */ resolution?: number; } /** Parameters of setting design surface mockup operation. */ export interface EditorMockupBindingModel { /** Mockup identifier. */ mockupId?: string | null; /** Private mockup owner identifier. Set `null` if public mockup is supposed to be used. */ mockupOwnerId?: string | null; /** Target surface index. */ surfaceIndex?: number; } /** Image extraction operation parameters. */ export interface ExtractItemImageModel { /** Serialized item description. */ item: any; /** Extraction format. */ format?: ImageExtractionFormat | null; } /** Image extraction operation parameters. */ export interface ExtractItemImageToResourceModel { /** Parameters of resource that should be created for a preview rendering result. */ previewResourceParams?: ResourceParams | null; /** Flag that indicates if an existing resource should be overwritten. */ overwriteExistingResource?: boolean | null; /** Serialized item description. */ item: any; /** Extraction format. */ format?: ImageExtractionFormat | null; } export interface FontsMethodData { requestedFontsByPsName?: string[] | null; advancedMode?: boolean; baseUrl?: string | null; } /** Full color container settigns. */ export interface FullColorContainerSettingsDto { /** Target color space. */ colorSpace?: ContainerColorSpace; /** Target color profile name. */ colorProfile?: string | null; } /** Full color container settigns. */ export interface FullColorContainerSettingsParams { /** Target color space. */ colorSpace?: ContainerColorSpace; /** Target color profile name. */ colorProfile?: string | null; } /** Information about operation conflict. */ export interface GeneralConflictDto { /** Problem description. */ description?: string | null; /** Coflict type. */ type?: ConflictType; } export interface GetColorPreviewRequest { colorData?: any | null; colorSettings?: PreviewColorSettings | null; } export interface GetColorPreviewsRequest { colorData?: any | null; colorSettings?: PreviewColorSettings | null; } export interface GetImageSizeRequest { imageId?: string | null; pageIndex?: number; } export interface GetShapeBoundsRequest { path?: string | null; } /** Image preview file format. */ export declare enum ImageExtractionFormat { Jpeg = "Jpeg", Png = "Png" } /** Image preview fit mode. */ export declare enum ImagePreviewFitMode { Fit = "Fit", Shrink = "Shrink", Resize = "Resize", Fill = "Fill" } /** Image preview file format. */ export declare enum ImagePreviewFormat { Jpeg = "Jpeg", Png = "Png" } /** Settings that describe image preview rendering parameters. */ export interface ImagePreviewRenderingConfig { /** Image preview width. */ width?: number; /** Image preview height. */ height?: number; /** Image preview file format. */ fileFormat?: ImagePreviewFormat | null; /** Image preview fit mode. */ fitMode?: ImagePreviewFitMode | null; /** Index of image page (applies to multi-page image formats only, e.g. PDF and TIFF). Zero by default. */ pageIndex?: number | null; } /** Item source types. */ export declare enum ItemSourceType { File = "File", ImageStorage = "ImageStorage", PrivateImageStorage = "PrivateImageStorage", Url = "Url" } export declare enum ItemType { Image = "Image", Shape = "Shape", Clipart = "Clipart", Group = "Group" } /** Limited color container settigns. */ export interface LimitedColorContainerSettingsDto { /** Colors limit count. */ colors?: number; /** Related palette UID. */ paletteUID?: string | null; } /** Limited color container settigns. */ export interface LimitedColorContainerSettingsParams { /** Colors limit count. */ colors?: number; /** Related palette UID. */ paletteUID?: string | null; } /** Margins of the print-product element. */ export interface MarginDto { /** Print-product element top margin. */ top?: number; /** Print-product element left margin. */ left?: number; /** Print-product element right margin. */ right?: number; /** Print-product element bottom margin. */ bottom?: number; } /** Print-product element margin. */ export interface MarginModel { /** Top margin. */ top?: number; /** Left margin. */ left?: number; /** Right margin. */ right?: number; /** Bottom margin. */ bottom?: number; } export interface MaxArtworkSizeConstraintsDto { width?: number | null; height?: number | null; shapeType?: ArtworkShapeType | null; } export interface MaxArtworkSizeConstraintsParams { width?: number | null; height?: number | null; shapeType?: ArtworkShapeType | null; } export interface MeasureUnitInfo { name?: string | null; shortName?: string | null; ratio?: number; } export interface Mockup3dAttributesDto { data?: { [key: string]: string; } | null; } /** Mockup preview fitting mode. */ export declare enum MockupPreviewFitMode { Fit = "Fit", Shrink = "Shrink", Resize = "Resize", Fill = "Fill" } /** Mockup preview file format. */ export declare enum MockupPreviewFormat { Jpeg = "Jpeg", Png = "Png" } /** Settings that describe mockup preview rendering parameters. */ export interface MockupPreviewRenderingConfig { /** Mockup preview width (in pixels). */ width?: number; /** Mockup preview height (in pixels). */ height?: number; /** Parameters of active group layers. Each group can have only one active layer. E.g. { "Group1: "Layer1", "Group2": "Layer2" }. If value is not set, all visible layers will be rendered. */ groups?: { [key: string]: string; } | null; /** Mockup preview file format. */ fileFormat?: MockupPreviewFormat | null; /** Mockup preview fit mode. */ fitMode?: MockupPreviewFitMode | null; } export interface MultiCallRequest { items?: MultiCallRequestItem[] | null; } export interface MultiCallRequestItem { canvasData?: string | null; itemHandlersData?: string | null; colorData?: string | null; actualSize?: boolean | null; preserveAspectRatio?: boolean | null; url?: string | null; imageId?: string | null; pageIndex?: number | null; methodName?: string | null; itemData?: any | null; colorSettings?: PreviewColorSettings | null; } export interface NullAbleSize { width?: number | null; height?: number | null; } /** Placeholder item content type. */ export declare enum PlaceholderItemContentType { Image = "Image" } export interface PointF { readonly isEmpty?: boolean; x?: number; y?: number; } /** Position of the print-product element top left point on surface. */ export interface PositionDto { /** Print-product element Y axis position. */ top?: number; /** Print-product element X axis position. */ left?: number; } /** Position of item top left point on design surface. */ export interface PositionModel { /** Y axis position. */ top?: number; /** X axis position. */ left?: number; } export interface PreviewColorSettings { rgbColorProfileName?: string | null; cmykColorProfileName?: string | null; grayscaleColorProfileName?: string | null; hiResDestinationColorProfileName?: string | null; } export interface ProblemDetails { type?: string | null; title?: string | null; status?: number | null; detail?: string | null; instance?: string | null; } /** Available patch type. */ export declare enum ProductPatchType { Undefined = "Undefined", ReplaceImageItemFile = "ReplaceImageItemFile", ReplacePlaceholderItemContent = "ReplacePlaceholderItemContent" } /** Product preview file format. */ export declare enum ProductPreviewFormat { Jpeg = "Jpeg", Png = "Png" } export interface ProductPreviewRenderingConfig { /** Surface index. */ surfaceIndex?: number | null; /** Indicates whether to show stub content for preview image. */ stub?: boolean | null; /** Preview image width. */ width?: number; /** Preview image height. */ height?: number; /** Preview image file format. */ fileFormat?: ProductPreviewFormat | null; } export declare enum ProductProofFormat { Jpeg = "Jpeg", Png = "Png", Tiff = "Tiff", Pdf = "Pdf" } export declare enum ProductProofInterpolationMode { High = "High", Medium = "Medium", Low = "Low", NearestNeighbour = "NearestNeighbour", Linear = "Linear", Cubic = "Cubic", Supersampling = "Supersampling", Lanczos = "Lanczos", Anisotropic4 = "Anisotropic4", Anisotropic9 = "Anisotropic9", Lanczos3 = "Lanczos3" } export interface ProductProofRenderingConfig { /** Surface to render. */ surfaceIndex?: number | null; /** Desired proof image width. */ width?: number; /** Desired proof image height. */ height?: number; /** Desired proof image format. */ format?: ProductProofFormat | null; /** Desired proof image interpolation. */ interpolationMode?: ProductProofInterpolationMode | null; /** Defines whether safety lines should be visualized. */ safetyLinesEnabled?: boolean | null; /** Defines whether watermark should be included. */ watermarkEnabled?: boolean | null; /** Defines watermark opacity (in range 0 .. 1.0). */ watermarkOpacity?: number | null; /** Defines whether watermark should be repeated. */ watermarkRepeat?: boolean | null; } export interface RectangleF { location?: PointF; size?: string; x?: number; y?: number; width?: number; height?: number; readonly left?: number; readonly top?: number; readonly right?: number; readonly bottom?: number; readonly isEmpty?: boolean; } export interface RenderDesignPreviewModel { /** Design identifier. Used to get design file from public or private storage. */ designId?: string | null; /** Mockup identifier. Used to get mockup file from public storage. */ mockupId?: string | null; /** Identifier of the design owner. */ ownerId?: string | null; /** Identifier of the mockup owner. */ mockupOwnerId?: string | null; /** Rendering configuration for getting a preview of design. */ renderingConfig?: ProductPreviewRenderingConfig | null; /** Variable (user) data for design variable fields in the preview image. */ variableData?: VariableInfo[] | null; } export interface RenderDesignPreviewToResourceModel { /** Parameters of resource that should be created for a preview rendering result. */ previewResourceParams?: ResourceParams | null; /** Flag that indicates if an existing resource should be overwritten. */ overwriteExistingResource?: boolean | null; /** Design identifier. Used to get design file from public or private storage. */ designId?: string | null; /** Mockup identifier. Used to get mockup file from public storage. */ mockupId?: string | null; /** Identifier of the design owner. */ ownerId?: string | null; /** Identifier of the mockup owner. */ mockupOwnerId?: string | null; /** Rendering configuration for getting a preview of design. */ renderingConfig?: ProductPreviewRenderingConfig | null; /** Variable (user) data for design variable fields in the preview image. */ variableData?: VariableInfo[] | null; } export interface RenderDesignProofModel { /** Design identifier. Used to get design file from public or private storage. */ designId?: string | null; /** Identifier of the design owner. */ ownerId?: string | null; /** Rendering configuration for getting a proof image of design. */ renderingConfig?: ProductProofRenderingConfig | null; /** Variable (user) data for design variable fields in the proof image. */ variableData?: VariableInfo[] | null; } export interface RenderDesignProofToResourceModel { /** Parameters of resource that should be created for a preview rendering result. */ proofResourceParams?: ResourceParams | null; /** Flag that indicates if an existing resource should be overwritten. */ overwriteExistingResource?: boolean | null; /** Design identifier. Used to get design file from public or private storage. */ designId?: string | null; /** Identifier of the design owner. */ ownerId?: string | null; /** Rendering configuration for getting a proof image of design. */ renderingConfig?: ProductProofRenderingConfig | null; /** Variable (user) data for design variable fields in the proof image. */ variableData?: VariableInfo[] | null; } /** Web image preview rendering parameters. */ export interface RenderImagePreviewFromUrlModel { /** Web image URL. */ imageUrl?: string | null; /** Mockup owner identifier. */ mockupOwnerId?: string | null; /** Mockup identifier. */ mockupId?: string | null; /** Image preview configuration. */ renderingConfig?: ImagePreviewRenderingConfig | null; /** Headers that will be used to download remote image by URL. For example, `Authorization` header can be placed here to provide access to image. */ headers?: { [key: string]: string; } | null; } /** Image preview rendering parameters. Result will be saved as resource with parameters set as Aurigma.DesignAtomsApi.WebApi.Models.Image.RenderImagePreviewFromUrlToResourceModel.PreviewResourceParams. */ export interface RenderImagePreviewFromUrlToResourceModel { /** Parameters of resource that should be created for a preview rendering result. */ previewResourceParams?: ResourceParams | null; /** Flag that indicates if an existing resource should be overwritten. */ overwriteExistingResource?: boolean | null; /** Web image URL. */ imageUrl?: string | null; /** Mockup owner identifier. */ mockupOwnerId?: string | null; /** Mockup identifier. */ mockupId?: string | null; /** Image preview configuration. */ renderingConfig?: ImagePreviewRenderingConfig | null; /** Headers that will be used to download remote image by URL. For example, `Authorization` header can be placed here to provide access to image. */ headers?: { [key: string]: string; } | null; } /** Image preview rendering parameters. */ export interface RenderImagePreviewModel { /** External image URL. */ imageUrl?: string | null; /** Storage image identifier. */ imageId?: string | null; /** Storage image owner identifier. */ ownerId?: string | null; /** Mockup owner identifier. */ mockupOwnerId?: string | null; /** Mockup identifier. */ mockupId?: string | null; /** Image preview configuration. */ renderingConfig?: ImagePreviewRenderingConfig | null; } /** Image preview rendering parameters. Result will be saved as resource with parameters set as Aurigma.DesignAtomsApi.WebApi.Models.Image.RenderImagePreviewToResourceModel.PreviewResourceParams. */ export interface RenderImagePreviewToResourceModel { /** Parameters of resource that should be created for a preview rendering result. */ previewResourceParams?: ResourceParams | null; /** Flag that indicates if an existing resource should be overwritten. */ overwriteExistingResource?: boolean | null; /** External image URL. */ imageUrl?: string | null; /** Storage image identifier. */ imageId?: string | null; /** Storage image owner identifier. */ ownerId?: string | null; /** Mockup owner identifier. */ mockupOwnerId?: string | null; /** Mockup identifier. */ mockupId?: string | null; /** Image preview configuration. */ renderingConfig?: ImagePreviewRenderingConfig | null; } export interface RenderMockupPreviewModel { /** Mockup identifier. */ mockupId?: string | null; /** Storage image owner identifier. */ ownerId?: string | null; /** Mockup preview configuration. */ renderingConfig?: MockupPreviewRenderingConfig | null; } /** Render product parameters. */ export interface RenderProductModel { /** Serialized product description. */ product: any; /** Proof Image rendering config. */ renderingConfig?: ProductProofRenderingConfig | null; } export interface ResourceInfoDto { id?: string | null; ownerId?: string | null; name?: string | null; namespace?: string | null; private?: boolean; url?: string | null; } export interface ResourceParams { ownerId?: string | null; namespace?: string | null; name?: string | null; sourceId?: string | null; type?: string | null; anonymousAccess?: boolean; } /** Parameters of 'setting editor mockup for design surfaces' operation. */ export interface SetEditorMockupsModel { /** List of editor mockup binding instructions. */ editorMockupBindings?: EditorMockupBindingModel[] | null; } /** Size of the print-product element. */ export interface SizeDto { /** Print-product element width. */ width?: number; /** Print-product element height. */ height?: number; } /** Design item size. */ export interface SizeModel { /** Design item width. */ width?: number; /** Design item height. */ height?: number; } /** Text item content alignment. */ export declare enum TextAlignment { Left = "Left", Center = "Center", Right = "Right", All = "All", LastLeft = "LastLeft", LastRight = "LastRight", LastCenter = "LastCenter" } /** Text item content vertical alignment. */ export declare enum TextVerticalAlignment { Top = "Top", Center = "Center", Bottom = "Bottom" } export interface UpdateColorsRequest { canvasData?: string | null; colorData?: string | null; } export interface UpdateHandlerRequest { canvasData?: string | null; itemHandlerData?: string | null; itemData?: any | null; colorSettings?: PreviewColorSettings | null; } export interface UpdateImageHandlerRequest { actualSize?: boolean; preserveAspectRatio?: boolean; url?: string | null; canvasData?: string | null; itemHandlerData?: string | null; itemData?: any | null; colorSettings?: PreviewColorSettings | null; } /** Variable information. */ export interface VariableInfo { /** Variable name. */ name?: string | null; /** Variable value. */ value?: string | null; /** Variable type. */ type?: string | null; } /** Variables information. */ export interface VariablesModel { /** List of variables. */ items?: VariableInfo[] | null; } /** Variable data printing information. */ export interface VdpDataModel { /** Serialized vdp dataset. */ vdpDataSet?: any | null; /** Serialized vdp items data. */ vdpItemsData?: any | null; } export interface FileParameter { data: any; fileName: string; } export interface FileResponse { data: Blob; status: number; fileName?: string; headers?: { [name: string]: any; }; } export declare class ApiException extends Error { message: string; status: number; response: string; headers: { [key: string]: any; }; result: any; constructor(message: string, status: number, response: string, headers: { [key: string]: any; }, result: any); protected isApiException: boolean; static isApiException(obj: any): obj is ApiException; }