@rolatech/angular-services 20.0.2-beta.2 → 20.0.3
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
|
}
|
|
@@ -517,25 +516,31 @@ declare class PropertyService extends BaseService {
|
|
|
517
516
|
createSecurityDepositCheckout(offerId: string, data: any): Observable<any>;
|
|
518
517
|
checkOfferPaymentStatus(offerId: any, sessionId: string): Observable<any>;
|
|
519
518
|
offerTimeline(offerId: string): Observable<any>;
|
|
519
|
+
getHighlights<T>(id: string): Observable<T>;
|
|
520
520
|
findFeatures<T>(id: string): Observable<T>;
|
|
521
521
|
updateFeatures<T>(id: string, data: any): Observable<T>;
|
|
522
522
|
updateLocation<T>(id: string, data: any): Observable<T>;
|
|
523
523
|
updateAgent<T>(id: string, data: any): Observable<T>;
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
524
|
+
getVideos<T>(id: string): Observable<T>;
|
|
525
|
+
addVideo<T>(id: string, data: any): Observable<T>;
|
|
526
|
+
updateVideo<T>(id: string, videoId: string, data: any): Observable<T>;
|
|
527
|
+
deleteVideo<T>(id: string, videoId: string): Observable<T>;
|
|
528
|
+
uploadVideoThumbnail(videoId: any, data: FormData): Observable<any>;
|
|
528
529
|
findTenants<T>(options: any): Observable<T>;
|
|
529
530
|
getTenant<T>(id: string): Observable<T>;
|
|
530
531
|
createTenant<T>(data: any): Observable<T>;
|
|
531
532
|
updateTenant<T>(id: string, data: any): Observable<T>;
|
|
532
533
|
deleteTenant<T>(id: string): Observable<T>;
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
completePartUpload(
|
|
534
|
+
uploadVideosInit(propertyId: string, data: any): Observable<any>;
|
|
535
|
+
uploadVideosPartsToProperty(propertyId: string, data: FormData): Observable<any>;
|
|
536
|
+
completePartUpload(videoId: string, data: any): Observable<any>;
|
|
536
537
|
uploadVideoToProperty(propertyId: string, data: any): Observable<any>;
|
|
537
538
|
deletePropertyVideo(propertyId: string, videoId: any): Observable<any>;
|
|
538
539
|
uploadPropertyVideoThumbnail(videoId: any, data: FormData): Observable<any>;
|
|
540
|
+
getEpc<T>(id: string): Observable<T>;
|
|
541
|
+
addEpc<T>(id: string, data: any): Observable<T>;
|
|
542
|
+
updateEpc<T>(id: string, data: any): Observable<T>;
|
|
543
|
+
deleteEpc<T>(id: string): Observable<T>;
|
|
539
544
|
static ɵfac: i0.ɵɵFactoryDeclaration<PropertyService, never>;
|
|
540
545
|
static ɵprov: i0.ɵɵInjectableDeclaration<PropertyService>;
|
|
541
546
|
}
|
|
@@ -617,10 +622,10 @@ declare class OfferingService extends BaseService {
|
|
|
617
622
|
findFeatures<T>(id: string): Observable<T>;
|
|
618
623
|
updateFeatures<T>(id: string, data: any): Observable<T>;
|
|
619
624
|
updateLocation<T>(id: string, data: any): Observable<T>;
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
625
|
+
getVideos<T>(id: string): Observable<T>;
|
|
626
|
+
addVideo<T>(id: string, data: any): Observable<T>;
|
|
627
|
+
updateVideo<T>(id: string, data: any): Observable<T>;
|
|
628
|
+
deleteVideo<T>(id: string, videoId: string, y: any): Observable<T>;
|
|
624
629
|
static ɵfac: i0.ɵɵFactoryDeclaration<OfferingService, never>;
|
|
625
630
|
static ɵprov: i0.ɵɵInjectableDeclaration<OfferingService>;
|
|
626
631
|
}
|
|
@@ -751,6 +756,27 @@ declare class ConversationInitService {
|
|
|
751
756
|
static ɵprov: i0.ɵɵInjectableDeclaration<ConversationInitService>;
|
|
752
757
|
}
|
|
753
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
|
+
}
|
|
770
|
+
declare class PropertySearchService extends BaseService {
|
|
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;
|
|
776
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<PropertySearchService, never>;
|
|
777
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<PropertySearchService>;
|
|
778
|
+
}
|
|
779
|
+
|
|
754
780
|
declare class LoadingInterceptor {
|
|
755
781
|
private loadingService;
|
|
756
782
|
activeRequests: number;
|
|
@@ -780,5 +806,5 @@ declare const SERVICE_DIRECTIVES: Provider[];
|
|
|
780
806
|
|
|
781
807
|
declare function provideAngularServices(): EnvironmentProviders;
|
|
782
808
|
|
|
783
|
-
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, PropertyService, ResourceCategoryService, ResourceService, SERVICE_DIRECTIVES, SidenavService, SnackBarService, SupportService, ThemeService, TitleService, provideAngularServices };
|
|
809
|
+
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 };
|
|
784
810
|
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.
|
|
3
|
+
"version": "20.0.3",
|
|
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.
|
|
15
|
+
"@rolatech/angular-common": "20.0.3",
|
|
16
16
|
"tslib": "^2.3.0"
|
|
17
17
|
},
|
|
18
18
|
"repository": {
|