feat: add platform capability contracts
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
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;
|
||||
Reference in New Issue
Block a user