@aurigma/ng-storefront-api-client 2.29.5 → 2.32.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.
@@ -289,6 +289,20 @@ export interface IProjectsApiClient {
289
289
  * @return Success
290
290
  */
291
291
  delete(id: number, tenantId?: number | null | undefined): Observable<void>;
292
+ /**
293
+ * Returns a project preview file by project identifier.
294
+ * @param id Project identifier.
295
+ * @param tenantId (optional) Tenant identifier.
296
+ * @return Success
297
+ */
298
+ getPreview(id: number, tenantId?: number | null | undefined): Observable<FileResponse>;
299
+ /**
300
+ * Returns a project preview URL by project identifier.
301
+ * @param id Project identifier.
302
+ * @param tenantId (optional) Tenant identifier.
303
+ * @return Success
304
+ */
305
+ getPreviewUrl(id: number, tenantId?: number | null | undefined): Observable<string>;
292
306
  /**
293
307
  * Creates a new project by 'Render HiRes' scenario.
294
308
  * @param storefrontId Storefront identifier.
@@ -437,6 +451,22 @@ export declare class ProjectsApiClient extends ApiClientBase implements IProject
437
451
  */
438
452
  delete(id: number, tenantId?: number | null | undefined): Observable<void>;
439
453
  protected processDelete(response: HttpResponseBase): Observable<void>;
454
+ /**
455
+ * Returns a project preview file by project identifier.
456
+ * @param id Project identifier.
457
+ * @param tenantId (optional) Tenant identifier.
458
+ * @return Success
459
+ */
460
+ getPreview(id: number, tenantId?: number | null | undefined): Observable<FileResponse>;
461
+ protected processGetPreview(response: HttpResponseBase): Observable<FileResponse>;
462
+ /**
463
+ * Returns a project preview URL by project identifier.
464
+ * @param id Project identifier.
465
+ * @param tenantId (optional) Tenant identifier.
466
+ * @return Success
467
+ */
468
+ getPreviewUrl(id: number, tenantId?: number | null | undefined): Observable<string>;
469
+ protected processGetPreviewUrl(response: HttpResponseBase): Observable<string>;
440
470
  /**
441
471
  * Creates a new project by 'Render HiRes' scenario.
442
472
  * @param storefrontId Storefront identifier.
@@ -952,6 +982,8 @@ export interface ProjectItemResourceParametersDto {
952
982
  name?: string | null;
953
983
  /** Resource type. */
954
984
  type?: ProjectItemResourceType;
985
+ /** Original resource identifier. */
986
+ resourceId?: string | null;
955
987
  }
956
988
  /** Dto class, containing create operation paramters for a project item. */
957
989
  export interface ProjectItemParametersDto {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aurigma/ng-storefront-api-client",
3
- "version": "2.29.5",
3
+ "version": "2.32.1",
4
4
  "license": "SEE LICENSE IN License.md",
5
5
  "description": "Angular API Client for Storefront API service of Customer's Canvas web-to-print system.",
6
6
  "author": "Aurigma Inc <info@aurigma.com> (https://customerscanvas.com)",