import { EnapoCommodity } from "../../../schema-definitions/models/enapo/interfaces/IEnapoGidMapping"; export interface IEnoConsumptionPointView { gid: string; place_id: string; id_type: "ean" | "eic" | "om"; commodity: EnapoCommodity; is_first_gid: boolean; link_source: string; valid_from: string | null; valid_to: string | null; is_active: boolean; /** PRE metadata (electricity, latest month) */ md_year: number | null; md_month: number | null; md_month_name: string | null; md_days_in_stored_month: number | null; md_consumption_point: string | null; md_address: string | null; md_location_type: string | null; md_company_name: string | null; md_company_id: string | null; md_tarif_type: string | null; md_tarif_1t2t: string | null; md_phases: string | null; md_circuit_breaker: string | null; md_type_b_meter: string | null; md_meter_replaced: string | null; /** PPAS distribution invoice (gas, latest non-canceled) */ di_id: string | null; di_preceding_id: string | null; di_customer_id: string | null; di_customer_company_id: string | null; di_customer_name: string | null; di_customer_contract_account_id: string | null; di_customer_address_street: string | null; di_customer_address_house_number: string | null; di_customer_address_house_org_number: string | null; di_customer_address_city: string | null; di_customer_address_city_part: string | null; di_customer_address_post_code: string | null; di_customer_address_country: string | null; di_customer_address_ruian_id: number | null; di_facts_doc_date: string | null; di_facts_net_date: string | null; di_facts_billing_transaction: string | null; di_facts_to_pay_amount: number | null; di_facts_currency: string | null; di_facts_price_brutto: number | null; di_is_canceled: boolean | null; di_canceled_reason: string | null; /** PPAS distribution invoice installation (gas) — dinst_place_id is PPAS-internal, used only to scope devices/prices */ dinst_place_id: string | null; dinst_billing_class: string | null; dinst_measurement_type: string | null; dinst_contract_contract_id: string | null; dinst_contract_move_in_date: string | null; dinst_contract_move_out_date: string | null; dinst_tdd_class: string | null; dinst_address_street: string | null; dinst_address_house_number: string | null; dinst_address_house_org_number: string | null; dinst_address_city: string | null; dinst_address_city_part: string | null; dinst_address_post_code: string | null; dinst_address_country: string | null; dinst_address_ruian_id: number | null; /** PPAS commercial invoice (gas, latest non-canceled) */ ci_id: string | null; ci_preceding_id: string | null; ci_customer_id: string | null; ci_customer_company_id: string | null; ci_customer_name: string | null; ci_customer_contract_account_id: string | null; ci_customer_address_street: string | null; ci_customer_address_house_number: string | null; ci_customer_address_house_org_number: string | null; ci_customer_address_city: string | null; ci_customer_address_city_part: string | null; ci_customer_address_post_code: string | null; ci_customer_address_country: string | null; ci_customer_address_ruian_id: number | null; ci_facts_doc_date: string | null; ci_facts_net_date: string | null; ci_facts_billing_transaction: string | null; ci_facts_to_pay_amount: number | null; ci_facts_currency: string | null; ci_facts_price_brutto: number | null; ci_is_canceled: boolean | null; ci_canceled_reason: string | null; /** PPAS commercial invoice installation (gas) — cinst_place_id is PPAS-internal, used only to scope devices/prices */ cinst_place_id: string | null; cinst_billing_class: string | null; cinst_measurement_type: string | null; cinst_contract_contract_id: string | null; cinst_contract_move_in_date: string | null; cinst_contract_move_out_date: string | null; cinst_tdd_class: string | null; cinst_address_street: string | null; cinst_address_house_number: string | null; cinst_address_house_org_number: string | null; cinst_address_city: string | null; cinst_address_city_part: string | null; cinst_address_post_code: string | null; cinst_address_country: string | null; cinst_address_ruian_id: number | null; }