@aurigma/ng-design-atoms-api-client 2.67.1 → 2.68.7
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 +272 -160
- 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/aurigma-ng-design-atoms-api-client.js +1 -1
- package/esm2015/lib/design-atoms-api-client.js +111 -9
- package/esm2015/lib/design-atoms-api.module.js +1 -1
- package/esm2015/public-api.js +1 -1
- package/fesm2015/aurigma-ng-design-atoms-api-client.js +111 -9
- package/fesm2015/aurigma-ng-design-atoms-api-client.js.map +1 -1
- package/lib/design-atoms-api-client.d.ts +94 -30
- package/package.json +1 -1
|
@@ -617,7 +617,7 @@ export interface IDesignAtomsPalettesApiClient {
|
|
|
617
617
|
* @param body (optional) Source color.
|
|
618
618
|
* @return Success
|
|
619
619
|
*/
|
|
620
|
-
findPaletteColor(paletteUID?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<
|
|
620
|
+
findPaletteColor(paletteUID?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
|
|
621
621
|
/**
|
|
622
622
|
* Returns a serialized palette model by its identifier or UID.
|
|
623
623
|
* @param id (optional) Palette identifier.
|
|
@@ -639,8 +639,8 @@ export declare class DesignAtomsPalettesApiClient extends ApiClientBase implemen
|
|
|
639
639
|
* @param body (optional) Source color.
|
|
640
640
|
* @return Success
|
|
641
641
|
*/
|
|
642
|
-
findPaletteColor(paletteUID?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<
|
|
643
|
-
protected processFindPaletteColor(response: HttpResponseBase): Observable<
|
|
642
|
+
findPaletteColor(paletteUID?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
|
|
643
|
+
protected processFindPaletteColor(response: HttpResponseBase): Observable<any>;
|
|
644
644
|
/**
|
|
645
645
|
* Returns a serialized palette model by its identifier or UID.
|
|
646
646
|
* @param id (optional) Palette identifier.
|
|
@@ -1486,6 +1486,15 @@ export interface IDesignAtomsServiceApiClient {
|
|
|
1486
1486
|
* @return Created
|
|
1487
1487
|
*/
|
|
1488
1488
|
createDesign(privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: CreateDesignModel | undefined): Observable<DesignInfo>;
|
|
1489
|
+
/**
|
|
1490
|
+
* Applies item data for a specified design file taken from storage.
|
|
1491
|
+
* @param id Design identifier.
|
|
1492
|
+
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
1493
|
+
* @param tenantId (optional) Tenant identifier
|
|
1494
|
+
* @param body (optional) Design items data.
|
|
1495
|
+
* @return Success
|
|
1496
|
+
*/
|
|
1497
|
+
applyItemsData(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: ApplyDesignItemsDataModel | undefined): Observable<void>;
|
|
1489
1498
|
/**
|
|
1490
1499
|
* Returns image content of the background.
|
|
1491
1500
|
* @param id Design identifier.
|
|
@@ -1724,6 +1733,16 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
|
|
|
1724
1733
|
*/
|
|
1725
1734
|
createDesign(privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: CreateDesignModel | undefined): Observable<DesignInfo>;
|
|
1726
1735
|
protected processCreateDesign(response: HttpResponseBase): Observable<DesignInfo>;
|
|
1736
|
+
/**
|
|
1737
|
+
* Applies item data for a specified design file taken from storage.
|
|
1738
|
+
* @param id Design identifier.
|
|
1739
|
+
* @param privateStorageOwner (optional) Private storage owner identifier.
|
|
1740
|
+
* @param tenantId (optional) Tenant identifier
|
|
1741
|
+
* @param body (optional) Design items data.
|
|
1742
|
+
* @return Success
|
|
1743
|
+
*/
|
|
1744
|
+
applyItemsData(id: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: ApplyDesignItemsDataModel | undefined): Observable<void>;
|
|
1745
|
+
protected processApplyItemsData(response: HttpResponseBase): Observable<void>;
|
|
1727
1746
|
/**
|
|
1728
1747
|
* Returns image content of the background.
|
|
1729
1748
|
* @param id Design identifier.
|
|
@@ -2381,6 +2400,13 @@ export declare class DesignAtomsViewerApiClient extends ApiClientBase implements
|
|
|
2381
2400
|
updateShapeItemHandler(tenantId?: number | undefined, body?: UpdateHandlerRequest | undefined): Observable<any>;
|
|
2382
2401
|
protected processUpdateShapeItemHandler(response: HttpResponseBase): Observable<any>;
|
|
2383
2402
|
}
|
|
2403
|
+
/** Design items data applying operation parameters. */
|
|
2404
|
+
export interface ApplyDesignItemsDataModel {
|
|
2405
|
+
/** Set of (item name - item data) pairs. */
|
|
2406
|
+
itemsData?: {
|
|
2407
|
+
[key: string]: DesignItemDataModel;
|
|
2408
|
+
} | null;
|
|
2409
|
+
}
|
|
2384
2410
|
/** Batch create items from storage source operation parameters. */
|
|
2385
2411
|
export interface BatchCreateItemsFromStorageModel {
|
|
2386
2412
|
/** Source image assets owner identifier. If value is set, all images should belong to a specified user. */
|
|
@@ -2421,16 +2447,6 @@ export interface BuildInfoModel {
|
|
|
2421
2447
|
/** Aurigma.DesignAtoms.Model version. */
|
|
2422
2448
|
designAtomsModelVersion?: string | null;
|
|
2423
2449
|
}
|
|
2424
|
-
export interface Color {
|
|
2425
|
-
readonly colorSpace?: ColorSpace;
|
|
2426
|
-
}
|
|
2427
|
-
export declare enum ColorSpace {
|
|
2428
|
-
Rgb = "Rgb",
|
|
2429
|
-
Cmyk = "Cmyk",
|
|
2430
|
-
Grayscale = "Grayscale",
|
|
2431
|
-
Lab = "Lab",
|
|
2432
|
-
Spot = "Spot"
|
|
2433
|
-
}
|
|
2434
2450
|
/** Conflict types. */
|
|
2435
2451
|
export declare enum ConflictType {
|
|
2436
2452
|
NameConflict = "NameConflict",
|
|
@@ -2499,6 +2515,56 @@ export interface DesignInfo {
|
|
|
2499
2515
|
name?: string | null;
|
|
2500
2516
|
private?: boolean;
|
|
2501
2517
|
}
|
|
2518
|
+
/** Design item data model parameters. */
|
|
2519
|
+
export interface DesignItemDataModel {
|
|
2520
|
+
/** Text item value. */
|
|
2521
|
+
text?: string | null;
|
|
2522
|
+
/** Text leading value. */
|
|
2523
|
+
leading?: number | null;
|
|
2524
|
+
/** Text tracking value. */
|
|
2525
|
+
tracking?: number | null;
|
|
2526
|
+
/** Text font parameters. */
|
|
2527
|
+
font?: DesignItemFontSettingsModel | null;
|
|
2528
|
+
/** Text item content alignment. */
|
|
2529
|
+
textAlignment?: TextAlignment | null;
|
|
2530
|
+
/** Text item content vertical alignment. */
|
|
2531
|
+
textVerticalAlignment?: TextVerticalAlignment | null;
|
|
2532
|
+
/** Flag that indicates if text should have underline. */
|
|
2533
|
+
underline?: boolean | null;
|
|
2534
|
+
/** Item color serialized value. */
|
|
2535
|
+
color?: string | null;
|
|
2536
|
+
/** Item border color serialized value. */
|
|
2537
|
+
borderColor?: string | null;
|
|
2538
|
+
/** Item fill color serialized value. */
|
|
2539
|
+
fillColor?: string | null;
|
|
2540
|
+
/** Text item fill color serialized value. */
|
|
2541
|
+
textFillColor?: string | null;
|
|
2542
|
+
/** Image item content source value. */
|
|
2543
|
+
image?: string | null;
|
|
2544
|
+
/** Item opacity value. */
|
|
2545
|
+
opacity?: number | null;
|
|
2546
|
+
/** Item border width. */
|
|
2547
|
+
borderWidth?: number | null;
|
|
2548
|
+
/** Barcode item color serialized value. */
|
|
2549
|
+
barcodeColor?: string | null;
|
|
2550
|
+
/** Raw barcode value. */
|
|
2551
|
+
barcodeValue?: string | null;
|
|
2552
|
+
/** Flag that indicates if an item should be visible. */
|
|
2553
|
+
visible?: boolean | null;
|
|
2554
|
+
}
|
|
2555
|
+
/** Design item font parameters. */
|
|
2556
|
+
export interface DesignItemFontSettingsModel {
|
|
2557
|
+
/** Font post script name. */
|
|
2558
|
+
postScriptName?: string | null;
|
|
2559
|
+
/** Font size. */
|
|
2560
|
+
size?: number;
|
|
2561
|
+
/** Flag that indicates whether font is bold. */
|
|
2562
|
+
fauxBold?: boolean;
|
|
2563
|
+
/** Flag that indicates whether font is italic. */
|
|
2564
|
+
fauxItalic?: boolean;
|
|
2565
|
+
/** Flag that indicates whether all letters should be capital. */
|
|
2566
|
+
allCaps?: boolean;
|
|
2567
|
+
}
|
|
2502
2568
|
/** Specific design parameters stored in product model. */
|
|
2503
2569
|
export interface DesignParameters {
|
|
2504
2570
|
/** Design measure unit description. */
|
|
@@ -2723,11 +2789,6 @@ export interface NullAbleSize {
|
|
|
2723
2789
|
width?: number | null;
|
|
2724
2790
|
height?: number | null;
|
|
2725
2791
|
}
|
|
2726
|
-
export interface Palette {
|
|
2727
|
-
uid?: string | null;
|
|
2728
|
-
swatches?: Swatch[] | null;
|
|
2729
|
-
readonly count?: number;
|
|
2730
|
-
}
|
|
2731
2792
|
/** Placeholder item content type. */
|
|
2732
2793
|
export declare enum PlaceholderItemContentType {
|
|
2733
2794
|
Image = "Image"
|
|
@@ -3007,18 +3068,21 @@ export interface SizeModel {
|
|
|
3007
3068
|
/** Design item height. */
|
|
3008
3069
|
height?: number;
|
|
3009
3070
|
}
|
|
3010
|
-
|
|
3011
|
-
|
|
3012
|
-
|
|
3013
|
-
|
|
3014
|
-
|
|
3015
|
-
|
|
3016
|
-
|
|
3017
|
-
|
|
3018
|
-
|
|
3019
|
-
}
|
|
3020
|
-
|
|
3021
|
-
|
|
3071
|
+
/** Text item content alignment. */
|
|
3072
|
+
export declare enum TextAlignment {
|
|
3073
|
+
Left = "Left",
|
|
3074
|
+
Center = "Center",
|
|
3075
|
+
Right = "Right",
|
|
3076
|
+
All = "All",
|
|
3077
|
+
LastLeft = "LastLeft",
|
|
3078
|
+
LastRight = "LastRight",
|
|
3079
|
+
LastCenter = "LastCenter"
|
|
3080
|
+
}
|
|
3081
|
+
/** Text item content vertical alignment. */
|
|
3082
|
+
export declare enum TextVerticalAlignment {
|
|
3083
|
+
Top = "Top",
|
|
3084
|
+
Center = "Center",
|
|
3085
|
+
Bottom = "Bottom"
|
|
3022
3086
|
}
|
|
3023
3087
|
export interface UnprocessableDesignElementDto {
|
|
3024
3088
|
/** Missing element type. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aurigma/ng-design-atoms-api-client",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.68.7",
|
|
4
4
|
"license": "SEE LICENSE IN License.md",
|
|
5
5
|
"description": "Angular API Client for Design Atoms API service of Customer's Canvas web-to-print system.",
|
|
6
6
|
"author": "Aurigma Inc <info@aurigma.com> (https://customerscanvas.com)",
|