@veloceapps/api 9.0.0-9 → 10.0.0-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.
- package/esm2020/lib/services/configuration-api.service.mjs +3 -3
- package/esm2020/lib/services/document-templates-api.service.mjs +25 -2
- package/fesm2015/veloceapps-api.mjs +28 -3
- package/fesm2015/veloceapps-api.mjs.map +1 -1
- package/fesm2020/veloceapps-api.mjs +26 -3
- package/fesm2020/veloceapps-api.mjs.map +1 -1
- package/lib/services/document-templates-api.service.d.ts +3 -2
- package/package.json +2 -2
@@ -1,5 +1,5 @@
|
|
1
1
|
import { HttpClient } from '@angular/common/http';
|
2
|
-
import { Attachment, BaseHttpService, DocumentTemplate, FileDownloadService, TemplateAttachmentSearchRequest } from '@veloceapps/core';
|
2
|
+
import { Attachment, BaseHttpService, DocumentTemplate, FileDownloadService, GenerateDocumentPayload, TemplateAttachmentSearchRequest } from '@veloceapps/core';
|
3
3
|
import { Observable } from 'rxjs';
|
4
4
|
import { DocumentAttachmentApiService } from './document-attachment-api.service';
|
5
5
|
import { SalesforceApiService } from './salesforce-api.service';
|
@@ -15,8 +15,8 @@ export declare class DocumentTemplatesApiService {
|
|
15
15
|
private fileDownloadService;
|
16
16
|
private documentAttachmentService;
|
17
17
|
private http;
|
18
|
-
readonly DOCGEN_TAG = "docgen";
|
19
18
|
private readonly SERVICE_URL;
|
19
|
+
readonly DOCGEN_TAG = "docgen";
|
20
20
|
private readonly DOC_GEN_URL_FALLBACK;
|
21
21
|
private readonly DOC_GEN_URL;
|
22
22
|
constructor(service: BaseHttpService, salesforceApiService: SalesforceApiService, fileDownloadService: FileDownloadService, documentAttachmentService: DocumentAttachmentApiService, http: HttpClient);
|
@@ -31,6 +31,7 @@ export declare class DocumentTemplatesApiService {
|
|
31
31
|
getTemplateFile(id: string): Observable<ArrayBuffer>;
|
32
32
|
downloadTemplateFile(id: string): Observable<Blob>;
|
33
33
|
mergeDocuments(document: Blob, attachments: ArrayBuffer[]): Observable<ArrayBuffer>;
|
34
|
+
generateDocumentV2(body: GenerateDocumentPayload, quoteId: string, isAsync?: boolean): Observable<Blob>;
|
34
35
|
getAttachments(searchRequest: TemplateAttachmentSearchRequest): Observable<Attachment[]>;
|
35
36
|
getAttachmentFile(id: string): any;
|
36
37
|
createAttachment(attachment: Attachment, file?: File, reportProgress?: boolean): Observable<Attachment>;
|
package/package.json
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
{
|
2
2
|
"name": "@veloceapps/api",
|
3
|
-
"version": "
|
3
|
+
"version": "10.0.0-1",
|
4
4
|
"private": false,
|
5
5
|
"peerDependencies": {
|
6
6
|
"@angular/common": "~15.2.0",
|
7
7
|
"@angular/core": "~15.2.0",
|
8
|
-
"@veloceapps/core": "^
|
8
|
+
"@veloceapps/core": "^10.0.0-0",
|
9
9
|
"lodash": "^4.17.21",
|
10
10
|
"moment": "^2.29.1",
|
11
11
|
"rxjs": "~7.8.0"
|