@rolatech/angular-services 20.2.8-beta.6 → 20.2.8-beta.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.2.8-beta.6",
3
+ "version": "20.2.8-beta.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.2.8-beta.6",
15
+ "@rolatech/angular-common": "20.2.8-beta.7",
16
16
  "tslib": "^2.3.0"
17
17
  },
18
18
  "repository": {
@@ -175,10 +175,12 @@ type ApplicantType = 'INDIVIDUAL' | 'CORPORATE' | 'STUDENT';
175
175
  type GuarantorType = 'INDIVIDUAL' | 'COMPANY';
176
176
  type EmploymentStatus = 'EMPLOYED' | 'SELF_EMPLOYED' | 'UNEMPLOYED';
177
177
  type VisaStatus = 'CITIZEN' | 'VISA_HOLDER' | 'WAITING_FOR_VISA' | 'NOT_YET_APPLIED_FOR_VISA';
178
+ type VisaShareCodeStatus = 'WAITING_FOR_SHARECODE' | 'OTHER';
178
179
  type AdverseCreditStatus = 'NONE' | 'ACTIVE_CCJ' | 'SATISFIED_CCJ' | 'DEBT_MANAGEMENT_PLAN' | 'LOW_CREDIT_SCORE' | 'OTHER';
179
180
  type Gender = 'MALE' | 'FEMALE' | 'OTHER' | 'PREFER_NOT_TO_SAY';
180
181
  type SalePaymentMethod = 'CASH' | 'MORTGAGE';
181
182
  type OfferInvoiceOption = 'COMBINED' | 'SEPARATE';
183
+ type GuarantorRelationshipType = 'FAMILY' | 'FRIEND' | 'GUARANTOR_SERVICE' | 'OTHER';
182
184
  declare enum PropertyOfferStatus {
183
185
  SUBMITTED = "Submitted",
184
186
  ACCEPTED = "Accepted",
@@ -243,6 +245,8 @@ interface Guarantor {
243
245
  companyNumber: string | null;
244
246
  taxReturnSubmitted: boolean | null;
245
247
  additionalFinancialSupport: string | null;
248
+ relationshipType: GuarantorRelationshipType;
249
+ relationshipOther?: string | null;
246
250
  }
247
251
  interface Tenant {
248
252
  id: string;
@@ -250,12 +254,14 @@ interface Tenant {
250
254
  dob: string | null;
251
255
  gender: Gender | null;
252
256
  nationality: string | null;
253
- visaStatus: VisaStatus | null;
254
257
  phone: string | null;
255
258
  email: string | null;
256
259
  address: PersonAddress;
257
260
  adverseCreditStatus: AdverseCreditStatus | null;
258
261
  applicantType: ApplicantType | null;
262
+ visaStatus: VisaStatus | null;
263
+ visaShareCodeStatus: VisaShareCodeStatus;
264
+ visaShareCodeOther: string;
259
265
  employmentStatus: EmploymentStatus | null;
260
266
  companyName: string | null;
261
267
  jobTitle: string | null;
@@ -1029,42 +1035,6 @@ declare class InvoiceStatsService extends BaseService {
1029
1035
  static ɵprov: i0.ɵɵInjectableDeclaration<InvoiceStatsService>;
1030
1036
  }
1031
1037
 
1032
- declare class PropertyOfferService extends BaseService {
1033
- propertyService: PropertyService;
1034
- init(): void;
1035
- makeOffer(propertyId: string, data: any): Observable<any>;
1036
- findOffers(options: any): Observable<any>;
1037
- findOffersByUser(options: any): Observable<any>;
1038
- findOffersByAgent(options: any): Observable<any>;
1039
- getOffer(offerId: any): Observable<ApiResponse<PropertyOfferResponse>>;
1040
- cancelOffer(id: string): Observable<any>;
1041
- underOffer(id: string): Observable<any>;
1042
- acceptOffer(id: string): Observable<any>;
1043
- rejectOffer(id: string, data: any): Observable<any>;
1044
- referencesPassed(id: string): Observable<any>;
1045
- referencesFailed(id: string, data: any): Observable<any>;
1046
- complete(id: string): Observable<any>;
1047
- fail(id: string): Observable<any>;
1048
- createHoldingDepositCheckout(offerId: string, data: any): Observable<any>;
1049
- createSecurityDepositCheckout(offerId: string, data: any): Observable<any>;
1050
- checkOfferPaymentStatus(offerId: any, sessionId: string): Observable<any>;
1051
- offerTimeline(offerId: string): Observable<any>;
1052
- updateOffer(offerId: string, data: any): Observable<any>;
1053
- updateInvoiceOption(offerId: string, data: any): Observable<any>;
1054
- createRental(payload: CreateRentalOfferPayload): Observable<ApiResponse<PropertyOfferResponse>>;
1055
- createSale(payload: CreateSaleOfferPayload): Observable<ApiResponse<PropertyOfferResponse>>;
1056
- getCopyText(id: string, redactContact?: boolean): Observable<ApiResponse<CopyTextResponse>>;
1057
- static ɵfac: i0.ɵɵFactoryDeclaration<PropertyOfferService, never>;
1058
- static ɵprov: i0.ɵɵInjectableDeclaration<PropertyOfferService>;
1059
- }
1060
-
1061
- declare class PropertyViewingService extends BaseService {
1062
- propertyService: PropertyService;
1063
- init(): void;
1064
- static ɵfac: i0.ɵɵFactoryDeclaration<PropertyViewingService, never>;
1065
- static ɵprov: i0.ɵɵInjectableDeclaration<PropertyViewingService>;
1066
- }
1067
-
1068
1038
  /** Mirrors AbstractBaseEntity (common fields in your backend). */
1069
1039
  interface BaseEntity {
1070
1040
  id: string;
@@ -1186,6 +1156,65 @@ interface UpdateScheduleRequest {
1186
1156
  enabled?: boolean;
1187
1157
  }
1188
1158
 
1159
+ interface EnumOption {
1160
+ value: string;
1161
+ label: string;
1162
+ }
1163
+
1164
+ type ReferenceProvider = 'GOODLORD' | 'LET_ALLIANCE' | 'HOMELET' | 'OTHER';
1165
+ interface OfferReferencingPatchPayload {
1166
+ referenceProvider: ReferenceProvider;
1167
+ referenceProviderOther?: string | null;
1168
+ }
1169
+ interface OfferReferencingView {
1170
+ referenceProvider: ReferenceProvider | null;
1171
+ referenceProviderOther: string | null;
1172
+ updatedBy?: string | null;
1173
+ updatedAt?: string | null;
1174
+ }
1175
+
1176
+ declare class PropertyOfferService extends BaseService {
1177
+ propertyService: PropertyService;
1178
+ init(): void;
1179
+ makeOffer(propertyId: string, data: any): Observable<any>;
1180
+ findOffers(options: any): Observable<any>;
1181
+ search<T = any>(rawParams: Record<string, any>): Observable<ApiResponse<T>>;
1182
+ search1(options: any): Observable<any>;
1183
+ findOffersByUser(options: any): Observable<any>;
1184
+ findOffersByAgent(options: any): Observable<any>;
1185
+ getOffer(offerId: any): Observable<ApiResponse<PropertyOfferResponse>>;
1186
+ cancelOffer(id: string): Observable<any>;
1187
+ underOffer(id: string): Observable<any>;
1188
+ acceptOffer(id: string): Observable<any>;
1189
+ rejectOffer(id: string, data: any): Observable<any>;
1190
+ referencesPassed(id: string): Observable<any>;
1191
+ referencesFailed(id: string, data: any): Observable<any>;
1192
+ getReference(offerId: string): Observable<ApiResponse<OfferReferencingView>>;
1193
+ updateReferenceProvider(offerId: string, payload: OfferReferencingPatchPayload): Observable<ApiResponse<OfferReferencingView>>;
1194
+ complete(id: string): Observable<any>;
1195
+ fail(id: string): Observable<any>;
1196
+ createHoldingDepositCheckout(offerId: string, data: any): Observable<any>;
1197
+ createSecurityDepositCheckout(offerId: string, data: any): Observable<any>;
1198
+ checkOfferPaymentStatus(offerId: any, sessionId: string): Observable<any>;
1199
+ offerTimeline(offerId: string): Observable<any>;
1200
+ updateOffer(offerId: string, data: any): Observable<any>;
1201
+ updateInvoiceOption(offerId: string, data: any): Observable<any>;
1202
+ createRental(payload: CreateRentalOfferPayload): Observable<ApiResponse<PropertyOfferResponse>>;
1203
+ createSale(payload: CreateSaleOfferPayload): Observable<ApiResponse<PropertyOfferResponse>>;
1204
+ getCopyText(id: string, redactContact?: boolean): Observable<ApiResponse<CopyTextResponse>>;
1205
+ stripUndefined<T extends Record<string, any>>(obj: T): Partial<T>;
1206
+ isEmptyFilter(params: Record<string, any>, ignoreKeys?: string[]): boolean;
1207
+ static ɵfac: i0.ɵɵFactoryDeclaration<PropertyOfferService, never>;
1208
+ static ɵprov: i0.ɵɵInjectableDeclaration<PropertyOfferService>;
1209
+ }
1210
+
1211
+ declare class PropertyViewingService extends BaseService {
1212
+ propertyService: PropertyService;
1213
+ init(): void;
1214
+ static ɵfac: i0.ɵɵFactoryDeclaration<PropertyViewingService, never>;
1215
+ static ɵprov: i0.ɵɵInjectableDeclaration<PropertyViewingService>;
1216
+ }
1217
+
1189
1218
  declare class AutomationService extends BaseService {
1190
1219
  init(): void;
1191
1220
  summary(): Observable<any>;
@@ -1219,11 +1248,6 @@ declare class AutomationService extends BaseService {
1219
1248
  static ɵprov: i0.ɵɵInjectableDeclaration<AutomationService>;
1220
1249
  }
1221
1250
 
1222
- interface EnumOption {
1223
- value: string;
1224
- label: string;
1225
- }
1226
-
1227
1251
  declare class EnumCacheService {
1228
1252
  private api;
1229
1253
  private locale;
@@ -1292,4 +1316,4 @@ declare const SERVICE_DIRECTIVES: Provider[];
1292
1316
  declare function provideAngularServices(): EnvironmentProviders;
1293
1317
 
1294
1318
  export { AmenityService, AutomationService, BackButtonDirective, BaseService, BillingService, BookingService, BreadcrumbService, CartEventType, CartService, CategoryService, ConversationInitService, ConversationService, DialogComponent, DialogService, EnumApiClient, EnumCacheService, FacilityService, FeatureService, FloorplanService, FulfillmentService, HideFooterDirective, InventoryService, InvoiceLineService, InvoiceService, InvoiceStatsService, LayoutService, LoadingInterceptor, LoadingService, MediaService, MembershipService, NavigationService, NotificationService, NotificationStore, NotificationTemplateService, OfferingService, OrderPayoutService, OrderService, PaymentService, PostService, ProductCategoryService, ProductService, PropertyHighlightsService, PropertyOfferService, PropertyOfferStatus, PropertySearchService, PropertyService, PropertyStatsService, PropertyViewingService, ResourceCategoryService, ResourceService, SCHEDULE_CRON_META, SERVICE_DIRECTIVES, SidenavService, SnackBarService, SupportService, ThemeService, TimeZoneService, TitleService, acceptLanguageInterceptor, provideAngularServices };
1295
- export type { AdverseCreditStatus, ApiRequestOptions, ApplicantType, AutomationDefinition, AutomationDefinitionDto, AutomationExecution, AutomationExecutionDto, AutomationExecutionLog, AutomationExecutionStatus, AutomationLogLevel, AutomationSchedule, AutomationScheduleDto, AutomationSummaryResponse, BaseEntity, CancelStateResponse, ChatMessage, ConversationInitResponse, CopyTextResponse, CreateDefinitionRequest, CreateRentalOfferPayload, CreateSaleOfferPayload, CreateScheduleRequest, DialogData, EmploymentStatus, EnqueueExecutionRequest, EnumOption, ExecutionLogDto, FurnitureRequirement, Gender, GroupedViewingsByDate, Guarantor, GuarantorType, IDynamicDialogConfig, InvoiceStats, OfferInvoiceOption, OfferSummary, OfferType, PaymentFrequency, PendingInvoice, PersonAddress, PropertyOfferItem, PropertyOfferItemMedia, PropertyOfferResponse, PropertyStats, RentalOfferTerms, SaleOfferDetails, SalePaymentMethod, ScheduleCron, ScheduleCronMeta, ScheduleOptionResponse, Tenant, UpcomingViewing, UpdateDefinitionRequest, UpdateScheduleRequest, VisaStatus };
1319
+ export type { AdverseCreditStatus, ApiRequestOptions, ApplicantType, AutomationDefinition, AutomationDefinitionDto, AutomationExecution, AutomationExecutionDto, AutomationExecutionLog, AutomationExecutionStatus, AutomationLogLevel, AutomationSchedule, AutomationScheduleDto, AutomationSummaryResponse, BaseEntity, CancelStateResponse, ChatMessage, ConversationInitResponse, CopyTextResponse, CreateDefinitionRequest, CreateRentalOfferPayload, CreateSaleOfferPayload, CreateScheduleRequest, DialogData, EmploymentStatus, EnqueueExecutionRequest, EnumOption, ExecutionLogDto, FurnitureRequirement, Gender, GroupedViewingsByDate, Guarantor, GuarantorRelationshipType, GuarantorType, IDynamicDialogConfig, InvoiceStats, OfferInvoiceOption, OfferReferencingPatchPayload, OfferReferencingView, OfferSummary, OfferType, PaymentFrequency, PendingInvoice, PersonAddress, PropertyOfferItem, PropertyOfferItemMedia, PropertyOfferResponse, PropertyStats, ReferenceProvider, RentalOfferTerms, SaleOfferDetails, SalePaymentMethod, ScheduleCron, ScheduleCronMeta, ScheduleOptionResponse, Tenant, UpcomingViewing, UpdateDefinitionRequest, UpdateScheduleRequest, VisaShareCodeStatus, VisaStatus };