/** * This file was auto-generated by Fern from our API Definition. */ import * as Flatfile from "../../../index"; /** * @example * { * data: { * id: "us_dc_YOUR_ID", * spaceId: "us_sp_YOUR_ID", * environmentId: "us_env_YOUR_ID", * title: "My Document 1", * body: "My information", * treatments: [], * actions: [{ * operation: "submitAction", * mode: Flatfile.ActionMode.Foreground, * label: "Submit", * description: "Submit data to webhook.site", * primary: true * }], * createdAt: "2022-09-18T00:19:57.007Z", * updatedAt: "2022-09-18T00:19:57.007Z" * } * } * * @example * { * data: { * id: "us_dc_YOUR_ID", * spaceId: "us_sp_YOUR_ID", * environmentId: "us_env_YOUR_ID", * title: "Updated Title", * body: "Updated My information", * treatments: [], * actions: [{ * operation: "submitAction", * mode: Flatfile.ActionMode.Foreground, * label: "Submit", * description: "Submit data to webhook.site", * primary: true * }], * createdAt: "2022-09-18T00:19:57.007Z", * updatedAt: "2022-09-18T00:19:57.007Z" * } * } */ export interface DocumentResponse { data: Flatfile.Document; }