UNPKG

box-node-sdk

Version:

Official SDK for Box Platform APIs

45 lines 2.41 kB
import { HubDocumentBlockEntryV2025R0 } from './hubDocumentBlockEntryV2025R0.js'; import { SerializedData } from '../../serialization/json.js'; export type HubDocumentBlocksV2025R0TypeField = 'document_blocks'; export declare class HubDocumentBlocksV2025R0 { /** * Ordered list of blocks. */ readonly entries: readonly HubDocumentBlockEntryV2025R0[]; /** * The value will always be `document_blocks`. */ readonly type: HubDocumentBlocksV2025R0TypeField; /** * The limit that was used for these entries. This will be the same as the * `limit` query parameter unless that value exceeded the maximum value * allowed. The maximum value varies by API. */ readonly limit?: number; /** * The marker for the start of the next page of results. */ readonly nextMarker?: string | null; readonly rawData?: SerializedData; constructor(fields: Omit<HubDocumentBlocksV2025R0, 'type'> & Partial<Pick<HubDocumentBlocksV2025R0, 'type'>>); } export interface HubDocumentBlocksV2025R0Input { /** * Ordered list of blocks. */ readonly entries: readonly HubDocumentBlockEntryV2025R0[]; /** * The value will always be `document_blocks`. */ readonly type?: HubDocumentBlocksV2025R0TypeField; /** * The limit that was used for these entries. This will be the same as the * `limit` query parameter unless that value exceeded the maximum value * allowed. The maximum value varies by API. */ readonly limit?: number; /** * The marker for the start of the next page of results. */ readonly nextMarker?: string | null; readonly rawData?: SerializedData; } export declare function serializeHubDocumentBlocksV2025R0TypeField(val: HubDocumentBlocksV2025R0TypeField): SerializedData; export declare function deserializeHubDocumentBlocksV2025R0TypeField(val: SerializedData): HubDocumentBlocksV2025R0TypeField; export declare function serializeHubDocumentBlocksV2025R0(val: HubDocumentBlocksV2025R0): SerializedData; export declare function deserializeHubDocumentBlocksV2025R0(val: SerializedData): HubDocumentBlocksV2025R0; export declare function serializeHubDocumentBlocksV2025R0Input(val: HubDocumentBlocksV2025R0Input): SerializedData; export declare function deserializeHubDocumentBlocksV2025R0Input(val: SerializedData): HubDocumentBlocksV2025R0Input; //# sourceMappingURL=hubDocumentBlocksV2025R0.d.ts.map