@aurigma/ng-design-atoms-api-client 2.70.4 → 2.72.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/aurigma-ng-design-atoms-api-client.metadata.json +1 -1
- package/bundles/aurigma-ng-design-atoms-api-client.umd.js +500 -245
- package/bundles/aurigma-ng-design-atoms-api-client.umd.js.map +1 -1
- package/bundles/aurigma-ng-design-atoms-api-client.umd.min.js +1 -1
- package/bundles/aurigma-ng-design-atoms-api-client.umd.min.js.map +1 -1
- package/esm2015/lib/design-atoms-api-client.js +309 -66
- package/fesm2015/aurigma-ng-design-atoms-api-client.js +309 -66
- package/fesm2015/aurigma-ng-design-atoms-api-client.js.map +1 -1
- package/lib/design-atoms-api-client.d.ts +307 -151
- package/package.json +1 -1
|
@@ -92,30 +92,43 @@ export interface IDesignAtomsCompatibilityApiClient {
|
|
|
92
92
|
getWatermarkItems(tenantId: number, body?: any | undefined): Observable<any>;
|
|
93
93
|
/**
|
|
94
94
|
* Retrieves an image with resized dimensions and additional visual effects based on the provided parameters.
|
|
95
|
-
This method accepts query parameters that control the output of the image.
|
|
96
95
|
* @param f (optional) The identifier of the original image file.
|
|
97
96
|
* @param w (optional) Target width of the resulting image.
|
|
98
97
|
* @param h (optional) Target height of the resulting image.
|
|
99
98
|
* @param cmyk (optional) Name of the CMYK profile used for color conversion.
|
|
100
99
|
* @param rgb (optional) Name of the RGB profile used for color conversion.
|
|
101
100
|
* @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray.
|
|
102
|
-
* @param target (optional) Target color space, one of
|
|
103
|
-
* @param sq (optional) Indicates that the image is squared.
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
* @param
|
|
109
|
-
|
|
110
|
-
* @param
|
|
111
|
-
|
|
112
|
-
* @param
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
* @
|
|
117
|
-
|
|
118
|
-
|
|
101
|
+
* @param target (optional) Target color space, one of "Rgb", "Grayscale", or "Cmyk".
|
|
102
|
+
* @param sq (optional) Indicates that the image is squared.
|
|
103
|
+
The default value is "false".
|
|
104
|
+
* @param effect (optional) Effect applied to the image.
|
|
105
|
+
Possible values: "None", "BlackAndWhite", "FlipVertical", "FlipHorizontal", "Colorize", "Grayscale", or "BlackAndTransparent".
|
|
106
|
+
The default value is "None".
|
|
107
|
+
* @param kp (optional) Indicates that image proportions should be maintained.
|
|
108
|
+
The default value is "false".
|
|
109
|
+
* @param color (optional) Overlay color in the RGB, RGBA, CMYK, or CMYKA format.
|
|
110
|
+
By default, it's an empty string.
|
|
111
|
+
* @param obm (optional) Overlay blend mode used for blending colors.
|
|
112
|
+
Possible values: "Normal", "Multiply", "Screen", "Overlay", "Darken", "Lighten", "ColorDodge",
|
|
113
|
+
"ColorBurn", "HardLight", "SoftLight", `Difference", "Exclusion", "None", or "LinearBurn".
|
|
114
|
+
By default, it's an empty string.
|
|
115
|
+
* @param oo (optional) Opacity level of the overlaid layer, in the range [0.0, 1.0].
|
|
116
|
+
The default value is "null".
|
|
117
|
+
* @param alphaMask (optional) Enables alpha mask processing.
|
|
118
|
+
The default value is "false".
|
|
119
|
+
* @param page (optional) Page index in a PDF document that needs to be processed.
|
|
120
|
+
The default value is "0".
|
|
121
|
+
* @param colorizeColor (optional) Color applied for the "Colorize" image effect.
|
|
122
|
+
By default, it's an empty string.
|
|
123
|
+
* @param rw (optional) Rectangle width for area selection.
|
|
124
|
+
The default value is "0".
|
|
125
|
+
* @param rh (optional) Rectangle height for area selection.
|
|
126
|
+
The default value is "0".
|
|
127
|
+
* @param dt (optional) Dithering type.
|
|
128
|
+
* @param da (optional) Dithering amount.
|
|
129
|
+
* @return Success
|
|
130
|
+
*/
|
|
131
|
+
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): Observable<FileResponse>;
|
|
119
132
|
/**
|
|
120
133
|
* @return Success
|
|
121
134
|
*/
|
|
@@ -137,23 +150,37 @@ export interface IDesignAtomsCompatibilityApiClient {
|
|
|
137
150
|
* @param cmyk (optional) Name of the CMYK profile used for color conversion.
|
|
138
151
|
* @param rgb (optional) Name of the RGB profile used for color conversion.
|
|
139
152
|
* @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray.
|
|
140
|
-
* @param target (optional) Target color space, one of
|
|
141
|
-
* @param sq (optional) Indicates that the image is squared.
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
* @param
|
|
147
|
-
|
|
148
|
-
* @param
|
|
149
|
-
|
|
150
|
-
* @param
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
* @
|
|
155
|
-
|
|
156
|
-
|
|
153
|
+
* @param target (optional) Target color space, one of "Rgb", "Grayscale", or "Cmyk".
|
|
154
|
+
* @param sq (optional) Indicates that the image is squared.
|
|
155
|
+
The default value is "false".
|
|
156
|
+
* @param effect (optional) Effect applied to the image.
|
|
157
|
+
Possible values: "None", "BlackAndWhite", "FlipVertical", "FlipHorizontal", "Colorize", "Grayscale", or "BlackAndTransparent".
|
|
158
|
+
The default value is "None".
|
|
159
|
+
* @param kp (optional) Indicates that image proportions should be maintained.
|
|
160
|
+
The default value is "false".
|
|
161
|
+
* @param color (optional) Overlay color in the RGB, RGBA, CMYK, or CMYKA format.
|
|
162
|
+
By default, it's an empty string.
|
|
163
|
+
* @param obm (optional) Overlay blend mode used for blending colors.
|
|
164
|
+
Possible values: "Normal", "Multiply", "Screen", "Overlay", "Darken", "Lighten", "ColorDodge",
|
|
165
|
+
"ColorBurn", "HardLight", "SoftLight", `Difference", "Exclusion", "None", or "LinearBurn".
|
|
166
|
+
By default, it's an empty string.
|
|
167
|
+
* @param oo (optional) Opacity level of the overlaid layer, in the range [0.0, 1.0].
|
|
168
|
+
The default value is "null".
|
|
169
|
+
* @param alphaMask (optional) Enables alpha mask processing.
|
|
170
|
+
The default value is "false".
|
|
171
|
+
* @param page (optional) Page index in a PDF document that needs to be processed.
|
|
172
|
+
The default value is "0".
|
|
173
|
+
* @param colorizeColor (optional) Color applied for the "Colorize" image effect.
|
|
174
|
+
By default, it's an empty string.
|
|
175
|
+
* @param rw (optional) Rectangle width for area selection.
|
|
176
|
+
The default value is "0".
|
|
177
|
+
* @param rh (optional) Rectangle height for area selection.
|
|
178
|
+
The default value is "0".
|
|
179
|
+
* @param dt (optional) Dithering type.
|
|
180
|
+
* @param da (optional) Dithering amount.
|
|
181
|
+
* @return Success
|
|
182
|
+
*/
|
|
183
|
+
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): Observable<FileResponse>;
|
|
157
184
|
/**
|
|
158
185
|
* @param f (optional)
|
|
159
186
|
* @return Success
|
|
@@ -274,30 +301,43 @@ export declare class DesignAtomsCompatibilityApiClient extends ApiClientBase imp
|
|
|
274
301
|
protected processGetWatermarkItems(response: HttpResponseBase): Observable<any>;
|
|
275
302
|
/**
|
|
276
303
|
* Retrieves an image with resized dimensions and additional visual effects based on the provided parameters.
|
|
277
|
-
This method accepts query parameters that control the output of the image.
|
|
278
304
|
* @param f (optional) The identifier of the original image file.
|
|
279
305
|
* @param w (optional) Target width of the resulting image.
|
|
280
306
|
* @param h (optional) Target height of the resulting image.
|
|
281
307
|
* @param cmyk (optional) Name of the CMYK profile used for color conversion.
|
|
282
308
|
* @param rgb (optional) Name of the RGB profile used for color conversion.
|
|
283
309
|
* @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray.
|
|
284
|
-
* @param target (optional) Target color space, one of
|
|
285
|
-
* @param sq (optional) Indicates that the image is squared.
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
* @param
|
|
291
|
-
|
|
292
|
-
* @param
|
|
293
|
-
|
|
294
|
-
* @param
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
* @
|
|
299
|
-
|
|
300
|
-
|
|
310
|
+
* @param target (optional) Target color space, one of "Rgb", "Grayscale", or "Cmyk".
|
|
311
|
+
* @param sq (optional) Indicates that the image is squared.
|
|
312
|
+
The default value is "false".
|
|
313
|
+
* @param effect (optional) Effect applied to the image.
|
|
314
|
+
Possible values: "None", "BlackAndWhite", "FlipVertical", "FlipHorizontal", "Colorize", "Grayscale", or "BlackAndTransparent".
|
|
315
|
+
The default value is "None".
|
|
316
|
+
* @param kp (optional) Indicates that image proportions should be maintained.
|
|
317
|
+
The default value is "false".
|
|
318
|
+
* @param color (optional) Overlay color in the RGB, RGBA, CMYK, or CMYKA format.
|
|
319
|
+
By default, it's an empty string.
|
|
320
|
+
* @param obm (optional) Overlay blend mode used for blending colors.
|
|
321
|
+
Possible values: "Normal", "Multiply", "Screen", "Overlay", "Darken", "Lighten", "ColorDodge",
|
|
322
|
+
"ColorBurn", "HardLight", "SoftLight", `Difference", "Exclusion", "None", or "LinearBurn".
|
|
323
|
+
By default, it's an empty string.
|
|
324
|
+
* @param oo (optional) Opacity level of the overlaid layer, in the range [0.0, 1.0].
|
|
325
|
+
The default value is "null".
|
|
326
|
+
* @param alphaMask (optional) Enables alpha mask processing.
|
|
327
|
+
The default value is "false".
|
|
328
|
+
* @param page (optional) Page index in a PDF document that needs to be processed.
|
|
329
|
+
The default value is "0".
|
|
330
|
+
* @param colorizeColor (optional) Color applied for the "Colorize" image effect.
|
|
331
|
+
By default, it's an empty string.
|
|
332
|
+
* @param rw (optional) Rectangle width for area selection.
|
|
333
|
+
The default value is "0".
|
|
334
|
+
* @param rh (optional) Rectangle height for area selection.
|
|
335
|
+
The default value is "0".
|
|
336
|
+
* @param dt (optional) Dithering type.
|
|
337
|
+
* @param da (optional) Dithering amount.
|
|
338
|
+
* @return Success
|
|
339
|
+
*/
|
|
340
|
+
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): Observable<FileResponse>;
|
|
301
341
|
protected processImg(response: HttpResponseBase): Observable<FileResponse>;
|
|
302
342
|
/**
|
|
303
343
|
* @return Success
|
|
@@ -323,23 +363,37 @@ export declare class DesignAtomsCompatibilityApiClient extends ApiClientBase imp
|
|
|
323
363
|
* @param cmyk (optional) Name of the CMYK profile used for color conversion.
|
|
324
364
|
* @param rgb (optional) Name of the RGB profile used for color conversion.
|
|
325
365
|
* @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray.
|
|
326
|
-
* @param target (optional) Target color space, one of
|
|
327
|
-
* @param sq (optional) Indicates that the image is squared.
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
* @param
|
|
333
|
-
|
|
334
|
-
* @param
|
|
335
|
-
|
|
336
|
-
* @param
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
* @
|
|
341
|
-
|
|
342
|
-
|
|
366
|
+
* @param target (optional) Target color space, one of "Rgb", "Grayscale", or "Cmyk".
|
|
367
|
+
* @param sq (optional) Indicates that the image is squared.
|
|
368
|
+
The default value is "false".
|
|
369
|
+
* @param effect (optional) Effect applied to the image.
|
|
370
|
+
Possible values: "None", "BlackAndWhite", "FlipVertical", "FlipHorizontal", "Colorize", "Grayscale", or "BlackAndTransparent".
|
|
371
|
+
The default value is "None".
|
|
372
|
+
* @param kp (optional) Indicates that image proportions should be maintained.
|
|
373
|
+
The default value is "false".
|
|
374
|
+
* @param color (optional) Overlay color in the RGB, RGBA, CMYK, or CMYKA format.
|
|
375
|
+
By default, it's an empty string.
|
|
376
|
+
* @param obm (optional) Overlay blend mode used for blending colors.
|
|
377
|
+
Possible values: "Normal", "Multiply", "Screen", "Overlay", "Darken", "Lighten", "ColorDodge",
|
|
378
|
+
"ColorBurn", "HardLight", "SoftLight", `Difference", "Exclusion", "None", or "LinearBurn".
|
|
379
|
+
By default, it's an empty string.
|
|
380
|
+
* @param oo (optional) Opacity level of the overlaid layer, in the range [0.0, 1.0].
|
|
381
|
+
The default value is "null".
|
|
382
|
+
* @param alphaMask (optional) Enables alpha mask processing.
|
|
383
|
+
The default value is "false".
|
|
384
|
+
* @param page (optional) Page index in a PDF document that needs to be processed.
|
|
385
|
+
The default value is "0".
|
|
386
|
+
* @param colorizeColor (optional) Color applied for the "Colorize" image effect.
|
|
387
|
+
By default, it's an empty string.
|
|
388
|
+
* @param rw (optional) Rectangle width for area selection.
|
|
389
|
+
The default value is "0".
|
|
390
|
+
* @param rh (optional) Rectangle height for area selection.
|
|
391
|
+
The default value is "0".
|
|
392
|
+
* @param dt (optional) Dithering type.
|
|
393
|
+
* @param da (optional) Dithering amount.
|
|
394
|
+
* @return Success
|
|
395
|
+
*/
|
|
396
|
+
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): Observable<FileResponse>;
|
|
343
397
|
protected processSvg(response: HttpResponseBase): Observable<FileResponse>;
|
|
344
398
|
/**
|
|
345
399
|
* @param f (optional)
|
|
@@ -436,9 +490,10 @@ export interface IDesignAtomsImagesApiClient {
|
|
|
436
490
|
* @param height (optional)
|
|
437
491
|
* @param fileFormat (optional)
|
|
438
492
|
* @param fitMode (optional)
|
|
493
|
+
* @param pageIndex (optional)
|
|
439
494
|
* @return Success
|
|
440
495
|
*/
|
|
441
|
-
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): Observable<FileResponse>;
|
|
496
|
+
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): Observable<FileResponse>;
|
|
442
497
|
/**
|
|
443
498
|
* Renders a preview of an uploaded image with the specified parameters and saves rendering result as resource.
|
|
444
499
|
* @param tenantId (optional) Tenant ID.
|
|
@@ -456,9 +511,10 @@ export interface IDesignAtomsImagesApiClient {
|
|
|
456
511
|
* @param height (optional)
|
|
457
512
|
* @param fileFormat (optional)
|
|
458
513
|
* @param fitMode (optional)
|
|
514
|
+
* @param pageIndex (optional)
|
|
459
515
|
* @return Success
|
|
460
516
|
*/
|
|
461
|
-
renderImagePreviewFromFileToResource(tenantId?: number | undefined, resourceOwnerId?: string | null | undefined, resourceNamespace?: string | null | undefined, resourceName?: string | null | undefined, resourceSourceId?: string | null | undefined, resourceType?: string | null | undefined, anonymousAccess?: boolean | null | undefined, overwriteExistingResource?: boolean | null | undefined, sourceFile?: FileParameter | null | undefined, mockupOwnerId?: string | null | undefined, mockupId?: string | null | undefined, width?: number | null | undefined, height?: number | null | undefined, fileFormat?: ImagePreviewFormat | null | undefined, fitMode?: ImagePreviewFitMode | null | undefined): Observable<ResourceInfoDto>;
|
|
517
|
+
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): Observable<ResourceInfoDto>;
|
|
462
518
|
/**
|
|
463
519
|
* Renders a preview of a web image with the specified parameters.
|
|
464
520
|
* @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
|
|
@@ -510,9 +566,10 @@ export declare class DesignAtomsImagesApiClient extends ApiClientBase implements
|
|
|
510
566
|
* @param height (optional)
|
|
511
567
|
* @param fileFormat (optional)
|
|
512
568
|
* @param fitMode (optional)
|
|
569
|
+
* @param pageIndex (optional)
|
|
513
570
|
* @return Success
|
|
514
571
|
*/
|
|
515
|
-
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): Observable<FileResponse>;
|
|
572
|
+
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): Observable<FileResponse>;
|
|
516
573
|
protected processRenderImagePreviewFromFile(response: HttpResponseBase): Observable<FileResponse>;
|
|
517
574
|
/**
|
|
518
575
|
* Renders a preview of an uploaded image with the specified parameters and saves rendering result as resource.
|
|
@@ -531,9 +588,10 @@ export declare class DesignAtomsImagesApiClient extends ApiClientBase implements
|
|
|
531
588
|
* @param height (optional)
|
|
532
589
|
* @param fileFormat (optional)
|
|
533
590
|
* @param fitMode (optional)
|
|
591
|
+
* @param pageIndex (optional)
|
|
534
592
|
* @return Success
|
|
535
593
|
*/
|
|
536
|
-
renderImagePreviewFromFileToResource(tenantId?: number | undefined, resourceOwnerId?: string | null | undefined, resourceNamespace?: string | null | undefined, resourceName?: string | null | undefined, resourceSourceId?: string | null | undefined, resourceType?: string | null | undefined, anonymousAccess?: boolean | null | undefined, overwriteExistingResource?: boolean | null | undefined, sourceFile?: FileParameter | null | undefined, mockupOwnerId?: string | null | undefined, mockupId?: string | null | undefined, width?: number | null | undefined, height?: number | null | undefined, fileFormat?: ImagePreviewFormat | null | undefined, fitMode?: ImagePreviewFitMode | null | undefined): Observable<ResourceInfoDto>;
|
|
594
|
+
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): Observable<ResourceInfoDto>;
|
|
537
595
|
protected processRenderImagePreviewFromFileToResource(response: HttpResponseBase): Observable<ResourceInfoDto>;
|
|
538
596
|
/**
|
|
539
597
|
* Renders a preview of a web image with the specified parameters.
|
|
@@ -1339,6 +1397,13 @@ export interface IDesignAtomsPrintProductItemsApiClient {
|
|
|
1339
1397
|
* @return Success
|
|
1340
1398
|
*/
|
|
1341
1399
|
extractItemImage(tenantId?: number | undefined, body?: ExtractItemImageModel | undefined): Observable<FileResponse>;
|
|
1400
|
+
/**
|
|
1401
|
+
* Extracts print-product item image.
|
|
1402
|
+
* @param tenantId (optional) Tenant ID.
|
|
1403
|
+
* @param body (optional) Extraction parameters.
|
|
1404
|
+
* @return Success
|
|
1405
|
+
*/
|
|
1406
|
+
extractItemImageToResource(tenantId?: number | undefined, body?: ExtractItemImageToResourceModel | undefined): Observable<ResourceInfoDto>;
|
|
1342
1407
|
/**
|
|
1343
1408
|
* Flattens print-product items.
|
|
1344
1409
|
* @param paletteUID (optional)
|
|
@@ -1353,10 +1418,11 @@ export interface IDesignAtomsPrintProductItemsApiClient {
|
|
|
1353
1418
|
* @param tenantId (optional) Tenant ID.
|
|
1354
1419
|
* @param sourceFile (optional)
|
|
1355
1420
|
* @param paletteUID (optional)
|
|
1421
|
+
* @param pageIndex (optional)
|
|
1356
1422
|
* @param preserveOriginalFile (optional)
|
|
1357
1423
|
* @return Success
|
|
1358
1424
|
*/
|
|
1359
|
-
createItemFromFile(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceFile?: FileParameter | null | undefined, paletteUID?: string | null | undefined, preserveOriginalFile?: boolean | null | undefined): Observable<any>;
|
|
1425
|
+
createItemFromFile(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceFile?: FileParameter | null | undefined, paletteUID?: string | null | undefined, pageIndex?: number | null | undefined, preserveOriginalFile?: boolean | null | undefined): Observable<any>;
|
|
1360
1426
|
/**
|
|
1361
1427
|
* Creates multiple print-product items from input image files.
|
|
1362
1428
|
* @param itemType (optional) Desired print-product items type.
|
|
@@ -1421,6 +1487,14 @@ export declare class DesignAtomsPrintProductItemsApiClient extends ApiClientBase
|
|
|
1421
1487
|
*/
|
|
1422
1488
|
extractItemImage(tenantId?: number | undefined, body?: ExtractItemImageModel | undefined): Observable<FileResponse>;
|
|
1423
1489
|
protected processExtractItemImage(response: HttpResponseBase): Observable<FileResponse>;
|
|
1490
|
+
/**
|
|
1491
|
+
* Extracts print-product item image.
|
|
1492
|
+
* @param tenantId (optional) Tenant ID.
|
|
1493
|
+
* @param body (optional) Extraction parameters.
|
|
1494
|
+
* @return Success
|
|
1495
|
+
*/
|
|
1496
|
+
extractItemImageToResource(tenantId?: number | undefined, body?: ExtractItemImageToResourceModel | undefined): Observable<ResourceInfoDto>;
|
|
1497
|
+
protected processExtractItemImageToResource(response: HttpResponseBase): Observable<ResourceInfoDto>;
|
|
1424
1498
|
/**
|
|
1425
1499
|
* Flattens print-product items.
|
|
1426
1500
|
* @param paletteUID (optional)
|
|
@@ -1436,10 +1510,11 @@ export declare class DesignAtomsPrintProductItemsApiClient extends ApiClientBase
|
|
|
1436
1510
|
* @param tenantId (optional) Tenant ID.
|
|
1437
1511
|
* @param sourceFile (optional)
|
|
1438
1512
|
* @param paletteUID (optional)
|
|
1513
|
+
* @param pageIndex (optional)
|
|
1439
1514
|
* @param preserveOriginalFile (optional)
|
|
1440
1515
|
* @return Success
|
|
1441
1516
|
*/
|
|
1442
|
-
createItemFromFile(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceFile?: FileParameter | null | undefined, paletteUID?: string | null | undefined, preserveOriginalFile?: boolean | null | undefined): Observable<any>;
|
|
1517
|
+
createItemFromFile(itemType?: ItemType | null | undefined, tenantId?: number | undefined, sourceFile?: FileParameter | null | undefined, paletteUID?: string | null | undefined, pageIndex?: number | null | undefined, preserveOriginalFile?: boolean | null | undefined): Observable<any>;
|
|
1443
1518
|
protected processCreateItemFromFile(response: HttpResponseBase): Observable<any>;
|
|
1444
1519
|
/**
|
|
1445
1520
|
* Creates multiple print-product items from input image files.
|
|
@@ -2059,31 +2134,44 @@ export interface IDesignAtomsViewerApiClient {
|
|
|
2059
2134
|
getWatermarkItems(tenantId?: number | undefined, body?: any | undefined): Observable<any>;
|
|
2060
2135
|
/**
|
|
2061
2136
|
* Retrieves an image with resized dimensions and additional visual effects based on the provided parameters.
|
|
2062
|
-
This method accepts query parameters that control the output of the image.
|
|
2063
2137
|
* @param f (optional) The identifier of the original image file.
|
|
2064
2138
|
* @param w (optional) Target width of the resulting image.
|
|
2065
2139
|
* @param h (optional) Target height of the resulting image.
|
|
2066
2140
|
* @param cmyk (optional) Name of the CMYK profile used for color conversion.
|
|
2067
2141
|
* @param rgb (optional) Name of the RGB profile used for color conversion.
|
|
2068
2142
|
* @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray.
|
|
2069
|
-
* @param target (optional) Target color space, one of
|
|
2070
|
-
* @param sq (optional) Indicates that the image is squared.
|
|
2071
|
-
|
|
2072
|
-
|
|
2073
|
-
|
|
2074
|
-
|
|
2075
|
-
* @param
|
|
2076
|
-
|
|
2077
|
-
* @param
|
|
2078
|
-
|
|
2079
|
-
* @param
|
|
2080
|
-
|
|
2081
|
-
|
|
2082
|
-
|
|
2083
|
-
* @param
|
|
2084
|
-
|
|
2085
|
-
|
|
2086
|
-
|
|
2143
|
+
* @param target (optional) Target color space, one of "Rgb", "Grayscale", or "Cmyk".
|
|
2144
|
+
* @param sq (optional) Indicates that the image is squared.
|
|
2145
|
+
The default value is "false".
|
|
2146
|
+
* @param effect (optional) Effect applied to the image.
|
|
2147
|
+
Possible values: "None", "BlackAndWhite", "FlipVertical", "FlipHorizontal", "Colorize", "Grayscale", or "BlackAndTransparent".
|
|
2148
|
+
The default value is "None".
|
|
2149
|
+
* @param kp (optional) Indicates that image proportions should be maintained.
|
|
2150
|
+
The default value is "false".
|
|
2151
|
+
* @param color (optional) Overlay color in the RGB, RGBA, CMYK, or CMYKA format.
|
|
2152
|
+
By default, it's an empty string.
|
|
2153
|
+
* @param obm (optional) Overlay blend mode used for blending colors.
|
|
2154
|
+
Possible values: "Normal", "Multiply", "Screen", "Overlay", "Darken", "Lighten", "ColorDodge",
|
|
2155
|
+
"ColorBurn", "HardLight", "SoftLight", `Difference", "Exclusion", "None", or "LinearBurn".
|
|
2156
|
+
By default, it's an empty string.
|
|
2157
|
+
* @param oo (optional) Opacity level of the overlaid layer, in the range [0.0, 1.0].
|
|
2158
|
+
The default value is "null".
|
|
2159
|
+
* @param alphaMask (optional) Enables alpha mask processing.
|
|
2160
|
+
The default value is "false".
|
|
2161
|
+
* @param page (optional) Page index in a PDF document that needs to be processed.
|
|
2162
|
+
The default value is "0".
|
|
2163
|
+
* @param colorizeColor (optional) Color applied for the "Colorize" image effect.
|
|
2164
|
+
By default, it's an empty string.
|
|
2165
|
+
* @param rw (optional) Rectangle width for area selection.
|
|
2166
|
+
The default value is "0".
|
|
2167
|
+
* @param rh (optional) Rectangle height for area selection.
|
|
2168
|
+
The default value is "0".
|
|
2169
|
+
* @param dt (optional) Dithering type.
|
|
2170
|
+
* @param da (optional) Dithering amount.
|
|
2171
|
+
* @param tenantId (optional) Tenant ID.
|
|
2172
|
+
* @return Success
|
|
2173
|
+
*/
|
|
2174
|
+
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): Observable<FileResponse>;
|
|
2087
2175
|
/**
|
|
2088
2176
|
* @param tenantId (optional) Tenant ID.
|
|
2089
2177
|
* @return Success
|
|
@@ -2108,24 +2196,38 @@ export interface IDesignAtomsViewerApiClient {
|
|
|
2108
2196
|
* @param cmyk (optional) Name of the CMYK profile used for color conversion.
|
|
2109
2197
|
* @param rgb (optional) Name of the RGB profile used for color conversion.
|
|
2110
2198
|
* @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray.
|
|
2111
|
-
* @param target (optional) Target color space, one of
|
|
2112
|
-
* @param sq (optional) Indicates that the image is squared.
|
|
2113
|
-
|
|
2114
|
-
|
|
2115
|
-
|
|
2116
|
-
|
|
2117
|
-
* @param
|
|
2118
|
-
|
|
2119
|
-
* @param
|
|
2120
|
-
|
|
2121
|
-
* @param
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
* @param
|
|
2126
|
-
|
|
2127
|
-
|
|
2128
|
-
|
|
2199
|
+
* @param target (optional) Target color space, one of "Rgb", "Grayscale", or "Cmyk".
|
|
2200
|
+
* @param sq (optional) Indicates that the image is squared.
|
|
2201
|
+
The default value is "false".
|
|
2202
|
+
* @param effect (optional) Effect applied to the image.
|
|
2203
|
+
Possible values: "None", "BlackAndWhite", "FlipVertical", "FlipHorizontal", "Colorize", "Grayscale", or "BlackAndTransparent".
|
|
2204
|
+
The default value is "None".
|
|
2205
|
+
* @param kp (optional) Indicates that image proportions should be maintained.
|
|
2206
|
+
The default value is "false".
|
|
2207
|
+
* @param color (optional) Overlay color in the RGB, RGBA, CMYK, or CMYKA format.
|
|
2208
|
+
By default, it's an empty string.
|
|
2209
|
+
* @param obm (optional) Overlay blend mode used for blending colors.
|
|
2210
|
+
Possible values: "Normal", "Multiply", "Screen", "Overlay", "Darken", "Lighten", "ColorDodge",
|
|
2211
|
+
"ColorBurn", "HardLight", "SoftLight", `Difference", "Exclusion", "None", or "LinearBurn".
|
|
2212
|
+
By default, it's an empty string.
|
|
2213
|
+
* @param oo (optional) Opacity level of the overlaid layer, in the range [0.0, 1.0].
|
|
2214
|
+
The default value is "null".
|
|
2215
|
+
* @param alphaMask (optional) Enables alpha mask processing.
|
|
2216
|
+
The default value is "false".
|
|
2217
|
+
* @param page (optional) Page index in a PDF document that needs to be processed.
|
|
2218
|
+
The default value is "0".
|
|
2219
|
+
* @param colorizeColor (optional) Color applied for the "Colorize" image effect.
|
|
2220
|
+
By default, it's an empty string.
|
|
2221
|
+
* @param rw (optional) Rectangle width for area selection.
|
|
2222
|
+
The default value is "0".
|
|
2223
|
+
* @param rh (optional) Rectangle height for area selection.
|
|
2224
|
+
The default value is "0".
|
|
2225
|
+
* @param dt (optional) Dithering type.
|
|
2226
|
+
* @param da (optional) Dithering amount.
|
|
2227
|
+
* @param tenantId (optional) Tenant ID.
|
|
2228
|
+
* @return Success
|
|
2229
|
+
*/
|
|
2230
|
+
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): Observable<FileResponse>;
|
|
2129
2231
|
/**
|
|
2130
2232
|
* @param f (optional)
|
|
2131
2233
|
* @param tenantId (optional) Tenant ID.
|
|
@@ -2267,31 +2369,44 @@ export declare class DesignAtomsViewerApiClient extends ApiClientBase implements
|
|
|
2267
2369
|
protected processGetWatermarkItems(response: HttpResponseBase): Observable<any>;
|
|
2268
2370
|
/**
|
|
2269
2371
|
* Retrieves an image with resized dimensions and additional visual effects based on the provided parameters.
|
|
2270
|
-
This method accepts query parameters that control the output of the image.
|
|
2271
2372
|
* @param f (optional) The identifier of the original image file.
|
|
2272
2373
|
* @param w (optional) Target width of the resulting image.
|
|
2273
2374
|
* @param h (optional) Target height of the resulting image.
|
|
2274
2375
|
* @param cmyk (optional) Name of the CMYK profile used for color conversion.
|
|
2275
2376
|
* @param rgb (optional) Name of the RGB profile used for color conversion.
|
|
2276
2377
|
* @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray.
|
|
2277
|
-
* @param target (optional) Target color space, one of
|
|
2278
|
-
* @param sq (optional) Indicates that the image is squared.
|
|
2279
|
-
|
|
2280
|
-
|
|
2281
|
-
|
|
2282
|
-
|
|
2283
|
-
* @param
|
|
2284
|
-
|
|
2285
|
-
* @param
|
|
2286
|
-
|
|
2287
|
-
* @param
|
|
2288
|
-
|
|
2289
|
-
|
|
2290
|
-
|
|
2291
|
-
* @param
|
|
2292
|
-
|
|
2293
|
-
|
|
2294
|
-
|
|
2378
|
+
* @param target (optional) Target color space, one of "Rgb", "Grayscale", or "Cmyk".
|
|
2379
|
+
* @param sq (optional) Indicates that the image is squared.
|
|
2380
|
+
The default value is "false".
|
|
2381
|
+
* @param effect (optional) Effect applied to the image.
|
|
2382
|
+
Possible values: "None", "BlackAndWhite", "FlipVertical", "FlipHorizontal", "Colorize", "Grayscale", or "BlackAndTransparent".
|
|
2383
|
+
The default value is "None".
|
|
2384
|
+
* @param kp (optional) Indicates that image proportions should be maintained.
|
|
2385
|
+
The default value is "false".
|
|
2386
|
+
* @param color (optional) Overlay color in the RGB, RGBA, CMYK, or CMYKA format.
|
|
2387
|
+
By default, it's an empty string.
|
|
2388
|
+
* @param obm (optional) Overlay blend mode used for blending colors.
|
|
2389
|
+
Possible values: "Normal", "Multiply", "Screen", "Overlay", "Darken", "Lighten", "ColorDodge",
|
|
2390
|
+
"ColorBurn", "HardLight", "SoftLight", `Difference", "Exclusion", "None", or "LinearBurn".
|
|
2391
|
+
By default, it's an empty string.
|
|
2392
|
+
* @param oo (optional) Opacity level of the overlaid layer, in the range [0.0, 1.0].
|
|
2393
|
+
The default value is "null".
|
|
2394
|
+
* @param alphaMask (optional) Enables alpha mask processing.
|
|
2395
|
+
The default value is "false".
|
|
2396
|
+
* @param page (optional) Page index in a PDF document that needs to be processed.
|
|
2397
|
+
The default value is "0".
|
|
2398
|
+
* @param colorizeColor (optional) Color applied for the "Colorize" image effect.
|
|
2399
|
+
By default, it's an empty string.
|
|
2400
|
+
* @param rw (optional) Rectangle width for area selection.
|
|
2401
|
+
The default value is "0".
|
|
2402
|
+
* @param rh (optional) Rectangle height for area selection.
|
|
2403
|
+
The default value is "0".
|
|
2404
|
+
* @param dt (optional) Dithering type.
|
|
2405
|
+
* @param da (optional) Dithering amount.
|
|
2406
|
+
* @param tenantId (optional) Tenant ID.
|
|
2407
|
+
* @return Success
|
|
2408
|
+
*/
|
|
2409
|
+
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): Observable<FileResponse>;
|
|
2295
2410
|
protected processImg(response: HttpResponseBase): Observable<FileResponse>;
|
|
2296
2411
|
/**
|
|
2297
2412
|
* @param tenantId (optional) Tenant ID.
|
|
@@ -2320,24 +2435,38 @@ export declare class DesignAtomsViewerApiClient extends ApiClientBase implements
|
|
|
2320
2435
|
* @param cmyk (optional) Name of the CMYK profile used for color conversion.
|
|
2321
2436
|
* @param rgb (optional) Name of the RGB profile used for color conversion.
|
|
2322
2437
|
* @param grayscale (optional) Name of the grayscale profile used to convert into shades of gray.
|
|
2323
|
-
* @param target (optional) Target color space, one of
|
|
2324
|
-
* @param sq (optional) Indicates that the image is squared.
|
|
2325
|
-
|
|
2326
|
-
|
|
2327
|
-
|
|
2328
|
-
|
|
2329
|
-
* @param
|
|
2330
|
-
|
|
2331
|
-
* @param
|
|
2332
|
-
|
|
2333
|
-
* @param
|
|
2334
|
-
|
|
2335
|
-
|
|
2336
|
-
|
|
2337
|
-
* @param
|
|
2338
|
-
|
|
2339
|
-
|
|
2340
|
-
|
|
2438
|
+
* @param target (optional) Target color space, one of "Rgb", "Grayscale", or "Cmyk".
|
|
2439
|
+
* @param sq (optional) Indicates that the image is squared.
|
|
2440
|
+
The default value is "false".
|
|
2441
|
+
* @param effect (optional) Effect applied to the image.
|
|
2442
|
+
Possible values: "None", "BlackAndWhite", "FlipVertical", "FlipHorizontal", "Colorize", "Grayscale", or "BlackAndTransparent".
|
|
2443
|
+
The default value is "None".
|
|
2444
|
+
* @param kp (optional) Indicates that image proportions should be maintained.
|
|
2445
|
+
The default value is "false".
|
|
2446
|
+
* @param color (optional) Overlay color in the RGB, RGBA, CMYK, or CMYKA format.
|
|
2447
|
+
By default, it's an empty string.
|
|
2448
|
+
* @param obm (optional) Overlay blend mode used for blending colors.
|
|
2449
|
+
Possible values: "Normal", "Multiply", "Screen", "Overlay", "Darken", "Lighten", "ColorDodge",
|
|
2450
|
+
"ColorBurn", "HardLight", "SoftLight", `Difference", "Exclusion", "None", or "LinearBurn".
|
|
2451
|
+
By default, it's an empty string.
|
|
2452
|
+
* @param oo (optional) Opacity level of the overlaid layer, in the range [0.0, 1.0].
|
|
2453
|
+
The default value is "null".
|
|
2454
|
+
* @param alphaMask (optional) Enables alpha mask processing.
|
|
2455
|
+
The default value is "false".
|
|
2456
|
+
* @param page (optional) Page index in a PDF document that needs to be processed.
|
|
2457
|
+
The default value is "0".
|
|
2458
|
+
* @param colorizeColor (optional) Color applied for the "Colorize" image effect.
|
|
2459
|
+
By default, it's an empty string.
|
|
2460
|
+
* @param rw (optional) Rectangle width for area selection.
|
|
2461
|
+
The default value is "0".
|
|
2462
|
+
* @param rh (optional) Rectangle height for area selection.
|
|
2463
|
+
The default value is "0".
|
|
2464
|
+
* @param dt (optional) Dithering type.
|
|
2465
|
+
* @param da (optional) Dithering amount.
|
|
2466
|
+
* @param tenantId (optional) Tenant ID.
|
|
2467
|
+
* @return Success
|
|
2468
|
+
*/
|
|
2469
|
+
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): Observable<FileResponse>;
|
|
2341
2470
|
protected processSvg(response: HttpResponseBase): Observable<FileResponse>;
|
|
2342
2471
|
/**
|
|
2343
2472
|
* @param f (optional)
|
|
@@ -2508,6 +2637,9 @@ export interface CreateItemFromStorageModel {
|
|
|
2508
2637
|
sourceId?: string | null;
|
|
2509
2638
|
/** Target palette UID. */
|
|
2510
2639
|
paletteUID?: string | null;
|
|
2640
|
+
/** Index of image page (applies to multi-page image formats only, e.g. PDF and TIFF).
|
|
2641
|
+
Zero by default. */
|
|
2642
|
+
pageIndex?: number | null;
|
|
2511
2643
|
/** Indicates if resulting item should store original source file. */
|
|
2512
2644
|
preserveOriginalFile?: boolean | null;
|
|
2513
2645
|
}
|
|
@@ -2517,6 +2649,9 @@ export interface CreateItemFromUrlModel {
|
|
|
2517
2649
|
url?: string | null;
|
|
2518
2650
|
/** Target palette UID. */
|
|
2519
2651
|
paletteUID?: string | null;
|
|
2652
|
+
/** Index of image page (applies to multi-page image formats only, e.g. PDF and TIFF).
|
|
2653
|
+
Zero by default. */
|
|
2654
|
+
pageIndex?: number | null;
|
|
2520
2655
|
/** Headers that will be used to download remote image by URL.
|
|
2521
2656
|
For example, `Authorization` header can be placed here to provide access to image. */
|
|
2522
2657
|
headers?: {
|
|
@@ -2703,10 +2838,23 @@ export interface EditorMockupBindingModel {
|
|
|
2703
2838
|
/** Target surface index. */
|
|
2704
2839
|
surfaceIndex?: number;
|
|
2705
2840
|
}
|
|
2706
|
-
/**
|
|
2841
|
+
/** Image extraction operation parameters. */
|
|
2707
2842
|
export interface ExtractItemImageModel {
|
|
2708
2843
|
/** Serialized item description. */
|
|
2709
2844
|
item: any;
|
|
2845
|
+
/** Extraction format. */
|
|
2846
|
+
format?: ImageExtractionFormat | null;
|
|
2847
|
+
}
|
|
2848
|
+
/** Image extraction operation parameters. */
|
|
2849
|
+
export interface ExtractItemImageToResourceModel {
|
|
2850
|
+
/** Parameters of resource that should be created for a preview rendering result. */
|
|
2851
|
+
previewResourceParams?: ResourceParams | null;
|
|
2852
|
+
/** Flag that indicates if an existing resource should be overwritten. */
|
|
2853
|
+
overwriteExistingResource?: boolean | null;
|
|
2854
|
+
/** Serialized item description. */
|
|
2855
|
+
item: any;
|
|
2856
|
+
/** Extraction format. */
|
|
2857
|
+
format?: ImageExtractionFormat | null;
|
|
2710
2858
|
}
|
|
2711
2859
|
export interface FontsMethodData {
|
|
2712
2860
|
requestedFontsByPsName?: string[] | null;
|
|
@@ -2735,6 +2883,11 @@ export interface GetImageSizeRequest {
|
|
|
2735
2883
|
export interface GetShapeBoundsRequest {
|
|
2736
2884
|
path?: string | null;
|
|
2737
2885
|
}
|
|
2886
|
+
/** Image preview file format. */
|
|
2887
|
+
export declare enum ImageExtractionFormat {
|
|
2888
|
+
Jpeg = "Jpeg",
|
|
2889
|
+
Png = "Png"
|
|
2890
|
+
}
|
|
2738
2891
|
/** Image preview fit mode. */
|
|
2739
2892
|
export declare enum ImagePreviewFitMode {
|
|
2740
2893
|
Fit = "Fit",
|
|
@@ -2757,6 +2910,9 @@ export interface ImagePreviewRenderingConfig {
|
|
|
2757
2910
|
fileFormat?: ImagePreviewFormat | null;
|
|
2758
2911
|
/** Image preview fit mode. */
|
|
2759
2912
|
fitMode?: ImagePreviewFitMode | null;
|
|
2913
|
+
/** Index of image page (applies to multi-page image formats only, e.g. PDF and TIFF).
|
|
2914
|
+
Zero by default. */
|
|
2915
|
+
pageIndex?: number | null;
|
|
2760
2916
|
}
|
|
2761
2917
|
/** Item source types. */
|
|
2762
2918
|
export declare enum ItemSourceType {
|