@rolatech/angular-services 20.1.0 → 20.1.2

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/index.d.ts CHANGED
@@ -11,6 +11,7 @@ import { MatSnackBar } from '@angular/material/snack-bar';
11
11
  import * as _angular_material_sidenav from '@angular/material/sidenav';
12
12
  import { MatSidenav } from '@angular/material/sidenav';
13
13
  import { Title } from '@angular/platform-browser';
14
+ import { ApiResponse } from '@rolatech/angular-common';
14
15
 
15
16
  interface DialogData {
16
17
  title: string;
@@ -517,8 +518,9 @@ declare class PropertyService extends BaseService {
517
518
  checkOfferPaymentStatus(offerId: any, sessionId: string): Observable<any>;
518
519
  offerTimeline(offerId: string): Observable<any>;
519
520
  getHighlights<T>(id: string): Observable<T>;
520
- findFeatures<T>(id: string): Observable<T>;
521
- updateFeatures<T>(id: string, data: any): Observable<T>;
521
+ getFeatures<T>(id: string): Observable<T>;
522
+ findUserFeatures<T>(id: string): Observable<T>;
523
+ updateUserFeatures<T>(id: string, data: any): Observable<T>;
522
524
  updateLocation<T>(id: string, data: any): Observable<T>;
523
525
  updateAgent<T>(id: string, data: any): Observable<T>;
524
526
  getVideos<T>(id: string): Observable<T>;
@@ -789,6 +791,34 @@ declare class TimeZoneService {
789
791
  static ɵprov: i0.ɵɵInjectableDeclaration<TimeZoneService>;
790
792
  }
791
793
 
794
+ declare class BillingService extends BaseService {
795
+ init(): void;
796
+ static ɵfac: i0.ɵɵFactoryDeclaration<BillingService, never>;
797
+ static ɵprov: i0.ɵɵInjectableDeclaration<BillingService>;
798
+ }
799
+
800
+ declare class InvoiceService extends BaseService {
801
+ init(): void;
802
+ createByManager(data: any): Observable<any>;
803
+ findByManager(options: any): Observable<ApiResponse<any>>;
804
+ getInvoice(id: string): Observable<any>;
805
+ me(options: any): Observable<any>;
806
+ static ɵfac: i0.ɵɵFactoryDeclaration<InvoiceService, never>;
807
+ static ɵprov: i0.ɵɵInjectableDeclaration<InvoiceService>;
808
+ }
809
+
810
+ declare class PropertyHighlightsService extends BaseService {
811
+ init(): void;
812
+ getHighlights<T>(id: string): Observable<T>;
813
+ addHighlight<T>(id: string, text: string, position?: number | null): Observable<T>;
814
+ replaceAllHighlights<T>(id: string, highlights: string[]): Observable<T>;
815
+ updateHighlightAt<T>(id: string, index: number, text: string): Observable<T>;
816
+ reorderHighlights<T>(id: string, fromIndex: number, toIndex: number): Observable<T>;
817
+ deleteHighlightAt<T>(id: string, index: number): Observable<T>;
818
+ static ɵfac: i0.ɵɵFactoryDeclaration<PropertyHighlightsService, never>;
819
+ static ɵprov: i0.ɵɵInjectableDeclaration<PropertyHighlightsService>;
820
+ }
821
+
792
822
  declare class LoadingInterceptor {
793
823
  loadingService: LoadingService;
794
824
  activeRequests: number;
@@ -819,5 +849,5 @@ declare const SERVICE_DIRECTIVES: Provider[];
819
849
 
820
850
  declare function provideAngularServices(): EnvironmentProviders;
821
851
 
822
- export { AmenityService, BackButtonDirective, BaseService, BookingService, BreadcrumbService, CartEventType, CartService, CategoryService, ConversationInitService, ConversationService, DialogComponent, DialogService, FacilityService, FeatureService, FulfillmentService, HideFooterDirective, InventoryService, LayoutService, LoadingInterceptor, LoadingService, MediaService, MembershipService, NavigationService, NotificationService, NotificationStore, NotificationTemplateService, OfferingService, OrderPayoutService, OrderService, PaymentService, PostService, ProductCategoryService, ProductService, PropertySearchService, PropertyService, ResourceCategoryService, ResourceService, SERVICE_DIRECTIVES, SidenavService, SnackBarService, SupportService, ThemeService, TimeZoneService, TitleService, acceptLanguageInterceptor, provideAngularServices };
852
+ export { AmenityService, BackButtonDirective, BaseService, BillingService, BookingService, BreadcrumbService, CartEventType, CartService, CategoryService, ConversationInitService, ConversationService, DialogComponent, DialogService, FacilityService, FeatureService, FulfillmentService, HideFooterDirective, InventoryService, InvoiceService, LayoutService, LoadingInterceptor, LoadingService, MediaService, MembershipService, NavigationService, NotificationService, NotificationStore, NotificationTemplateService, OfferingService, OrderPayoutService, OrderService, PaymentService, PostService, ProductCategoryService, ProductService, PropertyHighlightsService, PropertySearchService, PropertyService, ResourceCategoryService, ResourceService, SERVICE_DIRECTIVES, SidenavService, SnackBarService, SupportService, ThemeService, TimeZoneService, TitleService, acceptLanguageInterceptor, provideAngularServices };
823
853
  export type { ChatMessage, ConversationInitResponse, DialogData, IDynamicDialogConfig };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rolatech/angular-services",
3
- "version": "20.1.0",
3
+ "version": "20.1.2",
4
4
  "private": false,
5
5
  "peerDependencies": {
6
6
  "@angular/common": "^20.0.0",
@@ -12,7 +12,7 @@
12
12
  "rxjs": "^6.5.3 || ^7.4.0"
13
13
  },
14
14
  "dependencies": {
15
- "@rolatech/angular-common": "20.1.0",
15
+ "@rolatech/angular-common": "20.1.2",
16
16
  "tslib": "^2.3.0"
17
17
  },
18
18
  "repository": {