box-node-sdk
Version:
Official SDK for Box Platform APIs
21 lines (20 loc) • 728 B
TypeScript
import { SerializedData } from '../serialization/json.js';
export interface UploadPartPlanHit {
/**
* 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;
/**
* The unique ID of the chunk. */
readonly partId: string;
readonly rawData?: SerializedData;
}
export declare function serializeUploadPartPlanHit(val: UploadPartPlanHit): SerializedData;
export declare function deserializeUploadPartPlanHit(val: SerializedData): UploadPartPlanHit;