@rolatech/angular-services 20.0.2-beta.3 → 20.0.4-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.
package/index.d.ts CHANGED
@@ -58,7 +58,6 @@ declare class BaseService {
58
58
  update<T>(id: string, data: T): Observable<T>;
59
59
  delete<T>(id: string): Observable<T>;
60
60
  updateStatus<T>(id: string, data: T): Observable<T>;
61
- search(word: string, withCredentials?: boolean): Observable<any>;
62
61
  static ɵfac: i0.ɵɵFactoryDeclaration<BaseService, never>;
63
62
  static ɵprov: i0.ɵɵInjectableDeclaration<BaseService>;
64
63
  }
@@ -757,12 +756,39 @@ declare class ConversationInitService {
757
756
  static ɵprov: i0.ɵɵInjectableDeclaration<ConversationInitService>;
758
757
  }
759
758
 
759
+ interface SearchResult<T> {
760
+ data: T[];
761
+ meta: {
762
+ pagination: {
763
+ total: number;
764
+ count: number;
765
+ page: number;
766
+ limit: number;
767
+ };
768
+ };
769
+ }
760
770
  declare class PropertySearchService extends BaseService {
761
771
  init(): void;
772
+ search1(options: any): Observable<any>;
773
+ search<T = any>(rawParams: Record<string, any>): Observable<SearchResult<T>>;
774
+ stripUndefined<T extends Record<string, any>>(obj: T): Partial<T>;
775
+ isEmptyFilter(params: Record<string, any>, ignoreKeys?: string[]): boolean;
762
776
  static ɵfac: i0.ɵɵFactoryDeclaration<PropertySearchService, never>;
763
777
  static ɵprov: i0.ɵɵInjectableDeclaration<PropertySearchService>;
764
778
  }
765
779
 
780
+ declare class TimeZoneService {
781
+ platformId: Object;
782
+ isBrowser: boolean;
783
+ http: HttpClient;
784
+ getBrowserTimeZone(): string | null;
785
+ /** minutes east of UTC (e.g. -420 for PDT) */
786
+ getUtcOffsetMinutes(): number | null;
787
+ getTimeZoneFromApi(): Observable<string>;
788
+ static ɵfac: i0.ɵɵFactoryDeclaration<TimeZoneService, never>;
789
+ static ɵprov: i0.ɵɵInjectableDeclaration<TimeZoneService>;
790
+ }
791
+
766
792
  declare class LoadingInterceptor {
767
793
  private loadingService;
768
794
  activeRequests: number;
@@ -792,5 +818,5 @@ declare const SERVICE_DIRECTIVES: Provider[];
792
818
 
793
819
  declare function provideAngularServices(): EnvironmentProviders;
794
820
 
795
- 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, TitleService, provideAngularServices };
821
+ 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, provideAngularServices };
796
822
  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.0.2-beta.3",
3
+ "version": "20.0.4-beta.1",
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.0.2-beta.3",
15
+ "@rolatech/angular-common": "20.0.4-beta.1",
16
16
  "tslib": "^2.3.0"
17
17
  },
18
18
  "repository": {