UNPKG

box-node-sdk

Version:

Official SDK for Box Platform APIs

37 lines 2.3 kB
import { FolderReferenceV2026R0 } from './folderReferenceV2026R0.js'; import { SerializedData } from '../../serialization/json.js'; export type NotesConvertRequestBodyV2026R0ContentFormatField = 'markdown' | string; export declare class NotesConvertRequestBodyV2026R0 { /** * The content to convert to a note. See the `content_format` field for supported formats. */ readonly content: string; /** * Format of the content to convert. */ readonly contentFormat: NotesConvertRequestBodyV2026R0ContentFormatField; readonly parent: FolderReferenceV2026R0; /** * The name for the created note. The `.boxnote` extension is appended automatically. */ readonly name: string; readonly rawData?: SerializedData; constructor(fields: Omit<NotesConvertRequestBodyV2026R0, 'contentFormat'> & Partial<Pick<NotesConvertRequestBodyV2026R0, 'contentFormat'>>); } export interface NotesConvertRequestBodyV2026R0Input { /** * The content to convert to a note. See the `content_format` field for supported formats. */ readonly content: string; /** * Format of the content to convert. */ readonly contentFormat?: NotesConvertRequestBodyV2026R0ContentFormatField; readonly parent: FolderReferenceV2026R0; /** * The name for the created note. The `.boxnote` extension is appended automatically. */ readonly name: string; readonly rawData?: SerializedData; } export declare function serializeNotesConvertRequestBodyV2026R0ContentFormatField(val: NotesConvertRequestBodyV2026R0ContentFormatField): SerializedData; export declare function deserializeNotesConvertRequestBodyV2026R0ContentFormatField(val: SerializedData): NotesConvertRequestBodyV2026R0ContentFormatField; export declare function serializeNotesConvertRequestBodyV2026R0(val: NotesConvertRequestBodyV2026R0): SerializedData; export declare function deserializeNotesConvertRequestBodyV2026R0(val: SerializedData): NotesConvertRequestBodyV2026R0; export declare function serializeNotesConvertRequestBodyV2026R0Input(val: NotesConvertRequestBodyV2026R0Input): SerializedData; export declare function deserializeNotesConvertRequestBodyV2026R0Input(val: SerializedData): NotesConvertRequestBodyV2026R0Input; //# sourceMappingURL=notesConvertRequestBodyV2026R0.d.ts.map