/* eslint-disable */ /** * This file was automatically generated by json-schema-to-typescript. * DO NOT MODIFY IT BY HAND. Instead, modify the source JSONSchema file, * and run json-schema-to-typescript to regenerate this file. */ /** * Description of possible JSON configuration values for different device operations */ export interface SDFUPluginOperationsArguments { operation?: | { type: 'program'; /** * Firmware to program on device */ firmware?: { /** * Path to firmware file */ file?: string; /** * Firmware as a base64 encoded buffer */ buffer?: string; /** * Firmware format */ format?: 'NRFDL_FW_SDFU_ZIP'; }; } | { type: 'fw-read-info'; } | { type: 'mcu-state-set'; /** * MCU state to set */ option?: 'NRFDL_MCU_STATE_APPLICATION' | 'NRFDL_MCU_STATE_PROGRAMMING'; }; /** * MCU end state to be entered after operation. This is only supported by program and fw-read-info */ mcu_end_state?: 'NRFDL_MCU_STATE_APPLICATION' | 'NRFDL_MCU_STATE_PROGRAMMING'; /** * Operation ID sent back from operation callbacks */ operationId?: string; }