recherche
This commit is contained in:
@ -146,6 +146,72 @@ export type GrillePrixRecord = RecordModel & {
|
||||
ville?: string;
|
||||
};
|
||||
|
||||
export type RechercheSauvegardeeRecord = RecordModel & {
|
||||
user: string;
|
||||
nom: string;
|
||||
critere_json?: string;
|
||||
actif?: boolean;
|
||||
};
|
||||
|
||||
export type AlerteRechercheRecord = RecordModel & {
|
||||
user: string;
|
||||
recherche?: string;
|
||||
nom: string;
|
||||
canal: 'in_app' | 'email' | 'push';
|
||||
actif?: boolean;
|
||||
derniere_verification?: string;
|
||||
dernier_nb_resultats?: number;
|
||||
};
|
||||
|
||||
export type AnnonceVeilleStatut = 'nouveau' | 'vu' | 'ecarte' | 'raccroche';
|
||||
|
||||
export type AnnonceVeilleRecord = RecordModel & {
|
||||
user: string;
|
||||
titre: string;
|
||||
url?: string;
|
||||
source?: string;
|
||||
prix?: number;
|
||||
surface?: number;
|
||||
code_postal?: string;
|
||||
ville?: string;
|
||||
empreinte?: string;
|
||||
statut: AnnonceVeilleStatut;
|
||||
};
|
||||
|
||||
export type FluxSourceType = 'api' | 'manuel' | 'csv';
|
||||
|
||||
export type FluxSourceRecord = RecordModel & {
|
||||
user: string;
|
||||
nom: string;
|
||||
type: FluxSourceType;
|
||||
notes?: string;
|
||||
actif?: boolean;
|
||||
};
|
||||
|
||||
export type TransactionSecteurSource = 'manuel' | 'dvf_import' | 'api_tiers';
|
||||
|
||||
export type TransactionSecteurRecord = RecordModel & {
|
||||
user: string;
|
||||
libelle: string;
|
||||
code_insee?: string;
|
||||
annee?: number;
|
||||
prix_m2_median?: number;
|
||||
nb_ventes?: number;
|
||||
source: TransactionSecteurSource;
|
||||
detail_json?: string;
|
||||
};
|
||||
|
||||
export type CourrierImmobilierKind = 'prospection' | 'annonce_agence' | 'relance';
|
||||
export type CourrierImmobilierEtat = 'brouillon' | 'pret';
|
||||
|
||||
export type CourrierImmobilierRecord = RecordModel & {
|
||||
user: string;
|
||||
titre: string;
|
||||
corps?: string;
|
||||
kind: CourrierImmobilierKind;
|
||||
etat: CourrierImmobilierEtat;
|
||||
};
|
||||
|
||||
export type VisiteRecord = RecordModel & {
|
||||
user: string;
|
||||
bien: string;
|
||||
|
||||
Reference in New Issue
Block a user