@rolatech/angular-services 19.0.0-beta.9 → 20.0.0-beta.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.
Files changed (36) hide show
  1. package/fesm2022/rolatech-angular-services.mjs +1317 -77
  2. package/fesm2022/rolatech-angular-services.mjs.map +1 -1
  3. package/index.d.ts +660 -7
  4. package/package.json +8 -8
  5. package/themes/_default.scss +1 -1
  6. package/lib/components/dialog/dialog.component.d.ts +0 -18
  7. package/lib/directive/back-button.directive.d.ts +0 -9
  8. package/lib/directive/index.d.ts +0 -3
  9. package/lib/interceptor/index.d.ts +0 -1
  10. package/lib/interceptor/loading.interceptor.d.ts +0 -12
  11. package/lib/interfaces/dialog.interface.d.ts +0 -18
  12. package/lib/interfaces/index.d.ts +0 -1
  13. package/lib/services/base.service.d.ts +0 -20
  14. package/lib/services/breadcrumb.service.d.ts +0 -15
  15. package/lib/services/cart.service.d.ts +0 -23
  16. package/lib/services/dialog.service.d.ts +0 -14
  17. package/lib/services/fulfillment.service.d.ts +0 -10
  18. package/lib/services/index.d.ts +0 -23
  19. package/lib/services/inventory.service.d.ts +0 -31
  20. package/lib/services/layout.service.d.ts +0 -10
  21. package/lib/services/loading.service.d.ts +0 -14
  22. package/lib/services/media.service.d.ts +0 -17
  23. package/lib/services/navigation.service.d.ts +0 -15
  24. package/lib/services/notification-template.service.d.ts +0 -14
  25. package/lib/services/notification.service.d.ts +0 -19
  26. package/lib/services/order.service.d.ts +0 -23
  27. package/lib/services/post.service.d.ts +0 -11
  28. package/lib/services/product-category.service.d.ts +0 -12
  29. package/lib/services/product.service.d.ts +0 -41
  30. package/lib/services/sidenav.service.d.ts +0 -19
  31. package/lib/services/snack-bar.service.d.ts +0 -9
  32. package/lib/services/support.service.d.ts +0 -19
  33. package/lib/services/theme.service.d.ts +0 -11
  34. package/lib/services/title.service.d.ts +0 -10
  35. package/lib/state/notification.store.d.ts +0 -8
  36. package/provider.d.ts +0 -2
@@ -73,12 +73,12 @@ class DialogComponent {
73
73
  confirm() {
74
74
  this.close(this.result || true);
75
75
  }
76
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: DialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
77
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "19.2.2", type: DialogComponent, isStandalone: true, selector: "rolatech-dialog", host: { listeners: { "keydown.esc": "onEsc()" } }, viewQueries: [{ propertyName: "componentRef", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, isSignal: true }], ngImport: i0, template: "<div class=\"min-w-[320px]\">\n <h1 class=\"text-xl\" mat-dialog-title>{{ data.title }}</h1>\n <mat-dialog-content>\n <div>\n <p>{{ data.message }}</p>\n <ng-template #container></ng-template>\n <!-- <ng-container #container></ng-container> -->\n </div>\n </mat-dialog-content>\n <div class=\"flex-1\"></div>\n <mat-dialog-actions>\n <button mat-button (click)=\"close()\">{{ data.cancelText ? data.cancelText : 'Cancel' }}</button>\n <button mat-flat-button class=\"w-20\" (click)=\"confirm()\">{{ data.confirmText ? data.confirmText : 'Ok' }}</button>\n </mat-dialog-actions>\n <!-- <div class=\"flex justify-end items-center p-2 gap-3\">\n <a mat-button (click)=\"cancel()\">{{ data.cancelText ? data.cancelText : 'Cancel' }}</a>\n <a mat-flat-button class=\"w-20\" (click)=\"confirm()\">{{ data.confirmText ? data.confirmText : 'Ok' }}</a>\n </div> -->\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatButton, selector: " button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button] ", exportAs: ["matButton"] }, { kind: "directive", type: MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }] });
76
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: DialogComponent, deps: [], target: i0.ɵɵFactoryTarget.Component });
77
+ static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "17.2.0", version: "20.0.3", type: DialogComponent, isStandalone: true, selector: "rolatech-dialog", host: { listeners: { "keydown.esc": "onEsc()" } }, viewQueries: [{ propertyName: "componentRef", first: true, predicate: ["container"], descendants: true, read: ViewContainerRef, isSignal: true }], ngImport: i0, template: "<div class=\"min-w-[320px]\">\n <h1 class=\"text-xl\" mat-dialog-title i18n>{{ data.title }}</h1>\n <mat-dialog-content>\n <div>\n <p i18n>{{ data.message }}</p>\n <ng-template #container></ng-template>\n <!-- <ng-container #container></ng-container> -->\n </div>\n </mat-dialog-content>\n <div class=\"flex-1\"></div>\n <mat-dialog-actions>\n <button mat-button (click)=\"close()\" i18n>{{ data.cancelText ? data.cancelText : 'Cancel' }}</button>\n <button mat-flat-button class=\"w-20\" (click)=\"confirm()\" i18n>{{ data.confirmText ? data.confirmText : 'Ok' }}</button>\n </mat-dialog-actions>\n</div>\n", styles: [""], dependencies: [{ kind: "ngmodule", type: MatButtonModule }, { kind: "component", type: i1.MatButton, selector: " button[matButton], a[matButton], button[mat-button], button[mat-raised-button], button[mat-flat-button], button[mat-stroked-button], a[mat-button], a[mat-raised-button], a[mat-flat-button], a[mat-stroked-button] ", inputs: ["matButton"], exportAs: ["matButton", "matAnchor"] }, { kind: "directive", type: MatDialogActions, selector: "[mat-dialog-actions], mat-dialog-actions, [matDialogActions]", inputs: ["align"] }, { kind: "directive", type: MatDialogTitle, selector: "[mat-dialog-title], [matDialogTitle]", inputs: ["id"], exportAs: ["matDialogTitle"] }, { kind: "directive", type: MatDialogContent, selector: "[mat-dialog-content], mat-dialog-content, [matDialogContent]" }] });
78
78
  }
79
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: DialogComponent, decorators: [{
79
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: DialogComponent, decorators: [{
80
80
  type: Component,
81
- args: [{ selector: 'rolatech-dialog', imports: [MatButtonModule, MatDialogActions, MatDialogTitle, MatDialogContent], template: "<div class=\"min-w-[320px]\">\n <h1 class=\"text-xl\" mat-dialog-title>{{ data.title }}</h1>\n <mat-dialog-content>\n <div>\n <p>{{ data.message }}</p>\n <ng-template #container></ng-template>\n <!-- <ng-container #container></ng-container> -->\n </div>\n </mat-dialog-content>\n <div class=\"flex-1\"></div>\n <mat-dialog-actions>\n <button mat-button (click)=\"close()\">{{ data.cancelText ? data.cancelText : 'Cancel' }}</button>\n <button mat-flat-button class=\"w-20\" (click)=\"confirm()\">{{ data.confirmText ? data.confirmText : 'Ok' }}</button>\n </mat-dialog-actions>\n <!-- <div class=\"flex justify-end items-center p-2 gap-3\">\n <a mat-button (click)=\"cancel()\">{{ data.cancelText ? data.cancelText : 'Cancel' }}</a>\n <a mat-flat-button class=\"w-20\" (click)=\"confirm()\">{{ data.confirmText ? data.confirmText : 'Ok' }}</a>\n </div> -->\n</div>\n" }]
81
+ args: [{ selector: 'rolatech-dialog', imports: [MatButtonModule, MatDialogActions, MatDialogTitle, MatDialogContent], template: "<div class=\"min-w-[320px]\">\n <h1 class=\"text-xl\" mat-dialog-title i18n>{{ data.title }}</h1>\n <mat-dialog-content>\n <div>\n <p i18n>{{ data.message }}</p>\n <ng-template #container></ng-template>\n <!-- <ng-container #container></ng-container> -->\n </div>\n </mat-dialog-content>\n <div class=\"flex-1\"></div>\n <mat-dialog-actions>\n <button mat-button (click)=\"close()\" i18n>{{ data.cancelText ? data.cancelText : 'Cancel' }}</button>\n <button mat-flat-button class=\"w-20\" (click)=\"confirm()\" i18n>{{ data.confirmText ? data.confirmText : 'Ok' }}</button>\n </mat-dialog-actions>\n</div>\n" }]
82
82
  }], propDecorators: { onEsc: [{
83
83
  type: HostListener,
84
84
  args: ['keydown.esc']
@@ -132,10 +132,10 @@ class BaseService {
132
132
  withCredentials,
133
133
  });
134
134
  }
135
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: BaseService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
136
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: BaseService, providedIn: 'root' });
135
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: BaseService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
136
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: BaseService, providedIn: 'root' });
137
137
  }
138
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: BaseService, decorators: [{
138
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: BaseService, decorators: [{
139
139
  type: Injectable,
140
140
  args: [{
141
141
  providedIn: 'root',
@@ -307,10 +307,10 @@ class ProductService extends BaseService {
307
307
  withCredentials: true,
308
308
  });
309
309
  }
310
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: ProductService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
311
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: ProductService, providedIn: 'root' });
310
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ProductService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
311
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ProductService, providedIn: 'root' });
312
312
  }
