@serve.zone/interfaces 1.0.34 → 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.34',
6
+ version: '1.0.35',
7
7
  description: 'interfaces for working with containers'
8
8
  };
9
9
  //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiMDBfY29tbWl0aW5mb19kYXRhLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vdHMvMDBfY29tbWl0aW5mb19kYXRhLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiJBQUFBOztHQUVHO0FBQ0gsTUFBTSxDQUFDLE1BQU0sVUFBVSxHQUFHO0lBQ3hCLElBQUksRUFBRSx3QkFBd0I7SUFDOUIsT0FBTyxFQUFFLFFBQVE7SUFDakIsV0FBVyxFQUFFLHdDQUF3QztDQUN0RCxDQUFBIn0=
@@ -2,10 +2,19 @@ import * as plugins from '../plugins.js';
2
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;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@serve.zone/interfaces",
3
- "version": "1.0.34",
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.34',
6
+ version: '1.0.35',
7
7
  description: 'interfaces for working with containers'
8
8
  }
@@ -6,10 +6,19 @@ export interface IRequest_SendLetter extends plugins.typedrequestInterfaces.impl
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;