export type ContractPayment = { amount: string dueOn: string id: string kind: string percentage: number position: number type: string } export type ContractAGVType = { id: string approvedByOwnerAt: string | null bathroomProducts: boolean checkInDate: string checkInTime: string checkOutDate: string checkOutTime: string clientCivility: string clientCompanyRepresentativeCivility: string | null clientCompanyRepresentativeFirstname: string | null clientCompanyRepresentativeLastname: string | null clientFirstname: string | null clientIsCompany: string | null clientLastname: string | null clientYousignProcedureFinished: false cookingEssentials: false currencyTrigram: string housekeepingHandledByLc: false houseName: string negociatedTouristTaxes: string | null netOwnerPrice: number numberOfAdults: number numberOfChildren: number ownerAddress: string | null ownerCity: string | null ownerCompanyAddress: string ownerCompanyCity: string ownerCompanyCountry: string ownerCompanyName: string ownerCompanyPhone: string ownerCompanyPostalCode: string ownerCompanySiret: string | null ownerCountry: string | null ownerEmail: string ownerFirstname: string | null ownerIsCompany: true ownerLastname: string | null ownerOnboardingFeesAmount: number ownerPhone: string | null ownerPostalCode: string | null ownerPrice: number ownerPrivateToken: string ownerProcedureYousignToken: string | null ownerProcedureYousignTokenUpdatedAt: string | null ownerSendingMethod: string ownerUploadYousignFileToken: string | null ownerYousignProcedureFinished: false paymentTrackingState: string | null securityDepositAmount: number state: string touristTaxPrice: number touristTaxesPerNightPerPerson: number housekeeping: string[] housekeepingHours: string houseFirstPhotoUrl: string statusDisplayedToUser: string | null ownerIdentificationNumber: string | null ownerCompanyRepresentativeIdentificationNumber: string | null bankAccountOwner: string | null companyBankAccountOwner: string ownerIban: string | null ownerBic: string | null ownerBirthdate: string | null ownerCompanyIban: string ownerCompanyBic: string ownerSpecialConditions: string sheetsReplacement: string towelsReplacement: string houseId: string reviewerId: string contractPaymentsIds: string[] guestContactsIds: string[] paymentTransactionsIds: string[] hubspotDealId: number additionalHousekeepingHouseFee: string } export type ContractAGVIncludedType = { contractPayments: ContractPayment | ContractPayment[] reviewer: { id: string email: string firstName: string lastName: string phone: string } house: { privateToken: string name: string slug: { [key: string]: 'fr|en' } } }