/** * 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 DocumentClass */ export interface DocumentClass { /** * Internal unique identifier for the object. You should not have to use this, use code instead. * @type {number} * @memberof DocumentClass */ 'id': number; /** * Unique identifier for the object. * @type {string} * @memberof DocumentClass */ 'code': 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 DocumentClass */ 'templateSlug': string; /** * Document entity type * @type {string} * @memberof DocumentClass */ 'entityType': DocumentClassEntityTypeEnum; /** * Unique identifier of the policy that this object belongs to. * @type {string} * @memberof DocumentClass */ 'policyCode'?: string; /** * Unique identifier of the account that this object belongs to. * @type {string} * @memberof DocumentClass */ 'accountCode'?: string; /** * Unique identifier referencing the entity on the service the document belongs to. * @type {number} * @memberof DocumentClass */ 'entityId'?: number; /** * Identifier of the service that requested the creation of this document. * @type {string} * @memberof DocumentClass */ 'requester': DocumentClassRequesterEnum; /** * Metadata contains extra information that the document would need for specific cases. * @type {object} * @memberof DocumentClass */ 'metadata': object; /** * Description of the document. Usually a short summary about the context in which the document is being used. * @type {string} * @memberof DocumentClass */ 'description': string; /** * The unique key used by Amazon Simple Storage Service (S3). * @type {string} * @memberof DocumentClass */ 's3Key': string; /** * Type of the document expressed with its file extension. * @type {string} * @memberof DocumentClass */ 'contentType': DocumentClassContentTypeEnum; /** * Document file name. * @type {string} * @memberof DocumentClass */ 'filename': string; /** * Lead * @type {string} * @memberof DocumentClass */ 'leadCode': string; /** * Time at which the object was created. * @type {string} * @memberof DocumentClass */ 'createdAt': string; } export declare const DocumentClassEntityTypeEnum: { readonly PolicyApplication: "policy_application"; readonly PolicyContract: "policy_contract"; readonly PolicyAddendum: "policy_addendum"; readonly InitialInvoice: "initial_invoice"; readonly CorrectionInvoice: "correction_invoice"; readonly RecurringInvoice: "recurring_invoice"; readonly SepaMandate: "sepa_mandate"; readonly Static: "static"; }; export type DocumentClassEntityTypeEnum = typeof DocumentClassEntityTypeEnum[keyof typeof DocumentClassEntityTypeEnum]; export declare const DocumentClassRequesterEnum: { readonly Publicapi: "publicapi"; }; export type DocumentClassRequesterEnum = typeof DocumentClassRequesterEnum[keyof typeof DocumentClassRequesterEnum]; export declare const DocumentClassContentTypeEnum: { 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 DocumentClassContentTypeEnum = typeof DocumentClassContentTypeEnum[keyof typeof DocumentClassContentTypeEnum];