From d024d5d954f9211d4e78cf91c0295af989513433 Mon Sep 17 00:00:00 2001 From: Philipp Kunz Date: Fri, 16 Feb 2024 22:49:10 +0100 Subject: [PATCH] fix(core): update --- ts/00_commitinfo_data.ts | 2 +- ts/platformservice/letter.ts | 17 +++++++++++++---- 2 files changed, 14 insertions(+), 5 deletions(-) diff --git a/ts/00_commitinfo_data.ts b/ts/00_commitinfo_data.ts index 7aa8d72..563cfe7 100644 --- a/ts/00_commitinfo_data.ts +++ b/ts/00_commitinfo_data.ts @@ -3,6 +3,6 @@ */ export const commitinfo = { name: '@serve.zone/interfaces', - version: '1.0.34', + version: '1.0.35', description: 'interfaces for working with containers' } diff --git a/ts/platformservice/letter.ts b/ts/platformservice/letter.ts index ec7820f..9d94127 100644 --- a/ts/platformservice/letter.ts +++ b/ts/platformservice/letter.ts @@ -6,10 +6,19 @@ export interface IRequest_SendLetter extends plugins.typedrequestInterfaces.impl > { method: 'sendLetter'; request: { - title: string; - from: plugins.tsclass.business.IAddress; - to: plugins.tsclass.business.IAddress; - body: string; + /** + * will be used in logs + */ + description: string; + /** + * if you send any PDF / invoice that you have not made sure to be letterxpress compliant + * we strongly recommend using a cover page + */ + needsCover: boolean; + title?: string; + from?: plugins.tsclass.business.IAddress; + to?: plugins.tsclass.business.IAddress; + coverBody?: string; service: ('Einschreiben')[]; pdfAttachments?: Array<{ name: string;