@aurigma/ng-design-atoms-api-client 2.28.1 → 2.29.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.
@@ -483,13 +483,23 @@ export interface IDesignAtomsServiceApiClient {
483
483
  */
484
484
  createPrivateDesignFromResource(resourceId?: string | null | undefined, privateDesignId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
485
485
  /**
486
- * Renders a design with the specified parameters.
487
- * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied (default value is 'false').
486
+ * Renders a design preview with the specified parameters.
487
+ * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
488
+ (default value is 'false').
488
489
  * @param tenantId (optional) Tenant identifier
489
490
  * @param body (optional) Render model with preview parameters.
490
491
  * @return Success
491
492
  */
492
- renderDesign(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderDesignModel | null | undefined): Observable<FileResponse>;
493
+ renderDesignPreview(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderDesignPreviewModel | null | undefined): Observable<FileResponse>;
494
+ /**
495
+ * Renders a design proof with the specified parameters.
496
+ * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
497
+ (default value is 'false').
498
+ * @param tenantId (optional) Tenant identifier
499
+ * @param body (optional) Render model with proof parameters.
500
+ * @return Success
501
+ */
502
+ renderDesignProof(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderDesignProofModel | null | undefined): Observable<FileResponse>;
493
503
  /**
494
504
  * Render product proof image with specified parameters.
495
505
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied (default value is 'false').
@@ -669,14 +679,25 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
669
679
  createPrivateDesignFromResource(resourceId?: string | null | undefined, privateDesignId?: string | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<void>;
670
680
  protected processCreatePrivateDesignFromResource(response: HttpResponseBase): Observable<void>;
671
681
  /**
672
- * Renders a design with the specified parameters.
673
- * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied (default value is 'false').
682
+ * Renders a design preview with the specified parameters.
683
+ * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
684
+ (default value is 'false').
674
685
  * @param tenantId (optional) Tenant identifier
675
686
  * @param body (optional) Render model with preview parameters.
676
687
  * @return Success
677
688
  */
678
- renderDesign(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderDesignModel | null | undefined): Observable<FileResponse>;
679
- protected processRenderDesign(response: HttpResponseBase): Observable<FileResponse>;
689
+ renderDesignPreview(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderDesignPreviewModel | null | undefined): Observable<FileResponse>;
690
+ protected processRenderDesignPreview(response: HttpResponseBase): Observable<FileResponse>;
691
+ /**
692
+ * Renders a design proof with the specified parameters.
693
+ * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied
694
+ (default value is 'false').
695
+ * @param tenantId (optional) Tenant identifier
696
+ * @param body (optional) Render model with proof parameters.
697
+ * @return Success
698
+ */
699
+ renderDesignProof(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderDesignProofModel | null | undefined): Observable<FileResponse>;
700
+ protected processRenderDesignProof(response: HttpResponseBase): Observable<FileResponse>;
680
701
  /**
681
702
  * Render product proof image with specified parameters.
682
703
  * @param attachment (optional) If set to 'true', file will be provided as an attachment with unique filename supplied (default value is 'false').
@@ -1203,7 +1224,7 @@ export interface ProductPreviewRenderingConfig {
1203
1224
  height?: number;
1204
1225
  fileFormat?: ProductPreviewFormat | null;
1205
1226
  }
1206
- export interface RenderDesignModel {
1227
+ export interface RenderDesignPreviewModel {
1207
1228
  /** Design ID.
1208
1229
  Used to get design file from public or private storage. */
1209
1230
  designId?: string | null;
@@ -1256,6 +1277,17 @@ export interface ProductProofRenderingConfig {
1256
1277
  /** Defines whether watermark should be repeated */
1257
1278
  watermarkRepeat?: boolean | null;
1258
1279
  }
1280
+ export interface RenderDesignProofModel {
1281
+ /** Design ID.
1282
+ Used to get design file from public or private storage. */
1283
+ designId?: string | null;
1284
+ /** ID of the design owner. */
1285
+ ownerId?: string | null;
1286
+ /** Rendering configuration for getting a preview of design. */
1287
+ renderingConfig?: ProductProofRenderingConfig | null;
1288
+ /** Variable (user) data of design. */
1289
+ variableData?: VariableInfo[] | null;
1290
+ }
1259
1291
  /** Render product parameters */
1260
1292
  export interface RenderProductModel {
1261
1293
  /** Serialized product description */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurigma/ng-design-atoms-api-client",
3
- "version": "2.28.1",
3
+ "version": "2.29.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)",