UNPKG

box-node-sdk

Version:

Official SDK for Box Platform APIs

20 lines 1.33 kB
import { HubDocumentBlockV2025R0 } from './hubDocumentBlockV2025R0.js'; import { SerializedData } from '../../serialization/json.js'; export type HubCalloutBoxTextBlockV2025R0TypeField = 'callout_box'; export declare class HubCalloutBoxTextBlockV2025R0 implements HubDocumentBlockV2025R0 { readonly id: string; readonly parentId?: string | null; readonly rawData?: SerializedData; /** * The type of this block. The value is always `callout_box`. */ readonly type: HubCalloutBoxTextBlockV2025R0TypeField; /** * Text content of the block. Includes rich text formatting. */ readonly fragment: string; constructor(fields: Omit<HubCalloutBoxTextBlockV2025R0, 'type'> & Partial<Pick<HubCalloutBoxTextBlockV2025R0, 'type'>>); } export declare function serializeHubCalloutBoxTextBlockV2025R0TypeField(val: HubCalloutBoxTextBlockV2025R0TypeField): SerializedData; export declare function deserializeHubCalloutBoxTextBlockV2025R0TypeField(val: SerializedData): HubCalloutBoxTextBlockV2025R0TypeField; export declare function serializeHubCalloutBoxTextBlockV2025R0(val: HubCalloutBoxTextBlockV2025R0): SerializedData; export declare function deserializeHubCalloutBoxTextBlockV2025R0(val: SerializedData): HubCalloutBoxTextBlockV2025R0; //# sourceMappingURL=hubCalloutBoxTextBlockV2025R0.d.ts.map