@aurigma/ng-design-atoms-api-client 2.34.1 → 2.35.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.
@@ -547,6 +547,15 @@ export interface IDesignAtomsServiceApiClient {
547
547
  * @return Success
548
548
  */
549
549
  renderProduct(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderProductModel | null | undefined): Observable<FileResponse>;
550
+ /**
551
+ * Loads product (design model) from resource file taken from storage
552
+ * @param id Resource identifier
553
+ * @param privateStorage (optional) If set to 'true' resource will be taken from private storage
554
+ * @param privateStorageOwner (optional) Private storage owner identifier
555
+ * @param tenantId (optional) Tenant identifier
556
+ * @return Success
557
+ */
558
+ loadProductFromResource(id: string | null, privateStorage?: boolean | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
550
559
  }
551
560
  export declare class DesignAtomsServiceApiClient extends ApiClientBase implements IDesignAtomsServiceApiClient {
552
561
  private http;
@@ -749,6 +758,16 @@ export declare class DesignAtomsServiceApiClient extends ApiClientBase implement
749
758
  */
750
759
  renderProduct(attachment?: boolean | null | undefined, tenantId?: number | undefined, body?: RenderProductModel | null | undefined): Observable<FileResponse>;
751
760
  protected processRenderProduct(response: HttpResponseBase): Observable<FileResponse>;
761
+ /**
762
+ * Loads product (design model) from resource file taken from storage
763
+ * @param id Resource identifier
764
+ * @param privateStorage (optional) If set to 'true' resource will be taken from private storage
765
+ * @param privateStorageOwner (optional) Private storage owner identifier
766
+ * @param tenantId (optional) Tenant identifier
767
+ * @return Success
768
+ */
769
+ loadProductFromResource(id: string | null, privateStorage?: boolean | null | undefined, privateStorageOwner?: string | null | undefined, tenantId?: number | undefined): Observable<any>;
770
+ protected processLoadProductFromResource(response: HttpResponseBase): Observable<any>;
752
771
  }
753
772
  export interface IDesignAtomsViewerApiClient {
754
773
  /**
@@ -1178,8 +1197,8 @@ export interface UpdateImageHandlerRequest {
1178
1197
  itemHandlerData?: string | null;
1179
1198
  itemData?: any | null;
1180
1199
  }
1181
- /** Product preview file format. */
1182
- export declare enum ProductPreviewFormat {
1200
+ /** Image preview file format. */
1201
+ export declare enum ImagePreviewFormat {
1183
1202
  Jpeg = "Jpeg",
1184
1203
  Png = "Png",
1185
1204
  Tiff = "Tiff",
@@ -1193,7 +1212,7 @@ export interface RenderImagePreviewModel {
1193
1212
  /** Width of preview image. */
1194
1213
  width?: number;
1195
1214
  /** Output image format. PNG by default. */
1196
- fileFormat?: ProductPreviewFormat | null;
1215
+ fileFormat?: ImagePreviewFormat | null;
1197
1216
  }
1198
1217
  /** Convert colors operation parameters */
1199
1218
  export interface ConvertColorsModel {
@@ -1286,6 +1305,13 @@ export declare enum ItemSourceType {
1286
1305
  ImageStorage = "ImageStorage",
1287
1306
  PrivateImageStorage = "PrivateImageStorage"
1288
1307
  }
1308
+ /** Product preview file format. */
1309
+ export declare enum ProductPreviewFormat {
1310
+ Jpeg = "Jpeg",
1311
+ Png = "Png",
1312
+ Tiff = "Tiff",
1313
+ Pdf = "Pdf"
1314
+ }
1289
1315
  export interface ProductPreviewRenderingConfig {
1290
1316
  surfaceIndex?: number | null;
1291
1317
  width?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurigma/ng-design-atoms-api-client",
3
- "version": "2.34.1",
3
+ "version": "2.35.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)",