@veloceapps/api 9.0.0-16 → 9.0.0-18
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/document-templates-api.service.mjs +1 -7
- package/fesm2015/veloceapps-api.mjs +0 -6
- package/fesm2015/veloceapps-api.mjs.map +1 -1
- package/fesm2020/veloceapps-api.mjs +0 -6
- package/fesm2020/veloceapps-api.mjs.map +1 -1
- package/lib/services/document-templates-api.service.d.ts +0 -6
- package/package.json +1 -1
@@ -971,9 +971,6 @@ class DocumentTemplatesApiService {
|
|
971
971
|
this.fileDownloadService.processDownload(response);
|
972
972
|
}), map(response => response.body || response));
|
973
973
|
}
|
974
|
-
/**
|
975
|
-
* @deprecated
|
976
|
-
*/
|
977
974
|
mergeDocuments(document, attachments) {
|
978
975
|
const body = new FormData();
|
979
976
|
attachments.forEach(attachment => {
|
@@ -1035,9 +1032,6 @@ class DocumentTemplatesApiService {
|
|
1035
1032
|
...templateProperties,
|
1036
1033
|
});
|
1037
1034
|
}
|
1038
|
-
/**
|
1039
|
-
* @deprecated
|
1040
|
-
*/
|
1041
1035
|
generateDocument(template, object, params = {}) {
|
1042
1036
|
const documentData$ = this.generateDocumentData(template, object, { ...params, shouldPreventDownload: true });
|
1043
1037
|
return zip(this.getTemplateFile(template.id), documentData$, this.resolveAttachments$(template)).pipe(switchMap(([templateFile, data, attachments]) => {
|