UNPKG

box-node-sdk

Version:

Official SDK for Box Platform APIs

28 lines (27 loc) 1.42 kB
import { SerializedData } from '../serialization/json'; export type TermsOfServiceBaseTypeField = 'terms_of_service'; export declare class TermsOfServiceBase { /** * The unique identifier for this terms of service. */ readonly id: string; /** * The value will always be `terms_of_service`. */ readonly type: TermsOfServiceBaseTypeField; readonly rawData?: SerializedData; constructor(fields: Omit<TermsOfServiceBase, 'type'> & Partial<Pick<TermsOfServiceBase, 'type'>>); } export interface TermsOfServiceBaseInput { /** * The unique identifier for this terms of service. */ readonly id: string; /** * The value will always be `terms_of_service`. */ readonly type?: TermsOfServiceBaseTypeField; readonly rawData?: SerializedData; } export declare function serializeTermsOfServiceBaseTypeField(val: TermsOfServiceBaseTypeField): SerializedData; export declare function deserializeTermsOfServiceBaseTypeField(val: SerializedData): TermsOfServiceBaseTypeField; export declare function serializeTermsOfServiceBase(val: TermsOfServiceBase): SerializedData; export declare function deserializeTermsOfServiceBase(val: SerializedData): TermsOfServiceBase; export declare function serializeTermsOfServiceBaseInput(val: TermsOfServiceBaseInput): SerializedData; export declare function deserializeTermsOfServiceBaseInput(val: SerializedData): TermsOfServiceBaseInput;