wallee
Version:
TypeScript/JavaScript client for wallee
61 lines (60 loc) • 1.7 kB
TypeScript
import { CreationEntityState } from "./CreationEntityState";
import { ResourcePath } from "./ResourcePath";
declare class DocumentTemplate {
/**
* Whether this is the default document template which is used whenever no specific template is specified for the same template type.
*/
'defaultTemplate'?: boolean;
/**
* Whether documents of this template should be delivered.
*/
'deliveryEnabled'?: boolean;
/**
* A unique identifier for the object.
*/
'id'?: number;
/**
* The ID of the space this object belongs to.
*/
'linkedSpaceId'?: number;
/**
* The name used to identify the document template.
*/
'name'?: string;
/**
* The date and time when the object is planned to be permanently removed. If the value is empty, the object will not be removed.
*/
'plannedPurgeDate'?: Date;
/**
* The ID of the space this object belongs to.
*/
'spaceId'?: number;
/**
* The object's current state.
*/
'state'?: CreationEntityState;
/**
* The resource path to a custom template to be used to generate PDF documents.
*/
'templateResource'?: ResourcePath;
/**
* The document template's type.
*/
'type'?: number;
/**
* The version is used for optimistic locking and incremented whenever the object is updated.
*/
'version'?: number;
static discriminator: string | undefined;
static attributeTypeMap: Array<{
name: string;
baseName: string;
type: string;
}>;
static getAttributeTypeMap(): {
name: string;
baseName: string;
type: string;
}[];
}
export { DocumentTemplate };