
export const DEV_DATA: Omit<
  Declaration,
  | 'device'
  | 'totals'
  | 'posAmount'
  | 'pickUpAmount'
  | 'floatAdded'
  | 'declaredAmount'
  | 'difference'
  | 'differencePercentage'
>[] = [
  {
    id: 1,
    deviceId: '01',
    siteId: 'IE0241175',

    type: 'till',
    state: 'open',
    posted: false,
    periodOpenDate: '2023-04-03T00:00:00',
    periodCloseDate: '2023-04-03T23:59:59',

    content: [
      {
        id: 1,
        tender: 'Cash',
        notes: ['Note displayed here'],

        posQuantity: 3,
        posAmount: 130.234,
        pickUpAmount: 50,
        floatAdded: 10,
        declaredAmount: 130.21,
        difference: 0.024,
        percentageDifference: 0.018,
      },
      {
        id: 2,
        tender: 'Card',
        notes: ['Note displayed here'],

        posQuantity: 3,
        posAmount: 130.234,
        pickUpAmount: 50,
        floatAdded: 10,
        declaredAmount: 130.21,
        difference: 0.024,
        percentageDifference: 0.018,
      },
    ] as TillDeclaration[],
  },
  {
    id: 2,
    deviceId: '02',
    siteId: 'IE0241175',

    type: 'till',
    state: 'open',
    posted: false,
    periodOpenDate: '2023-04-03T00:00:00',
    periodCloseDate: '2023-04-03T23:59:59',

    content: [
      {
        id: 1,
        tender: 'Cash',
        notes: ['Note displayed here'],

        posQuantity: 3,
        posAmount: 130.234,
        pickUpAmount: 50,
        floatAdded: 10,
        declaredAmount: 130.21,
        difference: 0.024,
        percentageDifference: 0.018,
      },
      {
        id: 2,
        tender: 'Card',
        notes: ['Note displayed here'],

        posQuantity: 3,
        posAmount: 130.234,
        pickUpAmount: 50,
        floatAdded: 10,
        declaredAmount: 130.21,
        difference: 0.024,
        percentageDifference: 0.018,
      },
      {
        id: 3,
        tender: 'Cash',
        notes: ['Note displayed here'],

        posQuantity: 3,
        posAmount: 130.234,
        pickUpAmount: 50,
        floatAdded: 10,
        declaredAmount: 130.21,
        difference: 0.024,
        percentageDifference: 0.018,
      },
      {
        id: 4,
        tender: 'Card',
        notes: ['Note displayed here'],

        posQuantity: 3,
        posAmount: 130.234,
        pickUpAmount: 50,
        floatAdded: 10,
        declaredAmount: 130.21,
        difference: 0.024,
        percentageDifference: 0.018,
      },
      {
        id: 5,
        tender: 'Cash',
        notes: ['Note displayed here'],

        posQuantity: 3,
        posAmount: 130.234,
        pickUpAmount: 50,
        floatAdded: 10,
        declaredAmount: 130.21,
        difference: 0.024,
        percentageDifference: 0.018,
      },
      {
        id: 6,
        tender: 'Card',
        notes: ['Note displayed here'],

        posQuantity: 3,
        posAmount: 130.234,
        pickUpAmount: 50,
        floatAdded: 10,
        declaredAmount: 130.21,
        difference: 0.024,
        percentageDifference: 0.018,
      },
      {
        id: 7,
        tender: 'Cash',
        notes: ['Note displayed here'],

        posQuantity: 3,
        posAmount: 130.234,
        pickUpAmount: 50,
        floatAdded: 10,
        declaredAmount: 130.21,
        difference: 0.024,
        percentageDifference: 0.018,
      },
      {
        id: 8,
        tender: 'Card',
        notes: ['Note displayed here'],

        posQuantity: 3,
        posAmount: 130.234,
        pickUpAmount: 50,
        floatAdded: 10,
        declaredAmount: 130.21,
        difference: 0.024,
        percentageDifference: 0.018,
      },
      {
        id: 9,
        tender: 'Cash',
        notes: ['Note displayed here'],

        posQuantity: 3,
        posAmount: 130.234,
        pickUpAmount: 50,
        floatAdded: 10,
        declaredAmount: 130.21,
        difference: 0.024,
        percentageDifference: 0.018,
      },
      {
        id: 10,
        tender: 'Card',
        notes: ['Note displayed here'],

        posQuantity: 3,
        posAmount: 130.234,
        pickUpAmount: 50,
        floatAdded: 10,
        declaredAmount: 130.21,
        difference: 0.024,
        percentageDifference: 0.018,
      },
      {
        id: 11,
        tender: 'Cash',
        notes: ['Note displayed here'],

        posQuantity: 3,
        posAmount: 130.234,
        pickUpAmount: 50,
        floatAdded: 10,
        declaredAmount: 130.21,
        difference: 0.024,
        percentageDifference: 0.018,
      },
      {
        id: 12,
        tender: 'Card',
        notes: ['Note displayed here'],

        posQuantity: 3,
        posAmount: 130.234,
        pickUpAmount: 50,
        floatAdded: 10,
        declaredAmount: 130.21,
        difference: 0.024,
        percentageDifference: 0.018,
      },
    ] as TillDeclaration[],
  },
  {
    id: 3,
    deviceId: '01',
    siteId: 'IE0241175',

    type: 'sco',
    state: 'open',
    posted: false,
    periodOpenDate: '2023-04-03T00:00:00',
    periodCloseDate: '2023-04-03T23:59:59',

    content: [
      {
        id: 1,
        tender: 'Cash',
        notes: ['Note displayed here'],

        scoQuantity: 3,
        scoAmount: 130.234,
        pickUpAmount: 50,
        floatAdded: 1,
        declaredAmount: 130.21,
        difference: 0.024,
        percentageDifference: 0.018,
        openingFloat: 250,
        closingFloat: 250.024,
        floatDifference: 0.024,
      },
      {
        id: 2,
        tender: 'Card',
        notes: ['Note displayed here'],

        scoQuantity: 3,
        scoAmount: 130.234,
        pickUpAmount: 50,
        floatAdded: 1,
        declaredAmount: 130.21,
        difference: 0.024,
        percentageDifference: 0.018,
        openingFloat: 250,
        closingFloat: 250.024,
        floatDifference: 0.024,
      },
      {
        id: 3,
        tender: 'Cash',
        notes: ['Note displayed here'],

        scoQuantity: 3,
        scoAmount: 130.234,
        pickUpAmount: 50,
        floatAdded: 1,
        declaredAmount: 130.21,
        difference: 0.024,
        percentageDifference: 0.018,
        openingFloat: 250,
        closingFloat: 250.024,
        floatDifference: 0.024,
      },
      {
        id: 4,
        tender: 'Card',
        notes: ['Note displayed here'],

        scoQuantity: 3,
        scoAmount: 130.234,
        pickUpAmount: 50,
        floatAdded: 1,
        declaredAmount: 130.21,
        difference: 0.024,
        percentageDifference: 0.018,
        openingFloat: 250,
        closingFloat: 250.024,
        floatDifference: 0.024,
      },
      {
        id: 5,
        tender: 'Cash',
        notes: ['Note displayed here'],

        scoQuantity: 3,
        scoAmount: 130.234,
        pickUpAmount: 50,
        floatAdded: 1,
        declaredAmount: 130.21,
        difference: 0.024,
        percentageDifference: 0.018,
        openingFloat: 250,
        closingFloat: 250.024,
        floatDifference: 0.024,
      },
      {
        id: 6,
        tender: 'Card',
        notes: ['Note displayed here'],

        scoQuantity: 3,
        scoAmount: 130.234,
        pickUpAmount: 50,
        floatAdded: 1,
        declaredAmount: 130.21,
        difference: 0.024,
        percentageDifference: 0.018,
        openingFloat: 250,
        closingFloat: 250.024,
        floatDifference: 0.024,
      },
      {
        id: 7,
        tender: 'Cash',
        notes: ['Note displayed here'],

        scoQuantity: 3,
        scoAmount: 130.234,
        pickUpAmount: 50,
        floatAdded: 1,
        declaredAmount: 130.21,
        difference: 0.024,
        percentageDifference: 0.018,
        openingFloat: 250,
        closingFloat: 250.024,
        floatDifference: 0.024,
      },
      {
        id: 8,
        tender: 'Card',
        notes: ['Note displayed here'],

        scoQuantity: 3,
        scoAmount: 130.234,
        pickUpAmount: 50,
        floatAdded: 1,
        declaredAmount: 130.21,
        difference: 0.024,
        percentageDifference: 0.018,
        openingFloat: 250,
        closingFloat: 250.024,
        floatDifference: 0.024,
      },
      {
        id: 9,
        tender: 'Cash',
        notes: ['Note displayed here'],

        scoQuantity: 3,
        scoAmount: 130.234,
        pickUpAmount: 50,
        floatAdded: 1,
        declaredAmount: 130.21,
        difference: 0.024,
        percentageDifference: 0.018,
        openingFloat: 250,
        closingFloat: 250.024,
        floatDifference: 0.024,
      },
      {
        id: 10,
        tender: 'Cash',
        notes: ['Note displayed here'],

        scoQuantity: 3,
        scoAmount: 130.234,
        pickUpAmount: 50,
        floatAdded: 1,
        declaredAmount: 130.21,
        difference: 0.024,
        percentageDifference: 0.018,
        openingFloat: 250,
        closingFloat: 250.024,
        floatDifference: 0.024,
      },
      {
        id: 11,
        tender: 'Card',
        notes: ['Note displayed here'],

        scoQuantity: 3,
        scoAmount: 130.234,
        pickUpAmount: 50,
        floatAdded: 1,
        declaredAmount: 130.21,
        difference: 0.024,
        percentageDifference: 0.018,
        openingFloat: 250,
        closingFloat: 250.024,
        floatDifference: 0.024,
      },
      {
        id: 12,
        tender: 'Cash',
        notes: ['Note displayed here'],

        scoQuantity: 3,
        scoAmount: 130.234,
        pickUpAmount: 50,
        floatAdded: 1,
        declaredAmount: 130.21,
        difference: 0.024,
        percentageDifference: 0.018,
        openingFloat: 250,
        closingFloat: 250.024,
        floatDifference: 0.024,
      },
      {
        id: 13,
        tender: 'Card',
        notes: ['Note displayed here'],

        scoQuantity: 3,
        scoAmount: 130.234,
        pickUpAmount: 50,
        floatAdded: 1,
        declaredAmount: 130.21,
        difference: 0.024,
        percentageDifference: 0.018,
        openingFloat: 250,
        closingFloat: 250.024,
        floatDifference: 0.024,
      },
      {
        id: 14,
        tender: 'Cash',
        notes: ['Note displayed here'],

        scoQuantity: 3,
        scoAmount: 130.234,
        pickUpAmount: 50,
        floatAdded: 1,
        declaredAmount: 130.21,
        difference: 0.024,
        percentageDifference: 0.018,
        openingFloat: 250,
        closingFloat: 250.024,
        floatDifference: 0.024,
      },
    ] as SCODeclaration[],
  },
  {
    id: 4,
    deviceId: '02',
    siteId: 'IE0241175',

    type: 'sco',
    state: 'open',
    posted: false,
    periodOpenDate: '2023-04-03T00:00:00',
    periodCloseDate: '2023-04-03T23:59:59',

    content: [
      {
        id: 1,
        tender: 'Cash',
        notes: [
          'Note displayed here',
          'Note displayed here',
          'Note displayed here',
          'Note displayed here',
        ],

        scoQuantity: 3,
        scoAmount: 130.234,
        pickUpAmount: 50,
        floatAdded: 1,
        declaredAmount: 130.21,
        difference: 0.024,
        percentageDifference: 0.018,
        openingFloat: 250,
        closingFloat: 250.024,
        floatDifference: 0.024,
      },
      {
        id: 2,
        tender: 'Card',
        notes: ['Note displayed here'],

        scoQuantity: 3,
        scoAmount: 130.234,
        pickUpAmount: 50,
        floatAdded: 1,
        declaredAmount: 130.21,
        difference: 0.024,
        percentageDifference: 0.018,
        openingFloat: 250,
        closingFloat: 250.024,
        floatDifference: 0.024,
      },
    ] as SCODeclaration[],
  },
  {
    id: 5,
    deviceId: '01',
    siteId: 'IE0241175',

    type: 'till',
    state: 'closed',
    posted: true,
    periodOpenDate: '2023-04-02T00:00:00',
    periodCloseDate: '2023-04-02T23:59:59',

    content: [
      {
        id: 1,
        tender: 'Cash',
        notes: ['Note displayed here'],

        posQuantity: 3,
        posAmount: 130.234,
        pickUpAmount: 50,
        floatAdded: 10,
        declaredAmount: 130.21,
        difference: 0.024,
        percentageDifference: 0.018,
      },
      {
        id: 2,
        tender: 'Card',
        notes: ['Note displayed here'],

        posQuantity: 3,
        posAmount: 130.234,
        pickUpAmount: 50,
        floatAdded: 10,
        declaredAmount: 130.21,
        difference: 0.024,
        percentageDifference: 0.018,
      },
    ] as TillDeclaration[],
  },
  {
    id: 6,
    deviceId: '02',
    siteId: 'IE0241175',

    type: 'till',
    state: 'closed',
    posted: false,
    periodOpenDate: '2023-04-02T00:00:00',
    periodCloseDate: '2023-04-02T23:59:59',

    content: [
      {
        id: 1,
        tender: 'Cash',
        notes: ['Note displayed here'],

        posQuantity: 3,
        posAmount: 130.234,
        pickUpAmount: 50,
        floatAdded: 10,
        declaredAmount: 130.21,
        difference: 0.024,
        percentageDifference: 0.018,
      },
      {
        id: 2,
        tender: 'Card',
        notes: ['Note displayed here'],

        posQuantity: 3,
        posAmount: 130.234,
        pickUpAmount: 50,
        floatAdded: 10,
        declaredAmount: 130.21,
        difference: 0.024,
        percentageDifference: 0.018,
      },
    ] as TillDeclaration[],
  },
];

Can you Omit another type, here its only Declaration but I need another type called DeclarationEditHistory