/** * This file was auto-generated by Fern from our API Definition. */ import * as Flatfile from "../../../index"; /** * @example * { * data: { * id: "us_sh_YOUR_ID", * workbookId: "us_wb_YOUR_ID", * name: "Contacts", * slug: "contacts", * config: { * name: "Contacts", * slug: "contacts", * fields: [{ * type: "string", * key: "firstName", * label: "First Name" * }, { * type: "string", * key: "lastName", * label: "Last Name" * }, { * type: "string", * key: "email", * label: "Email" * }], * mappingConfidenceThreshold: 0.5 * }, * metadata: { * "rowHeaders": [ * 4 * ] * }, * updatedAt: "2021-08-31T18:00:00Z", * createdAt: "2021-08-31T18:00:00Z" * } * } * * @example * { * data: { * id: "us_sh_YOUR_ID", * workbookId: "us_wb_YOUR_ID", * name: "New Sheet Name", * slug: "contacts", * config: { * name: "Contacts", * slug: "contacts", * fields: [{ * type: "string", * key: "firstName", * label: "First Name" * }, { * type: "string", * key: "lastName", * label: "Last Name" * }, { * type: "string", * key: "email", * label: "Email" * }], * mappingConfidenceThreshold: 0.5 * }, * metadata: { * "rowHeaders": [ * 6 * ] * }, * updatedAt: "2021-08-31T18:00:00Z", * createdAt: "2021-08-31T18:00:00Z" * } * } */ export interface SheetResponse { data: Flatfile.Sheet; }