/** * Document. */ export interface SdPlatformResponseDocument { /** * The id of a document. */ readonly id: string; /** * An identifier for the type of document, freely choosable string, e.g. * - customer_terms * - user_terms * - data_processing_agreement * - privacy_policy_supplement */ readonly type: string; /** * Description of the document. */ readonly description: string; /** * Timestamp from which the document will be valid. */ readonly valid_from: number; /** * If true the document must be accepted, otherwise it’s just for information. */ readonly requires_acceptance: boolean; /** * If true this document applies to account owners, if false it applies to users who are not account owners. */ readonly account_owner: boolean; /** * Content-Type of the document to be used when downloading it. * @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type */ readonly content_type: string; /** * Filename of the document, to be used when downloading it. */ readonly filename: string; /** * Created at timestamp of a document. */ readonly created_at: number; /** * Updated at timestamp of a document. */ readonly updated_at: number; /** * Deleted at timestamp of a document. */ readonly deleted_at?: number; } /** * User Document. */ export interface SdPlatformResponseDocumentUser { /** * The id of a document. */ readonly id: string; /** * An identifier for the type of document, freely choosable string, e.g. * - customer_terms * - user_terms * - data_processing_agreement * - privacy_policy_supplement */ readonly type: string; /** * Description of the document. */ readonly description: string; /** * Timestamp from which the document will be valid. */ readonly valid_from: number; /** * If true the document must be accepted, otherwise it’s just for information. */ readonly requires_acceptance: boolean; /** * If true this document applies to account owners, if false it applies to users who are not account owners. */ readonly account_owner: boolean; /** * Content-Type of the document to be used when downloading it. * @see https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Type */ readonly content_type: string; /** * Filename of the document, to be used when downloading it. */ readonly filename: string; /** * Created at timestamp of a document. */ readonly created_at: number; /** * Updated at timestamp of a document. */ readonly updated_at: number; /** * Latest timestamp at which the requesting user/organization accepted the document, or null. */ readonly accept_at?: number; /** * Latest timestamp at which the requesting user/organization downloaded the document, or null. */ readonly download_at?: number; } //# sourceMappingURL=SdPlatformResponseDocument.d.ts.map