@rolatech/angular-services 20.2.8-beta.5 → 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.
|
|
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.
|
|
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",
|
|
@@ -230,7 +232,8 @@ interface PersonAddress {
|
|
|
230
232
|
interface Guarantor {
|
|
231
233
|
fullName: string | null;
|
|
232
234
|
dob: string | null;
|
|
233
|
-
|
|
235
|
+
gender: Gender | null;
|
|
236
|
+
nationality: string | null;
|
|
234
237
|
phone: string | null;
|
|
235
238
|
email: string | null;
|
|
236
239
|
address: PersonAddress;
|
|
@@ -242,6 +245,8 @@ interface Guarantor {
|
|
|
242
245
|
companyNumber: string | null;
|
|
243
246
|
taxReturnSubmitted: boolean | null;
|
|
244
247
|
additionalFinancialSupport: string | null;
|
|
248
|
+
relationshipType: GuarantorRelationshipType;
|
|
249
|
+
relationshipOther?: string | null;
|
|
245
250
|
}
|
|
246
251
|
interface Tenant {
|
|
247
252
|
id: string;
|
|
@@ -249,12 +254,14 @@ interface Tenant {
|
|
|
249
254
|
dob: string | null;
|
|
250
255
|
gender: Gender | null;
|
|
251
256
|
nationality: string | null;
|
|
252
|
-
visaStatus: VisaStatus | null;
|
|
253
257
|
phone: string | null;
|
|
254
258
|
email: string | null;
|
|
255
259
|
address: PersonAddress;
|
|
256
260
|
adverseCreditStatus: AdverseCreditStatus | null;
|
|
257
261
|
applicantType: ApplicantType | null;
|
|
262
|
+
visaStatus: VisaStatus | null;
|
|
263
|
+
visaShareCodeStatus: VisaShareCodeStatus;
|
|
264
|
+
visaShareCodeOther: string;
|
|
258
265
|
employmentStatus: EmploymentStatus | null;
|
|
259
266
|
companyName: string | null;
|
|
260
267
|
jobTitle: string | null;
|
|
@@ -1028,42 +1035,6 @@ declare class InvoiceStatsService extends BaseService {
|
|
|
1028
1035
|
static ɵprov: i0.ɵɵInjectableDeclaration<InvoiceStatsService>;
|
|
1029
1036
|
}
|
|
1030
1037
|
|
|
1031
|
-
declare class PropertyOfferService extends BaseService {
|
|
1032
|
-
propertyService: PropertyService;
|
|
1033
|
-
init(): void;
|
|
1034
|
-
makeOffer(propertyId: string, data: any): Observable<any>;
|
|
1035
|
-
findOffers(options: any): Observable<any>;
|
|
1036
|
-
findOffersByUser(options: any): Observable<any>;
|
|
1037
|
-
findOffersByAgent(options: any): Observable<any>;
|
|
1038
|
-
getOffer(offerId: any): Observable<ApiResponse<PropertyOfferResponse>>;
|
|
1039
|
-
cancelOffer(id: string): Observable<any>;
|
|
1040
|
-
underOffer(id: string): Observable<any>;
|
|
1041
|
-
acceptOffer(id: string): Observable<any>;
|
|
1042
|
-
rejectOffer(id: string, data: any): Observable<any>;
|
|
1043
|
-
referencesPassed(id: string): Observable<any>;
|
|
1044
|
-
referencesFailed(id: string, data: any): Observable<any>;
|
|
1045
|
-
complete(id: string): Observable<any>;
|
|
1046
|
-
fail(id: string): Observable<any>;
|
|
1047
|
-
createHoldingDepositCheckout(offerId: string, data: any): Observable<any>;
|
|
1048
|
-
createSecurityDepositCheckout(offerId: string, data: any): Observable<any>;
|
|
1049
|
-
checkOfferPaymentStatus(offerId: any, sessionId: string): Observable<any>;
|
|
1050
|
-
offerTimeline(offerId: string): Observable<any>;
|
|
1051
|
-
updateOffer(offerId: string, data: any): Observable<any>;
|
|
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>>;
|
|
1056
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PropertyOfferService, never>;
|
|
1057
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<PropertyOfferService>;
|
|
1058
|
-
}
|
|
1059
|
-
|
|
1060
|
-
declare class PropertyViewingService extends BaseService {
|
|
1061
|
-
propertyService: PropertyService;
|
|
1062
|
-
init(): void;
|
|
1063
|
-
static ɵfac: i0.ɵɵFactoryDeclaration<PropertyViewingService, never>;
|
|
1064
|
-
static ɵprov: i0.ɵɵInjectableDeclaration<PropertyViewingService>;
|
|
1065
|
-
}
|
|
1066
|
-
|
|
1067
1038
|
/** Mirrors AbstractBaseEntity (common fields in your backend). */
|
|
1068
1039
|
interface BaseEntity {
|
|
1069
1040
|
id: string;
|
|
@@ -1185,6 +1156,65 @@ interface UpdateScheduleRequest {
|
|
|
1185
1156
|
enabled?: boolean;
|
|
1186
1157
|
}
|
|
1187
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
|
+
|
|
1188
1218
|
declare class AutomationService extends BaseService {
|
|
1189
1219
|
init(): void;
|
|
1190
1220
|
summary(): Observable<any>;
|
|
@@ -1218,11 +1248,6 @@ declare class AutomationService extends BaseService {
|
|
|
1218
1248
|
static ɵprov: i0.ɵɵInjectableDeclaration<AutomationService>;
|
|
1219
1249
|
}
|
|
1220
1250
|
|
|
1221
|
-
interface EnumOption {
|
|
1222
|
-
value: string;
|
|
1223
|
-
label: string;
|
|
1224
|
-
}
|
|
1225
|
-
|
|
1226
1251
|
declare class EnumCacheService {
|
|
1227
1252
|
private api;
|
|
1228
1253
|
private locale;
|
|
@@ -1291,4 +1316,4 @@ declare const SERVICE_DIRECTIVES: Provider[];
|
|
|
1291
1316
|
declare function provideAngularServices(): EnvironmentProviders;
|
|
1292
1317
|
|
|
1293
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 };
|
|
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 };
|
|
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 };
|