@hitsoft/e-donusum 1.0.18 → 1.0.19

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.
@@ -6063,6 +6063,10 @@ class HitNoteRulesService {
6063
6063
  url: `/api/e-donusum/note-rules/hit-note-rule-update/${id}`,
6064
6064
  body: input,
6065
6065
  }, { apiName: this.apiName });
6066
+ this.delete = (id) => this.restService.request({
6067
+ method: 'DELETE',
6068
+ url: `/api/e-donusum/note-rules/hit-note-rule-delete/${id}`,
6069
+ }, { apiName: this.apiName });
6066
6070
  this.LoadDocTypes = this.devexService.createStore({
6067
6071
  key: "id",
6068
6072
  loadUrl: 'api/e-donusum/note-rules/load-doc-types'
@@ -6386,7 +6390,7 @@ class HitNoteRuleComponent {
6386
6390
  .warn('eDonusum::DeleteConfirmationMessage', 'eDonusum::AreYouSure', {
6387
6391
  messageLocalizationParams: [],
6388
6392
  })
6389
- .pipe(filter$1(status => status === Confirmation.Status.confirm), switchMap$1(() => this.service.delete(record.id)))
6393
+ .pipe(filter$1(status => status === Confirmation.Status.confirm), switchMap$1(() => this.hitNoteRuleService.delete(record.id)))
6390
6394
  .subscribe(() => this.dxNoteRuleInstance.instance.refresh());
6391
6395
  }
6392
6396
  stripHTML(input) {
@@ -6513,6 +6517,10 @@ class HitParamsCompaniesService {
6513
6517
  method: 'GET',
6514
6518
  url: '/api/e-donusum/params-companies/set-default-xslts',
6515
6519
  }, { apiName: this.apiName });
6520
+ this.setDefaultNoteRules = () => this.restService.request({
6521
+ method: 'GET',
6522
+ url: '/api/e-donusum/params-companies/set-default-note-rules',
6523
+ }, { apiName: this.apiName });
6516
6524
  }
6517
6525
  }
6518
6526
  HitParamsCompaniesService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.3.0", ngImport: i0, type: HitParamsCompaniesService, deps: [{ token: i1.RestService }], target: i0.ɵɵFactoryTarget.Injectable });