import type * as Square from "../index"; /** * Represents a [CreateScheduledShift](api-endpoint:Labor-CreateScheduledShift) response. * Either `scheduled_shift` or `errors` is present in the response. */ export interface CreateScheduledShiftResponse { /** * The new scheduled shift. To make the shift public, call * [PublishScheduledShift](api-endpoint:Labor-PublishScheduledShift) or * [BulkPublishScheduledShifts](api-endpoint:Labor-BulkPublishScheduledShifts). */ scheduledShift?: Square.ScheduledShift; /** Any errors that occurred during the request. */ errors?: Square.Error_[]; }