
<pre>export interface Categories {
  id: number;
  name: string;
  image_url: string;
  parent_id: number;
  created_at: string;
}

export const initCategories: Categories = {
  id: 0,
  name: '',
  image_url: '',
  parent_id: 0,
  created_at: '',
};

export interface Companies {
  id: number;
  name: string;
  logo: string;
  description: string;
  address: string;
  latitude: number;
  longitude: number;
  address_url: string;
  created_at: string;
  owner_id: string;
}

export const initCompanies: Companies = {
  id: 0,
  name: '',
  logo: '',
  description: '',
  address: '',
  latitude: 0,
  longitude: 0,
  address_url: '',
  created_at: '',
  owner_id: '',
};

export interface Delivery_info {
  id: number;
  base_delivery_price: number;
  price_per_km: number;
  distance_threshold: number;
  created_at: string;
}

export const initDelivery_info: Delivery_info = {
  id: 0,
  base_delivery_price: 0,
  price_per_km: 0,
  distance_threshold: 0,
  created_at: '',
};

export interface Markup_ranges {
  id: number;
  min_price: string;
  max_price: string;
  markup_percentage: string;
  created_at: string;
  type: string;
}

export const initMarkup_ranges: Markup_ranges = {
  id: 0,
  min_price: '',
  max_price: '',
  markup_percentage: '',
  created_at: '',
  type: '',
};

export interface Order_item_options {
  id: number;
  order_item_id: number;
  name: string;
  value: string;
  price: number;
  parent_option_id: number;
  created_at: string;
}

export const initOrder_item_options: Order_item_options = {
  id: 0,
  order_item_id: 0,
  name: '',
  value: '',
  price: 0,
  parent_option_id: 0,
  created_at: '',
};

export interface Order_items {
  id: number;
  order_id: number;
  item_id: number;
  item_name: string;
  item_image: string;
  quantity: number;
  subtotal: number;
  created_at: string;
}

export const initOrder_items: Order_items = {
  id: 0,
  order_id: 0,
  item_id: 0,
  item_name: '',
  item_image: '',
  quantity: 0,
  subtotal: 0,
  created_at: '',
};

export interface Orders {
  id: number;
  customer_id: number;
  company_id: number;
  status: string;
  total_price: number;
  order_date: string;
  payment_method: string;
  payment_status: string;
  payment_date_time: string;
  payment_confirmed_by: string;
  created_at: string;
  slug: string;
  items: string;
  metadata: string;
}

export const initOrders: Orders = {
  id: 0,
  customer_id: 0,
  company_id: 0,
  status: '',
  total_price: 0,
  order_date: '',
  payment_method: '',
  payment_status: '',
  payment_date_time: '',
  payment_confirmed_by: '',
  created_at: '',
  slug: '',
  items: '',
  metadata: '',
};

export interface Products {
  id: number;
  campany_id: number;
  category_id: number;
  name: string;
  description: string;
  price: number;
  availability: number;
  image_url: string;
  created_at: string;
  metadata: string;
}

export const initProducts: Products = {
  id: 0,
  campany_id: 0,
  category_id: 0,
  name: '',
  description: '',
  price: 0,
  availability: 0,
  image_url: '',
  created_at: '',
  metadata: '',
};

export interface Tokens {
  id: number;
  user_id: string;
  token: string;
  created_at: string;
}

export const initTokens: Tokens = {
  id: 0,
  user_id: '',
  token: '',
  created_at: '',
};

export interface Tybo_page {
  pageId: number;
  websiteId: number;
  path: string;
  title: string;
  slug: string;
}

export const initTybo_page: Tybo_page = {
  pageId: 0,
  websiteId: 0,
  path: '',
  title: '',
  slug: '',
};

export interface Tybo_section {
  sectionId: number;
  pageId: number;
  type: string;
  metadata: string;
  position: number;
}

export const initTybo_section: Tybo_section = {
  sectionId: 0,
  pageId: 0,
  type: '',
  metadata: '',
  position: 0,
};

export interface Tybo_website {
  websiteId: number;
  name: string;
  baseUrl: string;
  apiUrl: string;
}

export const initTybo_website: Tybo_website = {
  websiteId: 0,
  name: '',
  baseUrl: '',
  apiUrl: '',
};

export interface Users {
  id: number;
  username: string;
  email: string;
  password: string;
  role: string;
  phone_number: string;
  address_line_1: string;
  address_line_2: string;
  city: string;
  dob: string;
  address: string;
  latitude: number;
  longitude: number;
  url: string;
  created_at: string;
  metadata: string;
}

export const initUsers: Users = {
  id: 0,
  username: '',
  email: '',
  password: '',
  role: '',
  phone_number: '',
  address_line_1: '',
  address_line_2: '',
  city: '',
  dob: '',
  address: '',
  latitude: 0,
  longitude: 0,
  url: '',
  created_at: '',
  metadata: '',
};

export interface Variation_options {
  id: number;
  variation_id: number;
  value: string;
  price: number;
  parent_option_id: number;
  created_at: string;
}

export const initVariation_options: Variation_options = {
  id: 0,
  variation_id: 0,
  value: '',
  price: 0,
  parent_option_id: 0,
  created_at: '',
};

export interface Variations {
  id: number;
  item_id: number;
  name: string;
  created_at: string;
}

export const initVariations: Variations = {
  id: 0,
  item_id: 0,
  name: '',
  created_at: '',
};

</pre>