import mock from './mock'
import type { Order } from './types'

const orders: Order[] = [
  {
    orderId: 1001,
    customer: 'John Doe',
    productName: 'Laptop',
    amount: 899.99,
    orderDate: '2023-07-10',
    deliveryDate: '2023-07-15',
    paymentMethod: 'Credit Card',
    deliveryStatus: 'Delivered',
  },
  {
    orderId: 1002,
    customer: 'Jane Smith',
    productName: 'Smartphone',
    amount: 499.00,
    orderDate: '2023-07-12',
    deliveryDate: '2023-07-17',
    paymentMethod: 'PayPal',
    deliveryStatus: 'Out for Delivery',
  },
  {
    orderId: 1003,
    customer: 'Michael Brown',
    productName: 'Wireless Earbuds',
    amount: 59.99,
    orderDate: '2023-07-15',
    deliveryDate: '2023-07-20',
    paymentMethod: 'Debit Card',
    deliveryStatus: 'Shipped',
  },
  {
    orderId: 1004,
    customer: 'Emily Johnson',
    productName: 'Bluetooth Speaker',
    amount: 79.95,
    orderDate: '2023-07-18',
    deliveryDate: '2023-07-24',
    paymentMethod: 'PayPal',
    deliveryStatus: 'Processing',
  },
  {
    orderId: 1005,
    customer: 'David Lee',
    productName: 'Gaming Mouse',
    amount: 29.99,
    orderDate: '2023-07-20',
    deliveryDate: '2023-07-26',
    paymentMethod: 'Credit Card',
    deliveryStatus: 'Pending',
  },
  {
    orderId: 1006,
    customer: 'Sarah Wilson',
    productName: 'Smart Watch',
    amount: 199.00,
    orderDate: '2023-07-22',
    deliveryDate: '2023-07-27',
    paymentMethod: 'Debit Card',
    deliveryStatus: 'Delivered',
  },
  {
    orderId: 1007,
    customer: 'Robert Taylor',
    productName: 'External Hard Drive',
    amount: 119.95,
    orderDate: '2023-07-25',
    deliveryDate: '2023-07-31',
    paymentMethod: 'Credit Card',
    deliveryStatus: 'Out for Delivery',
  },
  {
    orderId: 1008,
    customer: 'Olivia Clark',
    productName: 'Portable Charger',
    amount: 19.99,
    orderDate: '2023-07-28',
    deliveryDate: '2023-08-02',
    paymentMethod: 'PayPal',
    deliveryStatus: 'Shipped',
  },
  {
    orderId: 1009,
    customer: 'James White',
    productName: 'Bluetooth Headphones',
    amount: 49.99,
    orderDate: '2023-07-30',
    deliveryDate: '2023-08-04',
    paymentMethod: 'Debit Card',
    deliveryStatus: 'Processing',
  },
  {
    orderId: 1010,
    customer: 'Emma Martinez',
    productName: 'USB-C Cable',
    amount: 9.95,
    orderDate: '2023-08-01',
    deliveryDate: '2023-08-06',
    paymentMethod: 'Credit Card',
    deliveryStatus: 'Pending',
  },
  {
    orderId: 1011,
    customer: 'William Davis',
    productName: 'Monitor',
    amount: 349.99,
    orderDate: '2023-08-04',
    deliveryDate: '2023-08-10',
    paymentMethod: 'PayPal',
    deliveryStatus: 'Delivered',
  },
  {
    orderId: 1012,
    customer: 'Sophia Adams',
    productName: 'Wireless Keyboard',
    amount: 69.95,
    orderDate: '2023-08-06',
    deliveryDate: '2023-08-12',
    paymentMethod: 'Debit Card',
    deliveryStatus: 'Out for Delivery',
  },
  {
    orderId: 1013,
    customer: 'Benjamin Turner',
    productName: 'Printed Mousepad',
    amount: 14.99,
    orderDate: '2023-08-08',
    deliveryDate: '2023-08-15',
    paymentMethod: 'Credit Card',
    deliveryStatus: 'Shipped',
  },
  {
    orderId: 1014,
    customer: 'Ava Walker',
    productName: 'Portable SSD',
    amount: 109.00,
    orderDate: '2023-08-10',
    deliveryDate: '2023-08-16',
    paymentMethod: 'PayPal',
    deliveryStatus: 'Processing',
  },
  {
    orderId: 1015,
    customer: 'Daniel Evans',
    productName: 'Gaming Headset',
    amount: 79.99,
    orderDate: '2023-08-12',
    deliveryDate: '2023-08-18',
    paymentMethod: 'Debit Card',
    deliveryStatus: 'Pending',
  },
  {
    orderId: 1016,
    customer: 'Mia Rodriguez',
    productName: 'Graphics Tablet',
    amount: 149.00,
    orderDate: '2023-08-15',
    deliveryDate: '2023-08-21',
    paymentMethod: 'Credit Card',
    deliveryStatus: 'Delivered',
  },
  {
    orderId: 1017,
    customer: 'Ethan Cox',
    productName: 'Wireless Printer',
    amount: 199.99,
    orderDate: '2023-08-17',
    deliveryDate: '2023-08-24',
    paymentMethod: 'PayPal',
    deliveryStatus: 'Out for Delivery',
  },
  {
    orderId: 1018,
    customer: 'Abigail Scott',
    productName: 'Desk Lamp',
    amount: 39.95,
    orderDate: '2023-08-20',
    deliveryDate: '2023-08-27',
    paymentMethod: 'Debit Card',
    deliveryStatus: 'Shipped',
  },
  {
    orderId: 1019,
    customer: 'Jameson King',
    productName: 'Office Chair',
    amount: 249.00,
    orderDate: '2023-08-22',
    deliveryDate: '2023-08-29',
    paymentMethod: 'Credit Card',
    deliveryStatus: 'Processing',
  },
  {
    orderId: 1020,
    customer: 'Sofia Moore',
    productName: 'Mechanical Keyboard',
    amount: 89.99,
    orderDate: '2023-08-25',
    deliveryDate: '2023-08-31',
    paymentMethod: 'PayPal',
    deliveryStatus: 'Pending',
  },
  {
    orderId: 1021,
    customer: 'Aiden Stewart',
    productName: 'Noise-Canceling Headphones',
    amount: 129.00,
    orderDate: '2023-08-28',
    deliveryDate: '2023-09-02',
    paymentMethod: 'Debit Card',
    deliveryStatus: 'Delivered',
  },
  {
    orderId: 1022,
    customer: 'Ella Rivera',
    productName: 'Smart Thermostat',
    amount: 69.95,
    orderDate: '2023-08-30',
    deliveryDate: '2023-09-05',
    paymentMethod: 'Credit Card',
    deliveryStatus: 'Out for Delivery',
  },
  {
    orderId: 1023,
    customer: 'Carter Hernandez',
    productName: 'VR Headset',
    amount: 199.99,
    orderDate: '2023-09-02',
    deliveryDate: '2023-09-08',
    paymentMethod: 'PayPal',
    deliveryStatus: 'Shipped',
  },
  {
    orderId: 1024,
    customer: 'Scarlett Cooper',
    productName: 'Smart Bulb',
    amount: 19.99,
    orderDate: '2023-09-05',
    deliveryDate: '2023-09-11',
    paymentMethod: 'Debit Card',
    deliveryStatus: 'Processing',
  },
  {
    orderId: 1025,
    customer: 'Jackson Martinez',
    productName: 'Fitness Tracker',
    amount: 49.95,
    orderDate: '2023-09-08',
    deliveryDate: '2023-09-14',
    paymentMethod: 'Credit Card',
    deliveryStatus: 'Pending',
  },
  {
    orderId: 1026,
    customer: 'Avery Moore',
    productName: 'Bluetooth Keyboard',
    amount: 29.99,
    orderDate: '2023-09-10',
    deliveryDate: '2023-09-16',
    paymentMethod: 'PayPal',
    deliveryStatus: 'Delivered',
  },
  {
    orderId: 1027,
    customer: 'Grace Turner',
    productName: 'Webcam',
    amount: 39.95,
    orderDate: '2023-09-12',
    deliveryDate: '2023-09-18',
    paymentMethod: 'Debit Card',
    deliveryStatus: 'Out for Delivery',
  },
  {
    orderId: 1028,
    customer: 'Liam Carter',
    productName: 'Wireless Router',
    amount: 69.99,
    orderDate: '2023-09-15',
    deliveryDate: '2023-09-20',
    paymentMethod: 'Credit Card',
    deliveryStatus: 'Shipped',
  },
  {
    orderId: 1029,
    customer: 'Lucy Johnson',
    productName: 'Portable Speaker',
    amount: 89.95,
    orderDate: '2023-09-01',
    deliveryDate: '2023-09-07',
    paymentMethod: 'Credit Card',
    deliveryStatus: 'Delivered',
  },
  {
    orderId: 1030,
    customer: 'Henry Adams',
    productName: 'Wireless Mouse',
    amount: 39.99,
    orderDate: '2023-09-05',
    deliveryDate: '2023-09-10',
    paymentMethod: 'PayPal',
    deliveryStatus: 'Cancelled',
  },
]

mock.onGet('/orders').reply(() => {
  return [200, orders]
})
