@aurigma/ng-design-atoms-api-client 2.68.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.
@@ -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. */
@@ -2489,6 +2515,56 @@ export interface DesignInfo {
2489
2515
  name?: string | null;
2490
2516
  private?: boolean;
2491
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
+ }
2492
2568
  /** Specific design parameters stored in product model. */
2493
2569
  export interface DesignParameters {
2494
2570
  /** Design measure unit description. */
@@ -2992,6 +3068,22 @@ export interface SizeModel {
2992
3068
  /** Design item height. */
2993
3069
  height?: number;
2994
3070
  }
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"
3086
+ }
2995
3087
  export interface UnprocessableDesignElementDto {
2996
3088
  /** Missing element type. */
2997
3089
  readonly missingElementType?: DesignElementType | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurigma/ng-design-atoms-api-client",
3
- "version": "2.68.1",
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)",