import type * as Square from "../index"; export interface Channel { /** The channel's unique ID. */ id?: string; /** The unique ID of the merchant this channel belongs to. */ merchantId?: string; /** The name of the channel. */ name?: string | null; /** The version number which is incremented each time an update is made to the channel. */ version?: number; /** Represents an entity the channel is associated with. */ reference?: Square.Reference; /** * Status of the channel. * See [Status](#type-status) for possible values */ status?: Square.ChannelStatus; /** * The timestamp for when the channel was created, in RFC 3339 format (for example, "2016-09-04T23:59:33.123Z"). * For more information, see [Working with Dates](https://developer.squareup.com/docs/build-basics/working-with-dates). */ createdAt?: string; /** * The timestamp for when the channel was last updated, in RFC 3339 format (for example, "2016-09-04T23:59:33.123Z"). * For more information, see [Working with Dates](https://developer.squareup.com/docs/build-basics/working-with-dates). */ updatedAt?: string; }