export type SurveyBasicInfo = { id: number representative: string store: string | null construction_point: string | null investigation_date: string | null building_name: string | null customer_name: string | null post_code: string | null address: string | null address_detail: string | null submission_status: boolean submission_date: string | null detail_info: SurveyDetailInfo | null created_at: Date updated_at: Date } export type SurveyDetailInfo = { id: number contract_capacity: string | null retail_company: string | null supplementary_facilities: number | null supplementary_facilities_etc: string | null installation_system: number | null installation_system_etc: string | null construction_year: number | null construction_year_etc: string | null roof_material: number | null roof_material_etc: string | null roof_shape: number | null roof_shape_etc: string | null roof_slope: string | null house_structure: number | null house_structure_etc: string | null rafter_material: number | null rafter_material_etc: string | null rafter_size: number | null rafter_size_etc: string | null rafter_pitch: number | null rafter_pitch_etc: string | null rafter_direction: number | null open_field_plate_kind: number | null open_field_plate_kind_etc: string | null open_field_plate_thickness: string | null leak_trace: boolean | null waterproof_material: number | null waterproof_material_etc: string | null insulation_presence: number | null insulation_presence_etc: string | null structure_order: number | null structure_order_etc: string | null installation_availability: number | null installation_availability_etc: string | null memo: string | null created_at: Date updated_at: Date } export type SurveyBasicRequest = { representative: string store: string | null construction_point: string | null investigation_date: string | null building_name: string | null customer_name: string | null post_code: string | null address: string | null address_detail: string | null submission_status: boolean submission_date: string | null } export type SurveyDetailRequest = { contract_capacity: string | null retail_company: string | null supplementary_facilities: number | null supplementary_facilities_etc: string | null installation_system: number | null installation_system_etc: string | null construction_year: number | null construction_year_etc: string | null roof_material: number | null roof_material_etc: string | null roof_shape: number | null roof_shape_etc: string | null roof_slope: string | null house_structure: number | null house_structure_etc: string | null rafter_material: number | null rafter_material_etc: string | null rafter_size: number | null rafter_size_etc: string | null rafter_pitch: number | null rafter_pitch_etc: string | null rafter_direction: number | null open_field_plate_kind: number | null open_field_plate_kind_etc: string | null open_field_plate_thickness: string | null leak_trace: boolean | null waterproof_material: number | null waterproof_material_etc: string | null insulation_presence: number | null insulation_presence_etc: string | null structure_order: number | null structure_order_etc: string | null installation_availability: number | null installation_availability_etc: string | null memo: string | null basic_info_id: number }