@veloceapps/sdk 2.0.14 → 2.0.16

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.
@@ -3017,6 +3017,11 @@
3017
3017
  var VlDocumentTemplatesDirective = /** @class */ (function () {
3018
3018
  function VlDocumentTemplatesDirective(documentTemplatesApiService) {
3019
3019
  this.documentTemplatesApiService = documentTemplatesApiService;
3020
+ /**
3021
+ * @deprecated Use `generateDocument` instead
3022
+ */
3023
+ // eslint-disable-next-line @typescript-eslint/member-ordering
3024
+ this.generateDocumentNew = this.generateDocument;
3020
3025
  }
3021
3026
  VlDocumentTemplatesDirective.prototype.getTemplates = function (tag) {
3022
3027
  return this.documentTemplatesApiService.getTemplates(tag).toPromise();
@@ -3038,9 +3043,6 @@
3038
3043
  VlDocumentTemplatesDirective.prototype.generateDocument = function (template, quoteDraft, params) {
3039
3044
  return this.documentTemplatesApiService.generateDocument(template, quoteDraft, params).pipe(rxjsOperators.take(1));
3040
3045
  };
3041
- VlDocumentTemplatesDirective.prototype.generateDocumentNew = function (template, quoteDraft, params) {
3042
- return this.documentTemplatesApiService.generateDocumentNew(template, quoteDraft, params).pipe(rxjsOperators.take(1));
3043
- };
3044
3046
  VlDocumentTemplatesDirective.prototype.generateDocumentData = function (template, quoteDraft, params) {
3045
3047
  return this.documentTemplatesApiService.generateDocumentData(template, quoteDraft, params).pipe(rxjsOperators.take(1));
3046
3048
  };
@@ -4391,6 +4393,7 @@
4391
4393
  i5.DatePipe,
4392
4394
  SectionsService,
4393
4395
  SectionStoreService,
4396
+ i3.DialogService,
4394
4397
  ], imports: [[
4395
4398
  i5.CommonModule,
4396
4399
  i4.FormsModule,
@@ -4419,6 +4422,7 @@
4419
4422
  i5.DatePipe,
4420
4423
  SectionsService,
4421
4424
  SectionStoreService,
4425
+ i3.DialogService,
4422
4426
  ],
4423
4427
  imports: [
4424
4428
  i5.CommonModule,