27 lines
647 B
TypeScript
27 lines
647 B
TypeScript
|
|
import * as plugins from '../plugins.js';
|
||
|
|
|
||
|
|
export interface IReq_SendLetter extends plugins.typedrequestInterfaces.implementsTR<
|
||
|
|
plugins.typedrequestInterfaces.ITypedRequest,
|
||
|
|
IReq_SendLetter
|
||
|
|
> {
|
||
|
|
method: 'sendLetter';
|
||
|
|
request: {
|
||
|
|
description: string;
|
||
|
|
needsCover: boolean;
|
||
|
|
title?: string;
|
||
|
|
from?: plugins.tsclass.business.IAddress;
|
||
|
|
to?: plugins.tsclass.business.IAddress;
|
||
|
|
coverBody?: string;
|
||
|
|
service: 'Einschreiben'[];
|
||
|
|
pdfAttachments?: Array<{
|
||
|
|
name: string;
|
||
|
|
binaryAttachmentString: string;
|
||
|
|
}>;
|
||
|
|
};
|
||
|
|
response: {
|
||
|
|
processId: string;
|
||
|
|
};
|
||
|
|
}
|
||
|
|
|
||
|
|
export type IRequest_SendLetter = IReq_SendLetter;
|