import type * as Square from "../index"; /** * Represents a [BulkPublishScheduledShifts](api-endpoint:Labor-BulkPublishScheduledShifts) response. * Either `scheduled_shifts` or `errors` is present in the response. */ export interface BulkPublishScheduledShiftsResponse { /** * A map of key-value pairs that represent responses for individual publish requests. * The order of responses might differ from the order in which the requests were provided. * * - Each key is the scheduled shift ID that was specified for a publish request. * - Each value is the corresponding response. If the request succeeds, the value is the * published scheduled shift. If the request fails, the value is an `errors` array containing * any errors that occurred while processing the request. */ responses?: Record; /** Any top-level errors that prevented the bulk operation from succeeding. */ errors?: Square.Error_[]; }