210 lines
4.5 KiB
TypeScript
210 lines
4.5 KiB
TypeScript
import { EOfficeStatus } from "le-coffre-resources/dist/Notary/Office";
|
|
import User, { Address, Contact, Office, DeedType, DocumentType, Customer, OfficeFolder, Deed } from "le-coffre-resources/dist/SuperAdmin";
|
|
|
|
export const userAddress: Address = {
|
|
address: "1 avenue des champs élysées",
|
|
zip_code: 75008,
|
|
city: "paris",
|
|
created_at: null,
|
|
updated_at: null,
|
|
};
|
|
|
|
export const userAddress_: Address = {
|
|
address: "1 rue Victor Hugo",
|
|
zip_code: 75001,
|
|
city: "paris",
|
|
created_at: null,
|
|
updated_at: null,
|
|
};
|
|
|
|
export const userContact: Contact = {
|
|
first_name: "Philippe",
|
|
last_name: "le Bel",
|
|
address: userAddress,
|
|
email: "philippe.lebel@notaires.fr",
|
|
phone_number: "+33101020304",
|
|
cell_phone_number: "+33605060708",
|
|
civility: "MALE",
|
|
created_at: null,
|
|
updated_at: null,
|
|
};
|
|
|
|
export const userContact_: Contact = {
|
|
first_name: "Saint",
|
|
last_name: "Louise",
|
|
address: userAddress_,
|
|
email: "saint.louise@notaires.fr",
|
|
phone_number: "+33105060708",
|
|
cell_phone_number: "+33601020304",
|
|
civility: "FEMALE",
|
|
created_at: null,
|
|
updated_at: null,
|
|
};
|
|
|
|
export const customerContact: Contact = {
|
|
first_name: "John",
|
|
last_name: "Doe",
|
|
address: userAddress,
|
|
email: "john.doe@customer.fr",
|
|
phone_number: "+3313847505",
|
|
cell_phone_number: "+3313847505",
|
|
civility: "MALE",
|
|
created_at: null,
|
|
updated_at: null,
|
|
};
|
|
|
|
export const customerContact_: Contact = {
|
|
first_name: "Jocelyne",
|
|
last_name: "Doe",
|
|
address: userAddress,
|
|
email: "jocelyne.doe@customer.fr",
|
|
phone_number: "+331384894505",
|
|
cell_phone_number: "+331384894505",
|
|
civility: "FEMALE",
|
|
created_at: null,
|
|
updated_at: null,
|
|
};
|
|
|
|
export const officeAddress: Address = {
|
|
address: "1 rue Rivoli",
|
|
zip_code: 75001,
|
|
city: "paris",
|
|
created_at: null,
|
|
updated_at: null,
|
|
};
|
|
|
|
export const officeAddress_: Address = {
|
|
address: "1 rue de la paix",
|
|
zip_code: 75008,
|
|
city: "paris",
|
|
created_at: null,
|
|
updated_at: null,
|
|
};
|
|
|
|
export const office: Office = {
|
|
idNot: "123456789",
|
|
name: "first office",
|
|
crpcen: "0123456789CRPCEN",
|
|
office_status: EOfficeStatus.ACTIVATED,
|
|
address: officeAddress,
|
|
created_at: null,
|
|
updated_at: null,
|
|
};
|
|
|
|
export const office_: Office = {
|
|
idNot: "789101112",
|
|
name: "second office",
|
|
crpcen: "987654321CRPCEN",
|
|
office_status: EOfficeStatus.DESACTIVATED,
|
|
address: officeAddress_,
|
|
created_at: null,
|
|
updated_at: null,
|
|
};
|
|
|
|
export const user: User = {
|
|
idNot: "123456_123456789",
|
|
contact: userContact,
|
|
office_membership: office,
|
|
created_at: null,
|
|
updated_at: null,
|
|
};
|
|
|
|
export const user_: User = {
|
|
idNot: "654321_789101112",
|
|
contact: userContact_,
|
|
office_membership: office_,
|
|
created_at: null,
|
|
updated_at: null,
|
|
};
|
|
|
|
export const documentType: DocumentType = {
|
|
name: "Identity card",
|
|
public_description: "your ID card delivered by your country of residence",
|
|
private_description: "verify if this ID card is legit",
|
|
archived_at: null,
|
|
office: office,
|
|
created_at: null,
|
|
updated_at: null,
|
|
};
|
|
|
|
export const documentType_: DocumentType = {
|
|
name: "Electricity bill",
|
|
public_description: "an electricity bill payed within the last 3 months",
|
|
private_description: "verify if this electricity company is legit",
|
|
archived_at: null,
|
|
office: office,
|
|
created_at: null,
|
|
updated_at: null,
|
|
};
|
|
|
|
export const deedType: DeedType = {
|
|
name: "Wedding",
|
|
description: "we assume wedding involve two people",
|
|
archived_at: null,
|
|
office: office,
|
|
created_at: null,
|
|
updated_at: null,
|
|
document_types: [documentType],
|
|
};
|
|
|
|
export const deedType_: DeedType = {
|
|
name: "Inheritance",
|
|
description: "we assume inheritance involve two people",
|
|
archived_at: null,
|
|
office: office_,
|
|
created_at: null,
|
|
updated_at: null,
|
|
};
|
|
|
|
export const deed: Deed = {
|
|
deed_type: deedType,
|
|
created_at: null,
|
|
updated_at: null,
|
|
};
|
|
|
|
export const deed_: Deed = {
|
|
deed_type: deedType_,
|
|
created_at: null,
|
|
updated_at: null,
|
|
};
|
|
|
|
export const customer: Customer = {
|
|
contact: customerContact,
|
|
status: "PENDING",
|
|
created_at: null,
|
|
updated_at: null,
|
|
};
|
|
|
|
export const customer_: Customer = {
|
|
contact: customerContact_,
|
|
status: "ERRONED",
|
|
created_at: null,
|
|
updated_at: null,
|
|
};
|
|
|
|
export const officeFolder: OfficeFolder = {
|
|
name: "Dossier 1234567",
|
|
folder_number: "1234567",
|
|
description: "Dossier de mr Dupont",
|
|
archived_description: null,
|
|
status: "ARCHIVED",
|
|
deed: deed,
|
|
office: office,
|
|
customers: [customer, customer_],
|
|
stakeholders: [user, user_],
|
|
created_at: null,
|
|
updated_at: null,
|
|
};
|
|
|
|
export const officeFolder_: OfficeFolder = {
|
|
name: "Dossier 89101112",
|
|
folder_number: "89101112",
|
|
description: "Dossier de mme Dutunnel",
|
|
archived_description: null,
|
|
status: "LIVE",
|
|
deed: deed_,
|
|
office: office_,
|
|
created_at: null,
|
|
updated_at: null,
|
|
};
|