@serve.zone/interfaces 1.0.33 → 1.0.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -3,7 +3,7 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/interfaces',
6
- version: '1.0.33',
6
+ version: '1.0.35',
7
7
  description: 'interfaces for working with containers'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx3QkFBd0I7SUFDOUIsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLHdDQUF3QztDQUN0RCxDQUFBIn0=
@@ -1,11 +1,20 @@
1
1
  import * as plugins from '../plugins.js';
2
- export interface IRequestSendEmail extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequestSendEmail> {
2
+ export interface IRequest_SendLetter extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_SendLetter> {
3
3
  method: 'sendLetter';
4
4
  request: {
5
- title: string;
6
- from: plugins.tsclass.business.IAddress;
7
- to: plugins.tsclass.business.IAddress;
8
- body: string;
5
+ /**
6
+ * will be used in logs
7
+ */
8
+ description: string;
9
+ /**
10
+ * if you send any PDF / invoice that you have not made sure to be letterxpress compliant
11
+ * we strongly recommend using a cover page
12
+ */
13
+ needsCover: boolean;
14
+ title?: string;
15
+ from?: plugins.tsclass.business.IAddress;
16
+ to?: plugins.tsclass.business.IAddress;
17
+ coverBody?: string;
9
18
  service: ('Einschreiben')[];
10
19
  pdfAttachments?: Array<{
11
20
  name: string;
@@ -1,6 +1,6 @@
1
1
  import * as plugins from '../plugins.js';
2
2
  export type TTemplates = 'default' | 'linkaction' | 'notification';
3
- export interface IRequestSendEmail extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequestSendEmail> {
3
+ export interface IRequest_SendEmail extends plugins.typedrequestInterfaces.implementsTR<plugins.typedrequestInterfaces.ITypedRequest, IRequest_SendEmail> {
4
4
  method: 'sendEmail';
5
5
  request: {
6
6
  title: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serve.zone/interfaces",
3
- "version": "1.0.33",
3
+ "version": "1.0.35",
4
4
  "private": false,
5
5
  "description": "interfaces for working with containers",
6
6
  "main": "dist_ts/index.js",
@@ -3,6 +3,6 @@
3
3
  */
4
4
  export const commitinfo = {
5
5
  name: '@serve.zone/interfaces',
6
- version: '1.0.33',
6
+ version: '1.0.35',
7
7
  description: 'interfaces for working with containers'
8
8
  }
@@ -1,15 +1,24 @@
1
1
  import * as plugins from '../plugins.js';
2
2
 
3
- export interface IRequestSendEmail extends plugins.typedrequestInterfaces.implementsTR<
3
+ export interface IRequest_SendLetter extends plugins.typedrequestInterfaces.implementsTR<
4
4
  plugins.typedrequestInterfaces.ITypedRequest,
5
- IRequestSendEmail
5
+ IRequest_SendLetter
6
6
  > {
7
7
  method: 'sendLetter';
8
8
  request: {
9
- title: string;
10
- from: plugins.tsclass.business.IAddress;
11
- to: plugins.tsclass.business.IAddress;
12
- body: string;
9
+ /**
10
+ * will be used in logs
11
+ */
12
+ description: string;
13
+ /**
14
+ * if you send any PDF / invoice that you have not made sure to be letterxpress compliant
15
+ * we strongly recommend using a cover page
16
+ */
17
+ needsCover: boolean;
18
+ title?: string;
19
+ from?: plugins.tsclass.business.IAddress;
20
+ to?: plugins.tsclass.business.IAddress;
21
+ coverBody?: string;
13
22
  service: ('Einschreiben')[];
14
23
  pdfAttachments?: Array<{
15
24
  name: string;
@@ -2,9 +2,9 @@ import * as plugins from '../plugins.js';
2
2
 
3
3
  export type TTemplates = 'default' | 'linkaction' | 'notification';
4
4
 
5
- export interface IRequestSendEmail extends plugins.typedrequestInterfaces.implementsTR<
5
+ export interface IRequest_SendEmail extends plugins.typedrequestInterfaces.implementsTR<
6
6
  plugins.typedrequestInterfaces.ITypedRequest,
7
- IRequestSendEmail
7
+ IRequest_SendEmail
8
8
  > {
9
9
  method: 'sendEmail';
10
10
  request: {