313
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: ProductService, decorators: [{
313
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ProductService, decorators: [{
314
314
  type: Injectable,
315
315
  args: [{
316
316
  providedIn: 'root',
@@ -383,10 +383,10 @@ class CartService extends BaseService {
383
383
  withCredentials: true,
384
384
  });
385
385
  }
386
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: CartService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
387
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: CartService, providedIn: 'root' });
386
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: CartService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
387
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: CartService, providedIn: 'root' });
388
388
  }
389
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: CartService, decorators: [{
389
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: CartService, decorators: [{
390
390
  type: Injectable,
391
391
  args: [{
392
392
  providedIn: 'root',
@@ -429,10 +429,10 @@ class NavigationService {
429
429
  }
430
430
  return '';
431
431
  }
432
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: NavigationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
433
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: NavigationService, providedIn: 'root' });
432
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: NavigationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
433
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: NavigationService, providedIn: 'root' });
434
434
  }
435
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: NavigationService, decorators: [{
435
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: NavigationService, decorators: [{
436
436
  type: Injectable,
437
437
  args: [{
438
438
  providedIn: 'root',
@@ -455,10 +455,10 @@ class DialogService {
455
455
  confirmed() {
456
456
  return this.dialogRef.afterClosed().pipe(take(1), map((res) => res));
457
457
  }
458
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: DialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
459
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: DialogService });
458
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: DialogService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
459
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: DialogService });
460
460
  }
461
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: DialogService, decorators: [{
461
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: DialogService, decorators: [{
462
462
  type: Injectable
463
463
  }] });
464
464
 
@@ -479,10 +479,10 @@ class LoadingService {
479
479
  async dismiss() {
480
480
  this.isLoading = false;
481
481
  }
482
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: LoadingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
483
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: LoadingService, providedIn: 'root' });
482
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: LoadingService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
483
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: LoadingService, providedIn: 'root' });
484
484
  }
485
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: LoadingService, decorators: [{
485
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: LoadingService, decorators: [{
486
486
  type: Injectable,
487
487
  args: [{
488
488
  providedIn: 'root',
@@ -530,10 +530,10 @@ class MediaService extends BaseService {
530
530
  getImageInfo(url) {
531
531
  return this.http.get(`${url}?imageInfo`);
532
532
  }
533
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: MediaService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
534
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: MediaService, providedIn: 'root' });
533
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: MediaService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
534
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: MediaService, providedIn: 'root' });
535
535
  }
536
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: MediaService, decorators: [{
536
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: MediaService, decorators: [{
537
537
  type: Injectable,
538
538
  args: [{
539
539
  providedIn: 'root',
@@ -549,10 +549,10 @@ class LayoutService {
549
549
  .observe([Breakpoints.Small, Breakpoints.HandsetPortrait])
550
550
  .pipe(map$1((result) => result.matches), shareReplay());
551
551
  }
552
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: LayoutService, deps: [{ token: i1$1.BreakpointObserver }], target: i0.ɵɵFactoryTarget.Injectable });
553
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: LayoutService });
552
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: LayoutService, deps: [{ token: i1$1.BreakpointObserver }], target: i0.ɵɵFactoryTarget.Injectable });
553
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: LayoutService });
554
554
  }
555
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: LayoutService, decorators: [{
555
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: LayoutService, decorators: [{
556
556
  type: Injectable
557
557
  }], ctorParameters: () => [{ type: i1$1.BreakpointObserver }] });
558
558
 
@@ -564,10 +564,10 @@ class SnackBarService {
564
564
  dismiss() {
565
565
  this.snackBar.dismiss();
566
566
  }
567
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: SnackBarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
568
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: SnackBarService });
567
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SnackBarService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
568
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SnackBarService });
569
569
  }
570
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: SnackBarService, decorators: [{
570
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SnackBarService, decorators: [{
571
571
  type: Injectable
572
572
  }] });
573
573
 
@@ -632,10 +632,10 @@ class SupportService {
632
632
  withCredentials: true,
633
633
  });
634
634
  }
635
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: SupportService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
636
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: SupportService, providedIn: 'root' });
635
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SupportService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
636
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SupportService, providedIn: 'root' });
637
637
  }
638
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: SupportService, decorators: [{
638
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SupportService, decorators: [{
639
639
  type: Injectable,
640
640
  args: [{
641
641
  providedIn: 'root',
@@ -663,10 +663,10 @@ class BreadcrumbService {
663
663
  relativeTo: route,
664
664
  });
665
665
  }
666
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: BreadcrumbService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
667
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: BreadcrumbService, providedIn: 'root' });
666
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: BreadcrumbService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
667
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: BreadcrumbService, providedIn: 'root' });
668
668
  }
669
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: BreadcrumbService, decorators: [{
669
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: BreadcrumbService, decorators: [{
670
670
  type: Injectable,
671
671
  args: [{
672
672
  providedIn: 'root',
@@ -698,10 +698,10 @@ class SidenavService {
698
698
  this.isCollaped = !this.isMobile && !this.sidenav?.opened;
699
699
  }
700
700
  lists() { }
701
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: SidenavService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
702
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: SidenavService });
701
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SidenavService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
702
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SidenavService });
703
703
  }
704
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: SidenavService, decorators: [{
704
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: SidenavService, decorators: [{
705
705
  type: Injectable
706
706
  }], ctorParameters: () => [] });
707
707
 
@@ -739,10 +739,10 @@ class ThemeService {
739
739
  setDarkTheme(isDarkTheme) {
740
740
  this.darkTheme.next(isDarkTheme);
741
741
  }
742
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: ThemeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
743
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: ThemeService, providedIn: 'root' });
742
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ThemeService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
743
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ThemeService, providedIn: 'root' });
744
744
  }
