import type * as Square from "../index"; /** * The summary of a closed cash drawer shift. * This model contains only the money counted to start a cash drawer shift, counted * at the end of the shift, and the amount that should be in the drawer at shift * end based on summing all cash drawer shift events. */ export interface CashDrawerShiftSummary { /** The shift unique ID. */ id?: string; /** * The shift current state. * See [CashDrawerShiftState](#type-cashdrawershiftstate) for possible values */ state?: Square.CashDrawerShiftState; /** The shift start time in ISO 8601 format. */ openedAt?: string | null; /** The shift end time in ISO 8601 format. */ endedAt?: string | null; /** The shift close time in ISO 8601 format. */ closedAt?: string | null; /** An employee free-text description of a cash drawer shift. */ description?: string | null; /** * The amount of money in the cash drawer at the start of the shift. This * must be a positive amount. */ openedCashMoney?: Square.Money; /** * The amount of money that should be in the cash drawer at the end of the * shift, based on the cash drawer events on the shift. * The amount is correct if all shift employees accurately recorded their * cash drawer shift events. Unrecorded events and events with the wrong amount * result in an incorrect expected_cash_money amount that can be negative. */ expectedCashMoney?: Square.Money; /** * The amount of money found in the cash drawer at the end of the shift by * an auditing employee. The amount must be greater than or equal to zero. */ closedCashMoney?: Square.Money; /** The shift start time in RFC 3339 format. */ createdAt?: string; /** The shift updated at time in RFC 3339 format. */ updatedAt?: string; /** The ID of the location the cash drawer shift belongs to. */ locationId?: string; }