/** * Emil PublicAPI * The Emil Public API description * * The version of the OpenAPI document: 1.0 * Contact: kontakt@emil.de * * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech). * https://openapi-generator.tech * Do not edit the class manually. */ /** * * @export * @interface CreateDocumentRequestDto */ export interface CreateDocumentRequestDto { /** * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id. * @type {string} * @memberof CreateDocumentRequestDto */ 'templateSlug': string; /** * A slug is a human-readable, unique identifier, used to identify a resource instead of a less human-readable identifier like an id. * @type {string} * @memberof CreateDocumentRequestDto */ 'productSlug'?: string; /** * Document payload. * @type {object} * @memberof CreateDocumentRequestDto */ 'payload': object; /** * Document entity type. * @type {string} * @memberof CreateDocumentRequestDto */ 'entityType': string; /** * Document description. * @type {string} * @memberof CreateDocumentRequestDto */ 'description': string; /** * Unique identifier of the policy that this object belongs to. * @type {string} * @memberof CreateDocumentRequestDto */ 'policyCode'?: string; /** * Unique identifier of the account that this object belongs to. * @type {string} * @memberof CreateDocumentRequestDto */ 'accountCode'?: string; /** * Unique identifier referencing the entity. * @type {number} * @memberof CreateDocumentRequestDto */ 'entityId'?: number; /** * Document requester. * @type {string} * @memberof CreateDocumentRequestDto */ 'requester': CreateDocumentRequestDtoRequesterEnum; /** * Metadata contains extra information that the document would need for specific cases. * @type {object} * @memberof CreateDocumentRequestDto */ 'metadata'?: object; /** * Document type. * @type {string} * @memberof CreateDocumentRequestDto */ 'contentType': CreateDocumentRequestDtoContentTypeEnum; /** * Document file name. * @type {string} * @memberof CreateDocumentRequestDto */ 'filename'?: string; /** * If true, the default margins will be skipped when generating the document. * @type {boolean} * @memberof CreateDocumentRequestDto */ 'shouldSkipDefaultMargins'?: boolean; /** * Type of the document engine to use to generate the document. Defaults to HTML. * @type {string} * @memberof CreateDocumentRequestDto */ 'engine'?: CreateDocumentRequestDtoEngineEnum; } export declare const CreateDocumentRequestDtoRequesterEnum: { readonly Publicapi: "publicapi"; }; export type CreateDocumentRequestDtoRequesterEnum = typeof CreateDocumentRequestDtoRequesterEnum[keyof typeof CreateDocumentRequestDtoRequesterEnum]; export declare const CreateDocumentRequestDtoContentTypeEnum: { readonly Pdf: "pdf"; readonly Jpg: "jpg"; readonly Png: "png"; readonly Gz: "gz"; readonly Csv: "csv"; readonly Doc: "doc"; readonly Docx: "docx"; readonly Html: "html"; readonly Json: "json"; readonly Xml: "xml"; readonly Txt: "txt"; readonly Zip: "zip"; readonly Tar: "tar"; readonly Rar: "rar"; readonly Mp4: "MP4"; readonly Mov: "MOV"; readonly Wmv: "WMV"; readonly Avi: "AVI"; }; export type CreateDocumentRequestDtoContentTypeEnum = typeof CreateDocumentRequestDtoContentTypeEnum[keyof typeof CreateDocumentRequestDtoContentTypeEnum]; export declare const CreateDocumentRequestDtoEngineEnum: { readonly Docx: "docx"; readonly Html: "html"; }; export type CreateDocumentRequestDtoEngineEnum = typeof CreateDocumentRequestDtoEngineEnum[keyof typeof CreateDocumentRequestDtoEngineEnum];