import type { ClientContractIncludedType } from '../repositories/lc/v3/user/clientContracts'; export type TripContract = { id: string; checkInDate: string; checkInTime: string; checkOutDate: string; checkOutTime: string; destinationName: string; houseName: string; ownerPrice: number; netOwnerPrice: number; currency: string; awaitingUserActionId: null; houseId: string; houseFirstPhotoId: string; awaitingUserActionsIds: string[]; bookingsIds: string[]; clientCivility: string; clientCompanyRepresentativeCivility: string; clientCompanyRepresentativeFirstname: string | null; clientCompanyRepresentativeLastname: string | null; clientFirstname: string | null; clientLastname: string | null; clientIsCompany: boolean; clientYousignProcedureFinished: boolean; conciergerieOffer: string; guest: boolean; ownerProcedureYousignTokenUpdatedAt: null; ownerUploadYousignFileToken: null; ownerYousignProcedureFinished: boolean; paymentTrackingState: string; paymentTransactionsIds: string[]; state: string; statusDisplayedToUser: 'pending' | 'confirmed' | 'canceled'; }; export type GetContractByTypeIncluded = { awaitingUserAction: Record | Record[]; houses: ClientContractIncludedType['houses']; photos: Record; };