@emilgroup/notification-sdk-node 1.3.0 → 1.4.0

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.
@@ -28,21 +28,21 @@ export interface InlineResponse503 {
28
28
  'status'?: string;
29
29
  /**
30
30
  *
31
- * @type {{ [key: string]: { [key: string]: string; }; }}
31
+ * @type {{ [key: string]: { [key: string]: object; }; }}
32
32
  * @memberof InlineResponse503
33
33
  */
34
- 'info'?: { [key: string]: { [key: string]: string; }; } | null;
34
+ 'info'?: { [key: string]: { [key: string]: object; }; } | null;
35
35
  /**
36
36
  *
37
- * @type {{ [key: string]: { [key: string]: string; }; }}
37
+ * @type {{ [key: string]: { [key: string]: object; }; }}
38
38
  * @memberof InlineResponse503
39
39
  */
40
- 'error'?: { [key: string]: { [key: string]: string; }; } | null;
40
+ 'error'?: { [key: string]: { [key: string]: object; }; } | null;
41
41
  /**
42
42
  *
43
- * @type {{ [key: string]: { [key: string]: string; }; }}
43
+ * @type {{ [key: string]: { [key: string]: object; }; }}
44
44
  * @memberof InlineResponse503
45
45
  */
46
- 'details'?: { [key: string]: { [key: string]: string; }; };
46
+ 'details'?: { [key: string]: { [key: string]: object; }; };
47
47
  }
48
48
 
@@ -0,0 +1,42 @@
1
+ /* tslint:disable */
2
+ /* eslint-disable */
3
+ /**
4
+ * EMIL NotificationService
5
+ * The EMIL NotificationService API description
6
+ *
7
+ * The version of the OpenAPI document: 1.0
8
+ * Contact: kontakt@emil.de
9
+ *
10
+ * NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
11
+ * https://openapi-generator.tech
12
+ * Do not edit the class manually.
13
+ */
14
+
15
+
16
+
17
+ /**
18
+ *
19
+ * @export
20
+ * @interface S3DocumentDto
21
+ */
22
+ export interface S3DocumentDto {
23
+ /**
24
+ *
25
+ * @type {string}
26
+ * @memberof S3DocumentDto
27
+ */
28
+ 'bucket'?: string;
29
+ /**
30
+ *
31
+ * @type {string}
32
+ * @memberof S3DocumentDto
33
+ */
34
+ 'key': string;
35
+ /**
36
+ *
37
+ * @type {string}
38
+ * @memberof S3DocumentDto
39
+ */
40
+ 'filename'?: string;
41
+ }
42
+
@@ -13,6 +13,7 @@
13
13
  */
14
14
 
15
15
 
16
+ import { S3DocumentDto } from './s3-document-dto';
16
17
 
17
18
  /**
18
19
  *
@@ -58,10 +59,10 @@ export interface SendNotificationRequestDto {
58
59
  'emailBcc': Array<string>;
59
60
  /**
60
61
  * Attachments for the email. Any attachement has to be uploaded to S3 first before being sent.
61
- * @type {Array<string>}
62
+ * @type {Array<S3DocumentDto>}
62
63
  * @memberof SendNotificationRequestDto
63
64
  */
64
- 'attachments': Array<string>;
65
+ 'attachments': Array<S3DocumentDto>;
65
66
  /**
66
67
  * It is possible to use the product slug to fetch a different senderEmail from the tenant settings. It should be in the form of productSlug_sender-email
67
68
  * @type {string}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@emilgroup/notification-sdk-node",
3
- "version": "1.3.0",
3
+ "version": "1.4.0",
4
4
  "description": "OpenAPI client for @emilgroup/notification-sdk-node",
5
5
  "author": "OpenAPI-Generator Contributors",
6
6
  "keywords": [