@aurigma/ng-design-atoms-api-client 2.26.7 → 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').
@@ -1020,6 +1041,13 @@ export declare class DesignAtomsViewerApiClient extends ApiClientBase implements
1020
1041
  updateShapeItemHandler(tenantId?: number | undefined, body?: UpdateHandlerRequest | null | undefined): Observable<any>;
1021
1042
  protected processUpdateShapeItemHandler(response: HttpResponseBase): Observable<any>;
1022
1043
  }
1044
+ export interface ProblemDetails {
1045
+ type?: string | null;
1046
+ title?: string | null;
1047
+ status?: number | null;
1048
+ detail?: string | null;
1049
+ instance?: string | null;
1050
+ }
1023
1051
  /** Information about a service */
1024
1052
  export interface BuildInfoModel {
1025
1053
  /** Version number */
@@ -1036,13 +1064,6 @@ export interface FontsMethodData {
1036
1064
  advancedMode?: boolean;
1037
1065
  baseUrl?: string | null;
1038
1066
  }
1039
- export interface ProblemDetails {
1040
- type?: string | null;
1041
- title?: string | null;
1042
- status?: number | null;
1043
- detail?: string | null;
1044
- instance?: string | null;
1045
- }
1046
1067
  export interface GetImageSizeRequest {
1047
1068
  imageId?: string | null;
1048
1069
  pageIndex?: number;
@@ -1146,6 +1167,12 @@ export interface MissingDesignElementDto {
1146
1167
  /** Missing element type. */
1147
1168
  readonly missingElementType?: DesignElementType;
1148
1169
  }
1170
+ export interface UnprocessableDesignElementDto {
1171
+ /** Problem description. */
1172
+ description?: string | null;
1173
+ /** Missing element type. */
1174
+ readonly missingElementType?: DesignElementType;
1175
+ }
1149
1176
  /** Available patch type */
1150
1177
  export declare enum ProductPatchType {
1151
1178
  Undefined = "Undefined",
@@ -1197,7 +1224,7 @@ export interface ProductPreviewRenderingConfig {
1197
1224
  height?: number;
1198
1225
  fileFormat?: ProductPreviewFormat | null;
1199
1226
  }
1200
- export interface RenderDesignModel {
1227
+ export interface RenderDesignPreviewModel {
1201
1228
  /** Design ID.
1202
1229
  Used to get design file from public or private storage. */
1203
1230
  designId?: string | null;
@@ -1250,6 +1277,17 @@ export interface ProductProofRenderingConfig {
1250
1277
  /** Defines whether watermark should be repeated */
1251
1278
  watermarkRepeat?: boolean | null;
1252
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
+ }
1253
1291
  /** Render product parameters */
1254
1292
  export interface RenderProductModel {
1255
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.26.7",
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)",