cat-documents-ng 1.0.18 → 1.0.21

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.
@@ -11,14 +11,6 @@ import { UserListModel } from '../models/user-list.model';
11
11
  import { StatusDataModel } from '../models/status-data.model';
12
12
  import { DocumentHistorySection } from '../models/document-history.model';
13
13
  import * as i0 from "@angular/core";
14
- /**
15
- * Interface for convert-to-pdf API response
16
- */
17
- export interface ConvertToPdfResponse {
18
- success: boolean;
19
- pdfUrl: string;
20
- message: string;
21
- }
22
14
  /**
23
15
  * Service for making HTTP requests related to documents.
24
16
  * Authentication is handled automatically by the HTTP interceptor in the main project.
@@ -185,9 +177,9 @@ export declare class DocumentHttpService {
185
177
  /**
186
178
  * Converts an email document to PDF format
187
179
  * @param {string} documentUrl - The URL of the email document to convert
188
- * @returns {Observable<ConvertToPdfResponse>} Observable that emits the PDF URL response
180
+ * @returns {Observable<Blob>} Observable that emits the PDF blob data
189
181
  */
190
- convertEmailToPdf(documentUrl: string): Observable<ConvertToPdfResponse>;
182
+ convertEmailToPdf(documentUrl: string): Observable<Blob>;
191
183
  static ɵfac: i0.ɵɵFactoryDeclaration<DocumentHttpService, never>;
192
184
  static ɵprov: i0.ɵɵInjectableDeclaration<DocumentHttpService>;
193
185
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cat-documents-ng",
3
- "version": "1.0.18",
3
+ "version": "1.0.21",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^19.0.0",
6
6
  "@angular/core": "^19.0.0"