745
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: ThemeService, decorators: [{
745
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ThemeService, decorators: [{
746
746
  type: Injectable,
747
747
  args: [{
748
748
  providedIn: 'root',
@@ -754,6 +754,11 @@ class OrderService extends BaseService {
754
754
  this.endpoint = 'orders';
755
755
  super.init();
756
756
  }
757
+ createPaymentIntent(id) {
758
+ return this.http.post(`${this.actionUrl}/${id}/create-payment-intent`, {}, {
759
+ withCredentials: true,
760
+ });
761
+ }
757
762
  by(options) {
758
763
  return this.http.get(`${this.actionUrl}/items/by`, {
759
764
  params: options,
@@ -835,10 +840,10 @@ class OrderService extends BaseService {
835
840
  withCredentials: true,
836
841
  });
837
842
  }
838
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: OrderService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
839
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: OrderService, providedIn: 'root' });
843
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: OrderService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
844
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: OrderService, providedIn: 'root' });
840
845
  }
841
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: OrderService, decorators: [{
846
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: OrderService, decorators: [{
842
847
  type: Injectable,
843
848
  args: [{
844
849
  providedIn: 'root',
@@ -920,10 +925,10 @@ class InventoryService extends BaseService {
920
925
  adjustStocksByLocationId(data) {
921
926
  return this.http.put(`${this.actionUrl}/levels/adjust`, data, { withCredentials: true });
922
927
  }
923
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: InventoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
924
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: InventoryService, providedIn: 'root' });
928
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: InventoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
929
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: InventoryService, providedIn: 'root' });
925
930
  }
926
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: InventoryService, decorators: [{
931
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: InventoryService, decorators: [{
927
932
  type: Injectable,
928
933
  args: [{
929
934
  providedIn: 'root',
@@ -935,10 +940,10 @@ class NotificationStore {
935
940
  getCount() {
936
941
  return this.$count.asObservable();
937
942
  }
938
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: NotificationStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
939
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: NotificationStore, providedIn: 'root' });
943
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: NotificationStore, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
944
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: NotificationStore, providedIn: 'root' });
940
945
  }
941
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: NotificationStore, decorators: [{
946
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: NotificationStore, decorators: [{
942
947
  type: Injectable,
943
948
  args: [{
944
949
  providedIn: 'root',
@@ -1010,10 +1015,10 @@ class NotificationService {
1010
1015
  return data;
1011
1016
  }));
1012
1017
  }
1013
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: NotificationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1014
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: NotificationService, providedIn: 'root' });
1018
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: NotificationService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1019
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: NotificationService, providedIn: 'root' });
1015
1020
  }
1016
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: NotificationService, decorators: [{
1021
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: NotificationService, decorators: [{
1017
1022
  type: Injectable,
1018
1023
  args: [{
1019
1024
  providedIn: 'root',
@@ -1045,10 +1050,10 @@ class ProductCategoryService extends BaseService {
1045
1050
  withCredentials: true,
1046
1051
  });
1047
1052
  }
1048
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: ProductCategoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
1049
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: ProductCategoryService, providedIn: 'root' });
1053
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ProductCategoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
1054
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ProductCategoryService, providedIn: 'root' });
1050
1055
  }
1051
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: ProductCategoryService, decorators: [{
1056
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ProductCategoryService, decorators: [{
1052
1057
  type: Injectable,
1053
1058
  args: [{
1054
1059
  providedIn: 'root',
@@ -1090,10 +1095,10 @@ class NotificationTemplateService {
1090
1095
  withCredentials: true,
1091
1096
  });
1092
1097
  }
1093
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: NotificationTemplateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1094
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: NotificationTemplateService, providedIn: 'root' });
1098
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: NotificationTemplateService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1099
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: NotificationTemplateService, providedIn: 'root' });
1095
1100
  }
1096
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: NotificationTemplateService, decorators: [{
1101
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: NotificationTemplateService, decorators: [{
1097
1102
  type: Injectable,
1098
1103
  args: [{
1099
1104
  providedIn: 'root',
@@ -1115,10 +1120,10 @@ class FulfillmentService extends BaseService {
1115
1120
  withCredentials: true,
1116
1121
  });
1117
1122
  }
1118
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: FulfillmentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
1119
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: FulfillmentService, providedIn: 'root' });
1123
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: FulfillmentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
1124
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: FulfillmentService, providedIn: 'root' });
1120
1125
  }
1121
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: FulfillmentService, decorators: [{
1126
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: FulfillmentService, decorators: [{
1122
1127
  type: Injectable,
1123
1128
  args: [{
1124
1129
  providedIn: 'root',
@@ -1134,10 +1139,10 @@ class TitleService {
1134
1139
  setTitle(newTitle) {
1135
1140
  this.titleService.setTitle(`${newTitle} - ${this.environment.name}`);
1136
1141
  }
1137
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: TitleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1138
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: TitleService, providedIn: 'root' });
1142
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: TitleService, deps: [], target: i0.ɵɵFactoryTarget.Injectable });
1143
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: TitleService, providedIn: 'root' });
1139
1144
  }
1140
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: TitleService, decorators: [{
1145
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: TitleService, decorators: [{
1141
1146
  type: Injectable,
1142
1147
  args: [{
1143
1148
  providedIn: 'root',
@@ -1167,10 +1172,1245 @@ class PostService extends BaseService {
1167
1172
  withCredentials: true,
1168
1173
  });
1169
1174
  }
1170
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: PostService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
1171
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: PostService, providedIn: 'root' });
1175
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: PostService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
1176
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: PostService, providedIn: 'root' });
1177
+ }
1178
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: PostService, decorators: [{
1179
+ type: Injectable,
1180
+ args: [{
1181
+ providedIn: 'root',
1182
+ }]
1183
+ }] });
1184
+
1185
+ class OrderPayoutService extends BaseService {
1186
+ init() {
1187
+ this.endpoint = 'orders/payouts';
1188
+ super.init();
1189
+ }
1190
+ me(options) {
1191
+ return this.http.get(`${this.actionUrl}/me`, {
1192
+ params: options,
1193
+ withCredentials: true,
1194
+ });
1195
+ }
1196
+ approve(id) {
1197
+ return this.http.post(`${this.actionUrl}/${id}/approve`, {}, {
1198
+ withCredentials: true,
1199
+ });
1200
+ }
1201
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: OrderPayoutService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
1202
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: OrderPayoutService, providedIn: 'root' });
1203
+ }
1204
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: OrderPayoutService, decorators: [{
1205
+ type: Injectable,
1206
+ args: [{
1207
+ providedIn: 'root',
1208
+ }]
1209
+ }] });
1210
+
1211
+ class ResourceService extends BaseService {
1212
+ init() {
1213
+ this.endpoint = 'resources';
1214
+ super.init();
1215
+ }
1216
+ me(options) {
1217
+ return this.http.get(`${this.actionUrl}/me`, {
1218
+ params: options,
1219
+ withCredentials: true,
1220
+ });
1221
+ }
1222
+ findByIds(ids) {
1223
+ return this.http.get(`${this.actionUrl}/by`, {
1224
+ params: { ids },
1225
+ withCredentials: true,
1226
+ });
1227
+ }
1228
+ filter(options) {
1229
+ return this.http.get(`${this.actionUrl}/search`, {
1230
+ params: options,
1231
+ withCredentials: false,
1232
+ });
1233
+ }
1234
+ updateLocation(id, data) {
1235
+ return this.http.put(`${this.actionUrl}/${id}/location`, data, {
1236
+ withCredentials: true,
1237
+ });
1238
+ }
1239
+ updateAmenities(id, data) {
1240
+ return this.http.put(`${this.actionUrl}/${id}/amenities`, data, {
1241
+ withCredentials: true,
1242
+ });
1243
+ }
1244
+ addDetail(id, data) {
1245
+ return this.http.post(`${this.actionUrl}/${id}/details`, data, {
1246
+ withCredentials: true,
1247
+ });
1248
+ }
1249
+ addBatchDetails(id, data) {
1250
+ return this.http.post(`${this.actionUrl}/${id}/details/batch`, data, {
1251
+ withCredentials: true,
1252
+ });
1253
+ }
1254
+ findDetails(id) {
1255
+ return this.http.get(`${this.actionUrl}/${id}/details`, {
1256
+ withCredentials: true,
1257
+ });
1258
+ }
1259
+ updateDetail(id, detailId, data) {
1260
+ return this.http.put(`${this.actionUrl}/${id}/details/${detailId}`, data, {
1261
+ withCredentials: true,
1262
+ });
1263
+ }
1264
+ deleteDetail(id, detailId) {
1265
+ return this.http.delete(`${this.actionUrl}/${id}/details/${detailId}`, {
1266
+ withCredentials: true,
1267
+ });
1268
+ }
1269
+ uploadDetailMedia(id, detailId, data) {
1270
+ return this.http.post(`${this.actionUrl}/${id}/details/${detailId}/media`, data, {
1271
+ withCredentials: true,
1272
+ });
1273
+ }
1274
+ deleteDetailMedia(id, detailId, mediaId) {
1275
+ return this.http.delete(`${this.actionUrl}/${id}/details/${detailId}/media/${mediaId}`, {
1276
+ withCredentials: true,
1277
+ });
1278
+ }
1279
+ findSessions(id) {
1280
+ return this.http.get(`${this.actionUrl}/${id}/sessions`, {
1281
+ withCredentials: true,
1282
+ });
1283
+ }
1284
+ addSession(id, data) {
1285
+ return this.http.post(`${this.actionUrl}/${id}/sessions`, data, {
1286
+ withCredentials: true,
1287
+ });
1288
+ }
1289
+ updateSession(id, sessionId, data) {
1290
+ return this.http.put(`${this.actionUrl}/${id}/sessions/${sessionId}`, data, {
1291
+ withCredentials: true,
1292
+ });
1293
+ }
1294
+ deleteSession(id, sessionId) {
1295
+ return this.http.delete(`${this.actionUrl}/${id}/sessions/${sessionId}`, {
1296
+ withCredentials: true,
1297
+ });
1298
+ }
1299
+ findPeriods(id) {
1300
+ return this.http.get(`${this.actionUrl}/${id}/periods`, {
1301
+ withCredentials: true,
1302
+ });
1303
+ }
1304
+ addPeriod(id, data) {
1305
+ return this.http.post(`${this.actionUrl}/${id}/periods`, data, {
1306
+ withCredentials: true,
1307
+ });
1308
+ }
1309
+ updatePeriod(id, periodId, data) {
1310
+ return this.http.put(`${this.actionUrl}/${id}/periods/${periodId}`, data, {
1311
+ withCredentials: true,
1312
+ });
1313
+ }
1314
+ deletePeriod(id, periodId) {
1315
+ return this.http.delete(`${this.actionUrl}/${id}/periods/${periodId}`, {
1316
+ withCredentials: true,
1317
+ });
1318
+ }
1319
+ review(id) {
1320
+ return this.http.post(`${this.actionUrl}/${id}/review`, {}, {
1321
+ withCredentials: true,
1322
+ });
1323
+ }
1324
+ publish(id) {
1325
+ return this.http.post(`${this.actionUrl}/${id}/publish`, {}, {
1326
+ withCredentials: true,
1327
+ });
1328
+ }
1329
+ upload(data) {
1330
+ return this.http.post(`${this.actionUrl}/upload`, data, {
1331
+ withCredentials: true,
1332
+ });
1333
+ }
1334
+ uploadMedia(id, data) {
1335
+ return this.http.post(`${this.actionUrl}/${id}/media`, data, {
1336
+ withCredentials: true,
1337
+ });
1338
+ }
1339
+ deleteMedia(id, mediaId) {
1340
+ return this.http.delete(`${this.actionUrl}/${id}/media/${mediaId}`, {
1341
+ withCredentials: true,
1342
+ });
1343
+ }
1344
+ accept(id) {
1345
+ return this.http.post(`${this.actionUrl}/${id}/reviews/accept`, {}, {
1346
+ withCredentials: true,
1347
+ });
1348
+ }
1349
+ reject(id, body) {
1350
+ return this.http.post(`${this.actionUrl}/${id}/reviews/reject`, body, {
1351
+ withCredentials: true,
1352
+ });
1353
+ }
1354
+ findByResourceId(id) {
1355
+ const options = {
1356
+ filter: `resourceId:${id}`,
1357
+ };
1358
+ return this.http.get(`${this.actionUrl}`, {
1359
+ params: options,
1360
+ withCredentials: false,
1361
+ });
1362
+ }
1363
+ findVariantsByResourceId(id) {
1364
+ return this.http.get(`${this.actionUrl}/${id}/variants`, {
1365
+ withCredentials: false,
1366
+ });
1367
+ }
1368
+ addVariants(id, data) {
1369
+ return this.http.post(`${this.actionUrl}/${id}/variants`, data, {
1370
+ withCredentials: true,
1371
+ });
1372
+ }
1373
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ResourceService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
1374
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ResourceService, providedIn: 'root' });
1375
+ }
1376
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ResourceService, decorators: [{
1377
+ type: Injectable,
1378
+ args: [{
1379
+ providedIn: 'root',
1380
+ }]
1381
+ }] });
1382
+
1383
+ class ResourceCategoryService extends BaseService {
1384
+ init() {
1385
+ this.endpoint = 'resources/categories';
1386
+ super.init();
1387
+ }
1388
+ uploadMedia(id, data) {
1389
+ return this.http.post(`${this.actionUrl}/${id}/media`, data, {
1390
+ withCredentials: true,
1391
+ });
1392
+ }
1393
+ deleteMedia(id, mediaId) {
1394
+ return this.http.delete(`${this.actionUrl}/${id}/media/${mediaId}`, {
1395
+ withCredentials: true,
1396
+ });
1397
+ }
1398
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ResourceCategoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
1399
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ResourceCategoryService, providedIn: 'root' });
1400
+ }
1401
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: ResourceCategoryService, decorators: [{
1402
+ type: Injectable,
1403
+ args: [{
1404
+ providedIn: 'root',
1405
+ }]
1406
+ }] });
1407
+
1408
+ class BookingService extends BaseService {
1409
+ init() {
1410
+ this.endpoint = 'bookings';
1411
+ super.init();
1412
+ }
1413
+ by(options) {
1414
+ return this.http.get(`${this.actionUrl}/items/by`, {
1415
+ params: options,
1416
+ withCredentials: true,
1417
+ });
1418
+ }
1419
+ me(options) {
1420
+ return this.http.get(`${this.actionUrl}/me`, {
1421
+ params: options,
1422
+ withCredentials: true,
1423
+ });
1424
+ }
1425
+ timeline(id) {
1426
+ return this.http.get(`${this.actionUrl}/${id}/timeline`, {
1427
+ withCredentials: true,
1428
+ });
1429
+ }
1430
+ items(options) {
1431
+ return this.http.get(`${this.actionUrl}/items`, {
1432
+ params: options,
1433
+ withCredentials: true,
1434
+ });
1435
+ }
1436
+ pay(id) {
1437
+ return this.http.post(`${this.actionUrl}/${id}/pay`, {}, {
1438
+ withCredentials: true,
1439
+ });
1440
+ }
1441
+ refund(id, data) {
1442
+ return this.http.post(`${this.actionUrl}/${id}/items/refund`, data, {
1443
+ withCredentials: true,
1444
+ });
1445
+ }
1446
+ findAllReturns(options) {
1447
+ return this.http.get(`${this.actionUrl}/returns`, {
1448
+ params: options,
1449
+ withCredentials: true,
1450
+ });
1451
+ }
1452
+ getReturn(id) {
1453
+ return this.http.get(`${this.actionUrl}/returns/${id}`, {
1454
+ withCredentials: true,
1455
+ });
1456
+ }
1457
+ returnApprove(id) {
1458
+ return this.http.post(`${this.actionUrl}/returns/${id}/approve`, {}, {
1459
+ withCredentials: true,
1460
+ });
1461
+ }
1462
+ returnReject(id, data) {
1463
+ return this.http.post(`${this.actionUrl}/returns/${id}/reject`, data, {
1464
+ withCredentials: true,
1465
+ });
1466
+ }
1467
+ cancel(id) {
1468
+ return this.http.post(`${this.actionUrl}/${id}/cancel`, {}, {
1469
+ withCredentials: true,
1470
+ });
1471
+ }
1472
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: BookingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
1473
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: BookingService, providedIn: 'root' });
1474
+ }
1475
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: BookingService, decorators: [{
1476
+ type: Injectable,
1477
+ args: [{
1478
+ providedIn: 'root',
1479
+ }]
1480
+ }] });
1481
+
1482
+ class FacilityService extends BaseService {
1483
+ init() {
1484
+ this.endpoint = 'facilities';
1485
+ super.init();
1486
+ }
1487
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: FacilityService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
1488
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: FacilityService, providedIn: 'root' });
1489
+ }
1490
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: FacilityService, decorators: [{
1491
+ type: Injectable,
1492
+ args: [{
1493
+ providedIn: 'root',
1494
+ }]
1495
+ }] });
1496
+
1497
+ class AmenityService extends BaseService {
1498
+ init() {
1499
+ this.endpoint = 'resources/amenities';
1500
+ super.init();
1501
+ }
1502
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AmenityService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
1503
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AmenityService, providedIn: 'root' });
1504
+ }
1505
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: AmenityService, decorators: [{
1506
+ type: Injectable,
1507
+ args: [{
1508
+ providedIn: 'root',
1509
+ }]
1510
+ }] });
1511
+
1512
+ class PropertyService extends BaseService {
1513
+ init() {
1514
+ this.endpoint = 'properties';
1515
+ super.init();
1516
+ }
1517
+ me(options) {
1518
+ return this.http.get(`${this.actionUrl}/me`, {
1519
+ params: options,
1520
+ withCredentials: true,
1521
+ });
1522
+ }
1523
+ findByIds(ids) {
1524
+ const params = { ids: ids.join(',') };
1525
+ return this.http.get(`${this.actionUrl}/by`, {
1526
+ params: params,
1527
+ withCredentials: true,
1528
+ });
1529
+ }
1530
+ publish(propertyId) {
1531
+ return this.http.post(`${this.actionUrl}/${propertyId}/publish`, {}, {
1532
+ withCredentials: true,
1533
+ });
1534
+ }
1535
+ submitForReview(propertyId) {
1536
+ return this.http.post(`${this.actionUrl}/${propertyId}/review`, {}, {
1537
+ withCredentials: true,
1538
+ });
1539
+ }
1540
+ reviewApprove(id) {
1541
+ return this.http.post(`${this.actionUrl}/${id}/reviews/approve`, {}, {
1542
+ withCredentials: true,
1543
+ });
1544
+ }
1545
+ reviewReject(id, data) {
1546
+ return this.http.post(`${this.actionUrl}/${id}/reviews/accept`, data, {
1547
+ withCredentials: true,
1548
+ });
1549
+ }
1550
+ archived(propertyId) {
1551
+ return this.http.post(`${this.actionUrl}/${propertyId}/archived`, {}, {
1552
+ withCredentials: true,
1553
+ });
1554
+ }
1555
+ findWishlist(options) {
1556
+ return this.http.get(`${this.actionUrl}/wishlist`, { params: options, withCredentials: true });
1557
+ }
1558
+ addToWishlist(propertyId) {
1559
+ return this.http.post(`${this.actionUrl}/${propertyId}/wishlist`, {}, { withCredentials: true });
1560
+ }
1561
+ removeFromWishlist(propertyId) {
1562
+ return this.http.delete(`${this.actionUrl}/${propertyId}/wishlist`, { withCredentials: true });
1563
+ }
1564
+ wishListCheck(propertyId) {
1565
+ return this.http.get(`${this.actionUrl}/${propertyId}/wishlist/check`, { withCredentials: true });
1566
+ }
1567
+ findPurchasedByPropertyId(propertyId) {
1568
+ return this.http.get(`${this.actionUrl}/users/me/by?propertyId=${propertyId}`, {
1569
+ withCredentials: true,
1570
+ });
1571
+ }
1572
+ // Media
1573
+ uploadMedia(propertyId, data) {
1574
+ return this.http.post(`${this.actionUrl}/${propertyId}/media`, data, {
1575
+ withCredentials: true,
1576
+ });
1577
+ }
1578
+ deleteMedia(id, mediaId) {
1579
+ return this.http.delete(`${this.actionUrl}/${id}/media/${mediaId}`, {
1580
+ withCredentials: true,
1581
+ });
1582
+ }
1583
+ // Pricing
1584
+ addPricing(propertyId, data) {
1585
+ return this.http.post(`${this.actionUrl}/${propertyId}/pricing`, data, {
1586
+ withCredentials: true,
1587
+ });
1588
+ }
1589
+ updatePricing(pricingId, data) {
1590
+ return this.http.put(`${this.actionUrl}/pricing/${pricingId}`, data, {
1591
+ withCredentials: true,
1592
+ });
1593
+ }
1594
+ deletePricing(pricingId) {
1595
+ return this.http.delete(`${this.actionUrl}/pricing/${pricingId}`, {
1596
+ withCredentials: true,
1597
+ });
1598
+ }
1599
+ // Section
1600
+ addSection(propertyId, data) {
1601
+ return this.http.post(`${this.actionUrl}/${propertyId}/sections`, data, {
1602
+ withCredentials: true,
1603
+ });
1604
+ }
1605
+ addBatchSections(propertyId, data) {
1606
+ return this.http.post(`${this.actionUrl}/${propertyId}/sections/batch`, data, {
1607
+ withCredentials: true,
1608
+ });
1609
+ }
1610
+ findSections(propertyId) {
1611
+ return this.http.get(`${this.actionUrl}/${propertyId}/sections`, {
1612
+ withCredentials: true,
1613
+ });
1614
+ }
1615
+ updateSection(sectionId, data) {
1616
+ return this.http.put(`${this.actionUrl}/sections/${sectionId}`, data, {
1617
+ withCredentials: true,
1618
+ });
1619
+ }
1620
+ deleteSection(sectionId) {
1621
+ return this.http.delete(`${this.actionUrl}/sections/${sectionId}`, {
1622
+ withCredentials: true,
1623
+ });
1624
+ }
1625
+ uploadSectionMedia(sectionId, data) {
1626
+ return this.http.post(`${this.actionUrl}/sections/${sectionId}/media`, data, {
1627
+ withCredentials: true,
1628
+ });
1629
+ }
1630
+ deleteSectionMedia(sectionId, mediaId) {
1631
+ return this.http.delete(`${this.actionUrl}/sections/${sectionId}/media/${mediaId}`, {
1632
+ withCredentials: true,
1633
+ });
1634
+ }
1635
+ addOption(propertyId, data) {
1636
+ return this.http.post(`${this.actionUrl}/${propertyId}/options`, data, {
1637
+ withCredentials: true,
1638
+ });
1639
+ }
1640
+ findOptions(propertyId) {
1641
+ return this.http.get(`${this.actionUrl}/${propertyId}/options`);
1642
+ }
1643
+ updateOption(optionId, data) {
1644
+ return this.http.put(`${this.actionUrl}/options/${optionId}`, data, {
1645
+ withCredentials: true,
1646
+ });
1647
+ }
1648
+ deleteOption(optionId) {
1649
+ return this.http.delete(`${this.actionUrl}/options/${optionId}`, {
1650
+ withCredentials: true,
1651
+ });
1652
+ }
1653
+ // variants
1654
+ updateVariantPrice(propertyId, status) {
1655
+ return this.http.put(`${this.actionUrl}/${propertyId}/variants/by?status=${status}`, {}, {
1656
+ withCredentials: true,
1657
+ });
1658
+ }
1659
+ createVariants(propertyId, data) {
1660
+ return this.http.post(`${this.actionUrl}/${propertyId}/variants`, data, {
1661
+ withCredentials: true,
1662
+ });
1663
+ }
1664
+ getVariant(variantId) {
1665
+ return this.http.get(`${this.actionUrl}/variants/${variantId}`);
1666
+ }
1667
+ findVariants(propertyId) {
1668
+ return this.http.get(`${this.actionUrl}/${propertyId}/variants`);
1669
+ }
1670
+ findVariantsByIds(ids) {
1671
+ const params = { ids: ids.join(',') };
1672
+ return this.http.get(`${this.actionUrl}/variants/by`, {
1673
+ params: params,
1674
+ withCredentials: true,
1675
+ });
1676
+ }
1677
+ updateVariants(propertyId, data) {
1678
+ return this.http.put(`${this.actionUrl}/${propertyId}/variants`, data, {
1679
+ withCredentials: true,
1680
+ });
1681
+ }
1682
+ uploadVariantMedia(variantId, data) {
1683
+ return this.http.post(`${this.actionUrl}/variants/${variantId}/media`, data, {
1684
+ withCredentials: true,
1685
+ });
1686
+ }
1687
+ deleteVariantMedia(variantId, mediaId) {
1688
+ return this.http.delete(`${this.actionUrl}/variants/${variantId}/media/${mediaId}`, {
1689
+ withCredentials: true,
1690
+ });
1691
+ }
1692
+ findViewingsByUser(options) {
1693
+ return this.http
1694
+ .get(`${this.actionUrl}/viewings/by/user`, {
1695
+ params: options,
1696
+ withCredentials: true,
1697
+ })
1698
+ .pipe(switchMap((res) => {
1699
+ const propertyIds = _.uniq(_.map(res.data, 'propertyId')); // [12, 14, 16, 18]
1700
+ return this.findPropertiesByIds(propertyIds).pipe(map((properties) => {
1701
+ res.data?.forEach((item) => {
1702
+ const matchingProperty = _.find(properties.data, { id: item.propertyId });
1703
+ item.property = matchingProperty;
1704
+ });
1705
+ return res;
1706
+ }));
1707
+ }));
1708
+ }
1709
+ findViewingsByAgent(options) {
1710
+ return this.http
1711
+ .get(`${this.actionUrl}/viewings/by/agent`, {
1712
+ params: options,
1713
+ withCredentials: true,
1714
+ })
1715
+ .pipe(switchMap((res) => {
1716
+ const propertyIds = _.uniq(_.map(res.data, 'propertyId')); // [12, 14, 16, 18]
1717
+ return this.findPropertiesByIds(propertyIds).pipe(map((properties) => {
1718
+ res.data?.forEach((item) => {
1719
+ const matchingProperty = _.find(properties.data, { id: item.propertyId });
1720
+ item.property = matchingProperty;
1721
+ });
1722
+ return res;
1723
+ }));
1724
+ }));
1725
+ }
1726
+ requestViewing(propertyId, data) {
1727
+ return this.http.post(`${this.actionUrl}/${propertyId}/viewings`, data, {
1728
+ withCredentials: true,
1729
+ });
1730
+ }
1731
+ confirmViewing(viewingId, slotId) {
1732
+ return this.http.post(`${this.actionUrl}/viewings/${viewingId}/confirm?slotId=${slotId}`, {}, {
1733
+ withCredentials: true,
1734
+ });
1735
+ }
1736
+ getViewing(viewingId) {
1737
+ return this.http.get(`${this.actionUrl}/viewings/${viewingId}`, { withCredentials: true });
1738
+ }
1739
+ cancelViewing(id) {
1740
+ return this.http.post(`${this.actionUrl}/viewings/${id}/cancel`, {}, {
1741
+ withCredentials: true,
1742
+ });
1743
+ }
1744
+ makeOffer(propertyId, data) {
1745
+ return this.http.post(`${this.actionUrl}/${propertyId}/offers`, data, {
1746
+ withCredentials: true,
1747
+ });
1748
+ }
1749
+ findOffers(options) {
1750
+ return this.http
1751
+ .get(`${this.actionUrl}/offers`, {
1752
+ params: options,
1753
+ withCredentials: true,
1754
+ })
1755
+ .pipe(switchMap((res) => {
1756
+ const propertyIds = _.uniq(_.map(res.data, 'propertyId')); // [12, 14, 16, 18]
1757
+ return this.findPropertiesByIds(propertyIds).pipe(map((properties) => {
1758
+ res.data?.forEach((item) => {
1759
+ const matchingUser = _.find(properties.data, { id: item.propertyId });
1760
+ item.property = matchingUser;
1761
+ });
1762
+ return res;
1763
+ }));
1764
+ }));
1765
+ }
1766
+ findOffersByUser(options) {
1767
+ return this.http
1768
+ .get(`${this.actionUrl}/offers/by/user`, {
1769
+ params: options,
1770
+ withCredentials: true,
1771
+ })
1772
+ .pipe(switchMap((res) => {
1773
+ const propertyIds = _.uniq(_.map(res.data, 'propertyId')); // [12, 14, 16, 18]
1774
+ return this.findPropertiesByIds(propertyIds).pipe(map((properties) => {
1775
+ res.data?.forEach((item) => {
1776
+ const matchingUser = _.find(properties.data, { id: item.propertyId });
1777
+ item.property = matchingUser;
1778
+ });
1779
+ return res;
1780
+ }));
1781
+ }));
1782
+ }
1783
+ findOffersByAgent(options) {
1784
+ return this.http
1785
+ .get(`${this.actionUrl}/offers/by/agent`, {
1786
+ params: options,
1787
+ withCredentials: true,
1788
+ })
1789
+ .pipe(switchMap((res) => {
1790
+ const propertyIds = _.uniq(_.map(res.data, 'propertyId')); // [12, 14, 16, 18]
1791
+ return this.findPropertiesByIds(propertyIds).pipe(map((properties) => {
1792
+ res.data?.forEach((item) => {
1793
+ const matchingUser = _.find(properties.data, { id: item.propertyId });
1794
+ item.property = matchingUser;
1795
+ });
1796
+ return res;
1797
+ }));
1798
+ }));
1799
+ }
1800
+ findPropertiesByIds(ids) {
1801
+ const params = { ids: ids.join(',') };
1802
+ return this.http.get(`${this.actionUrl}`, {
1803
+ params: params,
1804
+ });
1805
+ }
1806
+ getOffer(offerId) {
1807
+ return this.http.get(`${this.actionUrl}/offers/${offerId}`, { withCredentials: true });
1808
+ }
1809
+ cancelOffer(id) {
1810
+ return this.http.post(`${this.actionUrl}/offers/${id}/cancel`, {}, {
1811
+ withCredentials: true,
1812
+ });
1813
+ }
1814
+ acceptOffer(id) {
1815
+ return this.http.put(`${this.actionUrl}/offers/${id}/accept`, {}, {
1816
+ withCredentials: true,
1817
+ });
1818
+ }
1819
+ rejectOffer(id, data) {
1820
+ return this.http.put(`${this.actionUrl}/offers/${id}/reject`, data, {
1821
+ withCredentials: true,
1822
+ });
1823
+ }
1824
+ createHoldingDepositCheckout(offerId, data) {
1825
+ return this.http.post(`${this.actionUrl}/offers/${offerId}/pay/holding-deposit`, data, {
1826
+ withCredentials: true,
1827
+ });
1828
+ }
1829
+ createSecurityDepositCheckout(offerId, data) {
1830
+ return this.http.post(`${this.actionUrl}/offers/${offerId}/pay/security-deposit`, data, {
1831
+ withCredentials: true,
1832
+ });
1833
+ }
1834
+ checkOfferPaymentStatus(offerId, sessionId) {
1835
+ const options = {
1836
+ sessionId,
1837
+ };
1838
+ return this.http.get(`${this.actionUrl}/offers/${offerId}/session`, { params: options, withCredentials: true });
1839
+ }
1840
+ offerTimeline(offerId) {
1841
+ return this.http.get(`${this.actionUrl}/offers/${offerId}/timeline`, {
1842
+ withCredentials: true,
1843
+ });
1844
+ }
1845
+ findFeatures(id) {
1846
+ return this.http.get(`${this.actionUrl}/${id}/features`, { withCredentials: false });
1847
+ }
1848
+ updateFeatures(id, data) {
1849
+ return this.http.post(`${this.actionUrl}/${id}/features`, data, { withCredentials: true });
1850
+ }
1851
+ updateLocation(id, data) {
1852
+ return this.http.post(`${this.actionUrl}/${id}/location`, data, { withCredentials: true });
1853
+ }
1854
+ // Video tour
1855
+ getVideoTour(id) {
1856
+ return this.http.get(`${this.actionUrl}/${id}/video-tour`, { withCredentials: true });
1857
+ }
1858
+ addVideoTour(id, data) {
1859
+ return this.http.post(`${this.actionUrl}/${id}/video-tour`, data, { withCredentials: true });
1860
+ }
1861
+ updateVideoTour(id, data) {
1862
+ return this.http.put(`${this.actionUrl}/${id}/video-tour`, data, { withCredentials: true });
1863
+ }
1864
+ deleteVideoTour(id, videoTourId, y) {
1865
+ return this.http.delete(`${this.actionUrl}/${id}/video-tour/${videoTourId}`, { withCredentials: true });
1866
+ }
1867
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: PropertyService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
1868
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: PropertyService, providedIn: 'root' });
1869
+ }
1870
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: PropertyService, decorators: [{
1871
+ type: Injectable,
1872
+ args: [{
1873
+ providedIn: 'root',
1874
+ }]
1875
+ }] });
1876
+
1877
+ class FeatureService extends BaseService {
1878
+ init() {
1879
+ this.endpoint = 'properties/features';
1880
+ super.init();
1881
+ }
1882
+ addFeature(data) {
1883
+ return this.http.post(`${this.actionUrl}`, data, {
1884
+ withCredentials: true,
1885
+ });
1886
+ }
1887
+ updateFeature(featureId, data) {
1888
+ return this.http.put(`${this.actionUrl}/${featureId}`, data, {
1889
+ withCredentials: true,
1890
+ });
1891
+ }
1892
+ deleteFeature(featureId) {
1893
+ return this.http.delete(`${this.actionUrl}/${featureId}`, {
1894
+ withCredentials: true,
1895
+ });
1896
+ }
1897
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: FeatureService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
1898
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: FeatureService, providedIn: 'root' });
1899
+ }
1900
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: FeatureService, decorators: [{
1901
+ type: Injectable,
1902
+ args: [{
1903
+ providedIn: 'root',
1904
+ }]
1905
+ }] });
1906
+
1907
+ class PaymentService extends BaseService {
1908
+ init() {
1909
+ this.endpoint = 'payments';
1910
+ super.init();
1911
+ }
1912
+ createPaymentIntent(data) {
1913
+ return this.http.post(`${this.actionUrl}/intents`, data, {
1914
+ withCredentials: true,
1915
+ });
1916
+ }
1917
+ createPayment(data) {
1918
+ return this.http.post(`${this.actionUrl}`, data, {
1919
+ withCredentials: true,
1920
+ });
1921
+ }
1922
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: PaymentService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
1923
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: PaymentService, providedIn: 'root' });
1924
+ }
1925
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: PaymentService, decorators: [{
1926
+ type: Injectable,
1927
+ args: [{
1928
+ providedIn: 'root',
1929
+ }]
1930
+ }] });
1931
+
1932
+ class OfferingService extends BaseService {
1933
+ init() {
1934
+ this.endpoint = 'offerings';
1935
+ super.init();
1936
+ }
1937
+ me(options) {
1938
+ return this.http.get(`${this.actionUrl}/me`, {
1939
+ params: options,
1940
+ withCredentials: true,
1941
+ });
1942
+ }
1943
+ findByIds(ids) {
1944
+ const params = { ids: ids.join(',') };
1945
+ return this.http.get(`${this.actionUrl}/by`, {
1946
+ params: params,
1947
+ withCredentials: true,
1948
+ });
1949
+ }
1950
+ publish(propertyId) {
1951
+ return this.http.post(`${this.actionUrl}/${propertyId}/publish`, {}, {
1952
+ withCredentials: true,
1953
+ });
1954
+ }
1955
+ submitForReview(propertyId) {
1956
+ return this.http.post(`${this.actionUrl}/${propertyId}/review`, {}, {
1957
+ withCredentials: true,
1958
+ });
1959
+ }
1960
+ reviewApprove(id) {
1961
+ return this.http.post(`${this.actionUrl}/${id}/reviews/approve`, {}, {
1962
+ withCredentials: true,
1963
+ });
1964
+ }
1965
+ reviewReject(id, data) {
1966
+ return this.http.post(`${this.actionUrl}/${id}/reviews/accept`, data, {
1967
+ withCredentials: true,
1968
+ });
1969
+ }
1970
+ archived(propertyId) {
1971
+ return this.http.post(`${this.actionUrl}/${propertyId}/archived`, {}, {
1972
+ withCredentials: true,
1973
+ });
1974
+ }
1975
+ findWishlist(options) {
1976
+ return this.http.get(`${this.actionUrl}/wishlist`, { params: options, withCredentials: true });
1977
+ }
1978
+ addToWishlist(propertyId) {
1979
+ return this.http.post(`${this.actionUrl}/${propertyId}/wishlist`, {}, { withCredentials: true });
1980
+ }
1981
+ removeFromWishlist(propertyId) {
1982
+ return this.http.delete(`${this.actionUrl}/${propertyId}/wishlist`, { withCredentials: true });
1983
+ }
1984
+ wishListCheck(propertyId) {
1985
+ return this.http.get(`${this.actionUrl}/${propertyId}/wishlist/check`, { withCredentials: true });
1986
+ }
1987
+ findPurchasedByPropertyId(propertyId) {
1988
+ return this.http.get(`${this.actionUrl}/users/me/by?propertyId=${propertyId}`, {
1989
+ withCredentials: true,
1990
+ });
1991
+ }
1992
+ // Media
1993
+ uploadMedia(propertyId, data) {
1994
+ return this.http.post(`${this.actionUrl}/${propertyId}/media`, data, {
1995
+ withCredentials: true,
1996
+ });
1997
+ }
1998
+ deleteMedia(id, mediaId) {
1999
+ return this.http.delete(`${this.actionUrl}/${id}/media/${mediaId}`, {
2000
+ withCredentials: true,
2001
+ });
2002
+ }
2003
+ // Pricing
2004
+ addPricing(propertyId, data) {
2005
+ return this.http.post(`${this.actionUrl}/${propertyId}/pricing`, data, {
2006
+ withCredentials: true,
2007
+ });
2008
+ }
2009
+ updatePricing(pricingId, data) {
2010
+ return this.http.put(`${this.actionUrl}/pricing/${pricingId}`, data, {
2011
+ withCredentials: true,
2012
+ });
2013
+ }
2014
+ deletePricing(pricingId) {
2015
+ return this.http.delete(`${this.actionUrl}/pricing/${pricingId}`, {
2016
+ withCredentials: true,
2017
+ });
2018
+ }
2019
+ // Section
2020
+ addSection(propertyId, data) {
2021
+ return this.http.post(`${this.actionUrl}/${propertyId}/sections`, data, {
2022
+ withCredentials: true,
2023
+ });
2024
+ }
2025
+ addBatchSections(propertyId, data) {
2026
+ return this.http.post(`${this.actionUrl}/${propertyId}/sections/batch`, data, {
2027
+ withCredentials: true,
2028
+ });
2029
+ }
2030
+ findSections(propertyId) {
2031
+ return this.http.get(`${this.actionUrl}/${propertyId}/sections`, {
2032
+ withCredentials: true,
2033
+ });
2034
+ }
2035
+ updateSection(sectionId, data) {
2036
+ return this.http.put(`${this.actionUrl}/sections/${sectionId}`, data, {
2037
+ withCredentials: true,
2038
+ });
2039
+ }
2040
+ deleteSection(sectionId) {
2041
+ return this.http.delete(`${this.actionUrl}/sections/${sectionId}`, {
2042
+ withCredentials: true,
2043
+ });
2044
+ }
2045
+ uploadSectionMedia(sectionId, data) {
2046
+ return this.http.post(`${this.actionUrl}/sections/${sectionId}/media`, data, {
2047
+ withCredentials: true,
2048
+ });
2049
+ }
2050
+ deleteSectionMedia(sectionId, mediaId) {
2051
+ return this.http.delete(`${this.actionUrl}/sections/${sectionId}/media/${mediaId}`, {
2052
+ withCredentials: true,
2053
+ });
2054
+ }
2055
+ addOption(propertyId, data) {
2056
+ return this.http.post(`${this.actionUrl}/${propertyId}/options`, data, {
2057
+ withCredentials: true,
2058
+ });
2059
+ }
2060
+ findOptions(propertyId) {
2061
+ return this.http.get(`${this.actionUrl}/${propertyId}/options`);
2062
+ }
2063
+ updateOption(optionId, data) {
2064
+ return this.http.put(`${this.actionUrl}/options/${optionId}`, data, {
2065
+ withCredentials: true,
2066
+ });
2067
+ }
2068
+ deleteOption(optionId) {
2069
+ return this.http.delete(`${this.actionUrl}/options/${optionId}`, {
2070
+ withCredentials: true,
2071
+ });
2072
+ }
2073
+ // variants
2074
+ updateVariantPrice(propertyId, status) {
2075
+ return this.http.put(`${this.actionUrl}/${propertyId}/variants/by?status=${status}`, {}, {
2076
+ withCredentials: true,
2077
+ });
2078
+ }
2079
+ createVariants(propertyId, data) {
2080
+ return this.http.post(`${this.actionUrl}/${propertyId}/variants`, data, {
2081
+ withCredentials: true,
2082
+ });
2083
+ }
2084
+ getVariant(variantId) {
2085
+ return this.http.get(`${this.actionUrl}/variants/${variantId}`);
2086
+ }
2087
+ findVariants(propertyId) {
2088
+ return this.http.get(`${this.actionUrl}/${propertyId}/variants`);
2089
+ }
2090
+ findVariantsByIds(ids) {
2091
+ const params = { ids: ids.join(',') };
2092
+ return this.http.get(`${this.actionUrl}/variants/by`, {
2093
+ params: params,
2094
+ withCredentials: true,
2095
+ });
2096
+ }
2097
+ updateVariants(propertyId, data) {
2098
+ return this.http.put(`${this.actionUrl}/${propertyId}/variants`, data, {
2099
+ withCredentials: true,
2100
+ });
2101
+ }
2102
+ uploadVariantMedia(variantId, data) {
2103
+ return this.http.post(`${this.actionUrl}/variants/${variantId}/media`, data, {
2104
+ withCredentials: true,
2105
+ });
2106
+ }
2107
+ deleteVariantMedia(variantId, mediaId) {
2108
+ return this.http.delete(`${this.actionUrl}/variants/${variantId}/media/${mediaId}`, {
2109
+ withCredentials: true,
2110
+ });
2111
+ }
2112
+ findViewingsByUser(options) {
2113
+ return this.http
2114
+ .get(`${this.actionUrl}/viewings/by/user`, {
2115
+ params: options,
2116
+ withCredentials: true,
2117
+ })
2118
+ .pipe(switchMap((res) => {
2119
+ const propertyIds = _.uniq(_.map(res.data, 'propertyId')); // [12, 14, 16, 18]
2120
+ return this.findPropertiesByIds(propertyIds).pipe(map((properties) => {
2121
+ res.data?.forEach((item) => {
2122
+ const matchingProperty = _.find(properties.data, { id: item.propertyId });
2123
+ item.property = matchingProperty;
2124
+ });
2125
+ return res;
2126
+ }));
2127
+ }));
2128
+ }
2129
+ findViewingsByAgent(options) {
2130
+ return this.http
2131
+ .get(`${this.actionUrl}/viewings/by/agent`, {
2132
+ params: options,
2133
+ withCredentials: true,
2134
+ })
2135
+ .pipe(switchMap((res) => {
2136
+ const propertyIds = _.uniq(_.map(res.data, 'propertyId')); // [12, 14, 16, 18]
2137
+ return this.findPropertiesByIds(propertyIds).pipe(map((properties) => {
2138
+ res.data?.forEach((item) => {
2139
+ const matchingProperty = _.find(properties.data, { id: item.propertyId });
2140
+ item.property = matchingProperty;
2141
+ });
2142
+ return res;
2143
+ }));
2144
+ }));
2145
+ }
2146
+ requestViewing(propertyId, data) {
2147
+ return this.http.post(`${this.actionUrl}/${propertyId}/viewings`, data, {
2148
+ withCredentials: true,
2149
+ });
2150
+ }
2151
+ confirmViewing(viewingId, slotId) {
2152
+ return this.http.post(`${this.actionUrl}/viewings/${viewingId}/confirm?slotId=${slotId}`, {}, {
2153
+ withCredentials: true,
2154
+ });
2155
+ }
2156
+ getViewing(viewingId) {
2157
+ return this.http.get(`${this.actionUrl}/viewings/${viewingId}`, { withCredentials: true });
2158
+ }
2159
+ cancelViewing(id) {
2160
+ return this.http.post(`${this.actionUrl}/viewings/${id}/cancel`, {}, {
2161
+ withCredentials: true,
2162
+ });
2163
+ }
2164
+ makeOffer(propertyId, data) {
2165
+ return this.http.post(`${this.actionUrl}/${propertyId}/offers`, data, {
2166
+ withCredentials: true,
2167
+ });
2168
+ }
2169
+ findOffers(options) {
2170
+ return this.http
2171
+ .get(`${this.actionUrl}/offers`, {
2172
+ params: options,
2173
+ withCredentials: true,
2174
+ })
2175
+ .pipe(switchMap((res) => {
2176
+ const propertyIds = _.uniq(_.map(res.data, 'propertyId')); // [12, 14, 16, 18]
2177
+ return this.findPropertiesByIds(propertyIds).pipe(map((properties) => {
2178
+ res.data?.forEach((item) => {
2179
+ const matchingUser = _.find(properties.data, { id: item.propertyId });
2180
+ item.property = matchingUser;
2181
+ });
2182
+ return res;
2183
+ }));
2184
+ }));
2185
+ }
2186
+ findOffersByUser(options) {
2187
+ return this.http
2188
+ .get(`${this.actionUrl}/offers/by/user`, {
2189
+ params: options,
2190
+ withCredentials: true,
2191
+ })
2192
+ .pipe(switchMap((res) => {
2193
+ const propertyIds = _.uniq(_.map(res.data, 'propertyId')); // [12, 14, 16, 18]
2194
+ return this.findPropertiesByIds(propertyIds).pipe(map((properties) => {
2195
+ res.data?.forEach((item) => {
2196
+ const matchingUser = _.find(properties.data, { id: item.propertyId });
2197
+ item.property = matchingUser;
2198
+ });
2199
+ return res;
2200
+ }));
2201
+ }));
2202
+ }
2203
+ findOffersByAgent(options) {
2204
+ return this.http
2205
+ .get(`${this.actionUrl}/offers/by/agent`, {
2206
+ params: options,
2207
+ withCredentials: true,
2208
+ })
2209
+ .pipe(switchMap((res) => {
2210
+ const propertyIds = _.uniq(_.map(res.data, 'propertyId')); // [12, 14, 16, 18]
2211
+ return this.findPropertiesByIds(propertyIds).pipe(map((properties) => {
2212
+ res.data?.forEach((item) => {
2213
+ const matchingUser = _.find(properties.data, { id: item.propertyId });
2214
+ item.property = matchingUser;
2215
+ });
2216
+ return res;
2217
+ }));
2218
+ }));
2219
+ }
2220
+ findPropertiesByIds(ids) {
2221
+ const params = { ids: ids.join(',') };
2222
+ return this.http.get(`${this.actionUrl}`, {
2223
+ params: params,
2224
+ });
2225
+ }
2226
+ getOffer(offerId) {
2227
+ return this.http.get(`${this.actionUrl}/offers/${offerId}`, { withCredentials: true });
2228
+ }
2229
+ cancelOffer(id) {
2230
+ return this.http.post(`${this.actionUrl}/offers/${id}/cancel`, {}, {
2231
+ withCredentials: true,
2232
+ });
2233
+ }
2234
+ acceptOffer(id) {
2235
+ return this.http.put(`${this.actionUrl}/offers/${id}/accept`, {}, {
2236
+ withCredentials: true,
2237
+ });
2238
+ }
2239
+ rejectOffer(id, data) {
2240
+ return this.http.put(`${this.actionUrl}/offers/${id}/reject`, data, {
2241
+ withCredentials: true,
2242
+ });
2243
+ }
2244
+ createHoldingDepositCheckout(offerId, data) {
2245
+ return this.http.post(`${this.actionUrl}/offers/${offerId}/pay/holding-deposit`, data, {
2246
+ withCredentials: true,
2247
+ });
2248
+ }
2249
+ createSecurityDepositCheckout(offerId, data) {
2250
+ return this.http.post(`${this.actionUrl}/offers/${offerId}/pay/security-deposit`, data, {
2251
+ withCredentials: true,
2252
+ });
2253
+ }
2254
+ checkOfferPaymentStatus(offerId, sessionId) {
2255
+ const options = {
2256
+ sessionId,
2257
+ };
2258
+ return this.http.get(`${this.actionUrl}/offers/${offerId}/session`, { params: options, withCredentials: true });
2259
+ }
2260
+ offerTimeline(offerId) {
2261
+ return this.http.get(`${this.actionUrl}/offers/${offerId}/timeline`, {
2262
+ withCredentials: true,
2263
+ });
2264
+ }
2265
+ findFeatures(id) {
2266
+ return this.http.get(`${this.actionUrl}/${id}/features`, { withCredentials: false });
2267
+ }
2268
+ updateFeatures(id, data) {
2269
+ return this.http.post(`${this.actionUrl}/${id}/features`, data, { withCredentials: true });
2270
+ }
2271
+ updateLocation(id, data) {
2272
+ return this.http.post(`${this.actionUrl}/${id}/location`, data, { withCredentials: true });
2273
+ }
2274
+ // Video tour
2275
+ getVideoTour(id) {
2276
+ return this.http.get(`${this.actionUrl}/${id}/video-tour`, { withCredentials: true });
2277
+ }
2278
+ addVideoTour(id, data) {
2279
+ return this.http.post(`${this.actionUrl}/${id}/video-tour`, data, { withCredentials: true });
2280
+ }
2281
+ updateVideoTour(id, data) {
2282
+ return this.http.put(`${this.actionUrl}/${id}/video-tour`, data, { withCredentials: true });
2283
+ }
2284
+ deleteVideoTour(id, videoTourId, y) {
2285
+ return this.http.delete(`${this.actionUrl}/${id}/video-tour/${videoTourId}`, { withCredentials: true });
2286
+ }
2287
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: OfferingService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
2288
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: OfferingService, providedIn: 'root' });
2289
+ }
2290
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: OfferingService, decorators: [{
2291
+ type: Injectable,
2292
+ args: [{
2293
+ providedIn: 'root',
2294
+ }]
2295
+ }] });
2296
+
2297
+ class MembershipService extends BaseService {
2298
+ init() {
2299
+ this.endpoint = 'memberships';
2300
+ super.init();
2301
+ }
2302
+ me(options) {
2303
+ return this.http.get(`${this.actionUrl}/me`, {
2304
+ params: options,
2305
+ withCredentials: true,
2306
+ });
2307
+ }
2308
+ createPlan(data) {
2309
+ return this.http.post(`${this.actionUrl}/plans`, data, {
2310
+ withCredentials: true,
2311
+ });
2312
+ }
2313
+ findPlans(options) {
2314
+ return this.http.get(`${this.actionUrl}/plans`, {
2315
+ params: options,
2316
+ withCredentials: true,
2317
+ });
2318
+ }
2319
+ getPlan(id) {
2320
+ return this.http.get(`${this.actionUrl}/plans/${id}`, {
2321
+ withCredentials: true,
2322
+ });
2323
+ }
2324
+ updatePlan(id, data) {
2325
+ return this.http.put(`${this.actionUrl}/plans/${id}`, data, {
2326
+ withCredentials: true,
2327
+ });
2328
+ }
2329
+ findBenefits(options) {
2330
+ return this.http.get(`${this.actionUrl}/benefits`, {
2331
+ withCredentials: true,
2332
+ });
2333
+ }
2334
+ addBenefit(data) {
2335
+ return this.http.post(`${this.actionUrl}/benefits`, data, {
2336
+ withCredentials: true,
2337
+ });
2338
+ }
2339
+ updateBenefit(id, data) {
2340
+ return this.http.put(`${this.actionUrl}/benefits/${id}`, data, {
2341
+ withCredentials: true,
2342
+ });
2343
+ }
2344
+ deleteBenefit(id) {
2345
+ return this.http.delete(`${this.actionUrl}/benefits/${id}`, {
2346
+ withCredentials: true,
2347
+ });
2348
+ }
2349
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: MembershipService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
2350
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: MembershipService, providedIn: 'root' });
2351
+ }
2352
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: MembershipService, decorators: [{
2353
+ type: Injectable,
2354
+ args: [{
2355
+ providedIn: 'root',
2356
+ }]
2357
+ }] });
2358
+
2359
+ class CategoryService extends BaseService {
2360
+ init() {
2361
+ this.endpoint = 'categories';
2362
+ super.init();
2363
+ }
2364
+ uploadMedia(id, data) {
2365
+ return this.http.post(`${this.actionUrl}/${id}/media`, data, {
2366
+ withCredentials: true,
2367
+ });
2368
+ }
2369
+ deleteMedia(id, mediaId) {
2370
+ return this.http.delete(`${this.actionUrl}/${id}/media/${mediaId}`, {
2371
+ withCredentials: true,
2372
+ });
2373
+ }
2374
+ importFromExcel(data) {
2375
+ return this.http.post(`${this.actionUrl}/excel`, data, {
2376
+ withCredentials: true,
2377
+ });
2378
+ }
2379
+ createFromExcel(data) {
2380
+ return this.http.post(`${this.actionUrl}/list`, data, {
2381
+ withCredentials: true,
2382
+ });
2383
+ }
2384
+ findProductCategory(options) {
2385
+ return this.http.get(`${this.environment.baseUrl}/products/categories`, { params: options });
2386
+ }
2387
+ getProductCategory(id) {
2388
+ return this.http.get(`${this.environment.baseUrl}/products/categories/${id}`);
2389
+ }
2390
+ createProductCategory(data) {
2391
+ return this.http.post(`${this.environment.baseUrl}/products/categories`, data, {
2392
+ withCredentials: true,
2393
+ });
2394
+ }
2395
+ updateProductCategory(data) {
2396
+ return this.http.put(`${this.environment.baseUrl}/products/categories`, data, {
2397
+ withCredentials: true,
2398
+ });
2399
+ }
2400
+ uploadProductCategoryMedia(id, data) {
2401
+ return this.http.post(`${this.environment.baseUrl}/products/categories/${id}/media`, data, {
2402
+ withCredentials: true,
2403
+ });
2404
+ }
2405
+ deleteProductCategoryMedia(id, mediaId) {
2406
+ return this.http.delete(`${this.environment.baseUrl}/products/categories/${id}/media/${mediaId}`, {
2407
+ withCredentials: true,
2408
+ });
2409
+ }
2410
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: CategoryService, deps: null, target: i0.ɵɵFactoryTarget.Injectable });
2411
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: CategoryService, providedIn: 'root' });
1172
2412
  }
