UNPKG

box-node-sdk

Version:

Official SDK for Box Platform APIs

18 lines (17 loc) 638 B
import { SerializedData } from '../serialization/json.js'; export interface UploadPartPlan { /** * The offset of the chunk within the file * in bytes. The lower bound of the position * of the chunk within the file. */ readonly offset: number; /** * The size of the chunk in bytes. */ readonly size: number; /** * The `SHA-512` hash of the chunk. */ readonly sha512: string; readonly rawData?: SerializedData; } export declare function serializeUploadPartPlan(val: UploadPartPlan): SerializedData; export declare function deserializeUploadPartPlan(val: SerializedData): UploadPartPlan;