@rolatech/angular-services 20.1.6-beta.8 → 20.1.7

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rolatech/angular-services",
3
- "version": "20.1.6-beta.8",
3
+ "version": "20.1.7",
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.6-beta.8",
15
+ "@rolatech/angular-common": "20.1.7",
16
16
  "tslib": "^2.3.0"
17
17
  },
18
18
  "repository": {
@@ -24,13 +24,13 @@
24
24
  "access": "public"
25
25
  },
26
26
  "module": "fesm2022/rolatech-angular-services.mjs",
27
- "typings": "index.d.ts",
27
+ "typings": "types/rolatech-angular-services.d.ts",
28
28
  "exports": {
29
29
  "./package.json": {
30
30
  "default": "./package.json"
31
31
  },
32
32
  ".": {
33
- "types": "./index.d.ts",
33
+ "types": "./types/rolatech-angular-services.d.ts",
34
34
  "default": "./fesm2022/rolatech-angular-services.mjs"
35
35
  }
36
36
  },
@@ -134,6 +134,40 @@ declare class NavigationService {
134
134
  static ɵprov: i0.ɵɵInjectableDeclaration<NavigationService>;
135
135
  }
136
136
 
137
+ interface PropertyStats {
138
+ properties: number;
139
+ viewings: number;
140
+ offers: number;
141
+ }
142
+ interface UpcomingViewing {
143
+ id: string;
144
+ propertyId: string;
145
+ propertyTitle: string;
146
+ applicantName: string;
147
+ viewingDate: string;
148
+ viewingTime: string;
149
+ status: 'APPROVED' | string;
150
+ }
151
+ interface GroupedViewingsByDate {
152
+ date: string;
153
+ items: UpcomingViewing[];
154
+ }
155
+
156
+ interface InvoiceStats {
157
+ invoices: number;
158
+ }
159
+ interface PendingInvoice {
160
+ id: string;
161
+ invoiceNumber: string;
162
+ propertyId: string;
163
+ propertyTitle: string | null;
164
+ tenantName: string;
165
+ total: number;
166
+ currency: string;
167
+ dueDate: string;
168
+ status: 'CREATED' | 'ISSUED' | 'SENT' | 'OTHER' | string;
169
+ }
170
+
137
171
  declare class DialogService {
138
172
  dialog: MatDialog;
139
173
  dialogRef: MatDialogRef<DialogComponent>;
@@ -498,6 +532,7 @@ declare class PropertyService extends BaseService {
498
532
  updateVariants(propertyId: string, data: any): Observable<any>;
499
533
  uploadVariantMedia(variantId: string, data: FormData): Observable<any>;
500
534
  deleteVariantMedia(variantId: string, mediaId: string): Observable<any>;
535
+ findUpcomingViewings(options: any): Observable<any>;
501
536
  findViewingsByUser(options: any): Observable<any>;
502
537
  findViewingsByAgent(options: any): Observable<any>;
503
538
  requestViewing(propertyId: string, data: any): Observable<any>;
@@ -805,6 +840,7 @@ declare class InvoiceService extends BaseService {
805
840
  findByManager(options: any): Observable<ApiResponse<any>>;
806
841
  getInvoice(id: string): Observable<any>;
807
842
  me(options: any): Observable<any>;
843
+ findPendingInvoices(options: any): Observable<any>;
808
844
  static ɵfac: i0.ɵɵFactoryDeclaration<InvoiceService, never>;
809
845
  static ɵprov: i0.ɵɵInjectableDeclaration<InvoiceService>;
810
846
  }
@@ -821,6 +857,29 @@ declare class PropertyHighlightsService extends BaseService {
821
857
  static ɵprov: i0.ɵɵInjectableDeclaration<PropertyHighlightsService>;
822
858
  }
823
859
 
860
+ declare class FloorplanService extends BaseService {
861
+ init(): void;
862
+ uploadFloorplan(propertyId: string, data: FormData): Observable<any>;
863
+ listFloorplans(propertyId: string): Observable<any>;
864
+ deleteFloorplan(propertyId: string, floorplanId: string): Observable<any>;
865
+ static ɵfac: i0.ɵɵFactoryDeclaration<FloorplanService, never>;
866
+ static ɵprov: i0.ɵɵInjectableDeclaration<FloorplanService>;
867
+ }
868
+
869
+ declare class PropertyStatsService extends BaseService {
870
+ init(): void;
871
+ stats(): Observable<PropertyStats>;
872
+ static ɵfac: i0.ɵɵFactoryDeclaration<PropertyStatsService, never>;
873
+ static ɵprov: i0.ɵɵInjectableDeclaration<PropertyStatsService>;
874
+ }
875
+
876
+ declare class InvoiceStatsService extends BaseService {
877
+ init(): void;
878
+ stats(): Observable<InvoiceStats>;
879
+ static ɵfac: i0.ɵɵFactoryDeclaration<InvoiceStatsService, never>;
880
+ static ɵprov: i0.ɵɵInjectableDeclaration<InvoiceStatsService>;
881
+ }
882
+
824
883
  declare class LoadingInterceptor {
825
884
  loadingService: LoadingService;
826
885
  activeRequests: number;
@@ -851,5 +910,5 @@ declare const SERVICE_DIRECTIVES: Provider[];
851
910
 
852
911
  declare function provideAngularServices(): EnvironmentProviders;
853
912
 
854
- 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 };
855
- export type { ChatMessage, ConversationInitResponse, DialogData, IDynamicDialogConfig };
913
+ export { AmenityService, BackButtonDirective, BaseService, BillingService, BookingService, BreadcrumbService, CartEventType, CartService, CategoryService, ConversationInitService, ConversationService, DialogComponent, DialogService, FacilityService, FeatureService, FloorplanService, FulfillmentService, HideFooterDirective, InventoryService, InvoiceService, InvoiceStatsService, LayoutService, LoadingInterceptor, LoadingService, MediaService, MembershipService, NavigationService, NotificationService, NotificationStore, NotificationTemplateService, OfferingService, OrderPayoutService, OrderService, PaymentService, PostService, ProductCategoryService, ProductService, PropertyHighlightsService, PropertySearchService, PropertyService, PropertyStatsService, ResourceCategoryService, ResourceService, SERVICE_DIRECTIVES, SidenavService, SnackBarService, SupportService, ThemeService, TimeZoneService, TitleService, acceptLanguageInterceptor, provideAngularServices };
914
+ export type { ChatMessage, ConversationInitResponse, DialogData, GroupedViewingsByDate, IDynamicDialogConfig, InvoiceStats, PendingInvoice, PropertyStats, UpcomingViewing };