1173
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: PostService, decorators: [{
2413
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: CategoryService, decorators: [{
1174
2414
  type: Injectable,
1175
2415
  args: [{
1176
2416
  providedIn: 'root',
@@ -1195,10 +2435,10 @@ class LoadingInterceptor {
1195
2435
  }
1196
2436
  }));
1197
2437
  }
1198
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: LoadingInterceptor, deps: [{ token: LoadingService }], target: i0.ɵɵFactoryTarget.Injectable });
1199
- static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: LoadingInterceptor, providedIn: 'root' });
2438
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: LoadingInterceptor, deps: [{ token: LoadingService }], target: i0.ɵɵFactoryTarget.Injectable });
2439
+ static ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: LoadingInterceptor, providedIn: 'root' });
1200
2440
  }
1201
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: LoadingInterceptor, decorators: [{
2441
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: LoadingInterceptor, decorators: [{
1202
2442
  type: Injectable,
1203
2443
  args: [{
1204
2444
  providedIn: 'root',
@@ -1211,10 +2451,10 @@ class BackButtonDirective {
1211
2451
  onClick() {
1212
2452
  this.navigation.back();
1213
2453
  }
1214
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: BackButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
1215
- static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "19.2.2", type: BackButtonDirective, isStandalone: true, selector: "[rolatechBackButton]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
2454
+ static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: BackButtonDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive });
2455
+ static ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.0.3", type: BackButtonDirective, isStandalone: true, selector: "[rolatechBackButton]", host: { listeners: { "click": "onClick()" } }, ngImport: i0 });
1216
2456
  }
1217
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "19.2.2", ngImport: i0, type: BackButtonDirective, decorators: [{
2457
+ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.0.3", ngImport: i0, type: BackButtonDirective, decorators: [{
1218
2458
  type: Directive,
1219
2459
  args: [{
1220
2460
  selector: '[rolatechBackButton]',
@@ -1257,5 +2497,5 @@ function provideAngularServices() {
1257
2497
  * Generated bundle index. Do not edit.
1258
2498
  */
1259
2499
 
1260
- export { BackButtonDirective, BaseService, BreadcrumbService, CartEventType, CartService, DialogComponent, DialogService, FulfillmentService, InventoryService, LayoutService, LoadingInterceptor, LoadingService, MediaService, NavigationService, NotificationService, NotificationStore, NotificationTemplateService, OrderService, PostService, ProductCategoryService, ProductService, SERVICE_DIRECTIVES, SidenavService, SnackBarService, SupportService, ThemeService, TitleService, provideAngularServices };
2500
+ export { AmenityService, BackButtonDirective, BaseService, BookingService, BreadcrumbService, CartEventType, CartService, CategoryService, DialogComponent, DialogService, FacilityService, FeatureService, FulfillmentService, InventoryService, LayoutService, LoadingInterceptor, LoadingService, MediaService, MembershipService, NavigationService, NotificationService, NotificationStore, NotificationTemplateService, OfferingService, OrderPayoutService, OrderService, PaymentService, PostService, ProductCategoryService, ProductService, PropertyService, ResourceCategoryService, ResourceService, SERVICE_DIRECTIVES, SidenavService, SnackBarService, SupportService, ThemeService, TitleService, provideAngularServices };
1261
2501
  //# sourceMappingURL=rolatech-angular-services.mjs.map