@rolatech/angular-services 20.2.7-beta.2 → 20.2.8-beta.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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rolatech/angular-services",
|
|
3
|
-
"version": "20.2.
|
|
3
|
+
"version": "20.2.8-beta.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.2.
|
|
15
|
+
"@rolatech/angular-common": "20.2.8-beta.3",
|
|
16
16
|
"tslib": "^2.3.0"
|
|
17
17
|
},
|
|
18
18
|
"repository": {
|
|
@@ -168,6 +168,163 @@ interface PendingInvoice {
|
|
|
168
168
|
status: 'CREATED' | 'ISSUED' | 'SENT' | 'OTHER' | string;
|
|
169
169
|
}
|
|
170
170
|
|
|
171
|
+
type OfferType = 'RENTAL' | 'SALE';
|
|
172
|
+
type PaymentFrequency = 'MONTHLY' | 'QUARTERLY' | 'SEMI_ANNUALLY' | 'ANNUALLY';
|
|
173
|
+
type FurnitureRequirement = 'FURNISHED' | 'UNFURNISHED';
|
|
174
|
+
type ApplicantType = 'INDIVIDUAL' | 'CORPORATE' | 'STUDENT';
|
|
175
|
+
type GuarantorType = 'INDIVIDUAL' | 'COMPANY';
|
|
176
|
+
type EmploymentStatus = 'EMPLOYED' | 'SELF_EMPLOYED' | 'UNEMPLOYED';
|
|
177
|
+
type VisaStatus = 'CITIZEN' | 'VISA_HOLDER' | 'WAITING_FOR_VISA' | 'NOT_YET_APPLIED_FOR_VISA';
|
|
178
|
+
type AdverseCreditStatus = 'NONE' | 'ACTIVE_CCJ' | 'SATISFIED_CCJ' | 'DEBT_MANAGEMENT_PLAN' | 'LOW_CREDIT_SCORE' | 'OTHER';
|
|
179
|
+
type Gender = 'MALE' | 'FEMALE' | 'OTHER' | 'PREFER_NOT_TO_SAY';
|
|
180
|
+
type SalePaymentMethod = 'CASH' | 'MORTGAGE';
|
|
181
|
+
type OfferInvoiceOption = 'COMBINED' | 'SEPARATE';
|
|
182
|
+
declare enum PropertyOfferStatus {
|
|
183
|
+
SUBMITTED = "Submitted",
|
|
184
|
+
ACCEPTED = "Accepted",
|
|
185
|
+
COUNTERED = "Countered",
|
|
186
|
+
REJECTED = "Rejected",
|
|
187
|
+
UNDER_OFFER = "Under offer",
|
|
188
|
+
HOLDING_DEPOSIT_PENDING = "Holding deposit pending",
|
|
189
|
+
HOLDING_DEPOSIT_PAID = "Holding deposit paid",
|
|
190
|
+
REFERENCING = "Referencing",
|
|
191
|
+
REFERENCES_PASSED = "References passed",
|
|
192
|
+
REFERENCES_FAILED = "References failed",
|
|
193
|
+
CONTRACT_PENDING = "Contract pending",
|
|
194
|
+
CONTRACT_SIGNED = "Contract signed",
|
|
195
|
+
CONTRACT_FAILED = "Contract failed",
|
|
196
|
+
SECURITY_DEPOSIT_PENDING = "Security deposit pending",
|
|
197
|
+
SECURITY_DEPOSIT_PAID = "Security deposit paid",
|
|
198
|
+
FIRST_RENT_PENDING = "First rent pending",
|
|
199
|
+
MOVE_IN_PAYMENT_PAID = "Move-in payment paid",
|
|
200
|
+
COMPLETED = "Completed",
|
|
201
|
+
FAILED = "Failed",
|
|
202
|
+
WITHDRAWN = "Withdrawn",
|
|
203
|
+
EXPIRED = "Expired",
|
|
204
|
+
CANCELLED = "Cancelled"
|
|
205
|
+
}
|
|
206
|
+
interface OfferSummary {
|
|
207
|
+
id: string;
|
|
208
|
+
offerType: OfferType;
|
|
209
|
+
status: PropertyOfferStatus;
|
|
210
|
+
propertyId: string;
|
|
211
|
+
}
|
|
212
|
+
interface RentalOfferTerms {
|
|
213
|
+
amount: number | null;
|
|
214
|
+
moveInDate: string | null;
|
|
215
|
+
paymentFrequency: PaymentFrequency | null;
|
|
216
|
+
tenancyLengthMonths: number | null;
|
|
217
|
+
breakClauseMonths: number | null;
|
|
218
|
+
pets: string[] | [];
|
|
219
|
+
smoker: boolean | null;
|
|
220
|
+
furnitureRequirement: FurnitureRequirement | null;
|
|
221
|
+
additionalRequests: string | null;
|
|
222
|
+
}
|
|
223
|
+
interface PersonAddress {
|
|
224
|
+
line1: string | null;
|
|
225
|
+
line2: string | null;
|
|
226
|
+
city: string | null;
|
|
227
|
+
postcode: string | null;
|
|
228
|
+
country: string | null;
|
|
229
|
+
}
|
|
230
|
+
interface Guarantor {
|
|
231
|
+
fullName: string | null;
|
|
232
|
+
dob: string | null;
|
|
233
|
+
relationship: string | null;
|
|
234
|
+
phone: string | null;
|
|
235
|
+
email: string | null;
|
|
236
|
+
address: PersonAddress;
|
|
237
|
+
type: GuarantorType;
|
|
238
|
+
employmentStatus: EmploymentStatus | null;
|
|
239
|
+
companyName: string | null;
|
|
240
|
+
jobTitle: string | null;
|
|
241
|
+
annualSalary: number | null;
|
|
242
|
+
companyNumber: string | null;
|
|
243
|
+
taxReturnSubmitted: boolean | null;
|
|
244
|
+
additionalFinancialSupport: string | null;
|
|
245
|
+
}
|
|
246
|
+
interface Tenant {
|
|
247
|
+
id: string;
|
|
248
|
+
fullName: string | null;
|
|
249
|
+
dob: string | null;
|
|
250
|
+
gender: Gender | null;
|
|
251
|
+
nationality: string | null;
|
|
252
|
+
visaStatus: VisaStatus | null;
|
|
253
|
+
phone: string | null;
|
|
254
|
+
email: string | null;
|
|
255
|
+
address: PersonAddress;
|
|
256
|
+
adverseCreditStatus: AdverseCreditStatus | null;
|
|
257
|
+
applicantType: ApplicantType | null;
|
|
258
|
+
employmentStatus: EmploymentStatus | null;
|
|
259
|
+
companyName: string | null;
|
|
260
|
+
jobTitle: string | null;
|
|
261
|
+
annualSalary: number | null;
|
|
262
|
+
companyNumber: string | null;
|
|
263
|
+
taxReturnSubmitted: boolean | null;
|
|
264
|
+
corporateCompanyName: string | null;
|
|
265
|
+
corporateCompanyNumber: string | null;
|
|
266
|
+
corporateJobTitle: string | null;
|
|
267
|
+
universityName: string | null;
|
|
268
|
+
courseTitle: string | null;
|
|
269
|
+
yearOfStudy: number | null;
|
|
270
|
+
guarantor: Guarantor;
|
|
271
|
+
}
|
|
272
|
+
interface SaleOfferDetails {
|
|
273
|
+
amount: number | null;
|
|
274
|
+
buyerName: string | null;
|
|
275
|
+
email: string | null;
|
|
276
|
+
phone: string | null;
|
|
277
|
+
paymentMethod: SalePaymentMethod | null;
|
|
278
|
+
proposedExchangeDate: string | null;
|
|
279
|
+
solicitorCompanyName: string | null;
|
|
280
|
+
}
|
|
281
|
+
interface CreateRentalOfferPayload {
|
|
282
|
+
propertyId: string;
|
|
283
|
+
rental: RentalOfferTerms;
|
|
284
|
+
tenants: Tenant[];
|
|
285
|
+
}
|
|
286
|
+
interface CreateSaleOfferPayload {
|
|
287
|
+
propertyId: string;
|
|
288
|
+
sale: SaleOfferDetails;
|
|
289
|
+
}
|
|
290
|
+
interface PropertyOfferResponse {
|
|
291
|
+
id: string;
|
|
292
|
+
userId: string;
|
|
293
|
+
agentId: string;
|
|
294
|
+
type: OfferType;
|
|
295
|
+
status: PropertyOfferStatus;
|
|
296
|
+
propertyId: string;
|
|
297
|
+
rentalTerms?: RentalOfferTerms;
|
|
298
|
+
tenants?: Tenant[];
|
|
299
|
+
sale?: SaleOfferDetails;
|
|
300
|
+
item: PropertyOfferItem;
|
|
301
|
+
invoiceOption: OfferInvoiceOption;
|
|
302
|
+
}
|
|
303
|
+
interface PropertyOfferItem {
|
|
304
|
+
propertyId: string;
|
|
305
|
+
title: string;
|
|
306
|
+
description: string;
|
|
307
|
+
amount: number;
|
|
308
|
+
bedrooms: number;
|
|
309
|
+
bathrooms: number;
|
|
310
|
+
receptions: number;
|
|
311
|
+
agentId: string;
|
|
312
|
+
media: PropertyOfferItemMedia[];
|
|
313
|
+
}
|
|
314
|
+
interface PropertyOfferItemMedia {
|
|
315
|
+
id: string;
|
|
316
|
+
url: string;
|
|
317
|
+
alt: string;
|
|
318
|
+
width: number;
|
|
319
|
+
height: number;
|
|
320
|
+
uuid: string;
|
|
321
|
+
}
|
|
322
|
+
interface CopyTextResponse {
|
|
323
|
+
offerId: string;
|
|
324
|
+
redactContact: boolean;
|
|
325
|
+
text: string;
|
|
326
|
+
}
|
|
327
|
+
|
|
171
328
|
declare class DialogService {
|
|
172
329
|
dialog: MatDialog;
|
|
173
330
|
dialogRef: MatDialogRef<DialogComponent>;
|
|
@@ -878,7 +1035,7 @@ declare class PropertyOfferService extends BaseService {
|
|
|
878
1035
|
findOffers(options: any): Observable<any>;
|
|
879
1036
|
findOffersByUser(options: any): Observable<any>;
|
|
880
1037
|
findOffersByAgent(options: any): Observable<any>;
|
|
881
|
-
getOffer(offerId: any): Observable<
|
|
1038
|
+
getOffer(offerId: any): Observable<ApiResponse<PropertyOfferResponse>>;
|
|
882
1039
|
cancelOffer(id: string): Observable<any>;
|
|
883
1040
|
underOffer(id: string): Observable<any>;
|
|
884
1041
|
acceptOffer(id: string): Observable<any>;
|
|
@@ -893,6 +1050,9 @@ declare class PropertyOfferService extends BaseService {
|
|
|
893
1050
|
offerTimeline(offerId: string): Observable<any>;
|
|
894
1051
|
updateOffer(offerId: string, data: any): Observable<any>;
|
|
895
1052
|
updateInvoiceOption(offerId: string, data: any): Observable<any>;
|
|
1053
|
+
createRental(payload: CreateRentalOfferPayload): Observable<ApiResponse<PropertyOfferResponse>>;
|
|
1054
|
+
createSale(payload: CreateSaleOfferPayload): Observable<ApiResponse<PropertyOfferResponse>>;
|
|
1055
|
+
getCopyText(id: string, redactContact?: boolean): Observable<ApiResponse<CopyTextResponse>>;
|
|
896
1056
|
static ɵfac: i0.ɵɵFactoryDeclaration<PropertyOfferService, never>;
|
|
897
1057
|
static ɵprov: i0.ɵɵInjectableDeclaration<PropertyOfferService>;
|
|
898
1058
|
}
|
|
@@ -1130,5 +1290,5 @@ declare const SERVICE_DIRECTIVES: Provider[];
|
|
|
1130
1290
|
|
|
1131
1291
|
declare function provideAngularServices(): EnvironmentProviders;
|
|
1132
1292
|
|
|
1133
|
-
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, PropertySearchService, PropertyService, PropertyStatsService, PropertyViewingService, ResourceCategoryService, ResourceService, SCHEDULE_CRON_META, SERVICE_DIRECTIVES, SidenavService, SnackBarService, SupportService, ThemeService, TimeZoneService, TitleService, acceptLanguageInterceptor, provideAngularServices };
|
|
1134
|
-
export type { ApiRequestOptions, AutomationDefinition, AutomationDefinitionDto, AutomationExecution, AutomationExecutionDto, AutomationExecutionLog, AutomationExecutionStatus, AutomationLogLevel, AutomationSchedule, AutomationScheduleDto, AutomationSummaryResponse, BaseEntity, CancelStateResponse, ChatMessage, ConversationInitResponse, CreateDefinitionRequest, CreateScheduleRequest, DialogData, EnqueueExecutionRequest, EnumOption, ExecutionLogDto, GroupedViewingsByDate, IDynamicDialogConfig, InvoiceStats, PendingInvoice, PropertyStats, ScheduleCron, ScheduleCronMeta, ScheduleOptionResponse, UpcomingViewing, UpdateDefinitionRequest, UpdateScheduleRequest };
|
|
1293
|
+
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 };
|
|
1294
|
+
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 };
|