@aurigma/ng-design-atoms-api-client 2.76.4 → 2.77.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -772,6 +772,36 @@ export interface IDesignAtomsPrintProductApiClient {
772
772
  * @return Success
773
773
  */
774
774
  getDesignSurfaceContainers(id: string, surfaceId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignSurfaceContainerDto[]>;
775
+ /**
776
+ * Returns a list of print-product container descriptions of the specified design file.
777
+ * @param id Design identifier.
778
+ * @param index (optional)
779
+ * @param surfaceId (optional) Print-product surface identifier.
780
+ * @param privateStorageOwner (optional) Private storage owner identifier.
781
+ * @param tenantId (optional) Tenant ID.
782
+ * @param body (optional)
783
+ * @return Success
784
+ */
785
+ addDesignSurfaceContainer(id: string, index?: number | null | undefined, surfaceId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: DesignSurfaceContainerParams | undefined): Observable<DesignSurfaceContainerDto>;
786
+ /**
787
+ * Returns a print-product container parameters of the specified design file.
788
+ * @param id Design identifier.
789
+ * @param containerId Print-product container identifier.
790
+ * @param privateStorageOwner (optional) Private storage owner identifier.
791
+ * @param tenantId (optional) Tenant ID.
792
+ * @return Success
793
+ */
794
+ getDesignSurfaceContainer(id: string, containerId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignSurfaceContainerDto>;
795
+ /**
796
+ * Returns a list of print-product container descriptions of the specified design file.
797
+ * @param id Design identifier.
798
+ * @param surfaceId (optional) Print-product surface identifier.
799
+ * @param privateStorageOwner (optional) Private storage owner identifier.
800
+ * @param tenantId (optional) Tenant ID.
801
+ * @param body (optional)
802
+ * @return Success
803
+ */
804
+ updateDesignSurfaceContainer(id: string, containerId: string, surfaceId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: DesignSurfaceContainerParams | undefined): Observable<DesignSurfaceContainerDto>;
775
805
  /**
776
806
  * Deletes a specified print-product container in an existing design file.
777
807
  * @param id Design identifier.
@@ -912,7 +942,7 @@ export interface IDesignAtomsPrintProductApiClient {
912
942
  * @param body (optional) Print-area description model.
913
943
  * @return Success
914
944
  */
915
- updateDesignPrintArea(id: string, printAreaId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: DesignPrintAreaParams | undefined): Observable<any>;
945
+ updateDesignPrintArea(id: string, printAreaId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: DesignPrintAreaParams | undefined): Observable<DesignPrintAreaDto>;
916
946
  /**
917
947
  * Deletes a specified print-area in an existing design file.
918
948
  * @param id Design identifier.
@@ -1091,6 +1121,39 @@ export declare class DesignAtomsPrintProductApiClient extends ApiClientBase impl
1091
1121
  */
1092
1122
  getDesignSurfaceContainers(id: string, surfaceId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignSurfaceContainerDto[]>;
1093
1123
  protected processGetDesignSurfaceContainers(response: HttpResponseBase): Observable<DesignSurfaceContainerDto[]>;
1124
+ /**
1125
+ * Returns a list of print-product container descriptions of the specified design file.
1126
+ * @param id Design identifier.
1127
+ * @param index (optional)
1128
+ * @param surfaceId (optional) Print-product surface identifier.
1129
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1130
+ * @param tenantId (optional) Tenant ID.
1131
+ * @param body (optional)
1132
+ * @return Success
1133
+ */
1134
+ addDesignSurfaceContainer(id: string, index?: number | null | undefined, surfaceId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: DesignSurfaceContainerParams | undefined): Observable<DesignSurfaceContainerDto>;
1135
+ protected processAddDesignSurfaceContainer(response: HttpResponseBase): Observable<DesignSurfaceContainerDto>;
1136
+ /**
1137
+ * Returns a print-product container parameters of the specified design file.
1138
+ * @param id Design identifier.
1139
+ * @param containerId Print-product container identifier.
1140
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1141
+ * @param tenantId (optional) Tenant ID.
1142
+ * @return Success
1143
+ */
1144
+ getDesignSurfaceContainer(id: string, containerId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<DesignSurfaceContainerDto>;
1145
+ protected processGetDesignSurfaceContainer(response: HttpResponseBase): Observable<DesignSurfaceContainerDto>;
1146
+ /**
1147
+ * Returns a list of print-product container descriptions of the specified design file.
1148
+ * @param id Design identifier.
1149
+ * @param surfaceId (optional) Print-product surface identifier.
1150
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1151
+ * @param tenantId (optional) Tenant ID.
1152
+ * @param body (optional)
1153
+ * @return Success
1154
+ */
1155
+ updateDesignSurfaceContainer(id: string, containerId: string, surfaceId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: DesignSurfaceContainerParams | undefined): Observable<DesignSurfaceContainerDto>;
1156
+ protected processUpdateDesignSurfaceContainer(response: HttpResponseBase): Observable<DesignSurfaceContainerDto>;
1094
1157
  /**
1095
1158
  * Deletes a specified print-product container in an existing design file.
1096
1159
  * @param id Design identifier.
@@ -1244,8 +1307,8 @@ export declare class DesignAtomsPrintProductApiClient extends ApiClientBase impl
1244
1307
  * @param body (optional) Print-area description model.
1245
1308
  * @return Success
1246
1309
  */
1247
- updateDesignPrintArea(id: string, printAreaId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: DesignPrintAreaParams | undefined): Observable<any>;
1248
- protected processUpdateDesignPrintArea(response: HttpResponseBase): Observable<any>;
1310
+ updateDesignPrintArea(id: string, printAreaId: string, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: DesignPrintAreaParams | undefined): Observable<DesignPrintAreaDto>;
1311
+ protected processUpdateDesignPrintArea(response: HttpResponseBase): Observable<DesignPrintAreaDto>;
1249
1312
  /**
1250
1313
  * Deletes a specified print-area in an existing design file.
1251
1314
  * @param id Design identifier.
@@ -2587,6 +2650,10 @@ export interface ApplyDesignItemsDataModel {
2587
2650
  [key: string]: DesignItemDataModel;
2588
2651
  } | null;
2589
2652
  }
2653
+ export declare enum ArtworkShapeType {
2654
+ Rectangle = "rectangle",
2655
+ Ellipse = "ellipse"
2656
+ }
2590
2657
  /** Batch create items from storage source operation parameters. */
2591
2658
  export interface BatchCreateItemsFromStorageModel {
2592
2659
  /** Source image assets owner identifier. If value is set, all images should belong to a specified user. */
@@ -2627,6 +2694,54 @@ export interface BuildInfoModel {
2627
2694
  /** Aurigma.DesignAtoms.Model version. */
2628
2695
  designAtomsModelVersion?: string | null;
2629
2696
  }
2697
+ /** Colorless container display type. */
2698
+ export declare enum ColorlessContainerDisplayType {
2699
+ Color = "Color",
2700
+ Texture = "Texture"
2701
+ }
2702
+ /** Colorless container dither type. */
2703
+ export declare enum ColorlessContainerDitherType {
2704
+ None = "None",
2705
+ Diffusion = "Diffusion",
2706
+ Pattern = "Pattern",
2707
+ Noise = "Noise"
2708
+ }
2709
+ /** Colorless container format. */
2710
+ export declare enum ColorlessContainerFormat {
2711
+ OneBit = "OneBit",
2712
+ Grayscale = "Grayscale",
2713
+ Vector = "Vector"
2714
+ }
2715
+ /** Colorless container settigns. */
2716
+ export interface ColorlessContainerSettingsDto {
2717
+ /** Container format. */
2718
+ format?: ColorlessContainerFormat;
2719
+ /** Container dither type. */
2720
+ dither?: ColorlessContainerDitherType;
2721
+ /** Container display type. */
2722
+ displayType?: ColorlessContainerDisplayType;
2723
+ /** Container dither amount. */
2724
+ ditherAmount?: number;
2725
+ /** Display color. */
2726
+ displayColor?: string | null;
2727
+ /** Output color. */
2728
+ outputColor?: string | null;
2729
+ }
2730
+ /** Colorless container settigns. */
2731
+ export interface ColorlessContainerSettingsParams {
2732
+ /** Container format. */
2733
+ format?: ColorlessContainerFormat;
2734
+ /** Container dither type. */
2735
+ dither?: ColorlessContainerDitherType;
2736
+ /** Container display type. */
2737
+ displayType?: ColorlessContainerDisplayType;
2738
+ /** Container dither amount. */
2739
+ ditherAmount?: number;
2740
+ /** Display color. */
2741
+ displayColor?: string | null;
2742
+ /** Output color. */
2743
+ outputColor?: string | null;
2744
+ }
2630
2745
  /** Conflict types. */
2631
2746
  export declare enum ConflictType {
2632
2747
  NameConflict = "NameConflict",
@@ -2634,6 +2749,42 @@ export declare enum ConflictType {
2634
2749
  IdConflict = "IdConflict",
2635
2750
  GeneralConflict = "GeneralConflict"
2636
2751
  }
2752
+ /** Full color container color space. */
2753
+ export declare enum ContainerColorSpace {
2754
+ Rgb = "Rgb",
2755
+ Cmyk = "Cmyk",
2756
+ Grayscale = "Grayscale",
2757
+ Lab = "Lab",
2758
+ Spot = "Spot"
2759
+ }
2760
+ /** Container constraints parameters. */
2761
+ export interface ContainerConstraintsDto {
2762
+ /** Boolean flag indicates if raster images are allowed to be placed in container. */
2763
+ allowRasterObjects?: boolean;
2764
+ /** Target hi-res print file DPI. */
2765
+ targetResolution?: number;
2766
+ /** Minimal font size for text objects placed in container. */
2767
+ minFontSize?: number;
2768
+ /** Maximal size of print zone. */
2769
+ maxArtworkSize?: MaxArtworkSizeConstraintsDto | null;
2770
+ }
2771
+ /** Container constraints parameters. */
2772
+ export interface ContainerConstraintsParams {
2773
+ /** Boolean flag indicates if raster images are allowed to be placed in container. */
2774
+ allowRasterObjects?: boolean;
2775
+ /** Target hi-res print file DPI. */
2776
+ targetResolution?: number;
2777
+ /** Minimal font size for text objects placed in container. */
2778
+ minFontSize?: number;
2779
+ /** Maximal size of print zone. */
2780
+ maxArtworkSize?: MaxArtworkSizeConstraintsParams | null;
2781
+ }
2782
+ /** Container printing mode. */
2783
+ export declare enum ContainerPrintingMode {
2784
+ FullColor = "FullColor",
2785
+ LimitedColor = "LimitedColor",
2786
+ Colorless = "Colorless"
2787
+ }
2637
2788
  /** Convert colors operation parameters. */
2638
2789
  export interface ConvertColorsModel {
2639
2790
  /** Serialized color description. */
@@ -2784,6 +2935,8 @@ export interface DesignPrintAreaDto {
2784
2935
  bleed?: MarginDto | null;
2785
2936
  /** Print area slug. */
2786
2937
  slug?: MarginDto | null;
2938
+ /** Print area shape. Usually content of svg path that describes print area shape is provided. */
2939
+ shape?: string | null;
2787
2940
  }
2788
2941
  /** Design print area parameters. */
2789
2942
  export interface DesignPrintAreaParams {
@@ -2799,6 +2952,8 @@ export interface DesignPrintAreaParams {
2799
2952
  bleed?: MarginModel | null;
2800
2953
  /** Print area slug. */
2801
2954
  slug?: MarginModel | null;
2955
+ /** Print area shape. Usually content of svg path that describes print area shape is provided. */
2956
+ shape?: string | null;
2802
2957
  }
2803
2958
  /** Print-product container description. */
2804
2959
  export interface DesignSurfaceContainerDto {
@@ -2814,6 +2969,35 @@ export interface DesignSurfaceContainerDto {
2814
2969
  size?: SizeDto | null;
2815
2970
  /** Container position. */
2816
2971
  position?: PositionDto | null;
2972
+ /** Container printing mode. */
2973
+ mode?: ContainerPrintingMode;
2974
+ /** Container constraints. */
2975
+ constraints?: ContainerConstraintsDto | null;
2976
+ /** Limited color container settings. If container mode is not 'LimitedColor', null value will be provided. */
2977
+ limitedColorSettings?: LimitedColorContainerSettingsDto | null;
2978
+ /** Full color container settings. If container mode is not 'FullColor', null value will be provided. */
2979
+ fullColorSettings?: FullColorContainerSettingsDto | null;
2980
+ /** Colorless container settings. If container mode is not 'Colorless', null value will be provided. */
2981
+ colorlessSettings?: ColorlessContainerSettingsDto | null;
2982
+ }
2983
+ /** Print-product container description. */
2984
+ export interface DesignSurfaceContainerParams {
2985
+ /** Container name. */
2986
+ name?: string | null;
2987
+ /** Container size. */
2988
+ size?: SizeModel | null;
2989
+ /** Container position. */
2990
+ position?: PositionModel | null;
2991
+ /** Container printing mode. */
2992
+ mode?: ContainerPrintingMode;
2993
+ /** Container constraints. */
2994
+ constraints?: ContainerConstraintsParams | null;
2995
+ /** Limited color container settings. If container mode is not 'LimitedColor', null value will be provided. */
2996
+ limitedColorSettings?: LimitedColorContainerSettingsParams | null;
2997
+ /** Full color container settings. If container mode is not 'FullColor', null value will be provided. */
2998
+ fullColorSettings?: FullColorContainerSettingsParams | null;
2999
+ /** Colorless container settings. If container mode is not 'Colorless', null value will be provided. */
3000
+ colorlessSettings?: ColorlessContainerSettingsParams | null;
2817
3001
  }
2818
3002
  /** Print-product surface description. */
2819
3003
  export interface DesignSurfaceDto {
@@ -2888,6 +3072,20 @@ export interface FontsMethodData {
2888
3072
  advancedMode?: boolean;
2889
3073
  baseUrl?: string | null;
2890
3074
  }
3075
+ /** Full color container settigns. */
3076
+ export interface FullColorContainerSettingsDto {
3077
+ /** Target color space. */
3078
+ colorSpace?: ContainerColorSpace;
3079
+ /** Target color profile name. */
3080
+ colorProfile?: string | null;
3081
+ }
3082
+ /** Full color container settigns. */
3083
+ export interface FullColorContainerSettingsParams {
3084
+ /** Target color space. */
3085
+ colorSpace?: ContainerColorSpace;
3086
+ /** Target color profile name. */
3087
+ colorProfile?: string | null;
3088
+ }
2891
3089
  /** Information about operation conflict. */
2892
3090
  export interface GeneralConflictDto {
2893
3091
  /** Problem description. */
@@ -2954,6 +3152,20 @@ export declare enum ItemType {
2954
3152
  Clipart = "Clipart",
2955
3153
  Group = "Group"
2956
3154
  }
3155
+ /** Limited color container settigns. */
3156
+ export interface LimitedColorContainerSettingsDto {
3157
+ /** Colors limit count. */
3158
+ colors?: number;
3159
+ /** Related palette UID. */
3160
+ paletteUID?: string | null;
3161
+ }
3162
+ /** Limited color container settigns. */
3163
+ export interface LimitedColorContainerSettingsParams {
3164
+ /** Colors limit count. */
3165
+ colors?: number;
3166
+ /** Related palette UID. */
3167
+ paletteUID?: string | null;
3168
+ }
2957
3169
  /** Margins of the print-product element. */
2958
3170
  export interface MarginDto {
2959
3171
  /** Print-product element top margin. */
@@ -2976,6 +3188,16 @@ export interface MarginModel {
2976
3188
  /** Bottom margin. */
2977
3189
  bottom?: number;
2978
3190
  }
3191
+ export interface MaxArtworkSizeConstraintsDto {
3192
+ width?: number | null;
3193
+ height?: number | null;
3194
+ shapeType?: ArtworkShapeType | null;
3195
+ }
3196
+ export interface MaxArtworkSizeConstraintsParams {
3197
+ width?: number | null;
3198
+ height?: number | null;
3199
+ shapeType?: ArtworkShapeType | null;
3200
+ }
2979
3201
  export interface MeasureUnitInfo {
2980
3202
  name?: string | null;
2981
3203
  shortName?: string | null;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurigma/ng-design-atoms-api-client",
3
- "version": "2.76.4",
3
+ "version": "2.77.4",
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)",