import type * as Square from "../../../../index"; /** * @example * { * idempotencyKey: "HIDSNG5KS478L", * timecard: { * locationId: "PAA1RJZZKXBFG", * startAt: "2019-01-25T03:11:00-05:00", * endAt: "2019-01-25T13:11:00-05:00", * wage: { * title: "Barista", * hourlyRate: { * amount: BigInt("1100"), * currency: "USD" * }, * tipEligible: true * }, * breaks: [{ * startAt: "2019-01-25T06:11:00-05:00", * endAt: "2019-01-25T06:16:00-05:00", * breakTypeId: "REGS1EQR1TPZ5", * name: "Tea Break", * expectedDuration: "PT5M", * isPaid: true * }], * teamMemberId: "ormj0jJJZ5OZIzxrZYJI", * declaredCashTipMoney: { * amount: BigInt("500"), * currency: "USD" * } * } * } */ export interface CreateTimecardRequest { /** A unique string value to ensure the idempotency of the operation. */ idempotencyKey?: string; /** The `Timecard` to be created. */ timecard: Square.Timecard; }