@veloceapps/api 8.0.0-50 → 8.0.0-52

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.
@@ -9,7 +9,7 @@ import { map, catchError, tap, switchMap, defaultIfEmpty } from 'rxjs/operators'
9
9
  import * as i2 from 'primeng/api';
10
10
  import { CurrencyPipe } from '@angular/common';
11
11
  import * as _ from 'lodash';
12
- import { omit } from 'lodash';
12
+ import { omit, uniqueId } from 'lodash';
13
13
  import moment from 'moment';
14
14
 
15
15
  class AccountApiService {
@@ -2951,6 +2951,14 @@ class PortalsApiService {
2951
2951
  // });
2952
2952
  };
2953
2953
  }
2954
+ createNewPortal$(body) {
2955
+ return of({ ...body, id: uniqueId() });
2956
+ return this.baseHttpService.api({
2957
+ url: `${this.serviceUrl}`,
2958
+ method: 'post',
2959
+ body,
2960
+ });
2961
+ }
2954
2962
  }
2955
2963
  PortalsApiService.MAX_RESULTS = 60;
2956
2964
  PortalsApiService.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "15.2.9", ngImport: i0, type: PortalsApiService, deps: [{ token: i1.BaseHttpService }], target: i0.ɵɵFactoryTarget.Injectable });