@aurigma/ng-design-atoms-api-client 2.80.14 → 2.82.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.
@@ -1094,6 +1094,16 @@ export interface IDesignAtomsPrintProductApiClient {
1094
1094
  * @return Success
1095
1095
  */
1096
1096
  addDesignSurfaceModel(id: string, index?: number | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
1097
+ /**
1098
+ * Creates a new print product and saves it as a design file.
1099
+ * @param name (optional) Design file name.
1100
+ * @param path (optional) Design file path.
1101
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1102
+ * @param tenantId (optional) Tenant ID.
1103
+ * @param body (optional) Patch product parameters model.
1104
+ * @return Created
1105
+ */
1106
+ createDesignProduct(name?: string | null | undefined, path?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: CreateProductModel | undefined): Observable<DesignInfo>;
1097
1107
  }
1098
1108
  export declare class DesignAtomsPrintProductApiClient extends ApiClientBase implements IDesignAtomsPrintProductApiClient {
1099
1109
  private http;
@@ -1479,6 +1489,17 @@ export declare class DesignAtomsPrintProductApiClient extends ApiClientBase impl
1479
1489
  */
1480
1490
  addDesignSurfaceModel(id: string, index?: number | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: any | undefined): Observable<any>;
1481
1491
  protected processAddDesignSurfaceModel(response: HttpResponseBase): Observable<any>;
1492
+ /**
1493
+ * Creates a new print product and saves it as a design file.
1494
+ * @param name (optional) Design file name.
1495
+ * @param path (optional) Design file path.
1496
+ * @param privateStorageOwner (optional) Private storage owner identifier.
1497
+ * @param tenantId (optional) Tenant ID.
1498
+ * @param body (optional) Patch product parameters model.
1499
+ * @return Created
1500
+ */
1501
+ createDesignProduct(name?: string | null | undefined, path?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined, body?: CreateProductModel | undefined): Observable<DesignInfo>;
1502
+ protected processCreateDesignProduct(response: HttpResponseBase): Observable<DesignInfo>;
1482
1503
  }
1483
1504
  export interface IDesignAtomsPrintProductItemsApiClient {
1484
1505
  /**
@@ -2891,6 +2912,24 @@ For example, `Authorization` header can be placed here to provide access to imag
2891
2912
  /** Indicates if resulting item should store original source file. */
2892
2913
  preserveOriginalFile?: boolean | null;
2893
2914
  }
2915
+ /** Design print area creation parameters. */
2916
+ export interface CreatePrintAreaModel {
2917
+ /** Print area name. */
2918
+ name?: string | null;
2919
+ /** Print area size. */
2920
+ size?: SizeModel | null;
2921
+ /** Print area position. */
2922
+ position?: PositionModel | null;
2923
+ /** Print area bleed. */
2924
+ bleed?: MarginModel | null;
2925
+ /** Print area slug. */
2926
+ slug?: MarginModel | null;
2927
+ }
2928
+ /** Create print product operation parameters. */
2929
+ export interface CreateProductModel {
2930
+ /** Design surfaces parameters. */
2931
+ surfaces?: CreateSurfaceModel[] | null;
2932
+ }
2894
2933
  /** Rectangle item creation parameters. */
2895
2934
  export interface CreateRectangleItemModel {
2896
2935
  /** Rectangle width. */
@@ -2906,6 +2945,13 @@ export interface CreateRectangleItemModel {
2906
2945
  /** Rectangle border style. */
2907
2946
  borderStyle?: ItemBorderStyle;
2908
2947
  }
2948
+ /** Design surface creation parameters. */
2949
+ export interface CreateSurfaceModel {
2950
+ /** Surface name. */
2951
+ name?: string | null;
2952
+ /** Print areas parameters. */
2953
+ printAreas?: CreatePrintAreaModel[] | null;
2954
+ }
2909
2955
  export interface DesignElementProcessingConflictDto {
2910
2956
  /** Missing element type. */
2911
2957
  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.80.14",
3
+ "version": "2.82.1",
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)",