import { IkasCheckoutSettings } from "../../checkout-settings"; import { IkasCity } from "../../city"; import { IkasCountry } from "../../country"; import { IkasDistrict } from "../../district"; import { IkasShippingZone } from "../../shipping-zone"; import { IkasShippingZoneRegion } from "../../shipping-zone/state/city/district/region"; import { IkasState } from "../../state"; import { IkasForm, IkasFormAsyncItem, IkasFormFreeText, IkasFormItem, IkasFormItemOption } from ".."; export type AddressForm = { id?: string; title?: IkasFormItem; firstName?: IkasFormItem; lastName?: IkasFormItem; identityNumber?: IkasFormItem; addressLine1?: IkasFormItem; addressLine2?: IkasFormItem; postalCode?: IkasFormItem; country?: IkasFormAsyncItem; state?: IkasFormAsyncItem; city?: IkasFormFreeText; district?: IkasFormFreeText; region?: IkasFormItem; phone?: IkasFormItem; company?: IkasFormItem; taxOffice?: IkasFormItem; taxNumber?: IkasFormItem; isInitialized: boolean; countryOptions?: IkasFormItemOption[]; stateOptions?: IkasFormItemOption[]; cityOptions?: IkasFormItemOption[]; districtOptions?: IkasFormItemOption[]; regionOptions?: IkasFormItemOption[]; countries?: IkasCountry[]; states?: IkasState[]; cities?: IkasCity[]; districts?: IkasDistrict[]; regions?: IkasShippingZoneRegion[]; checkoutSettings?: IkasCheckoutSettings; shippingZones?: IkasShippingZone[]; countrySettings?: any; countryLabels?: any; addressFormat?: AddressFormItem[][]; locationSettings?: any; } & IkasForm; export type AddressFormItem = "firstName" | "lastName" | "identityNumber" | "addressLine1" | "addressLine2" | "postalCode" | "country" | "state" | "city" | "district" | "region" | "phone"; export type BillingFormItem = "company" | "taxOffice" | "taxNumber";