dawn-interfaces
Version:
Dawn application interfaces
482 lines (481 loc) • 12.5 kB
TypeScript
import { ISRListing } from './srets';
export * from './filters';
export * from './media';
export * from './analytics';
export * from './srets';
export * from './here';
export * from './notifications';
export * from './showings';
export * from './messaging';
export * from './user';
export * from './clientNotes';
export * from './agentDetails';
export * from './pocketListings';
export * from './savedListings';
export * from './map';
export * from './hotHomes';
export * from './countyPlot';
export * from './selling';
export declare const AllMocks: {
Mock: {};
MockISRListing: {
privateRemarks: string;
property: {
roof: string;
cooling: string;
style: string;
area: number;
bathsFull: number;
bathsHalf: number;
stories: number;
fireplaces: number;
flooring: string;
heating: string;
foundation: string;
poolFeatures: string;
laundryFeatures: string;
occupantName: string;
ownerName: string;
lotDescription: string;
lotSizeAcres: number;
subType: string;
bedrooms: number;
interiorFeatures: string;
lotSize: string;
areaSource: string;
maintenanceExpense: number;
additionalRooms: string;
exteriorFeatures: string;
water: string;
view: string;
lotSizeArea: number;
subdivision: string;
construction: string;
subTypeRaw: string;
parking: {
leased: string;
spaces: number;
description: string;
};
lotSizeAreaUnits: string;
type: string;
garageSpaces: number;
bathsThreeQuarter: number;
accessibility: string;
occupantType: string;
yearBuilt: number;
rooms: {
length: number;
features: string;
area: number;
width: number;
typeText: string;
type: string;
dimensions: string;
description: string;
}[];
};
mlsId: number;
showingInstructions: string;
showingContactName: string;
showingContactPhone: string;
specialListingConditions: string;
ownership: string;
office: {
contact: {
email: string;
office: string;
cell: string;
};
name: string;
servingName: string;
brokerid: string;
};
leaseTerm: string;
disclaimer: string;
address: {
crossStreet: string;
state: string;
country: string;
postalCode: string;
streetName: string;
streetNumberText: string;
city: string;
streetNumber: number;
full: string;
unit: string;
};
listDate: string;
agent: {
lastName: string;
contact: {
email: string;
office: string;
cell: string;
};
firstName: string;
id: string;
};
modified: string;
school: {
middleSchool: string;
highSchool: string;
elementarySchool: string;
district: string;
};
photos: string[];
listPrice: number;
originalListPrice: number;
internetAddressDisplay: boolean;
listingId: string;
mls: {
status: string;
area: string;
daysOnMarket: number;
originalEntryTimestamp: string;
originatingSystemName: string;
statusText: string;
areaMinor: string;
};
internetEntireListingDisplay: boolean;
geo: {
county: string;
lat: number;
lng: number;
marketArea: string;
directions: string;
};
tax: {
taxYear: number;
taxAnnualAmount: number;
id: string;
};
coAgent: {
lastName: string;
contact: {
email: string;
office: string;
cell: string;
};
firstName: string;
id: string;
};
sales: {
closeDate: string;
office: {
contact: {
email: string;
office: string;
cell: string;
};
name: string;
servingName: string;
brokerid: string;
};
closePrice: number;
agent: {
lastName: string;
contact: {
email: string;
office: string;
cell: string;
};
firstName: string;
id: string;
};
contractDate: string;
};
leaseType: string;
virtualTourUrl: string;
remarks: string;
association: {
fee: number;
frequency: string;
name: string;
amenities: string;
};
};
MockISRProperty: {
roof: string;
cooling: string;
style: string;
area: number;
bathsFull: number;
bathsHalf: number;
stories: number;
fireplaces: number;
flooring: string;
heating: string;
foundation: string;
poolFeatures: string;
laundryFeatures: string;
occupantName: string;
ownerName: string;
lotDescription: string;
lotSizeAcres: number;
subType: string;
bedrooms: number;
interiorFeatures: string;
lotSize: string;
areaSource: string;
maintenanceExpense: number;
additionalRooms: string;
exteriorFeatures: string;
water: string;
view: string;
lotSizeArea: number;
subdivision: string;
construction: string;
subTypeRaw: string;
parking: {
leased: string;
spaces: number;
description: string;
};
lotSizeAreaUnits: string;
type: string;
garageSpaces: number;
bathsThreeQuarter: number;
accessibility: string;
occupantType: string;
yearBuilt: number;
rooms: {
length: number;
features: string;
area: number;
width: number;
typeText: string;
type: string;
dimensions: string;
description: string;
}[];
};
MockISRParking: {
leased: string;
spaces: number;
description: string;
};
MockISRRoomsEntity: {
length: number;
features: string;
area: number;
width: number;
typeText: string;
type: string;
dimensions: string;
description: string;
};
MockISROffice: {
contact: {
email: string;
office: string;
cell: string;
};
name: string;
servingName: string;
brokerid: string;
};
MockISRContact: {
email: string;
office: string;
cell: string;
};
MockISRAddress: {
crossStreet: string;
state: string;
country: string;
postalCode: string;
streetName: string;
streetNumberText: string;
city: string;
streetNumber: number;
full: string;
unit: string;
};
MockISRAgentOrCoAgent: {
lastName: string;
contact: {
email: string;
office: string;
cell: string;
};
firstName: string;
id: string;
};
MockISRSchool: {
middleSchool: string;
highSchool: string;
elementarySchool: string;
district: string;
};
MockISRMls: {
status: string;
area: string;
daysOnMarket: number;
originalEntryTimestamp: string;
originatingSystemName: string;
statusText: string;
areaMinor: string;
};
MockISRGeo: {
county: string;
lat: number;
lng: number;
marketArea: string;
directions: string;
};
MockISRTax: {
taxYear: number;
taxAnnualAmount: number;
id: string;
};
MockISRSales: {
closeDate: string;
office: {
contact: {
email: string;
office: string;
cell: string;
};
name: string;
servingName: string;
brokerid: string;
};
closePrice: number;
agent: {
lastName: string;
contact: {
email: string;
office: string;
cell: string;
};
firstName: string;
id: string;
};
contractDate: string;
};
MockISRAssociation: {
fee: number;
frequency: string;
name: string;
amenities: string;
};
MockIUserProfile: {
id: string;
firstName: string;
lastName: string;
createdAt: number;
email: string;
profilePictureThumbnail: string;
userSavedListIds: string[];
userType: string;
};
MockIHereSearchSuggestion: {
title: string;
id: string;
resultType: string;
address: {
label: string;
countryCode: string;
countryName: string;
stateCode: string;
state: string;
district: string;
county: string;
city: string;
postalCode: string;
};
position: {
lat: number;
lng: number;
};
access: {
lat: number;
lng: number;
}[];
distance: number;
categories: {
id: string;
name: string;
primary: boolean;
}[];
};
MockIHereAddress: {
label: string;
countryCode: string;
countryName: string;
stateCode: string;
state: string;
district: string;
county: string;
city: string;
postalCode: string;
};
MockIHereAccessEntityOrPosition: {
lat: number;
lng: number;
};
MockIHereCategoriesEntity: {
id: string;
name: string;
primary: boolean;
};
MockIUserSavedListing: {
id: string;
createdAt: string;
mlsListingId: string;
savedVersion: string;
lastUpdatedSrets: string;
userRating: string;
createdBy: string;
};
};
export declare enum EUserType {
client = "client",
agent = "agent",
super = "super"
}
export declare enum EClientAgentConnectionStatus {
noConnection = "noConnection",
pendingConnection = "pendingConnection",
isConnected = "isConnected"
}
export declare enum EAgentsClientTypeRequest {
myClients = "myClients",
agencyClients = "agencyClients",
unassignedClients = "unassignedClients"
}
export interface IUserProfile {
id: string;
firstName: string;
lastName: string;
createdAt: string;
email: string;
profilePictureThumbnail: string | null;
userType: EUserType;
phoneNumber?: string | null;
assignedAgencyId?: string | null;
description: string;
tagline?: string;
userPrimaryZipCode?: string;
}
export interface IAgentSuggestedListing {
id: string;
createdAt: string;
initialMessage: string;
mlsListingId: string;
agentId: string;
clientId: string;
}
export interface IAgentSuggestedListingViaMls extends IAgentSuggestedListing {
mlsListingData: ISRListing;
}
export interface IAgentSignUpCodes {
id: string;
createdAt: string;
createdByOrganizationPrefix: string;
firstName: string;
lastName: string;
redeemCode: string;
email: string;
}