/** * @example * { * id: 1000000, * pinId: 1, * state: true * } */ export interface EquipmentOutputControlSetEquipmentDigitalOutputRequestBody { /** The Samsara ID of the gateway whose digital output is being controlled. This must be an AG53 connected to powered equipment via the CBL-AG-BEQP cable. */ id: number; /** How long, in seconds, to hold the requested state before the device automatically reverts. Provide `0` (the default) to hold the state indefinitely. The maximum is 604800 seconds (7 days). */ durationSeconds?: number; /** The digital output pin to control. Only pin `1` is currently supported. */ pinId: number; /** The desired output state. Provide `true` to energize the output, or `false` to de-energize it. */ state: boolean; }