Latest Threat Research:SANDWORM_MODE: Shai-Hulud-Style npm Worm Hijacks CI Workflows and Poisons AI Toolchains.Details
Socket
Book a DemoInstallSign in
Socket

@rolatech/angular-services

Package Overview
Dependencies
Maintainers
2
Versions
130
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rolatech/angular-services - npm Package Compare versions

Comparing version
20.2.8-bete.1
to
20.2.9-beta.1
+2
-2
package.json
{
"name": "@rolatech/angular-services",
"version": "20.2.8-bete.1",
"version": "20.2.9-beta.1",
"private": false,

@@ -15,3 +15,3 @@ "peerDependencies": {

"dependencies": {
"@rolatech/angular-common": "20.2.8-bete.1",
"@rolatech/angular-common": "20.2.9-beta.1",
"tslib": "^2.3.0"

@@ -18,0 +18,0 @@ },

@@ -7,2 +7,3 @@ import * as i0 from '@angular/core';

import { HttpClient, HttpRequest, HttpHandler, HttpEvent, HttpInterceptorFn } from '@angular/common/http';
import { AppConfig, ApiResponse } from '@rolatech/angular-common';
import { Location } from '@angular/common';

@@ -15,3 +16,2 @@ import { Router, ActivatedRoute } from '@angular/router';

import { Title } from '@angular/platform-browser';
import { ApiResponse } from '@rolatech/angular-common';

@@ -52,4 +52,4 @@ interface DialogData {

declare class BaseService {
protected http: HttpClient;
protected environment: any;
protected readonly http: HttpClient;
protected readonly environment: AppConfig;
protected actionUrl: string;

@@ -178,31 +178,39 @@ endpoint: string;

type ApplicantType = 'INDIVIDUAL' | 'CORPORATE' | 'STUDENT';
type GuarantorType = 'INDIVIDUAL' | 'COMPANY';
type EmploymentStatus = 'EMPLOYED' | 'SELF_EMPLOYED' | 'UNEMPLOYED';
type VisaStatus = 'CITIZEN' | 'WORK_VISA' | 'STUDENT_VISA' | 'OTHER';
type AdverseCreditStatus = 'NONE' | 'CCJ' | 'BANKRUPTCY' | 'IVA' | 'OTHER';
type VisaStatus = 'CITIZEN' | 'VISA_HOLDER' | 'WAITING_FOR_VISA' | 'NOT_YET_APPLIED_FOR_VISA';
type VisaShareCodeStatus = 'WAITING_FOR_SHARECODE' | 'OTHER';
type AdverseCreditStatus = 'NONE' | 'ACTIVE_CCJ' | 'SATISFIED_CCJ' | 'DEBT_MANAGEMENT_PLAN' | 'LOW_CREDIT_SCORE' | 'OTHER';
type Gender = 'MALE' | 'FEMALE' | 'OTHER' | 'PREFER_NOT_TO_SAY';
type SalePaymentMethod = 'CASH' | 'MORTGAGE';
type OfferInvoiceOption = 'COMBINED' | 'SEPARATE';
type GuarantorRelationshipType = 'FAMILY' | 'FRIEND' | 'GUARANTOR_SERVICE' | 'OTHER';
declare enum PropertyOfferStatus {
SUBMITTED = "Submitted",
ACCEPTED = "Accepted",
COUNTERED = "Countered",
REJECTED = "Rejected",
UNDER_OFFER = "Under offer",
HOLDING_DEPOSIT_PENDING = "Holding deposit pending",
HOLDING_DEPOSIT_PAID = "Holding deposit paid",
REFERENCING = "Referencing",
REFERENCES_PASSED = "References passed",
REFERENCES_FAILED = "References failed",
CONTRACT_PENDING = "Contract pending",
CONTRACT_SIGNED = "Contract signed",
CONTRACT_FAILED = "Contract failed",
SECURITY_DEPOSIT_PENDING = "Security deposit pending",
SECURITY_DEPOSIT_PAID = "Security deposit paid",
FIRST_RENT_PENDING = "First rent pending",
MOVE_IN_PAYMENT_PAID = "Move-in payment paid",
COMPLETED = "Completed",
FAILED = "Failed",
WITHDRAWN = "Withdrawn",
EXPIRED = "Expired",
CANCELLED = "Cancelled"
DRAFT = "DRAFT",
SUBMITTED = "SUBMITTED",
VIEWED_BY_AGENT = "VIEWED_BY_AGENT",
VIEWED_BY_TENANT = "VIEWED_BY_TENANT",
COUNTERED_BY_AGENT = "COUNTERED_BY_AGENT",
COUNTERED_BY_TENANT = "COUNTERED_BY_TENANT",
WITHDRAWN_BY_AGENT = "WITHDRAWN_BY_AGENT",
WITHDRAWN_BY_TENANT = "WITHDRAWN_BY_TENANT",
ACCEPTED = "ACCEPTED",// accepted in principle
REJECTED = "REJECTED",
UNDER_OFFER = "UNDER_OFFER",
HOLDING_DEPOSIT_PENDING = "HOLDING_DEPOSIT_PENDING",
HOLDING_DEPOSIT_PAID = "HOLDING_DEPOSIT_PAID",
REFERENCING = "REFERENCING",
REFERENCES_PASSED = "REFERENCES_PASSED",
REFERENCES_FAILED = "REFERENCES_FAILED",
CONTRACT_PENDING = "CONTRACT_PENDING",
CONTRACT_SIGNED = "CONTRACT_SIGNED",
CONTRACT_FAILED = "CONTRACT_FAILED",
SECURITY_DEPOSIT_PENDING = "SECURITY_DEPOSIT_PENDING",
SECURITY_DEPOSIT_PAID = "SECURITY_DEPOSIT_PAID",
FIRST_RENT_PENDING = "FIRST_RENT_PENDING",
MOVE_IN_PAYMENT_PAID = "MOVE_IN_PAYMENT_PAID",
COMPLETED = "COMPLETED",
FAILED = "FAILED",
EXPIRED = "EXPIRED",
CANCELLED = "CANCELLED"
}

@@ -225,2 +233,3 @@ interface OfferSummary {

additionalRequests: string | null;
internalNote?: string | null;
}

@@ -237,6 +246,8 @@ interface PersonAddress {

dob: string | null;
relationship: string | null;
gender: Gender | null;
nationality: string | null;
phone: string | null;
email: string | null;
address: PersonAddress;
type: GuarantorType;
employmentStatus: EmploymentStatus | null;

@@ -248,2 +259,5 @@ companyName: string | null;

taxReturnSubmitted: boolean | null;
additionalFinancialSupport: string | null;
relationshipType: GuarantorRelationshipType;
relationshipOther?: string | null;
}

@@ -256,3 +270,2 @@ interface Tenant {

nationality: string | null;
visaStatus: VisaStatus | null;
phone: string | null;

@@ -263,2 +276,5 @@ email: string | null;

applicantType: ApplicantType | null;
visaStatus: VisaStatus | null;
visaShareCodeStatus: VisaShareCodeStatus;
visaShareCodeOther: string;
employmentStatus: EmploymentStatus | null;

@@ -333,3 +349,118 @@ companyName: string | null;

}
interface UpdatePropertyOfferInternalNoteRequest {
internalNote: string;
}
interface PropertyOfferInternalNoteResponse {
offerId: string;
internalNote: string;
}
type PropertyOfferActor = 'AGENT' | 'TENANT' | 'SYSTEM';
interface PropertyOfferCounterRequest {
amount: number | null;
moveInDate: string | null;
paymentFrequency: PaymentFrequency | null;
tenancyLengthMonths: number | null;
breakClauseMonths: number | null;
pets: string[] | [];
smoker: boolean | null;
furniture: FurnitureRequirement | null;
additionalRequests: string | null;
}
interface PropertyOfferVersion {
id: string;
version: number;
actor: PropertyOfferActor;
amount: number | null;
moveInDate: string | null;
paymentFrequency: string | null;
tenancyLengthMonths: number | null;
breakClauseMonths: number | null;
pets: string[] | [];
smoker: boolean | null;
furniture: string | null;
additionalRequests: string | null;
}
interface PropertyOfferHistory {
id: string;
timestamp: string;
actor: PropertyOfferActor;
action: string;
changes: string | null;
reason: string | null;
internalNote: string | null;
}
interface EditLockResponse {
locked: boolean;
lockedById: string | null;
lockedByName: string | null;
lockedByActor: string | null;
expiresAt: string | null;
}
interface PropertyOfferNegotiationView {
offer: OfferDto;
latestVersion: VersionDto | null;
previousVersion: VersionDto | null;
latestHistory: HistoryDto | null;
history: HistoryDto[];
editLock: EditLockDto | null;
permissions: PermissionsDto;
}
interface OfferDto {
id: string;
status: PropertyOfferStatus;
counterCount: number;
lastActionAt: string | null;
acceptedVersionId: string | null;
waitingOn?: PropertyOfferActor | null;
lastTurnAt?: string | null;
lastViewedByAgentAt?: string | null;
lastViewedByTenantAt?: string | null;
lastCounterBy?: PropertyOfferActor | null;
}
interface VersionDto {
id: string;
version: number;
actor: PropertyOfferActor;
amount: number | null;
moveInDate: string | null;
paymentFrequency: string | null;
tenancyLengthMonths: number | null;
breakClauseMonths: number | null;
pets: string[] | [];
smoker: boolean | null;
furniture: string | null;
additionalRequests: string | null;
createdAt: string | null;
}
interface HistoryDto {
id: string;
timestamp: string;
actor: PropertyOfferActor;
action: string;
changes: Record<string, any>;
reason: string | null;
internalNote: string | null;
}
interface EditLockDto {
locked: boolean;
lockedById: string | null;
lockedByName: string | null;
lockedByActor: string | null;
expiresAt: string | null;
}
interface PermissionsDto {
canView: boolean;
canCounter: boolean;
canAccept: boolean;
canReject: boolean;
canWithdraw: boolean;
canEdit: boolean;
canMarkUnderOffer: boolean;
canStartReferencing: boolean;
canMarkReferencesPassed: boolean;
canMarkReferencesFailed: boolean;
canMarkCompleted: boolean;
}
declare class DialogService {

@@ -1038,38 +1169,2 @@ dialog: MatDialog;

declare class PropertyOfferService extends BaseService {
propertyService: PropertyService;
init(): void;
makeOffer(propertyId: string, data: any): Observable<any>;
findOffers(options: any): Observable<any>;
findOffersByUser(options: any): Observable<any>;
findOffersByAgent(options: any): Observable<any>;
getOffer(offerId: any): Observable<ApiResponse<PropertyOfferResponse>>;
cancelOffer(id: string): Observable<any>;
underOffer(id: string): Observable<any>;
acceptOffer(id: string): Observable<any>;
rejectOffer(id: string, data: any): Observable<any>;
referencesPassed(id: string): Observable<any>;
referencesFailed(id: string, data: any): Observable<any>;
complete(id: string): Observable<any>;
fail(id: string): Observable<any>;
createHoldingDepositCheckout(offerId: string, data: any): Observable<any>;
createSecurityDepositCheckout(offerId: string, data: any): Observable<any>;
checkOfferPaymentStatus(offerId: any, sessionId: string): Observable<any>;
offerTimeline(offerId: string): Observable<any>;
updateOffer(offerId: string, data: any): Observable<any>;
updateInvoiceOption(offerId: string, data: any): Observable<any>;
createRental(payload: CreateRentalOfferPayload): Observable<ApiResponse<PropertyOfferResponse>>;
createSale(payload: CreateSaleOfferPayload): Observable<ApiResponse<PropertyOfferResponse>>;
getCopyText(id: string, redactContact?: boolean): Observable<ApiResponse<CopyTextResponse>>;
static ɵfac: i0.ɵɵFactoryDeclaration<PropertyOfferService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<PropertyOfferService>;
}
declare class PropertyViewingService extends BaseService {
propertyService: PropertyService;
init(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<PropertyViewingService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<PropertyViewingService>;
}
/** Mirrors AbstractBaseEntity (common fields in your backend). */

@@ -1196,2 +1291,63 @@ interface BaseEntity {

interface EnumOption {
value: string;
label: string;
}
type ReferenceProvider = 'GOODLORD' | 'LET_ALLIANCE' | 'HOMELET' | 'OTHER';
interface OfferReferencingPatchPayload {
referenceProvider: ReferenceProvider;
referenceProviderOther?: string | null;
}
interface OfferReferencingView {
referenceProvider: ReferenceProvider | null;
referenceProviderOther: string | null;
updatedBy?: string | null;
updatedAt?: string | null;
}
declare class PropertyOfferService extends BaseService {
propertyService: PropertyService;
init(): void;
makeOffer(propertyId: string, data: any): Observable<any>;
findOffers(options: any): Observable<any>;
search<T = any>(rawParams: Record<string, any>): Observable<ApiResponse<T>>;
search1(options: any): Observable<any>;
findOffersByUser(options: any): Observable<any>;
findOffersByAgent(options: any): Observable<any>;
getOffer(offerId: any): Observable<ApiResponse<PropertyOfferResponse>>;
cancelOffer(id: string): Observable<any>;
underOffer(id: string): Observable<any>;
acceptOffer(id: string): Observable<any>;
rejectOffer(id: string, data: any): Observable<any>;
referencesPassed(id: string): Observable<any>;
referencesFailed(id: string, data: any): Observable<any>;
getReference(offerId: string): Observable<ApiResponse<OfferReferencingView>>;
updateReferenceProvider(offerId: string, payload: OfferReferencingPatchPayload): Observable<ApiResponse<OfferReferencingView>>;
complete(id: string): Observable<any>;
fail(id: string): Observable<any>;
createHoldingDepositCheckout(offerId: string, data: any): Observable<any>;
createSecurityDepositCheckout(offerId: string, data: any): Observable<any>;
checkOfferPaymentStatus(offerId: any, sessionId: string): Observable<any>;
offerTimeline(offerId: string): Observable<any>;
updateOffer(offerId: string, data: any): Observable<any>;
updateInvoiceOption(offerId: string, data: any): Observable<any>;
createRental(payload: CreateRentalOfferPayload): Observable<ApiResponse<PropertyOfferResponse>>;
createSale(payload: CreateSaleOfferPayload): Observable<ApiResponse<PropertyOfferResponse>>;
getCopyText(id: string, redactContact?: boolean): Observable<ApiResponse<CopyTextResponse>>;
updateOfferInternalNote(offerId: string, data: UpdatePropertyOfferInternalNoteRequest): Observable<ApiResponse<PropertyOfferInternalNoteResponse>>;
getOfferInternalNote(offerId: string): Observable<ApiResponse<PropertyOfferInternalNoteResponse>>;
stripUndefined<T extends Record<string, any>>(obj: T): Partial<T>;
isEmptyFilter(params: Record<string, any>, ignoreKeys?: string[]): boolean;
static ɵfac: i0.ɵɵFactoryDeclaration<PropertyOfferService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<PropertyOfferService>;
}
declare class PropertyViewingService extends BaseService {
propertyService: PropertyService;
init(): void;
static ɵfac: i0.ɵɵFactoryDeclaration<PropertyViewingService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<PropertyViewingService>;
}
declare class AutomationService extends BaseService {

@@ -1230,7 +1386,2 @@ init(): void;

interface EnumOption {
value: string;
label: string;
}
declare class EnumCacheService {

@@ -1273,2 +1424,34 @@ private api;

declare class PropertyOfferCounterService extends BaseService {
init(): void;
getNegotiationViewByAgent(id: string): Observable<ApiResponse<PropertyOfferNegotiationView>>;
getNegotiationViewByTenant(id: string): Observable<ApiResponse<PropertyOfferNegotiationView>>;
getVersions(id: string): Observable<ApiResponse<PropertyOfferVersion[]>>;
getHistory(id: string): Observable<ApiResponse<PropertyOfferHistory[]>>;
counterByAgent(id: string, payload: any): Observable<ApiResponse<PropertyOfferVersion>>;
counterByTenant(id: string, payload: any): Observable<ApiResponse<PropertyOfferVersion>>;
acceptByAgent(id: string): Observable<void>;
acceptByTenant(id: string): Observable<void>;
rejectByAgent(id: string, reason: string): Observable<void>;
rejectByTenant(id: string, reason: string): Observable<void>;
withdrawByAgent(id: string, clientId?: string): Observable<ApiResponse<PropertyOfferResponse>>;
withdrawByTenant(id: string, clientId?: string): Observable<ApiResponse<PropertyOfferResponse>>;
viewedByAgent(offerId: string): Observable<ApiResponse<void>>;
viewedByTenant(offerId: string): Observable<ApiResponse<void>>;
markUnderOffer(id: string): Observable<any>;
acceptOffer(id: string): Observable<any>;
rejectOffer(id: string, data: any): Observable<any>;
startReferencing(id: string): Observable<any>;
markReferencesPassed(id: string): Observable<any>;
markReferencesFailed(id: string, data: any): Observable<any>;
markReferencesReopen(id: string, data: any): Observable<any>;
markCompleted(id: string): Observable<any>;
getEditLock(id: string): Observable<ApiResponse<EditLockResponse>>;
acquireLock(id: string, clientId: string): Observable<ApiResponse<EditLockResponse>>;
heartbeat(id: string): Observable<ApiResponse<EditLockResponse>>;
release(id: string): Observable<void>;
static ɵfac: i0.ɵɵFactoryDeclaration<PropertyOfferCounterService, never>;
static ɵprov: i0.ɵɵInjectableDeclaration<PropertyOfferCounterService>;
}
declare class LoadingInterceptor {

@@ -1304,3 +1487,6 @@ loadingService: LoadingService;

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 };
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, IDynamicDialogConfig, InvoiceStats, OfferInvoiceOption, OfferSummary, OfferType, PaymentFrequency, PendingInvoice, PersonAddress, PropertyOfferItem, PropertyOfferItemMedia, PropertyOfferResponse, PropertyStats, RentalOfferTerms, SaleOfferDetails, SalePaymentMethod, ScheduleCron, ScheduleCronMeta, ScheduleOptionResponse, Tenant, UpcomingViewing, UpdateDefinitionRequest, UpdateScheduleRequest, VisaStatus };
declare const PROPERTY_OFFER_STATUS_LABEL: Record<PropertyOfferStatus, string>;
declare function offerStatusLabel(status: PropertyOfferStatus | null | undefined): string;
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, PROPERTY_OFFER_STATUS_LABEL, PaymentService, PostService, ProductCategoryService, ProductService, PropertyHighlightsService, PropertyOfferCounterService, PropertyOfferService, PropertyOfferStatus, PropertySearchService, PropertyService, PropertyStatsService, PropertyViewingService, ResourceCategoryService, ResourceService, SCHEDULE_CRON_META, SERVICE_DIRECTIVES, SidenavService, SnackBarService, SupportService, ThemeService, TimeZoneService, TitleService, acceptLanguageInterceptor, offerStatusLabel, provideAngularServices };
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, EditLockDto, EditLockResponse, EmploymentStatus, EnqueueExecutionRequest, EnumOption, ExecutionLogDto, FurnitureRequirement, Gender, GroupedViewingsByDate, Guarantor, GuarantorRelationshipType, GuarantorType, HistoryDto, IDynamicDialogConfig, InvoiceStats, OfferDto, OfferInvoiceOption, OfferReferencingPatchPayload, OfferReferencingView, OfferSummary, OfferType, PaymentFrequency, PendingInvoice, PermissionsDto, PersonAddress, PropertyOfferActor, PropertyOfferCounterRequest, PropertyOfferHistory, PropertyOfferInternalNoteResponse, PropertyOfferItem, PropertyOfferItemMedia, PropertyOfferNegotiationView, PropertyOfferResponse, PropertyOfferVersion, PropertyStats, ReferenceProvider, RentalOfferTerms, SaleOfferDetails, SalePaymentMethod, ScheduleCron, ScheduleCronMeta, ScheduleOptionResponse, Tenant, UpcomingViewing, UpdateDefinitionRequest, UpdatePropertyOfferInternalNoteRequest, UpdateScheduleRequest, VersionDto, VisaShareCodeStatus, VisaStatus };

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display